Code detection frequency band switching method and device

By dynamically switching signal frequency bands using the detection device, the problem of terminal devices being unable to access high-frequency signals in high-rise buildings or under obstructed conditions is solved, improving the detection device's adsorption efficiency and communication stability, and ensuring data transmission rate and tracking success rate.

CN116634530BActive Publication Date: 2025-11-21SHENZHEN SKYCOMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310588538.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2025-11-21
Estimated Expiration
2043-05-23

AI Technical Summary

Technical Problem

Terminal devices cannot access high-frequency signals in high-rise buildings or under obstructed conditions, which prolongs the absorption time of the detection equipment and affects the efficiency of the detection operation.

Method used

By acquiring public network frequency information of the current signal coverage area and network frequency information of the target terminal device through the detection equipment, the signal frequency band is dynamically switched to match the communication needs of the terminal device, including the switching strategy of the first and second type of signal frequency points, giving priority to the use of high frequency band signals and switching to low frequency bands when necessary to penetrate building obstructions.

Benefits of technology

It improves the adsorption efficiency and communication stability of the detection equipment and terminal equipment, ensures data transmission rate and tracking success rate, and reduces time delay caused by incorrect signal frequency band selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116634530B_ABST
    Figure CN116634530B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a code detection frequency band switching method and device, the method comprising: obtaining first public network frequency point information in a current signal coverage area, and determining whether the first public network frequency point information includes a first type of signal frequency point; in the case where the first public network frequency point information includes the first type of signal frequency point, obtaining network frequency point information of a target terminal device and a public network base station communication connection; if the network frequency point information includes the first type of signal frequency point, performing an adsorption operation on the target terminal device using a signal frequency band corresponding to the first type of signal frequency point; and if the network frequency point information does not include the first type of signal frequency point and includes a second type of signal frequency point, performing an adsorption operation on the target terminal device using a signal frequency band corresponding to the second type of signal frequency point. The efficiency of the code detection device in completing adsorption of the target terminal device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of general data processing technology, and in particular to a method and apparatus for switching frequency bands for code detection. Background Technology

[0002] Detection devices are based on the principle of wireless communication base station technology. By simulating the broadcast inducement signals of a mobile communication network operator, they provide a stronger signal than public network base stations, thereby attracting terminal devices. Currently, public network base stations transmit signals in different frequency bands. When a terminal device attempts to access a signal, it will prioritize accessing the signal with the highest frequency band that it can access. Higher frequency signals have a smaller propagation range and weaker penetration ability than lower frequency signals.

[0003] Therefore, when the terminal device is located in a high-rise building or in other obstructed conditions, it cannot access high-frequency signals and can only access low-frequency signals. When the detection device attaches to the terminal device, it also needs to select the corresponding signal frequency band. Failure to select the appropriate frequency band will waste a significant amount of time and hinder the detection operation. Summary of the Invention

[0004] This application provides a method and apparatus for switching frequency bands for code detection. By utilizing the public network frequency signals within the current signal coverage area of ​​the code detection device, as well as the network frequency signals between the target terminal device and the public network base station, the communication signal frequency band with the target terminal device is determined. This avoids the significant time wasted due to incorrect signal frequency band selection when targeting the target terminal device, thereby improving the efficiency of the code detection device in completing the targeting of the target terminal device.

[0005] In a first aspect, embodiments of this application provide a code detection frequency band switching method, which is applied to a code detection device, and the method includes:

[0006] Obtain the first public network frequency point information within the current signal coverage area, and determine whether the first public network frequency point information includes the first type of signal frequency point;

[0007] If the first type of signal frequency is included in the first public network frequency information, obtain the network frequency information of the communication connection between the target terminal device and the public network base station, where the target terminal device is a terminal device within the target area of ​​the detection device;

[0008] If the network frequency information includes the first type of signal frequency, then the signal frequency band corresponding to the first type of signal frequency will be used to perform the attraction operation on the target terminal device;

[0009] If the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, then the signal frequency band corresponding to the second type of signal frequency is used to perform the attraction operation on the target terminal device. The signal frequency band corresponding to the first type of signal frequency is higher than the signal frequency band corresponding to the second type of signal frequency.

[0010] If the first type of signal frequency is not included in the first public network frequency information, then the signal frequency band corresponding to the second type of signal frequency is used to perform the target terminal device attraction operation.

[0011] As can be seen, in this embodiment, the first public network frequency information within the current signal coverage area is obtained, and it is determined whether the first public network frequency information includes a first type of signal frequency. If the first public network frequency information includes a first type of signal frequency, the network frequency information connecting the target terminal device to the public network base station is obtained. If the network frequency information includes a first type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the first type of signal frequency. If the network frequency information does not include a first type of signal frequency but includes a second type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency. If the first public network frequency information does not include a first type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency. By using the aforementioned method, the time for the detection device to attract the target terminal device is reduced, and the efficiency of the detection device in completing the attraction of the target terminal device is improved.

[0012] In a feasible embodiment, after performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the method further includes: after successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, obtaining the location information of the target terminal device; obtaining environmental information within the current signal coverage area; and determining whether the target terminal device has entered the signal blocking area of ​​the detection device based on the location information and environmental information, wherein the signal blocking area of ​​the detection device includes the presence of tall buildings on the communication path with the target terminal device.

[0013] If the target terminal device enters the signal blocking area of ​​the detection device, determine whether there are other detection devices within the first area of ​​the target terminal device. The first area is determined based on the signal coverage area of ​​the detection device. If there are other detection devices within the first area of ​​the target terminal device, identify the target detection device among the other detection devices. The target detection device is the detection device whose signal blocking area the target terminal device has not entered. Send a first message to the soldier connected to the detection device. The first message prompts the soldier to send an instruction message to the target detection device. The instruction message instructs the soldier to attach the target terminal device through the target detection device. Receive release information from the soldier and release the target terminal device according to the release information.

[0014] In this embodiment, after successfully attaching the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, it is determined whether the target terminal device has entered the signal blocking area of ​​the detection device based on the location information of the target terminal device and the environmental information within the current signal coverage area of ​​the detection device. If the target terminal device has entered the signal blocking area of ​​the detection device, the target detection device is identified based on other detection devices existing within the first area of ​​the target terminal device. The target detection device is the one where the target terminal device has not entered its signal blocking area. A first message instructing the soldier connected to the detection device to attach the target terminal device is sent. Upon receiving release information from the soldier, the target terminal device is released. Using the aforementioned method, the communication rate with the target terminal device can be guaranteed, thereby facilitating the tracking of the user of the target terminal device.

