Frequency point scanning method and device, computer readable storage medium and electronic equipment

By determining the target scanning frequency points in the frequency band to be scanned in the terminal device, combining the cell bandwidth and the number of base stations, the problem of difficulty in taking into account speed and coverage during frequency scanning is solved, and a fast and accurate frequency scanning effect is achieved.

CN119450650APending Publication Date: 2025-02-14ANYSMART TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411566101.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

During the frequency scanning process of terminal devices, they need to quickly find available cells and ensure frequency coverage. It is difficult for the existing technology to take into account both.

Method used

By determining the number of bands and bandwidths of the frequency bands to be scanned in the target channel, and comprehensively evaluating the number of target scanned frequency points based on the cell bandwidth and the number of base stations, dynamically configure the number of scanned frequency points to achieve fast and accurate frequency point scanning.

Benefits of technology

It realizes that the terminal equipment takes into account the time and coverage of available frequency points during the frequency point scanning process, and quickly and accurately searches for available cells.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450650A_ABST
    Figure CN119450650A_ABST
Patent Text Reader

Abstract

The invention discloses a frequency point scanning method and device, a computer readable storage medium and electronic equipment, the frequency point scanning method is used for terminal equipment, and the method comprises the following steps: determining the frequency band number and the frequency band width of a to-be-scanned frequency band of a target channel; determining a target scanning frequency point number of the to-be-scanned frequency band according to the frequency band number, the frequency band width, a first parameter and a second parameter, the first parameter being determined by a cell bandwidth, and the second parameter being determined by a base station number in a preset range; and scanning the frequency points of the to-be-scanned frequency band based on the target scanning frequency point number. According to the frequency point scanning method, the number of target scanning frequency points of a to-be-scanned frequency band is comprehensively determined based on the frequency band number and the frequency band width of the to-be-scanned frequency band of a target channel of the terminal equipment and the cell bandwidth and the base station number of the environment where the terminal equipment is located, so that the terminal equipment can give consideration to the time and the coverage rate of available frequency points; and the available cells can be quickly and accurately searched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communication technology, and in particular to a frequency scanning method, device, computer-readable storage medium, and electronic equipment. Background Art

[0002] Some chipsets of terminal devices scan dozens of fixed frequencies for each frequency band. It takes a long time to scan all supported frequency bands, resulting in a slow network access process. Some chipsets only scan a few fixed frequencies for each frequency band. They can quickly scan all frequency bands, but may not cover supported frequencies, resulting in failure to access the network. Summary of the invention

