A signal scanning method and device, electronic equipment and storage medium
By acquiring specific problems in the technical field of narrowband private networks that existing technologies have failed to effectively solve, the specific problems in the technical field of narrowband private networks that existing technologies have failed to effectively solve, the specific problems in the technical field of narrowband private networks that existing technologies have failed to effectively solve, the specific problems in the technical field of narrowband private networks that existing technologies have failed to effectively solve.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HYTERA COMM CORP
- Filing Date
- 2022-11-15
- Publication Date
- 2026-05-08
AI Technical Summary
In existing narrowband private network signal scanning methods, random arrangement leads to long scanning times, making it easy to miss important services and delay voice access, resulting in a poor user experience.
By acquiring the frequency information of the frequency points to be scanned, the frequency scanning frequency and cyclic sequence are determined. After grouping, the frequency points are scanned sequentially until the target signal appears, thus avoiding repeated scanning.
It reduces signal scanning time, improves signal scanning efficiency, reduces the probability of service loss and delayed voice access, and enhances user experience.
Smart Images

Figure CN115835333B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a signal scanning method, apparatus, electronic device, and storage medium. Background Technology
[0002] Narrowband private networks can support the configuration of multiple channels, and services may occur on each channel at any time. However, it is unknown which channel will have services and when. Therefore, narrowband private networks typically support a scanning function, which involves continuously switching channels to detect signals and check if the target service is available on each channel. Once the target service is detected, the scanning can be stopped, and the network can choose to remain on that channel to receive the target service.
[0003] Currently, in the scanning function of narrowband private networks, the signal scanning order is generally randomly arranged. With this random arrangement, some frequency points may be scanned repeatedly during the scanning process, which wastes scanning time and increases the total scanning time. This can easily lead to problems such as missing important services and delayed voice access, resulting in a poor user experience. Summary of the Invention
[0004] This invention provides a signal scanning method, apparatus, electronic device, and storage medium to solve the problems of long scanning time and missed important services and delayed voice access in existing signal scanning methods based on random arrangement scanning. It reduces signal scanning time, improves signal scanning efficiency, reduces the probability of service loss and delayed voice access, and enhances user experience.
[0005] According to one aspect of the present invention, a signal scanning method is provided, comprising:
[0006] Obtain frequency information for all frequencies to be scanned;
[0007] The frequency point scanning frequency and the frequency point cyclic sequence to be scanned are determined based on the frequency point information; wherein, the frequency point cyclic sequence to be scanned is a cyclic sequence composed of the frequency points to be scanned sorted according to empirical values; the frequency point scanning frequency is the number of frequency points that can be scanned per unit scanning time;
[0008] The frequency point cyclic sequence to be scanned is grouped according to the frequency point scanning frequency to obtain at least one frequency point group sequence to be scanned. When there are multiple frequency point group sequences to be scanned, the frequency points contained in all the frequency point group sequences to be scanned are not completely the same.
[0009] The scanning process proceeds sequentially through all the frequency point groups to be scanned until the target signal is detected.
[0010] According to another aspect of the present invention, a signal scanning device is provided, comprising:
[0011] The acquisition module is used to acquire frequency information of all frequency points to be scanned;
[0012] The determining module is used to determine the frequency scanning frequency and the cyclic sequence of the frequency points to be scanned based on the frequency point information; wherein, the cyclic sequence of the frequency points to be scanned is a cyclic sequence composed of the frequency points to be scanned sorted according to empirical values; the frequency scanning frequency is the number of frequency points that can be scanned per unit scanning time;
[0013] The grouping module is used to group the cyclic sequence of frequency points to be scanned according to the frequency point scanning frequency to obtain at least one group sequence of frequency points to be scanned. When there are multiple group sequences of frequency points to be scanned, the frequency points contained in all the group sequences of frequency points to be scanned are not completely the same.
[0014] The scanning module is used to scan all the frequency point group sequences to be scanned in sequence until the target signal is detected and then the scanning stops.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] At least one processor; and
[0017] A memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the signal scanning method according to any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the signal scanning method according to any embodiment of the present invention.
[0020] The technical solution of this invention involves acquiring frequency information of all frequencies to be scanned; determining the frequency scanning frequency and the cyclic sequence of frequencies to be scanned based on the frequency information; wherein the cyclic sequence of frequencies to be scanned is a cyclic sequence composed of frequencies to be scanned ordered according to empirical values; the frequency scanning frequency is the number of frequencies that can be scanned per unit scanning time; grouping the cyclic sequence of frequencies to be scanned according to the frequency scanning frequency to obtain at least one group sequence of frequencies to be scanned; when there are multiple group sequences of frequencies to be scanned, the frequencies contained in all group sequences are not completely the same; and sequentially scanning all group sequences of frequencies to be scanned until the target signal is scanned and then stopping the scanning. This solves the problem of long scanning time and potential for missing important services and delayed voice access in existing signal scanning methods based on arbitrary arrangement scanning, achieving the beneficial effects of reducing signal scanning time, improving signal scanning efficiency, reducing the probability of service loss and delayed voice access, and improving user experience.
[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a flowchart of a signal scanning method provided in Embodiment 1 of the present invention;
[0024] Figure 2 A schematic diagram of a cyclic sequence of frequency points to be scanned provided in an embodiment of the present invention;
[0025] Figure 3 This is a flowchart of a signal scanning method provided in Embodiment 2 of the present invention;
[0026] Figures 4A to 4F A schematic diagram of a signal scanning method provided in an embodiment of the present invention;
[0027] Figure 5 This is a schematic diagram of the structure of a signal scanning device provided in Embodiment 3 of the present invention;
[0028] Figure 6 A schematic diagram of the structure of an electronic device for implementing the signal scanning method of this embodiment of the invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "comprising" and "having" and any variations thereof in the specification, claims and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products or devices.
[0031] Example 1
[0032] Figure 1 This is a flowchart illustrating a signal scanning method according to Embodiment 1 of the present invention. This embodiment is applicable to signal scanning in narrowband private networks, and can also be applied to other communication networks. Common narrowband private networks are mostly Time Division Multiple Access (TDMA) systems, such as: Police Digital Trunking (PDT), Digital Mobile Radio (DMR), Trans European Trunked Radio (TETRA; later renamed Terrestrial Trunked Radio), etc. Time Division Multiple Access is a communication technology for sharing transmission media or networks, allowing multiple users to use the same frequency in different time slots. This method can be executed by a signal scanning device, which can be implemented in hardware and / or software and can be configured in electronic devices. Figure 1 As shown, the method includes:
[0033] S110. Obtain frequency information for all frequency points to be scanned.
[0034] In this context, "frequency points to be scanned" refers to the frequencies awaiting scanning. This could be any frequency point within the channel to be scanned, or a frequency point of interest. A frequency point is a number assigned to a fixed frequency band, used to represent that band. The frequency point information can include: unit frequency point scanning time, the number of frequency points to be scanned, and the transmitted signal. For time-division multiple access systems, the frequency point information can also include the number of time slots contained within a single frequency point. Unit frequency point scanning time can be understood as the time taken to scan a single frequency point.
[0035] Specifically, obtain the frequency information corresponding to the frequency points to be scanned in the channel to be scanned.
[0036] S120. Determine the frequency scanning frequency and the frequency loop sequence to be scanned based on the frequency information; wherein, the frequency loop sequence to be scanned is a loop sequence composed of frequency points to be scanned sorted according to empirical values; the frequency scanning frequency is the number of frequency points that can be scanned per unit scanning time.
[0037] In this embodiment, the frequency scan frequency can be understood as the number of frequency points that can be scanned per unit scan time; the unit scan time is the smallest unit of scan time, and this embodiment of the invention does not impose any limitations on it. It can be understood that the shorter the scan time of a single frequency point, the faster the scan rate. For example, for a time division multiple access system, the unit scan time can be the time slots supported by each frequency point.
[0038] The cyclic sequence of frequency points to be scanned can be understood as a cyclic sequence composed of frequency points to be scanned ordered according to empirical values. The cyclic sequence of frequency points to be scanned can be regarded as a ring sequence with the beginning and end connected, or it can be regarded as an infinite cyclic sequence obtained by repeating the finite-length sequence composed of frequency points to be scanned infinitely.
[0039] In the cyclic sequence of frequency points to be scanned, the sorting method based on empirical values can be based on the order in which the frequency points are written; or based on the frequency of use of the frequency points to be scanned; or based on the size of the frequency band of the frequency points to be scanned. This embodiment of the invention does not impose any restrictions on this method and can be set according to actual needs.
[0040] For example, such as Figure 2 As shown, if the frequency points to be scanned include n frequency points f1, f2, f3, f4, f5, ..., fn, then the cyclic sequence of frequency points to be scanned obtained by sorting the frequency points according to empirical values can be a circular cyclic sequence (f1, f2, f3, f4, f5, ..., fn, f1...).
[0041] For example, the frequency scanning frequency of a frequency point to be scanned can be determined based on the frequency point information of the frequency point to be scanned, which is the number of frequency points that can be scanned per unit scanning time.
[0042] S130. Group the cyclic sequence of frequency points to be scanned according to the frequency scanning frequency to obtain at least one group sequence of frequency points to be scanned; when there are multiple group sequences of frequency points to be scanned, the frequency points contained in all the group sequences of frequency points to be scanned are not completely the same.
[0043] Among them, the frequency point grouping sequence refers to the sequence of frequency points to be scanned in each group obtained by grouping the frequency points to be scanned in the cyclic sequence of frequency points to be scanned. The number of frequency points to be scanned in each grouping sequence is determined by the frequency point scanning frequency.
[0044] For example, the cyclic sequence of frequency points to be scanned is grouped according to the frequency point scanning frequency to obtain at least one group of frequency point grouping sequences. Each group of frequency point grouping sequences contains a frequency point scanning frequency and a number of frequency points to be scanned. When there are multiple such frequency point grouping sequences, the frequency points contained in all such frequency point grouping sequences are not completely identical. The meaning that the frequency points contained in all such frequency point grouping sequences are not completely identical is that at least one of the frequency points contained in any two such frequency point grouping sequences is different.
[0045] Since the cyclic sequence of frequency points to be scanned is a cyclic sequence obtained by repeating a finite-length sequence composed of frequency points to be scanned, an infinite number of grouped frequency point sequences can be obtained after grouping. However, after a finite number of groupings, the resulting grouped frequency point sequences will begin to repeat with the previously obtained grouped frequency point sequences. In this embodiment of the invention, Nf frequency points to be scanned can be grouped according to the frequency point scanning frequency Nf, and the cyclic sequence of frequency points to be scanned can be grouped until the resulting grouped frequency point sequences are completely identical to the frequency points contained in the first grouped frequency point sequence, at which point grouping stops. Thus, it is guaranteed that there are no two grouped frequency point sequences containing completely identical frequency points; that is, only one grouped frequency point sequence is contained, or when there are two or more grouped frequency point sequences, the frequency points contained in all the grouped frequency point sequences are not completely identical.
[0046] S140. Scan all the frequency point group sequences to be scanned in sequence until the target signal is detected and then stop scanning.
[0047] The target signal refers to the signal of interest transmitted in the channel to be scanned, which can be understood as the signal corresponding to the service of interest.
[0048] Specifically, the signals transmitted on each frequency point in all the frequency point groups to be scanned are scanned sequentially according to the grouping order of the frequency point groups to be scanned and the arrangement order of the frequency points to be scanned in the frequency point groups to be scanned, until the frequency point transmitting the target signal is scanned and the scanning stops.
[0049] In this embodiment of the invention, the cyclic sequence of frequency points to be scanned, which consists of all frequency points to be scanned, is grouped into a group of frequency point groups or multiple frequency point groups that do not contain completely identical frequency points. All frequency points contained in each frequency point group can be scanned once within a unit scan, thereby effectively reducing the number of repeated scans for each frequency point to be scanned and the average scan time for all frequency points to be scanned, thus speeding up the signal scanning speed, improving scanning efficiency, and reducing the probability of service loss and delayed voice entry.
[0050] The technical solution of this invention involves acquiring frequency information of all frequencies to be scanned; determining the frequency scanning frequency and cyclic sequence of the frequencies to be scanned based on the frequency information; wherein, the cyclic sequence of the frequencies to be scanned is a cyclic sequence composed of frequencies to be scanned ordered according to empirical values; the frequency scanning frequency is the number of frequencies that can be scanned per unit scanning time; grouping the cyclic sequence of frequencies to be scanned according to the frequency scanning frequency to obtain at least one group sequence of frequencies to be scanned; when there are multiple group sequences of frequencies to be scanned, the frequencies contained in all group sequences are not completely identical; and scanning is performed sequentially on all group sequences of frequencies to be scanned until the target signal is detected. By rationally planning the frequency scanning order and scanning strategy, this invention solves the problems of long scanning time and missed important services and delayed voice access caused by existing signal scanning methods based on arbitrary arrangement. It effectively reduces the number of repeated scans of each frequency to be scanned, thereby improving signal scanning efficiency and reducing the probability of service loss and delayed voice access.
[0051] Optionally, before scanning the target signal, the method further includes:
[0052] Obtain the frequency change message of the frequency point to be scanned;
[0053] Add or delete frequencies to be scanned based on the frequency change message;
[0054] Return to the steps to reacquire frequency information for all frequencies to be scanned.
[0055] The frequency change message can be understood as a message describing a change in the scanning frequency, such as a newly added frequency to be scanned or a frequency to be deleted.
[0056] Specifically, during frequency scanning, the frequency points to be scanned may change as the target signal changes, thus requiring continuous updates to the scanned frequencies. If a frequency change message is received, the frequency points to be scanned are deleted or added according to the message to form the current scanned frequency points, thus updating the scanned frequencies. Additionally, it is necessary to re-acquire the frequency information of the currently scanned frequencies in order to perform signal scanning on those frequencies.
[0057] Example 2
[0058] Figure 3 This is a flowchart of a signal scanning method provided in Embodiment 2 of the present invention. This embodiment further refines the above embodiment. Figure 3 As shown, the method includes:
[0059] S210. Obtain frequency information for all frequency points to be scanned.
[0060] S220. Determine the frequency scanning frequency and the cyclic sequence of the frequency points to be scanned based on the frequency point information; wherein, the cyclic sequence of the frequency points to be scanned is a cyclic sequence composed of the frequency points to be scanned according to empirical values; the frequency scanning frequency is the number of frequency points that can be scanned per unit scanning time.
[0061] S230. Determine the number of frequency points within a group based on the frequency point scanning frequency, wherein the number of frequency points within a group is the number of frequency points contained in each frequency point grouping sequence to be scanned.
[0062] The number of frequency points within a group can be understood as the number of frequency points to be scanned contained in a group sequence of frequency points to be scanned obtained after grouping.
[0063] Since the number of frequency points contained in each scanned frequency point group sequence, i.e. the number of frequency points within a group, is the frequency point scanning frequency, i.e. the number of frequency points that can be scanned per unit scanning time, it is guaranteed that one scan of a scanned frequency point group sequence can be completed within a unit scanning time.
[0064] S240. Group the cyclic sequence of frequency points to be scanned according to the number of frequency points in the group to obtain at least one group sequence of frequency points to be scanned; when there are multiple group sequences of frequency points to be scanned, the frequency points contained in all the group sequences of frequency points to be scanned are not completely the same.
[0065] In this context, the same scanned frequency point grouping sequence can be understood as the scanned frequency points contained in the scanned frequency point grouping sequence being completely identical.
[0066] Specifically, the cyclic sequence of frequency points to be scanned is an infinitely long cyclic sequence, which, after grouping, yields an infinite number of grouped sequences of frequency points to be scanned. However, after a finite number of groupings, the resulting grouped sequences of frequency points to be scanned will begin to repeat those obtained from previous groupings. Therefore, the frequency points to be scanned are grouped according to the number of frequency points within a group, and the frequency points to be scanned in the cyclic sequence are grouped sequentially until the resulting grouped sequence of frequency points to be scanned is identical to the first grouped sequence of frequency points to be scanned. At this point, grouping can be stopped, thus obtaining one or more grouped sequences of frequency points to be scanned, each containing distinct frequency points.
[0067] For example, consider a cyclic sequence of frequency points to be scanned as (f1, f2, f3, f1, f2, f3, f1, f2, f3, ...). If the frequency point scanning frequency is 2, the number of frequency points in a group is determined to be 2. Then, the cyclic sequence of frequency points to be scanned is grouped according to the number of frequency points in a group. Starting from the fourth grouping, there are identical grouping sequences of frequency points to be scanned (f1, f2). Therefore, three grouping sequences of frequency points to be scanned are obtained: (f1, f2); (f3, f1); (f2, f3). The frequency points contained in these three grouping sequences are not completely identical. If the frequency point scanning frequency is 3, the cyclic sequence of frequency points to be scanned is grouped according to the number of frequency points to be scanned as a group. Starting from the fourth grouping, there are identical grouping sequences of frequency points to be scanned (f1, f2, f3). Therefore, one grouping sequence of frequency points to be scanned is obtained: (f1, f2, f3).
[0068] S250. When there is only one frequency point group sequence to be scanned, the frequency point group sequence to be scanned is scanned within the unit scanning time until the target signal is scanned and then the scanning stops.
[0069] Specifically, if the cyclic sequence of frequency points to be scanned is grouped to obtain only one group sequence of frequency points to be scanned, then the frequency points to be scanned contained in the group sequence of frequency points to be scanned are scanned sequentially in each unit scanning time until the target signal is scanned and the scanning stops.
[0070] It is understandable that the target signal may not be detected within a single scanning time. Therefore, the frequency points to be scanned in the frequency point grouping sequence to be scanned need to be scanned sequentially within each scanning time until the target signal is detected and the scanning stops.
[0071] For example, for a cyclic sequence of frequency points to be scanned (f1, f2, f3, f1, f2, f3, f1, f2, f3, ...), if the frequency point scanning frequency is 3, grouping the cyclic sequence of frequency points to be scanned will only yield one group sequence of frequency points to be scanned (f1, f2, f3). Within one unit scan time, each of the frequency points f1, f2, and f3 contained in the group sequence (f1, f2, f3) to be scanned is scanned once, until the target signal is detected. If the target signal is detected at frequency point f2 after two unit scan times, then the frequency points to be scanned sequentially are f1, f2, f3, f1, f2.
[0072] S260. When there are N frequency point group sequences to be scanned, sort all the frequency point group sequences to be scanned without repetition, where N is an integer greater than 1; according to the order of the frequency point group sequences to be scanned, scan all the frequency point group sequences to be scanned within N×M unit scan time until the target signal is scanned and then stop scanning; where M is an integer greater than 0.
[0073] Specifically, if the cyclic sequence of frequency points to be scanned is grouped into N group sequences, where N is an integer greater than 1, then all group sequences are scanned within N×M unit scan times until the target signal is detected. Since the number of frequency points contained in a group sequence is equal to the frequency scan frequency, only one group sequence can be scanned within one unit scan time.
[0074] Similarly, it is understandable that the target signal may not be detected within an N×M unit scan time. Therefore, the frequency points to be scanned contained in the frequency point grouping sequence need to be scanned sequentially within each N×M unit scan time until the target signal is detected and the scanning stops.
[0075] For example, for a cyclic sequence of frequency points to be scanned (f1,f2,f3,f1,f2,f3,f1,f2,f3,…), if the frequency point scanning frequency is 2, the cyclic sequence of frequency points to be scanned is grouped to obtain 3 group sequences of frequency points to be scanned (f1,f2); (f3,f1); (f2,f3); and (f1,f2); (f3,f1); (f2,f3) are scanned M times in N×M (N=3) unit scanning time until the target signal is scanned and the scanning stops.
[0076] Optionally, scanning all the frequency point grouping sequences to be scanned within N×M unit scan times includes:
[0077] For each of the frequency points to be scanned, the group sequence is scanned M times in M consecutive unit scan times.
[0078] Specifically, a frequency point group sequence to be scanned can be scanned once within one unit scan time. Therefore, each frequency point group sequence to be scanned is scanned M times in M consecutive unit scan times.
[0079] For example, for a cyclic sequence of frequency points to be scanned (f1,f2,f3,f1,f2,f3,f1,f2,f3,…), if the frequency point scanning frequency is 2 and M=2, the cyclic sequence of frequency points to be scanned is grouped to obtain 3 group sequences of frequency points to be scanned (f1,f2); (f3,f1); (f2,f3). Each group sequence of frequency points to be scanned is scanned twice in 2 consecutive unit scanning time periods. The 3 group sequences of frequency points to be scanned are scanned in N×M (i.e. 3×2) consecutive unit scanning time periods. The scanned group sequences are (f1,f2), (f1,f2); (f3,f1), (f3,f1); (f2,f3), (f2,f3).
[0080] The technical solution of this invention involves acquiring frequency information of all frequency points to be scanned; determining the frequency scanning frequency and the cyclic sequence of frequency points to be scanned based on the frequency information; wherein, the cyclic sequence of frequency points to be scanned is a cyclic sequence composed of frequency points to be scanned sorted according to empirical values; the frequency scanning frequency is the number of frequency points that can be scanned per unit scanning time; determining the number of frequency points within a group based on the frequency scanning frequency, wherein the number of frequency points within a group is the number of frequency points contained in each group sequence of frequency points to be scanned; grouping the cyclic sequence of frequency points to be scanned according to the number of frequency points within a group to obtain at least one group sequence of frequency points to be scanned, and when multiple When scanning frequency point group sequences, the frequency points contained in all the scanned frequency point group sequences are not completely identical. When there is only one scanned frequency point group sequence, the scanned frequency point group sequence is scanned within a unit scan time until the target signal is detected. When there are N scanned frequency point group sequences, all the scanned frequency point group sequences are sorted without repetition, where N is an integer greater than 1. According to the sorting order of the scanned frequency point group sequences, all the scanned frequency point group sequences are scanned within N×M unit scan time periods until the target signal is detected, where M is an integer greater than 0. By rationally planning the frequency point scanning order and scanning strategy, the problem of long scanning time and missed important services and delayed voice access caused by the existing signal scanning method based on random arrangement is solved. The number of repeated scans for each scanned frequency point is effectively reduced, thereby improving signal scanning efficiency and reducing the probability of service loss and delayed voice access.
[0081] Optionally, M is the number of time slots contained in each time division multiple access frame in the time division multiple access system.
[0082] Specifically, for a time division multiple access system, each time division multiple access frame contains M time slots, which ensures that each frequency point to be scanned is scanned once in each time slot within N×M unit scan time, while minimizing the total number of scans.
[0083] Optionally, the frequency of the frequency point to be scanned is determined, including:
[0084] Obtain the time slot length and unit frequency scan time of the frequency point to be scanned;
[0085] The ratio of the time slot length to the unit frequency point scanning time is determined as the frequency point scanning frequency of the frequency point to be scanned.
[0086] Specifically, the frequency point scanning frequency refers to the number of frequency points that can be scanned per unit scanning time. When the unit scanning time is the time slot length of the frequency point to be scanned, the frequency point scanning frequency is the ratio of the time slot length to the unit frequency point scanning time.
[0087] In this embodiment of the invention, according to the signal scanning method proposed in this invention, a method for calculating the theoretical shortest time for signal scanning is given. The theoretical shortest time for scanning N frequency points in the channel to be scanned is set as Tscan. The channel to be scanned supports N slots, which contain N frequency points to be scanned. The time per slot is Tslot, the scanning time per frequency point is Tf, and the frequency point scanning frequency is Nf.
[0088] If N%Nf = 0, that is, N can divide Nf with a remainder of zero, then Tscan = (N / Nf) × (Nslot × Tslot);
[0089] If N%Nf>0, that is, N cannot divide Nf and the remainder is not zero, then Tscan=(N / / Nf)×(Nslot×Tslot)+Tslot+(N%Nf)×Tf, where N / / Nf represents taking the integer part of the quotient of N divided by Nf.
[0090] In one embodiment, for the Digital Mobile Radio (DMR) standard, the number of valid time slots supported by the frequency points to be scanned is Nslot = 2; the unit time slot time is Tslot = 30ms; the channel to be scanned contains 3 frequency points f1, f2, f3, i.e., N = 3; the unit frequency point scanning time is Tf = 15ms, then the frequency point scanning frequency is Nf = (Tslot / Tf) = 2.
[0091] like Figure 4AAs shown, the frequency points to be scanned are arranged cyclically to obtain the cyclic sequence of frequency points to be scanned as F1 = (f1, f2, f3, f1, f2, f3, ...). According to the frequency point scanning frequency Nf = 2, the cyclic sequence of frequency points to be scanned F1 is grouped to obtain the frequency point grouping sequence (f1, f2); (f3, f1); (f2, f3) for one scanning cycle. Each group of frequency point grouping sequence is scanned N slots, and then the next group of frequency point grouping sequence is scanned until the scanning is completed. The theoretical shortest scanning time for all frequency points in the channel to be scanned to be scanned once in one scanning cycle is Tscan = (N / / Nf) × (Nslot × Tslot) + Tslot + (N % Nf) × Tf = (3 / / 2) × (2 × 30) + 30 + (3 % 2) × 15 = 105ms.
[0092] In one embodiment, for the Digital Mobile Radio (DMR) standard, the number of valid time slots supported by the frequency points to be scanned is Nslot = 2; the unit time slot time is Tslot = 30ms; the channel to be scanned contains 4 frequency points f1, f2, f3, f4, i.e., N = 4; the unit frequency point scanning time is Tf = 15ms, then the frequency point scanning frequency is Nf = (Tslot / Tf) = 2.
[0093] like Figure 4B As shown, the frequency points to be scanned are arranged cyclically to obtain the cyclic sequence F2 = (f1, f2, f3, f4, f1, f2, f3, f4, ...). Based on the frequency point scanning frequency Nf = 2, the cyclic sequence F2 is grouped to obtain the frequency point grouping sequence (f1, f2); (f3, f4) for one scanning cycle. Each group of frequency point grouping sequences is scanned Nslot = 2 times, and then the next group of frequency point grouping sequences is scanned until the scanning is complete. The theoretical shortest scanning time for all frequency points in the channel to be scanned to be scanned once within one scanning cycle is Tscan = (N / Nf) × (Nslot × Tslot) = (4 / 2) × (2 × 30) = 120ms.
[0094] In one embodiment, for the Digital Mobile Radio (DMR) standard, the number of valid time slots supported by the frequency points to be scanned is Nslot = 2; the unit time slot time is Tslot = 30ms; the channel to be scanned contains 4 frequency points f1, f2, f3, f4, f5, i.e., N,5; the unit frequency point scanning time is Tf = 15ms, then the frequency point scanning frequency is Nf = (Tslot / Tf) = 2.
[0095] like Figure 4CAs shown, the frequency points to be scanned are arranged cyclically to obtain the cyclic sequence F3 = (f1, f2, f3, f4, f5, f1, f2, f3, f4, f5, ...). Based on the frequency point scanning frequency Nf = 2, the cyclic sequence F3 is grouped to obtain the frequency point grouping sequence for one scanning cycle: (f1, f2); (f3, f4); (f5, f1); (f2, f3); (f4, f5). Each group of frequency point grouping sequences is scanned Nslot = 2 times, and then the next group of frequency point grouping sequences is scanned until the scanning ends. The theoretical shortest scanning time for scanning all frequency points in the channel to be scanned within one scanning cycle is Tscan=(N / / Nf)×(Nslot×Tslot)+Tslot+(N%Nf)×Tf=(5 / / 2)×(2×30)+30+(5%2)×15=165ms.
[0096] In one embodiment, for the Digital Mobile Radio (DMR) standard, the number of valid time slots supported by the frequency points to be scanned is Nslot = 2; the unit time slot time is Tslot = 30ms; the channel to be scanned contains 4 frequency points f1, f2, f3, i.e., N = 3; the unit frequency point scanning time is Tf = 10ms, then the frequency point scanning frequency is Nf = (Tslot / Tf) = 3.
[0097] like Figure 4D As shown, the frequency points to be scanned are arranged cyclically to obtain a cyclic sequence of frequency points F1 = (f1, f2, f3, f1, f2, f3, ...). Based on the frequency point scanning frequency Nf = 3, the cyclic sequence F1 is grouped to obtain a grouped sequence of frequency points to be scanned for one scanning cycle (f1, f2, f3). Each group of frequency points to be scanned is scanned Nslot = 2 times, and then the next group of frequency points to be scanned is scanned until the scanning is complete. The theoretical shortest scanning time for all frequency points in the channel to be scanned to be scanned once within one scanning cycle is Tscan = (N / Nf) × (Nslot × Tslot) = (3 / 3) × (2 × 30) = 60ms.
[0098] In one embodiment, for the Digital Mobile Radio (DMR) standard, the number of valid time slots supported by the frequency points to be scanned is Nslot = 2; the unit time slot time is Tslot = 30ms; the channel to be scanned contains 4 frequency points f1, f2, f3, f4, i.e., N = 4; the unit frequency point scanning time is Tf = 10ms, then the frequency point scanning frequency is Nf = (Tslot / Tf) = 3.
[0099] like Figure 4EAs shown, the frequency points to be scanned are arranged cyclically to obtain the cyclic sequence F2 = (f1, f2, f3, f4, f1, f2, f3, f4, ...). Based on the frequency point scanning frequency Nf = 3, the cyclic sequence F2 is grouped to obtain the frequency point grouping sequence for one scanning cycle: (f1, f2, f3); (f4, f1, f2); (f3, f4, f1); (f2, f3, f4). Each group of frequency point grouping sequences is scanned Nslot = 2 times, and then the next group of frequency point grouping sequences is scanned until the scanning ends. The theoretical shortest scanning time for scanning all frequency points in the channel to be scanned within one scanning cycle is Tscan=(N / / Nf)×(Nslot×Tslot)+Tslot+(N%Nf)×Tf=(4 / / 3)×(2×30)+30+(4%3)×10=100ms.
[0100] In one embodiment, for the Digital Mobile Radio (DMR) standard, the number of valid time slots supported by the frequency points to be scanned is Nslot = 2; the unit time slot time is Tslot = 30ms; the channel to be scanned contains 4 frequency points f1, f2, f3, f4, f5, i.e., N,5; the unit frequency point scanning time is Tf = 10ms, then the frequency point scanning frequency is Nf = (Tslot / Tf) = 3.
[0101] like Figure 4F As shown, the frequency points to be scanned are arranged cyclically to obtain the cyclic sequence F3 = (f1, f2, f3, f4, f5, f1, f2, f3, f4, f5, ...). Based on the frequency point scanning frequency Nf = 3, the cyclic sequence F3 is grouped to obtain the frequency point grouping sequence for one scanning cycle: (f1, f2, f3); (f4, f5, f1); (f2, f3, f4); (f5, f1, f2); (f3, f4, f5). Each group of frequency point grouping sequences is scanned Nslot = 2 times, and then the next group of frequency point grouping sequences is scanned until the scanning is complete. The theoretical shortest scanning time for scanning all frequency points in the channel to be scanned within one scanning cycle is Tscan=(N / / Nf)×(Nslot×Tslot)+Tslot+(N%Nf)×Tf=(5 / / 3)×(2×30)+30+(5%3)×10=110ms.
[0102] Example 3
[0103] Figure 5 This is a schematic diagram of a signal scanning device provided in Embodiment 3 of the present invention. Figure 5As shown, the device includes: an acquisition module 310, a determination module 320, a grouping module 330, and a scanning module 340;
[0104] The acquisition module 310 is used to acquire frequency point information of all frequency points to be scanned;
[0105] The determining module 320 is used to determine the frequency scanning frequency and the cyclic sequence of the frequency points to be scanned based on the frequency point information; wherein, the cyclic sequence of the frequency points to be scanned is a cyclic sequence composed of the frequency points to be scanned sorted according to empirical values; the frequency scanning frequency is the number of frequency points that can be scanned per unit scanning time;
[0106] Grouping module 330 is used to group the cyclic sequence of frequency points to be scanned according to the frequency point scanning frequency to obtain at least one group sequence of frequency points to be scanned. When there are multiple group sequences of frequency points to be scanned, the frequency points contained in all the group sequences of frequency points to be scanned are not completely the same.
[0107] The scanning module 340 is used to scan all the frequency point group sequences to be scanned in sequence until the target signal is scanned and then the scanning stops.
[0108] Optionally, the grouping module 330 is specifically used for:
[0109] The number of frequency points within a group is determined based on the frequency point scanning frequency, wherein the number of frequency points within a group is the number of frequency points contained in each frequency point grouping sequence to be scanned.
[0110] The cyclic sequence of frequency points to be scanned is grouped according to the number of frequency points within the group.
[0111] Optionally, the scanning module 340 includes:
[0112] The first scanning unit is used to scan the frequency point group sequence to be scanned within the unit scanning time when there is only one such frequency point group sequence to be scanned.
[0113] The second scanning unit is used to sort all the frequency point grouping sequences to be scanned without repetition when there are N such sequences, where N is an integer greater than 1; and to scan all the frequency point grouping sequences to be scanned within N×M unit scanning times according to the order of the sequences, where M is an integer greater than 0.
[0114] Optionally, the second scanning unit is specifically used for:
[0115] For each of the frequency points to be scanned, the group sequence is scanned M times in M consecutive unit scan times.
[0116] Optionally, M is the number of time slots contained in each time division multiple access frame in the time division multiple access system.
[0117] Optionally, the determining module 320 is specifically used for:
[0118] Obtain the time slot length and unit frequency scan time of the frequency point to be scanned;
[0119] The ratio of the time slot length to the unit frequency point scanning time is determined as the frequency point scanning frequency of the frequency point to be scanned.
[0120] Optionally, before scanning the target signal, the method further includes:
[0121] The change message acquisition module is used to acquire the frequency change message of the frequency point to be scanned;
[0122] The frequency point change module is used to add or delete frequencies to be scanned according to the frequency point change message;
[0123] The reacquisition module is used to return to the step of reacquiring frequency information of all frequencies to be scanned. The signal scanning device provided in this embodiment of the invention can execute the signal scanning method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution.
[0124] Example 4
[0125] Figure 6 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0126] like Figure 6As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0127] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0128] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as signal scanning methods.
[0129] In some embodiments, the signal scanning method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the signal scanning method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the signal scanning method by any other suitable means (e.g., by means of firmware).
[0130] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0131] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0132] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0133] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0134] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0135] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0136] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0137] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A signal scanning method, characterized in that, include: Obtain frequency information for all frequencies to be scanned; The frequency point scanning frequency and the frequency point cyclic sequence to be scanned are determined based on the frequency point information; wherein, the frequency point cyclic sequence to be scanned is a cyclic sequence composed of the frequency points to be scanned sorted according to empirical values; the frequency point scanning frequency is the number of frequency points that can be scanned per unit scanning time; The frequency point cyclic sequence to be scanned is grouped according to the frequency point scanning frequency to obtain at least one frequency point group sequence to be scanned. When there are multiple frequency point group sequences to be scanned, the frequency points contained in all the frequency point group sequences to be scanned are not completely the same. The scanning process proceeds sequentially through all the frequency point groups to be scanned until the target signal is detected.
2. The method according to claim 1, characterized in that, The step of grouping the cyclic sequence of frequency points to be scanned according to the frequency point scanning frequency includes: The number of frequency points within a group is determined based on the frequency point scanning frequency, wherein the number of frequency points within a group is the number of frequency points contained in each frequency point grouping sequence to be scanned. The cyclic sequence of frequency points to be scanned is grouped according to the number of frequency points within the group.
3. The method according to claim 1, characterized in that, The step of sequentially scanning all the frequency point group sequences to be scanned includes: When there is only one frequency point group sequence to be scanned, the frequency point group sequence to be scanned is scanned within the unit scanning time. When there are N frequency point grouping sequences to be scanned, sort all the frequency point grouping sequences to be scanned without repetition, where N is an integer greater than 1; According to the arrangement order of the frequency point grouping sequence to be scanned, all the frequency point grouping sequences to be scanned are scanned within N×M unit scanning time periods, where M is an integer greater than 0.
4. The method according to claim 3, characterized in that, The step of scanning all the frequency point group sequences to be scanned within N×M unit scan times includes: For each of the frequency points to be scanned, the scan is repeated M times within M consecutive unit scan times.
5. The method according to claim 3 or 4, characterized in that, M represents the number of time slots contained in each time division multiple access frame in the time division multiple access system.
6. The method according to claim 1, characterized in that, Determine the frequency of the frequency points to be scanned, including: Obtain the time slot length and unit frequency scan time of the frequency point to be scanned; The ratio of the time slot length to the unit frequency point scanning time is determined as the frequency point scanning frequency of the frequency point to be scanned.
7. The method according to claim 1, characterized in that, Before the target signal is detected, the method further includes: Obtain the frequency change message of the frequency point to be scanned; The frequency points to be scanned can be added or deleted according to the frequency point change message; Return to the steps to reacquire frequency information for all frequencies to be scanned.
8. A signal scanning device, characterized in that, include: The acquisition module is used to acquire frequency information of all frequency points to be scanned; The determining module is used to determine the frequency scanning frequency and the cyclic sequence of the frequency points to be scanned based on the frequency point information; wherein, the cyclic sequence of the frequency points to be scanned is a cyclic sequence composed of the frequency points to be scanned sorted according to empirical values; the frequency scanning frequency is the number of frequency points that can be scanned per unit scanning time; The grouping module is used to group the cyclic sequence of frequency points to be scanned according to the frequency point scanning frequency to obtain at least one group sequence of frequency points to be scanned. When there are multiple group sequences of frequency points to be scanned, the frequency points contained in all the group sequences of frequency points to be scanned are not completely the same. The scanning module is used to scan all the frequency point group sequences to be scanned in sequence until the target signal is detected and then the scanning stops.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the signal scanning method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the signal scanning method according to any one of claims 1-7.
Citation Information
Patent Citations
Method for frequency sweep of mobile terminal
CN107645752A
Frequency point selection method and device, equipment and storage medium
CN115038180A