[0015] In a feasible embodiment, the method further includes: if there are no other detection devices within the first area of ​​the target terminal device, then determining whether there is a public network base station within the second area of ​​the target terminal device; if there is no public network base station within the second area of ​​the target terminal device, then switching to the signal frequency band corresponding to the second type of signal frequency point to perform an attraction operation on the target terminal device, wherein the second area is smaller than the first area; if there is a public network base station within the second area of ​​the target terminal device, then acquiring the second public network frequency point signal corresponding to the public network base station; if the second public network frequency point signal does not include the first type of signal frequency point, then using the signal frequency band corresponding to the second type of signal frequency point to perform an attraction operation on the target terminal device.

[0016] In this embodiment, if no other detection devices are present in the first area surrounding the target terminal device, it is determined whether a public network base station exists in the second area surrounding the target terminal. If no public network base station exists, or if the public network frequency signals propagated by the public network base station do not include the first type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency. Using the aforementioned method can improve the stability of the communication connection with the terminal device.

[0017] In a feasible embodiment, after performing the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the method further includes: if the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, sending second information to the public network base station within the signal coverage range of the detection device, and performing the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, wherein the second information is used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time.

[0018] In this embodiment, if the attempt to attach to the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, a second message is sent to a public network base station within the signal coverage area of ​​the detection device. This causes the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point, and the detection device then attempts to attach to the target terminal device using the signal frequency band corresponding to the second type of signal frequency point. Using the aforementioned method, it is possible to ensure that the detection device completes the attachment operation to the target terminal device.

[0019] In one feasible embodiment, if the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, then after performing the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, the method further includes: after successfully performing the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, obtaining the location information of the target terminal device; if it is determined that the target terminal device is in a moving state based on the location information of the target terminal device, obtaining interactive information sent from the target terminal device; if it is determined that the target terminal device is not in use based on the interactive information, then performing the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency.

[0020] In this embodiment, after successfully attaching to the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, if it is determined that the target terminal device is not in use based on its location information and the interaction information sent by the target terminal device, then the target terminal device is attached using the signal frequency band corresponding to the first type of signal frequency point. Using the aforementioned method, while preventing users of the target terminal device from becoming alerted by signal frequency band switching, the data transmission rate between the detection device and the target terminal device can be increased, thereby improving the tracking success rate.

[0021] In a feasible embodiment, if the first type of signal frequency is not included in the first public network frequency information, then after using the signal frequency band corresponding to the second type of signal frequency to perform the adsorption operation on the target terminal device, the method further includes: after successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, obtaining an adsorption record of the target terminal device; if it is determined from the adsorption record that the number of adsorptions on the target terminal device exceeds a first preset threshold, determining from the adsorption record whether the adsorption frequency band of the target terminal device includes the signal frequency band corresponding to the first type of signal frequency; if the adsorption frequency band of the target terminal device includes the signal frequency band corresponding to the first type of signal frequency, then using the signal frequency band corresponding to the first type of signal frequency to perform the adsorption operation on the target terminal device.

[0022] In this embodiment, after successfully adsorbing the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, if the adsorption record between the detection device and the target terminal device determines that the number of adsorption attempts exceeds a first preset threshold, and the adsorption record also determines that the adsorption frequency band of the detection device on the target terminal device includes the signal frequency band corresponding to the first type of signal frequency point, then the adsorption operation on the target terminal device is performed using the signal frequency band corresponding to the first type of signal frequency point. Using the aforementioned method, the data transmission rate between the detection device and the target terminal device can be improved while ensuring the success rate of the detection device's adsorption of the target terminal device.

[0023] In one feasible embodiment, the method further includes: determining the number of first terminals attracted using the signal frequency band corresponding to the first type of signal frequency point, and the number of second terminals attracted using the signal frequency band corresponding to the second type of signal frequency point; determining whether a first condition is met, the first condition including at least one of the following: the difference between the number of first terminals and the number of second terminals is greater than a second preset threshold; the remaining usable battery power of the detection device is less than a third preset threshold; if the first condition is met, sending second information to the public network base station within the signal coverage area of ​​the detection device, the second information being used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time; releasing the preset number of terminals attracted by the first type of signal frequency point, and attracting the preset number of terminals using the signal frequency band corresponding to the second type of signal frequency point, the preset number being determined based on the difference between the number of first terminals and the number of second terminals.

[0024] In this embodiment, the number of first terminals attracted using the signal band corresponding to the first type of signal frequency point and the number of second terminals attracted using the signal band corresponding to the second type of signal frequency point are determined. When the difference between the number of first terminals and the number of second terminals is greater than a second preset threshold, or when the remaining usable battery power of the detection device is less than a third preset threshold, third information is sent to the public network base station within the signal coverage area of ​​the detection device. This information instructs the public network base station to stop using the signal band corresponding to the first type of signal frequency point within a second preset time, release the preset number of terminals attracted by the first type of signal frequency point, and attract the preset number of terminals using the signal band corresponding to the second type of signal frequency point. By using the aforementioned method, a balance can be maintained between the number of terminals attracted by the signal band corresponding to the first type of signal frequency point and the number of terminals attracted by the signal band corresponding to the second type of signal frequency point in the detection device, thereby maintaining the overall power consumption balance of the detection device.

[0025] Secondly, embodiments of this application provide a code detection frequency band switching device. This device is applied to a backend server, which is connected to a target code detection device. The target code detection device includes a battery module. The device includes:

[0026] The receiving unit is used to receive first information from the target detection device, the first information including information on replacing the battery of the target detection device.

[0027] The acquisition unit is used to acquire the device identifier of the target detection device.

[0028] The determination unit is used to determine the terminal equipment of the operation and maintenance base corresponding to the target detection equipment based on the equipment identifier;

[0029] The determining unit is further configured to determine the first environmental information, first location information and first duration corresponding to the target detection device based on the device identifier. The first environmental information is the information of the environment around the target detection device in a first preset area. The first location information is the latitude and longitude coordinates of the target detection device. The first duration is the duration from the time of the last battery replacement of the target detection device to the current time.