[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to provide a frequency scanning method that takes into account the time and coverage of available frequencies and searches for available cells quickly and accurately.

[0004] The second objective of the present invention is to provide a frequency scanning device.

[0005] A third object of the present invention is to provide a computer-readable storage medium.

[0006] A fourth objective of the present invention is to provide an electronic device.

[0007] To achieve the above-mentioned purpose, the first aspect of the present invention proposes a frequency scanning method for a terminal device, the method comprising: determining the number of frequency bands and the frequency bandwidth of the frequency band to be scanned of the target channel; determining the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency bandwidth, a first parameter and a second parameter, wherein the first parameter is determined by the cell bandwidth and the second parameter is determined by the number of base stations within a preset range; scanning the frequency points of the frequency band to be scanned based on the target scanning frequency number

[0008] According to the frequency scanning method of the embodiment of the present invention, the target scanning frequency number of the frequency band to be scanned is comprehensively determined based on the frequency band number and bandwidth of the frequency band to be scanned of the target channel of the terminal device, the cell bandwidth of the environment in which the terminal device is located, and the number of base stations, so that the terminal device can take into account the time and coverage of the available frequencies and search for available cells quickly and accurately.

[0009] In addition, the frequency scanning method proposed in the above embodiment of the present invention may also have the following additional technical features:

[0010] According to one embodiment of the present invention, before determining the number of frequency bands and the frequency band width of the target channel to be scanned, the method includes:

[0011] After the terminal device is tuned to the supported channel, measuring the signal strength of the supported channel;

[0012] The channel whose signal strength is greater than the preset strength threshold is recorded as the target channel.

[0013] According to an embodiment of the present invention, determining the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter includes:

[0014] Determine a first target value and a second target value of a first parameter according to the frequency bandwidth, wherein the first target value is smaller than the second target value;

[0015] Determining a third target value and a fourth target value of the second parameter according to the number of frequency bands, wherein the third target value is less than the fourth target value;

[0016] Determine a first scanning frequency number according to the frequency bandwidth, the first target value and the fourth target value by using a preset scanning frequency number formula, and determine a second scanning frequency number according to the frequency bandwidth, the second target value and the third target value;

[0017] A target scanning frequency number is determined according to the number of frequency bands, the first scanning frequency number, and the second scanning frequency number.

[0018] According to an embodiment of the present invention, the expression of the preset scanning frequency point formula is: in, Indicates rounding down.

[0019] According to one embodiment of the present invention, determining the target scanning frequency number based on the number of frequency bands, the first scanning frequency number and the second scanning frequency number includes: if the number of frequency bands is equal to 1, recording the first scanning frequency number as the target scanning frequency number; if the number of frequency bands is greater than 1, recording the second scanning frequency number as the target scanning frequency number.

[0020] According to one embodiment of the present invention, before determining the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter, the method further includes: judging whether the frequency band width is less than a preset frequency band width threshold; if less than, recording the preset scanning frequency number as the target scanning frequency number; if greater than, executing the step of determining the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter.

[0021] According to an embodiment of the present invention, the frequency bandwidth is positively correlated with a first target value and a second target value of the first parameter.

[0022] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a frequency scanning device for a terminal device, the device comprising: a determination module, used to determine the number of frequency bands and the frequency band width of the target channel to be scanned; a calculation module, used to determine the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, a first parameter and a second parameter, wherein the first parameter is determined by the cell bandwidth and the second parameter is determined by the number of base stations within a preset range; a scanning module, used to scan the frequency points of the frequency band to be scanned based on the target scanning frequency number.

[0023] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the frequency scanning method proposed in the first aspect of the present invention is implemented.

[0024] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, a frequency scanning method as proposed in the first aspect of the present invention is implemented.

[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flow chart of a frequency scanning method according to an embodiment of the present invention;

[0027] Figure 2 is a flow chart of determining a target channel according to an embodiment of the present invention;

[0028] Figure 3 is a flow chart of determining the target scanning frequency number according to an embodiment of the present invention;

[0029] Figure 4 is a flow chart of determining the target scanning frequency number according to a specific embodiment of the present invention;

[0030] Figure 5 is a schematic diagram of a frequency scanning device according to an embodiment of the present invention;

[0031] Figure 6 It is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0033] The frequency scanning method, device, computer-readable storage medium, and electronic device of the embodiments of the present invention are described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0034] The frequency scanning method according to the embodiment of the present invention is used in terminal equipment.

[0035] In the embodiment of the present invention, the terminal device may be a user equipment (UE), such as a mobile phone, a computer, a tablet, etc. It should be noted that the embodiment of the present invention does not limit the type of the terminal device.

[0036] Figure 1 FIG. 1 is a flow chart of a frequency scanning method according to an embodiment of the present invention. Figure 1 As shown, the frequency scanning method may include:

[0037] S101, determining the number and bandwidth of frequency bands to be scanned in a target channel;

[0038] S102, determining a target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, a first parameter and a second parameter, wherein the first parameter is determined by the cell bandwidth, and the second parameter is determined by the number of base stations within a preset range;

[0039] S103, scanning the frequency points of the frequency band to be scanned based on the target scanning frequency point number.

[0040] In order to enable the terminal device to quickly and accurately search for available cells, the terminal device of an embodiment of the present invention comprehensively determines the target scanning frequency number of the frequency band to be scanned based on the frequency band number and bandwidth of the target channel to be scanned, as well as the cell bandwidth and the number of base stations in the environment where the terminal device is located, so that the terminal device can take into account the time and coverage of the available frequencies and search for available cells quickly and accurately.

[0041] Specifically, different terminal devices support different frequency band scenarios. Some terminal devices support multi-band scenarios, and some terminal devices support locked-band scenarios (single-band scenarios). The frequency band scenarios supported by the terminal devices are different, and the target scanning frequency points of the frequency band to be scanned are determined differently. Therefore, when determining the target scanning frequency points of the frequency band to be scanned, the number of frequency bands and the bandwidth of the frequency band to be scanned of the target channel of the terminal device are determined. At the same time, the first parameter is determined based on the cell bandwidth of the environment in which the terminal device is located, and the second parameter is determined based on the number of base stations in the environment in which the terminal device is located. The number of frequency points (target scanning frequency points) that need to be searched for the frequency band to be scanned is comprehensively evaluated based on the number of frequency bands, the bandwidth, the first parameter, and the second parameter.

[0042] The frequency scanning method of the embodiment of the present invention comprehensively determines the target scanning frequency number of the frequency band to be scanned based on the frequency band number and bandwidth of the frequency band to be scanned of the target channel of the terminal device, the cell bandwidth of the environment in which the terminal device is located, and the number of base stations, so that the terminal device can take into account the time and coverage of the available frequency points and search for available cells quickly and accurately.

[0043] In one embodiment of the present invention, Figure 2 As shown, before determining the number of frequency bands and the frequency bandwidth of the target channel to be scanned, the frequency point scanning method may include:

[0044] S201, after the terminal device is tuned to a supported channel, measuring the signal strength of the supported channel;

[0045] S202: Record a channel whose signal strength is greater than a preset strength threshold as a target channel.

[0046] Specifically, when the terminal device registers to access the cell for the first time, the channel of the terminal device is adjusted to tune the terminal device to the supported channel. After the terminal device is tuned to the supported channel, the signal strength of the supported channel is measured. It is determined whether the signal strength of each supported channel is greater than a preset strength threshold. The channel greater than the preset strength threshold is recorded as the target channel.

[0047] As a specific example, the terminal device measures the RSSI (Received Signal Strength Indicator) of each supported channel. When the terminal device measures the RSSI of each supported channel, a list RSSI containing each channel number of the RSSI measurement value can be created. According to the RSSI measurement values ​​in the list RSSI, the RSSI measurement values ​​greater than the preset strength threshold are determined. Using the list RSSI, the corresponding channel number is determined according to the RSSI measurement value greater than the preset strength threshold, and the target channel is determined according to the channel number.

[0048] It should be noted that RSSI is just a measurement of any energy / power that the terminal device can measure. This measurement does not require any channel coding process. When measuring the RSSI of the channels it supports, the terminal device does not need to know anything about the network, nor does it try to decode or synchronize / reference signals (in LTE (Long Term Evolution)) to detect the physical cell ID. It just measures the power of each channel.

[0049] In one embodiment of the present invention, Figure 3 As shown, determining the target scanning frequency points of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter may include:

[0050] S301, determining a first target value and a second target value of a first parameter according to a frequency bandwidth, wherein the first target value is smaller than the second target value;

[0051] S302, determining a third target value and a fourth target value of the second parameter according to the number of frequency bands, wherein the third target value is smaller than the fourth target value;

[0052] S303, using a preset scanning frequency formula, determining a first scanning frequency according to the frequency bandwidth, the first target value and the fourth target value, and determining a second scanning frequency according to the frequency bandwidth, the second target value and the third target value;

[0053] S304: Determine a target scanning frequency number according to the number of frequency bands, the first scanning frequency number, and the second scanning frequency number.

[0054] In one embodiment of the present invention, the frequency bandwidth is positively correlated with the first target value and the second target value of the first parameter.

[0055] In one embodiment of the present invention, the expression of the preset scanning frequency point number formula is: Indicates rounding down.

[0056] The first parameter in the embodiment of the present invention is associated with the cell bandwidth and can be set to two levels, and the value corresponding to each level is determined by the bandwidth.