[0030] The determining unit is also used to determine the target difficulty of the battery swapping transaction of the target detection device based on the first environmental information, the first location information and the first duration;

[0031] The determination unit is also used to determine the battery replacement items corresponding to the target detection equipment based on the target difficulty;

[0032] The sending unit is used to send the battery replacement information corresponding to the target detection device to the terminal device.

[0033] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a communication interface. The processor, memory, and communication interface are interconnected and perform communication with each other. The memory stores executable program code, the communication interface is used for wireless communication, and the processor is used to retrieve the executable program code stored in the memory and execute some or all of the steps described in any of the methods in the first aspect.

[0034] Fourthly, embodiments of this application provide a computer-readable storage medium storing electronic data, which, when executed by a processor, is used to perform the electronic data to implement some or all of the steps described in the first aspect of embodiments of this application.

[0035] Fifthly, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of embodiments of this application. The computer program product may be a software installation package. Attached Figure Description

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

[0037] Figure 1 A schematic diagram of a code detection band switching system provided in this application embodiment;

[0038] Figure 2 A flowchart illustrating a code detection frequency band switching method provided in an embodiment of this application;

[0039] Figure 3 A structural schematic diagram of a high-rise building provided in this application embodiment;

[0040] Figure 4 This is a schematic diagram of the structure of an adsorption recording table provided in an embodiment of this application;

[0041] Figure 5a This is a functional unit block diagram of a code detection frequency band switching device provided in an embodiment of this application;

[0042] Figure 5b This is a functional unit block diagram of another code detection frequency band switching device provided in the embodiments of this application;

[0043] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0044] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0045] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps is not limited to the steps listed, but may optionally include steps not listed, or may optionally include other steps inherent to these processes, methods, products, or apparatuses.

[0046] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0047] This application plan is being implemented in accordance with the law and under official authorization.

[0048] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a code detection frequency band switching system provided in an embodiment of this application, as shown below. Figure 1 As shown, the code detection frequency band switching system includes a code detection device 101, a public network base station 102, and a terminal device 103. When conducting network communication, the terminal device 103 will preferentially select the highest frequency band signal that it can access. If the code detection device 101 wants to communicate with the terminal device 103, it needs to use the same frequency band as the signal frequency band propagated by the public network base station 102 to communicate with the terminal device 103, or use a higher frequency band than the signal frequency band propagated by the public network base station 102 to communicate with the terminal device 103.

[0049] Based on this, the present application provides a method for switching detection code frequency bands. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0050] Please see Figure 2 , Figure 2 This is a flowchart illustrating a code detection frequency band switching method provided in an embodiment of this application. This code detection frequency band switching method is applied to a code detection device, such as... Figure 2 As shown, the method includes the following steps:

[0051] Step 201: Obtain the first public network frequency point information within the current signal coverage area, and determine whether the first public network frequency point information includes the first type of signal frequency point.

[0052] The signal strength of the detection device must be stronger than that of the public network base station. Multiple public network base stations may exist within the signal coverage area of ​​the detection device, and the first public network frequency point information refers to the signal frequency points corresponding to the signals propagated by these multiple public network base stations. The first type of signal frequency point refers to the signal frequency point within the first type of signal frequency band.

[0053] Step 202: If the first public network frequency information includes the first type of signal frequency, obtain the network frequency information of the communication connection between the target terminal device and the public network base station.

[0054] The target terminal device is a terminal device within the target area of ​​the detection device. This target area can be the current signal coverage area of ​​the detection device, or a portion of the current signal coverage area. When the first public network frequency point information includes the first type of signal frequency point, it is also necessary to determine the signal frequency bands that the target terminal device itself can access. That is, the upper limit of the signal frequency bands that transmit signals through public network base stations, and the upper limit of the signal frequency bands that the target terminal itself can access, jointly determine the signal frequency bands for communication between the detection device and the target terminal device.

[0055] Step 203: If the network frequency information includes a first type of signal frequency, then the target terminal device is attracted using the signal frequency band corresponding to the first type of signal frequency.

[0056] Among them, the current network frequency signals include the first type of signal frequency points. The target terminal device will prioritize connecting according to the signal frequency band corresponding to the first type of signal frequency points. Therefore, the detection device also needs to use the signal frequency band corresponding to the first type of signal frequency points to communicate with it.

[0057] In a feasible embodiment, after performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the method further includes: after successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, obtaining the location information of the target terminal device; obtaining environmental information within the current signal coverage area; and determining whether the target terminal device has entered the signal blocking area of ​​the detection device based on the location information and environmental information, wherein the signal blocking area of ​​the detection device includes the presence of tall buildings on the communication path with the target terminal device.

[0058] If the target terminal device enters the signal blocking area of ​​the detection device, determine whether there are other detection devices within the first area of ​​the target terminal device. The first area is determined based on the signal coverage area of ​​the detection device. If there are other detection devices within the first area of ​​the target terminal device, identify the target detection device among the other detection devices. The target detection device is the detection device whose signal blocking area the target terminal device has not entered. Send a first message to the soldier connected to the detection device. The first message prompts the soldier to send an instruction message to the target detection device. The instruction message instructs the soldier to attach the target terminal device through the target detection device. Receive release information from the soldier and release the target terminal device according to the release information.

[0059] In most cases, the purpose of attaching the target terminal is to assist personnel in tracking the user of the target terminal device using individual soldiers. Specifically, when the detection device attaches to the target terminal device, it simultaneously establishes a communication connection with the individual soldier and periodically sends the device information to them. The user of the target terminal device may be constantly moving and may choose to enter building complexes to evade tracking. Compared to the second type of signal, the first type of signal has a higher frequency band and faster communication speed. When the detection device attaches to the target terminal device, it will also prioritize using the signal band corresponding to the first type of signal frequency. However, the first type of signal has the disadvantage of weak penetration and is easily blocked.

[0060] To prevent users of the target terminal device from evading tracking, this implementation continuously acquires the location information of the target terminal device and determines whether the target terminal device has entered a signal-blocking area based on environmental information within the current signal coverage area of ​​the detection device. A signal-blocking area refers to an area where tall buildings exist along the communication path to the target terminal device. Tall buildings can refer to a cluster of tall buildings or a single building that can block the communication path of the detection device.