[0057] The second parameter in the embodiment of the present invention is associated with the number of base stations in the environment where the terminal device is located, and can be set to three levels accordingly. The value corresponding to each level can be set to 3, 6, and 9 respectively.

[0058] Specifically, a first target value and a second target value of the first parameter are determined according to the frequency bandwidth, and a third target value and a fourth target value of the second parameter are determined according to the number of frequency bands.

[0059] According to the preset scanning frequency point formula, the ratio of the frequency bandwidth to the first target value is calculated and rounded up, and the calculated integer is multiplied by the fourth target value to obtain the first scanning frequency point.

[0060] According to the preset scanning frequency point formula, the ratio of the frequency bandwidth to the second target value is calculated and rounded up, and the calculated integer is multiplied by the third target value to obtain the second scanning frequency point.

[0061] Since the first scanning frequency number is the ratio of the frequency bandwidth to the first target value and is rounded and multiplied by the fourth target value. The second scanning frequency number is the ratio of the frequency bandwidth to the second target value and is rounded and multiplied by the third target value. The first target value is smaller than the second target value, and the fourth target value is larger than the third target value, so the calculated first scanning frequency number is larger than the second scanning frequency number. In order to quickly and accurately determine the target scanning frequency number of the frequency band to be scanned, an embodiment of the present invention determines the target scanning frequency number of the frequency band to be scanned based on the number of frequency bands and the calculated first scanning frequency number and second scanning frequency number.

[0062] In one embodiment of the present invention, determining the target scanning frequency number according to the number of frequency bands, the first scanning frequency number and the second scanning frequency number may include:

[0063] If the number of frequency bands is equal to 1, the first scanning frequency point number is recorded as the target scanning frequency point number;

[0064] If the number of frequency bands is greater than 1, the second scanning frequency point number is recorded as the target scanning frequency point number.

[0065] Specifically, since the first scanning frequency number is greater than the second scanning frequency number, the number of frequency bands is equal to 1, that is, when the terminal device is in a locked frequency band scenario, especially some frequency bands with small bandwidth (such as band 71, band 72, band 73), the bandwidth is only 5MHz, and the frequency is relatively low (663MHz-450MHz). In order to cover as wide as possible and make full use of frequency resources, the number of configured frequency points will be relatively large. At this time, if as many frequency points as possible cannot be scanned, then effective frequency points may be missed, resulting in failure to access the Internet. In order to make full use of frequency resources, the first scanning frequency point number is recorded as the target scanning frequency point number of the frequency band to be scanned, so as to scan as many frequency points in the frequency band to be scanned as possible.

[0066] Specifically, since the first scanning frequency number is greater than the second scanning frequency number, the number of frequency bands is greater than 1, that is, when the terminal device is in a multi-band scenario, there are a large number of frequency points in each frequency band. In order to prevent the scanning frequency points from taking too much time, resulting in a slow network registration process, the second scanning frequency point number is recorded as the target scanning frequency point number, so that the terminal device can quickly scan all the frequency points in the frequency band to be scanned.

[0067] In one embodiment of the present invention, before determining the target number of scanning frequency points of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter, the frequency point scanning method may further include:

[0068] Determine whether the bandwidth is less than a preset bandwidth threshold;

[0069] If it is less than, the preset scanning frequency point number is recorded as the target scanning frequency point number;

[0070] If it is greater, the step of determining the target scanning frequency point number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter is executed.

[0071] Specifically, for a frequency band with a narrower bandwidth, a preset number of scanning frequencies corresponding to the narrower frequency band can be set. Therefore, when determining the target number of scanning frequencies for the frequency band to be scanned, it is determined whether the bandwidth of the frequency band to be scanned is less than the preset bandwidth threshold. If the bandwidth of the frequency band to be scanned is less than the preset bandwidth threshold, the preset number of scanning frequencies can be recorded as the target number of scanning frequencies. If the bandwidth of the frequency band to be scanned is greater than the preset bandwidth threshold, the above method is used to determine the target number of scanning frequencies for the frequency band to be scanned based on the number of frequency bands, the bandwidth, the first parameter, and the second parameter.