[0061] The signal coverage areas of different detection devices may overlap, meaning that multiple detection devices may be able to communicate with a target terminal device in a given area. However, the targeting operation of a detection device on a target terminal device can originate from instructions from a backend server or other devices. When it is determined, based on the target terminal device's location information and environmental information within the current signal coverage area of ​​the detection device, that the target terminal device has entered a signal-blocking area, the system determines whether other detection devices exist within the target terminal device's first area. If other detection devices are found within the target terminal device's first area, the target detection device is identified from among these other devices. The target detection device is one whose signal-blocking area is not currently blocked by the target terminal device, and the size of the first area is not larger than the current signal coverage area of ​​the detection device.

[0062] In this embodiment, the soldier cannot know the connection status between the current detection device and the target terminal device, and the attachment of the detection device to the target terminal device also requires authorization from the backend server or other devices. Therefore, when the detection device determines that the communication signal between the target detection device and the target terminal device is stronger than the communication signal between the current detection device and the target terminal device, the detection device will send a first message to the soldier, instructing the soldier to connect to the target terminal device through the target detection device. At this time, the soldier will also issue an instruction to the target detection device to perform an attachment operation on the target terminal device through other means. Simultaneously, the soldier will also send a release message to the current detection device to release the target terminal device so that the target detection device can attach to it.

[0063] For example, please refer to Figure 3 , Figure 3 A structural schematic diagram of a high-rise building provided as an embodiment of this application, such as... Figure 3 As shown, Figure 3The system includes a first detection device 301, a second detection device 302, and a third detection device 303. All three detection devices are located within a first area of ​​the target terminal device 310. Currently, the first detection device 301 is in communication with the target terminal device 310. The target terminal device 310 has entered the signal blocking area of ​​the first detection device 301, which is the high-rise building area between the communication path of the target terminal device 310 and the first detection device 301. Although the second detection device 302 and the third detection device 303 also exist within the first area of ​​the target terminal device, the target terminal device 310 is also located in the signal blocking area of ​​the second detection device 302, but not in the signal blocking area of ​​the third detection device 303. Therefore, the third detection device 303 is selected as the target detection device.

[0064] In this embodiment, after successfully attaching the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, it is determined whether the target terminal device has entered the signal blocking area of ​​the detection device based on the location information of the target terminal device and the environmental information within the current signal coverage area of ​​the detection device. If the target terminal device has entered the signal blocking area of ​​the detection device, the target detection device is identified based on other detection devices existing within the first area of ​​the target terminal device. The target detection device is the one where the target terminal device has not entered its signal blocking area. A first message instructing the soldier connected to the detection device to attach the target terminal device is sent. Upon receiving release information from the soldier, the target terminal device is released. Using the aforementioned method, the communication rate with the target terminal device can be guaranteed, thereby facilitating the tracking of the user of the target terminal device.

[0065] In addition, in a feasible embodiment, the method further includes: if there are no other detection devices in the first area of ​​the target terminal device, then determining whether there is a public network base station in the second area of ​​the target terminal device; if there is no public network base station in the second area of ​​the target terminal device, then switching to the signal frequency band corresponding to the second type of signal frequency point to perform an attraction operation on the target terminal device, wherein the second area is smaller than the first area; if there is a public network base station in the second area of ​​the target terminal device, then obtaining the second public network frequency point signal corresponding to the public network base station; if the second public network frequency point signal does not include the first type of signal frequency point, then using the signal frequency band corresponding to the second type of signal frequency point to perform an attraction operation on the target terminal device.

[0066] When no other detection devices are present within the first area surrounding the target terminal device, it is impossible to switch to another detection device with a stronger signal to establish a communication connection with the target terminal device. Since the signal frequency band corresponding to the second type of signal is lower than that corresponding to the first type of signal, but the second type of signal has stronger penetration capabilities, switching from the first type of signal frequency band to the second type of signal frequency band can be considered when obstruction exists. However, the target terminal device will preferentially access signals with higher frequency bands. Therefore, before switching to the second type of signal frequency band, it is necessary to consider whether other public network base stations within the second area surrounding the target terminal device might connect to it. The second area can be the signal coverage area of ​​a public network base station, while the signal coverage area of ​​the detection device is larger than that of the public base station; therefore, the second area is smaller than the first area.

[0067] When it is determined that a public network base station exists in the second area surrounding the target terminal device, it is also necessary to determine whether the frequency points of the signals propagated by the public network base station include the first type of signal frequencies. Only if the frequency points of the signals propagated by the public network base station do not include the first type of signal frequencies can the signal frequency bands corresponding to the second type of signal frequencies be used to attract the target terminal. Otherwise, the target terminal will preferentially choose to access the first type of signal propagated by the public network base station, and will not access the second type of signal propagated by the detection device.

[0068] In this embodiment, if no other detection devices are present in the first area surrounding the target terminal device, it is determined whether a public network base station exists in the second area surrounding the target terminal. If no public network base station exists, or if the public network frequency signals propagated by the public network base station do not include the first type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency. Using the aforementioned method can improve the stability of the communication connection with the terminal device.

[0069] In a feasible embodiment, after performing the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the method further includes: if the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, sending second information to the public network base station within the signal coverage range of the detection device, and performing the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, wherein the second information is used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time.

[0070] When the attempt to connect with the target terminal device via the signal frequency band corresponding to the first type of signal frequency fails, the reason may be that the distance between the detection device and the target terminal device is much greater than the distance between the public network base station and the target terminal device, or that there are obstructions on the communication path between the detection device and the target terminal device, while there are no obstructions on the communication path between the public network base station and the target terminal device. In this case, the detection device cannot establish a communication connection with the target terminal device via the signal frequency band corresponding to the first type of signal frequency, nor can it directly establish a communication connection via the signal frequency band corresponding to the second type of signal frequency. In this embodiment, the detection device sends a second message to the public network base station within the signal coverage area to cause the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency. At this time, the signal frequency band corresponding to the second type of signal frequency can be used to connect with the target terminal device.

[0071] In this embodiment, if the attempt to attach to the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, a second message is sent to a public network base station within the signal coverage area of ​​the detection device. This causes the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point, and the detection device then attempts to attach to the target terminal device using the signal frequency band corresponding to the second type of signal frequency point. Using the aforementioned method, it is possible to ensure that the detection device completes the attachment operation to the target terminal device.

[0072] Step 204: If the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, then the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency.

[0073] In this embodiment, the signal frequency band corresponding to the first type of signal frequency point is higher than that corresponding to the second type of signal frequency point. For example, the first type of signal frequency point can be a 5G signal frequency point, while the corresponding second type of signal frequency point can be a 4G signal frequency point. The first type of signal frequency point can also be other higher frequency bands, such as 6G signal frequency points; correspondingly, the second type of signal frequency point can be a 5G or 4G signal frequency point. This application does not limit the scope of the embodiments.

[0074] In one feasible embodiment, if the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, then after performing the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, the method further includes: after successfully performing the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, obtaining the location information of the target terminal device; if it is determined from the location information of the target terminal device that the target terminal device is in a moving state, obtaining interactive information sent from the target terminal device; if it is determined from the interactive information that the target terminal device is not in a usage state, then performing the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency.

[0075] If the network frequency information does not include Category 1 signal frequencies but does include Category 2 signal frequencies, it means that the target terminal device can only connect to Category 2 signals, or that the target terminal device can connect to Category 1 signals but cannot connect successfully due to the weakness of Category 1 signals. In this case, the detection device will first use the signal frequency corresponding to the Category 2 signal frequencies to perform an attraction operation on the target terminal device.

[0076] After successfully attaching to the target terminal device using the signal frequency band corresponding to the second type of signal frequency, the location information of the target terminal device is used to determine whether it is in motion. If the target terminal device is in motion, the interaction information between the target terminal device and the detection device is also used to determine whether it is in use. In this embodiment, determining whether the target terminal device is in use through interaction information mainly involves checking for the presence of a network card address. If no network card address is found, it can be determined that the target terminal device is not in use. At this point, using the signal frequency band corresponding to the first type of signal frequency to attach to the target terminal device is also to prevent changes in the signal frequency band from alerting the user while they are using their mobile phone. Successfully attaching to the target terminal device using the signal frequency band corresponding to the first type of signal frequency increases the data transmission rate, thereby improving the tracking success rate.

[0077] In addition, the speed or direction of movement of the target terminal device can be used to determine whether the user is escaping pursuit. For example, excessively high speed or frequent changes in direction can preliminarily indicate that the user is trying to escape. In this case, the signal frequency band corresponding to the first type of signal frequency can be used to attract the target terminal device. This improves the data transmission rate with the target terminal device, allowing staff to obtain a clearer escape route and increasing the success rate of tracking.

[0078] In this embodiment, after successfully attaching to the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, if it is determined that the target terminal device is not in use based on its location information and the interaction information sent by the target terminal device, then the target terminal device is attached using the signal frequency band corresponding to the first type of signal frequency point. Using the aforementioned method, while preventing users of the target terminal device from becoming alerted by signal frequency band switching, the data transmission rate between the detection device and the target terminal device can be increased, thereby improving the tracking success rate.

[0079] Step 205: If the first type of signal frequency is not included in the first public network frequency information, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency.

[0080] If the first public network frequency information does not include the first type of signal frequency, it can be preliminarily determined that the current environment is not suitable for communication via the first type of signal. In this case, the detection device will immediately select the signal band corresponding to the second type of signal frequency to perform a targeting operation on the target terminal device, avoiding excessive time wasted before the targeting operation.

[0081] In a feasible embodiment, if the first type of signal frequency is not included in the first public network frequency information, then after using the signal frequency band corresponding to the second type of signal frequency to perform the adsorption operation on the target terminal device, the method further includes: after successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, obtaining an adsorption record of the target terminal device; if it is determined from the adsorption record that the number of adsorptions on the target terminal device exceeds a first preset threshold, determining from the adsorption record whether the adsorption frequency band of the target terminal device includes the signal frequency band corresponding to the first type of signal frequency; if the adsorption frequency band of the target terminal device includes the signal frequency band corresponding to the first type of signal frequency, then using the signal frequency band corresponding to the first type of signal frequency to perform the adsorption operation on the target terminal device.

[0082] In this embodiment, after completing one adsorption operation on the target terminal device, subsequent adsorption operations with the target terminal device will take less time. Therefore, after successfully adsorbing the target terminal device using the signal frequency band corresponding to the second type of signal frequency, it is possible to consider whether to switch to the first type of signal to establish a communication connection with the target terminal device. This embodiment determines the adsorption record with the target terminal device based on the device identification code of the target terminal device. When the adsorption record determines that the number of adsorption operations between the detection device and the target terminal device exceeds a first preset threshold, the adsorption record can serve as a reference. Furthermore, it is determined based on the adsorption record whether the adsorption frequency band with the target terminal device includes the signal frequency band corresponding to the first type of signal frequency. If the adsorption frequency band with the target terminal device includes the signal frequency band corresponding to the first type of signal frequency, it indicates that the target terminal device itself can access the first type of signal, and in this case, the signal frequency band corresponding to the first type of signal frequency can be selected for adsorption operations on the target terminal device.

[0083] For example, please refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of an adsorption recording table provided in an embodiment of this application, as shown below. Figure 4 As shown, Figure 4 This includes an adsorption record table, which records the adsorption status of the detection device over a certain period of time, mainly including the device identification code of the adsorption terminal, the adsorption time, and the adsorption frequency. In this embodiment, the number of adsorption cycles for the target terminal device can be the number of adsorption records determined in the adsorption record table based on the device identification code of the target terminal device.

[0084] In this embodiment, after successfully adsorbing the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, if the adsorption record between the detection device and the target terminal device determines that the number of adsorption attempts exceeds a first preset threshold, and the adsorption record also determines that the adsorption frequency band of the detection device on the target terminal device includes the signal frequency band corresponding to the first type of signal frequency point, then the adsorption operation on the target terminal device is performed using the signal frequency band corresponding to the first type of signal frequency point. Using the aforementioned method, the data transmission rate between the detection device and the target terminal device can be improved while ensuring the success rate of the detection device's adsorption of the target terminal device.