[0072] As a specific embodiment, the frequency scanning method of the embodiment of the present invention is described:

[0073] like Figure 4 As shown, in this embodiment, the preset bandwidth is 6MHz, and the bandwidths of the frequency bands to be scanned are 5MHz, 10MHz, and 20MHz. Among them, the preset number of scanning frequency points is 40. When the bandwidth is greater than 5MHz and less than or equal to 10MHz, the first value corresponding to the two levels of the first parameter is 1.4, and the second value is 5. When the bandwidth is greater than 10MHz and less than or equal to 20MHz, the first value corresponding to the two levels of the first parameter is 3, and the second value is 10. When the bandwidth is greater than 20MHz, the first value corresponding to the two levels of the first parameter is 5, and the second value is 20. According to the frequency band range where the bandwidth of the frequency band to be scanned is located, the first value and the second value corresponding to the frequency band range are recorded as the first target value and the second target value of the first parameter of the frequency band to be scanned.

[0074] It should be noted that the first parameter is a configuration parameter, which is related to the cell bandwidth and has two levels (the specific value is determined by the different frequency band bandwidths). The second parameter is also a configuration parameter, which is related to the number of nearby base stations and has three levels (the values ​​are 3, 6, and 9 respectively). In the scenario of locking the frequency band to search the network, the second parameter needs to take the maximum value, so 9 is recorded as the fourth target value of the second parameter of the frequency band to be scanned. 3 or 6 can be recorded as the third target value of the second parameter according to the needs.

[0075] For example, if the bandwidth of the frequency band to be scanned is 5MHz, which is less than the preset bandwidth (6MHz), then no matter in the case of multi-band network search or locked-band network search, the number of frequency points to be searched (target scanning frequency points) is 40.

[0076] For example: the bandwidth of the frequency band to be scanned is 9MHz, which is greater than the preset bandwidth (6MHz). The bandwidth range of the 9MHz frequency band to be scanned is greater than 5MHz and less than or equal to 10MHz. Then the first target value and the second target value of the first parameter corresponding to the 9MHz frequency band to be scanned are 1.4 and 5 respectively. The third target value and the fourth target value corresponding to the second parameter of the 9MHz frequency band to be scanned are 3 and 9 respectively. The first scanning frequency point number and the second scanning frequency point number are calculated using the preset scanning frequency point formula. The first scanning frequency point number is 10 / 1.4, which is a positive value, and then multiplied by 9 to obtain the value (63). The second scanning frequency point number is 10 / 5, which is a positive value, and then multiplied by 3 to obtain the value (6). Therefore, in the case of locked-band network search, the number of frequency points that need to be searched is 63. In the case of multi-band network search, the number of frequency points that need to be searched should be 6.

[0077] In an embodiment of the present invention, after determining the target number of scanning frequencies for the frequency band to be scanned, the terminal device decodes the Channel State Information Reference Signal (CRS) and measures the power. The physical cell ID is detected from the determined target frequency. Some target frequencies give successful results, but some do not. The terminal device lists a list of all successful attempts. The terminal device decodes the system message for each target frequency from the list of all successful attempts listed. Through this process, the terminal device can list the frequency, physical cell ID and PLMN (public land mobile network). The terminal device finds out which cell is the candidate cell to be actually resident based on the USIM information (Universal Subscriber Identity Module) and the target frequency in the list of all successful attempts listed, and attempts to decode the system information and perform the registration process.

[0078] The frequency scanning method of the embodiment of the present invention can dynamically configure the number of scanning frequencies.

[0079] The frequency scanning method of the embodiment of the present invention can comprehensively evaluate the number of frequencies that need to be searched based on the bandwidths of different frequency bands, the cell bandwidth and the number of nearby base stations in a scenario where the terminal device supports multiple frequency bands.