[0085] In one feasible embodiment, the method further includes: determining the number of first terminals attracted using the signal frequency band corresponding to the first type of signal frequency point, and the number of second terminals attracted using the signal frequency band corresponding to the second type of signal frequency point; determining whether a first condition is met, the first condition including at least one of the following: the difference between the number of first terminals and the number of second terminals is greater than a second preset threshold; the remaining usable battery power of the detection device is less than a third preset threshold; if the first condition is met, sending second information to the public network base station within the signal coverage area of ​​the detection device, the second information being used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time; releasing the preset number of terminals attracted by the first type of signal frequency point, and attracting the preset number of terminals using the signal frequency band corresponding to the second type of signal frequency point, the preset number being determined based on the difference between the number of first terminals and the number of second terminals.

[0086] While using the signal frequency band corresponding to the first type of signal frequency to attract target terminal devices offers high speed and low latency, it also increases the power consumption of the detection device. If, with the total number of devices attracted by the detection device remaining constant, the number of first terminals attracted using the signal frequency band corresponding to the first type of signal frequency is significantly greater than the number of second terminals attracted using the signal frequency band corresponding to the second type of signal frequency, it leads to an imbalance in the internal power consumption of the detection device, greatly increasing its power consumption.

[0087] Therefore, when the number of the first type of terminals is much greater than the number of the second type of terminals, or when the remaining battery power of the detection device is low, the detection device will release a preset number of terminals attracted using the first type of signal frequency and re-attract them using the signal frequency band corresponding to the second type of signal frequency. The preset number is determined based on the difference between the number of the first type of terminals and the number of the second type of terminals, with the aim of maintaining a balance between the two numbers. Before this, a third message needs to be sent to the public network base stations within the signal coverage area of ​​the detection device to instruct the public network base stations to stop using the signal frequency band corresponding to the first type of signal frequency within a second preset time. The second preset time can be determined based on historical attraction data, specifically based on the attraction duration of each terminal device.

[0088] In addition, the number of terminal devices that can be attracted by the signal frequency band corresponding to the first type of signal frequency point can be determined based on the overall power consumption of the detection equipment. That is, the number of terminal devices attracted by the signal frequency band corresponding to the first type of signal frequency point can be determined based on the total number of terminals attracted by the detection equipment. If the total number of attracted terminals is large, then the number of terminal devices attracted by the signal frequency band corresponding to the first type of signal frequency point can be relatively small; if the total number of attracted terminals is small, then the number of terminal devices attracted by the signal frequency band corresponding to the first type of signal frequency point can be relatively large.

[0089] In this embodiment, the number of first terminals attracted using the signal band corresponding to the first type of signal frequency point and the number of second terminals attracted using the signal band corresponding to the second type of signal frequency point are determined. When the difference between the number of first terminals and the number of second terminals is greater than a second preset threshold, or when the remaining usable battery power of the detection device is less than a third preset threshold, third information is sent to the public network base station within the signal coverage area of ​​the detection device. This information instructs the public network base station to stop using the signal band corresponding to the first type of signal frequency point within a second preset time, release the preset number of terminals attracted by the first type of signal frequency point, and attract the preset number of terminals using the signal band corresponding to the second type of signal frequency point. By using the aforementioned method, a balance can be maintained between the number of terminals attracted by the signal band corresponding to the first type of signal frequency point and the number of terminals attracted by the signal band corresponding to the second type of signal frequency point in the detection device, thereby maintaining the overall power consumption balance of the detection device.

[0090] As can be seen, in this embodiment, the first public network frequency information within the current signal coverage area is obtained, and it is determined whether the first public network frequency information includes a first type of signal frequency. If the first public network frequency information includes a first type of signal frequency, the network frequency information connecting the target terminal device to the public network base station is obtained. If the network frequency information includes a first type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the first type of signal frequency. If the network frequency information does not include a first type of signal frequency but includes a second type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency. If the first public network frequency information does not include a first type of signal frequency, the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency. By using the aforementioned method, the time for the detection device to attract the target terminal device is reduced, and the efficiency of the detection device in completing the attraction of the target terminal device is improved.

[0091] For embodiments consistent with those shown above, please refer to... Figure 5a , Figure 5a This is a functional unit block diagram of a code detection frequency band switching device provided in an embodiment of this application, which is applied to code detection equipment, such as... Figure 5a As shown, the detection frequency band switching device 50 includes:

[0092] Acquisition unit 501 is used to acquire the first public network frequency point information within the current signal coverage area;

[0093] The determining unit 502 is used to determine whether the first public network frequency point information includes the first type of signal frequency point;

[0094] When the first public network frequency point information includes the first type of signal frequency point, the acquisition unit 501 is used to acquire the network frequency point information of the communication connection between the target terminal device and the public network base station, and the target terminal device is the terminal device within the target area of ​​the detection device;

[0095] If the network frequency information includes a first type of signal frequency, the processing unit 503 is used to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency.

[0096] If the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, the processing unit 503 is further used to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, wherein the signal frequency band corresponding to the first type of signal frequency is higher than the signal frequency band corresponding to the second type of signal frequency.

[0097] If the first type of signal frequency is not included in the first public network frequency information, the processing unit 503 is also used to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency.

[0098] In a feasible embodiment, after performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the processing unit 503 is further configured to: after successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, obtain the location information of the target terminal device; obtain the environmental information within the current signal coverage area; and determine whether the target terminal device has entered the signal blocking area of ​​the detection device based on the location information and environmental information, wherein the signal blocking area of ​​the detection device includes the presence of tall buildings on the communication path with the target terminal device.

[0099] If the target terminal device enters the signal blocking area of ​​the detection device, determine whether there are other detection devices within the first area of ​​the target terminal device. The first area is determined based on the signal coverage area of ​​the detection device. If there are other detection devices within the first area of ​​the target terminal device, identify the target detection device among the other detection devices. The target detection device is the detection device whose signal blocking area the target terminal device has not entered. Send a first message to the soldier connected to the detection device. The first message prompts the soldier to send an instruction message to the target detection device. The instruction message instructs the soldier to attach the target terminal device through the target detection device. Receive release information from the soldier and release the target terminal device according to the release information.

[0100] In one feasible embodiment, the device further includes: if there are no other detection devices within the first area of ​​the target terminal device, determining whether there is a public network base station within the second area of ​​the target terminal device; if there is no public network base station within the second area of ​​the target terminal device, switching to the signal frequency band corresponding to the second type of signal frequency point to perform an attraction operation on the target terminal device, wherein the second area is smaller than the first area; if there is a public network base station within the second area of ​​the target terminal device, acquiring the second public network frequency point signal corresponding to the public network base station; if the second public network frequency point signal does not include the first type of signal frequency point, using the signal frequency band corresponding to the second type of signal frequency point to perform an attraction operation on the target terminal device.

[0101] In one feasible embodiment, after the processing unit 503 performs the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, it further performs the following: if the attraction operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, it sends second information to the public network base station within the signal coverage area of ​​the detection device, and performs the attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency point. The second information is used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time.

[0102] In one feasible embodiment, the network frequency information does not include the first type of signal frequency points but includes the second type of signal frequency points. The processing unit 503 is used to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency points, and is further used to: after successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency points, obtain the location information of the target terminal device; if it is determined that the target terminal device is in a moving state based on the location information of the target terminal device, obtain the interaction information sent from the target terminal device; if it is determined that the target terminal device is not in a usage state based on the interaction information, then perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency points.

[0103] In a feasible embodiment, if the first type of signal frequency is not included in the first public network frequency information, the processing unit 503 is configured to, after performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, further be configured to: after successfully performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, obtain an adsorption record of the target terminal device; if it is determined from the adsorption record that the number of adsorption operations on the target terminal device exceeds a first preset threshold, determine from the adsorption record whether the adsorption frequency band of the target terminal device includes the signal frequency band corresponding to the first type of signal frequency; if the adsorption frequency band of the target terminal device includes the signal frequency band corresponding to the first type of signal frequency, then perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency.

[0104] In one feasible embodiment, the device further includes: determining the number of first terminals attracted using the signal frequency band corresponding to the first type of signal frequency point, and the number of second terminals attracted using the signal frequency band corresponding to the second type of signal frequency point; determining whether a first condition is met, the first condition including at least one of the following: the difference between the number of first terminals and the number of second terminals is greater than a second preset threshold; the remaining usable battery power of the detection device is less than a third preset threshold; if the first condition is met, sending second information to a public network base station within the signal coverage area of ​​the detection device, the second information being used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time; releasing the preset number of terminals attracted by the first type of signal frequency point, and attracting the preset number of terminals using the signal frequency band corresponding to the second type of signal frequency point, the preset number being determined based on the difference between the number of first terminals and the number of second terminals.

[0105] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section in a synchronous manner, and will not be repeated here.

[0106] When using integrated units, such as Figure 5b As shown, Figure 5b This is a functional unit block diagram of another code detection frequency band switching device provided in this application embodiment. Figure 5b In this document, the code detection band switching device 51 includes a processing module 512 and a communication module 511. The processing module 512 controls and manages the operation of the code detection band switching device, for example, the steps of the acquisition unit 501, the determination unit 502, and the processing unit 503, and / or other processes for executing the techniques described herein. The communication module 511 supports interaction between the code detection band switching device and other devices. Figure 5b As shown, the detection code frequency band switching device 51 may also include a storage module 513, which is used to store the program code and data of the detection code frequency band switching device.

[0107] The processing module 512 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 511 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 513 can be a memory.

[0108] All relevant content in each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The above-mentioned code detection frequency band switching device 51 can all perform the above-mentioned... Figure 2 The detection code frequency band switching method is shown.

[0109] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions according to the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. A computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. Semiconductor media can be solid-state drives.

[0110] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application. For example... Figure 6As shown, the electronic device 600 may include one or more of the following components: a processor 601 and a memory 602 coupled to the processor 601, wherein the memory 602 may store one or more computer programs, which may be configured to implement the methods described in the above embodiments when executed by one or more processors 601. The electronic device 600 may be the aforementioned code detection device.

[0111] Processor 601 may include one or more processing cores. Processor 601 connects to various parts within the electronic device 600 using various interfaces and lines, and performs various functions and processes data of the electronic device 600 by running or executing instructions, programs, code sets, or instruction sets stored in memory 602, and by calling data stored in memory 602. Optionally, processor 601 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 601 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. It is understood that the aforementioned modem may also not be integrated into processor 601, but may be implemented separately through a communication chip.

[0112] The memory 602 may include random access memory (RAM) or read-only memory (ROM). The memory 602 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 602 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created by the electronic device 600 during use.

[0113] It is understood that the electronic device 600 may include more or fewer structural elements than those shown in the above block diagram, such as a power module, physical buttons, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, sensors, etc., without limitation.

[0114] This application provides a computer-readable storage medium storing program data, which, when executed by a processor, is used to perform some or all of the steps of any of the detection band switching methods described in the above method embodiments.

[0115] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the detection band switching methods described in the above method embodiments. This computer program product can be a software installation package.

[0116] It should be noted that, for the sake of simplicity, all of the aforementioned embodiments of the frequency band switching method are described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to this application.

[0117] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce a good effect.

[0118] Those skilled in the art will understand that all or part of the steps in the various methods of any of the above-described methods for switching frequency bands can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk, or an optical disk, etc.

[0119] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principle and implementation of a code detection frequency band switching method and device of this application. The description of the above embodiments is only for the purpose of helping to understand the method and its core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of ​​a code detection frequency band switching method and device of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

[0120] This application is described with reference to flowchart illustrations and / or block diagrams of methods, hardware products, and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0121] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0122] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0123] It is understood that any product that is controlled or configured to execute the processing method described in the flowchart of the method embodiment of the detection code frequency band switching method of this application, such as the terminal and computer program product of the above flowchart, falls within the scope of the related products described in this application.

[0124] Obviously, those skilled in the art can make various modifications and variations to the detection frequency band switching method and apparatus provided in this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

Claims

1. A method for switching frequency bands for code detection, characterized in that, The method is applied to a code detection device, and the method includes: Obtain the first public network frequency point information within the current signal coverage area, and determine whether the first public network frequency point information includes the first type of signal frequency point; If the first type of signal frequency is included in the first public network frequency information, obtain the network frequency information of the target terminal device and the public network base station communication connection, wherein the target terminal device is a terminal device within the target area of ​​the detection device; If the network frequency information includes the first type of signal frequency, then the target terminal device is attracted using the signal frequency band corresponding to the first type of signal frequency. If the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, then the target terminal device is attracted using the signal frequency band corresponding to the second type of signal frequency, wherein the signal frequency band corresponding to the first type of signal frequency is higher than the signal frequency band corresponding to the second type of signal frequency. If the first type of signal frequency is not included in the first public network frequency information, then the signal frequency band corresponding to the second type of signal frequency is used to perform the attraction operation on the target terminal device. The method further includes, after performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point: If the attraction operation to the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, a second message is sent to the public network base station within the signal coverage area of ​​the detection device, and the attraction operation to the target terminal device is performed using the signal frequency band corresponding to the second type of signal frequency point. The second message is used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time.