[0080] The frequency scanning method of the embodiment of the present invention does not seek to quickly scan the frequencies of other bands in a scenario where the terminal device supports band locking, so as to scan as many frequencies in the band as possible, thereby increasing the number of frequencies that need to be scanned.

[0081] The frequency scanning method of the embodiment of the present invention enables the terminal device to take into account both the time and coverage of searching for available frequencies, thereby achieving the purpose of searching for available cells quickly and accurately.

[0082] The frequency scanning device according to the embodiment of the present invention is used in terminal equipment.

[0083] Figure 5 FIG. 1 is a schematic diagram of a frequency scanning device according to an embodiment of the present invention. Figure 5 As shown, the frequency scanning device 100 includes a determination module 10 , a calculation module 20 and a scanning module 30 .

[0084] Among them, the determination module 10 is used to determine the number of frequency bands and the bandwidth of the frequency band to be scanned of the target channel; the calculation module 20 is used to determine the target scanning frequency point number of the frequency band to be scanned according to the number of frequency bands, the bandwidth, the first parameter and the second parameter, wherein the first parameter is determined by the cell bandwidth and the second parameter is determined by the number of base stations within a preset range; the scanning module 30 is used to scan the frequency points of the frequency band to be scanned based on the target scanning frequency point number.

[0085] According to one embodiment of the present invention, the determination module 10 is used to measure the signal strength of the supported channels after the terminal device is tuned to the supported channels before determining the number of frequency bands and the bandwidth of the frequency band to be scanned for the target channel; and record the channel whose signal strength is greater than a preset strength threshold as the target channel.

[0086] According to one embodiment of the present invention, the calculation module 20 is used to determine a first target value and a second target value of a first parameter according to a frequency band width, wherein the first target value is less than the second target value; determine a third target value and a fourth target value of the second parameter according to the number of frequency bands, wherein the third target value is less than the fourth target value; use a preset scanning frequency formula to determine a first scanning frequency according to the frequency band width, the first target value and the fourth target value, and determine a second scanning frequency according to the frequency band width, the second target value and the third target value; determine the target scanning frequency according to the number of frequency bands, the first scanning frequency and the second scanning frequency.

[0087] In one embodiment of the present invention, the expression of the preset scanning frequency point number formula is: in, Indicates rounding down.

[0088] According to an embodiment of the present invention, the calculation module 20 is used to record the first scanning frequency point number as the target scanning frequency point number if the number of frequency bands is equal to 1; if the number of frequency bands is greater than 1, record the second scanning frequency point number as the target scanning frequency point number.

[0089] According to one embodiment of the present invention, the calculation module 20 is used to determine whether the bandwidth is less than a preset bandwidth threshold before determining the target scanning frequency number of the frequency band to be scanned based on the number of frequency bands, the bandwidth, the first parameter and the second parameter; if less than, the preset scanning frequency number is recorded as the target scanning frequency number; if greater than, the step of determining the target scanning frequency number of the frequency band to be scanned based on the number of frequency bands, the bandwidth, the first parameter and the second parameter is executed.

[0090] In one embodiment of the present invention, the frequency bandwidth is positively correlated with the first target value and the second target value of the first parameter.

[0091] It should be noted that other specific implementations of the frequency scanning device provided in the embodiment of the present invention may refer to other specific implementations of the frequency scanning method in the above embodiment of the present invention.

[0092] The frequency scanning device of the embodiment of the present invention comprehensively determines the target scanning frequency number of the frequency band to be scanned based on the frequency band number and bandwidth of the frequency band to be scanned of the target channel of the terminal device, the cell bandwidth of the environment in which the terminal device is located, and the number of base stations, so that the terminal device can take into account the time and coverage of the available frequency points and search for available cells quickly and accurately.

[0093] The present invention provides a computer-readable storage medium.

[0094] In this embodiment, a computer program is stored on a computer-readable storage medium. When the computer program is executed by a processor, the frequency point scanning method described above is implemented.

[0095] The invention provides an electronic device.

[0096] In this embodiment, the electronic device includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the frequency scanning method as described above is implemented.

[0097] Figure 6 It is a structural block diagram of an electronic device according to an embodiment of the present invention.