2. The method according to claim 1, characterized in that, After performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the method further includes: After successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, the location information of the target terminal device is obtained; Obtain environmental information within the current signal coverage area; Based on the location information of the target terminal device and the environmental information, it is determined whether the target terminal device has entered the signal blocking area of ​​the detection device. The signal blocking area of ​​the detection device includes the presence of tall buildings on the communication path with the target terminal device. When the target terminal device enters the signal blocking area of ​​the code detection device, it is determined whether there are other code detection devices in a first area of ​​the target terminal device. The first area is determined based on the signal coverage area of ​​the code detection device. If there are other code detection devices within the first area of ​​the target terminal device, the target code detection device among the other code detection devices is determined. The target code detection device is the code detection device in which the target terminal device has not entered the signal blocking area of ​​the code detection device. Send a first message to the soldier connected to the code detection device. The first message is used to prompt the soldier to send an instruction message to the target code detection device. The instruction message is used to instruct the target terminal device to perform an adsorption operation by using the signal frequency band corresponding to the first type of signal frequency point through the target code detection device. Receive release information from the individual soldier, and release the target terminal device according to the release information.

3. The method according to claim 2, characterized in that, The method further includes: If there are no other code detection devices within the first area of ​​the target terminal device, then it is determined whether there is a public network base station within the second area of ​​the target terminal device. If there is no public network base station in the second area of ​​the target terminal device, then the signal frequency band corresponding to the second type of signal frequency point is switched to perform an attraction operation on the target terminal device, and the second area is smaller than the first area; If the public network base station exists within the second area of ​​the target terminal device, then the second public network frequency signal corresponding to the public network base station is obtained; If the second public network frequency signal does not include the first type of signal frequency, then the signal frequency band corresponding to the second type of signal frequency is used to perform the adsorption operation on the target terminal device.

4. The method according to claim 1, characterized in that, If the network frequency information does not include the first type of signal frequency points but includes the second type of signal frequency points, then after performing an attraction operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency points, the method further includes: After successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, the location information of the target terminal device is obtained; If it is determined that the target terminal device is in a moving state based on the location information of the target terminal device, obtain the interactive information sent from the target terminal device; If it is determined from the interaction information that the target terminal device is not in use, then the target terminal device is attracted using the signal frequency band corresponding to the first type of signal frequency point.

5. The method according to claim 1, characterized in that, If the first type of signal frequency is not included in the first public network frequency information, then after using the signal frequency band corresponding to the second type of signal frequency to perform the attraction operation on the target terminal device, the method further includes: After successfully performing the adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency point, the adsorption record of the target terminal device by the code detection device is obtained. If, based on the adsorption record, it is determined that the number of times the code detection device adsorbs onto the target terminal device exceeds a first preset threshold, then, based on the adsorption record, it is determined whether the adsorption frequency band of the code detection device onto the target terminal device includes the signal frequency band corresponding to the first type of signal frequency point; If the frequency band for attracting the target terminal device by the detection device includes the signal frequency band corresponding to the first type of signal frequency point, then the target terminal device is attracted using the signal frequency band corresponding to the first type of signal frequency point.

6. The method according to claim 1, characterized in that, The method further includes: Determine the number of first terminals attracted by the signal frequency band corresponding to the first type of signal frequency point, and the number of second terminals attracted by the signal frequency band corresponding to the second type of signal frequency point; Determine whether the first condition is met, wherein the first condition includes at least one of the following: The difference between the number of the first terminal and the number of the second terminal is greater than the second preset threshold; The remaining usable battery power of the detection device is less than a third preset threshold. If the first condition is met, then the third information is sent to the public network base station within the signal coverage area of ​​the detection device. The third information is used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a second preset time. Release a preset number of terminals attracted by the first type of signal frequency point, and then attract the preset number of terminals using the signal frequency band corresponding to the second type of signal frequency point. The preset number is determined based on the difference between the number of the first terminal and the number of the second terminal.

7. A detection frequency band switching device, characterized in that, The device is used in a code detection device, and the device includes: The acquisition unit is used to acquire information about the first public network frequency point within the current signal coverage area; The determining unit is used to determine whether the first public network frequency point information includes a first type of signal frequency point; When the first type of signal frequency is included in the first public network frequency information, the acquisition unit is used to acquire network frequency information of the target terminal device and the public network base station communication connection, wherein the target terminal device is a terminal device within the target area of ​​the detection device; If the network frequency information includes the first type of signal frequency, the processing unit is used to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency. If the network frequency information does not include the first type of signal frequency but includes the second type of signal frequency, the processing unit is further configured to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency, wherein the signal frequency band corresponding to the first type of signal frequency is higher than the signal frequency band corresponding to the second type of signal frequency. If the first type of signal frequency is not included in the first public network frequency information, the processing unit is further configured to perform an adsorption operation on the target terminal device using the signal frequency band corresponding to the second type of signal frequency. The processing unit, after performing an adsorption operation on the target terminal device using the signal frequency band corresponding to the first type of signal frequency point, is further configured to: If the attraction operation to the target terminal device using the signal frequency band corresponding to the first type of signal frequency point fails, a second message is sent to the public network base station within the signal coverage area of ​​the detection device, and the attraction operation to the target terminal device is performed using the signal frequency band corresponding to the second type of signal frequency point. The second message is used to instruct the public network base station to stop using the signal frequency band corresponding to the first type of signal frequency point within a first preset time.

8. An electronic device, characterized in that, The device includes: The processor, the memory, and the communication interface are interconnected and perform communication between them. The memory stores executable program code, and the communication interface is used for wireless communication. The processor is configured to retrieve the executable program code stored in the memory and execute the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange is provided, wherein the computer program causes a computer to perform the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Redirection positioning method and device

    CN109688621A