[0098] like Figure 6As shown, the electronic device 500 includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation on the embodiments of the present invention.

[0099] Processor 501 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. Processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0100] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0101] The memory 503 is used to store a computer program corresponding to the frequency scanning method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 501. The processor 501 is used to execute the computer program stored in the memory 503 to implement the content shown in the above method embodiment. Figure 6 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0102] The computer-readable storage medium and electronic device of the embodiments of the present invention comprehensively determine the target scanning frequency number of the frequency band to be scanned based on the frequency band number and bandwidth of the frequency band to be scanned of the target channel of the terminal device, the cell bandwidth of the environment in which the terminal device is located, and the number of base stations, so that the terminal device can take into account the time and coverage of the available frequency points and search for available cells quickly and accurately.

[0103] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0104] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0105] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0106] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0107] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0108] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0109] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0110] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A frequency scanning method, characterized in that: For a terminal device, the method comprises: Determine the number and bandwidth of the frequency bands to be scanned in the target channel; Determine the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, a first parameter and a second parameter, wherein the first parameter is determined by the cell bandwidth, and the second parameter is determined by the number of base stations within a preset range; The frequency points of the frequency band to be scanned are scanned based on the target scanning frequency point number.

2. The frequency scanning method according to claim 1, characterized in that: Before determining the number of frequency bands and the frequency bandwidth of the frequency band to be scanned of the target channel, the method includes: After the terminal device is tuned to the supported channel, measuring the signal strength of the supported channel; The channel whose signal strength is greater than the preset strength threshold is recorded as the target channel.

3. The frequency scanning method according to claim 1, characterized in that: The step of determining the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter includes: Determine a first target value and a second target value of a first parameter according to the frequency bandwidth, wherein the first target value is smaller than the second target value; Determining a third target value and a fourth target value of the second parameter according to the number of frequency bands, wherein the third target value is less than the fourth target value; Determine a first scanning frequency number according to the frequency bandwidth, the first target value and the fourth target value by using a preset scanning frequency number formula, and determine a second scanning frequency number according to the frequency bandwidth, the second target value and the third target value; A target scanning frequency number is determined according to the number of frequency bands, the first scanning frequency number, and the second scanning frequency number.

4. The frequency scanning method according to claim 3, characterized in that: The expression of the preset scanning frequency formula is: in, Indicates rounding down.

5. The frequency scanning method according to claim 3, characterized in that: The step of determining a target scanning frequency number according to the number of frequency bands, the first scanning frequency number, and the second scanning frequency number includes: If the number of frequency bands is equal to 1, the first scanning frequency point number is recorded as the target scanning frequency point number; If the number of frequency bands is greater than 1, the second scanning frequency point number is recorded as the target scanning frequency point number.

6. The frequency scanning method according to claim 3, characterized in that: Before determining the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, the first parameter and the second parameter, the method further includes: Determining whether the bandwidth is less than a preset bandwidth threshold; If it is less than, the preset scanning frequency point number is recorded as the target scanning frequency point number; If it is greater than, the step of determining the target scanning frequency point number of the frequency band to be scanned according to the frequency band quantity, the frequency band width, the first parameter and the second parameter is performed.

7. The frequency scanning method according to claim 3, characterized in that: The frequency bandwidth is positively correlated with a first target value and a second target value of the first parameter.

8. A frequency scanning device, characterized in that: For terminal equipment, the device comprises: A determination module, used to determine the number and bandwidth of frequency bands to be scanned in the target channel; a calculation module, configured to determine the target scanning frequency number of the frequency band to be scanned according to the number of frequency bands, the frequency band width, a first parameter and a second parameter, wherein the first parameter is determined by the cell bandwidth, and the second parameter is determined by the number of base stations within a preset range; The scanning module is used to scan the frequency points of the frequency band to be scanned based on the target scanning frequency point number.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the frequency scanning method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the frequency scanning method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Terminal frequency sweeping method, chip, computer equipment and readable medium

    CN119815324A