CN110708742A - Method, device, electronic equipment and medium for selecting frequency points - Google Patents

Method, device, electronic equipment and medium for selecting frequency points Download PDF

Info

Publication number
CN110708742A
CN110708742A CN201911170886.3A CN201911170886A CN110708742A CN 110708742 A CN110708742 A CN 110708742A CN 201911170886 A CN201911170886 A CN 201911170886A CN 110708742 A CN110708742 A CN 110708742A
Authority
CN
China
Prior art keywords
frequency point
frequency
database
points
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911170886.3A
Other languages
Chinese (zh)
Other versions
CN110708742B (en
Inventor
林进全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201911170886.3A priority Critical patent/CN110708742B/en
Publication of CN110708742A publication Critical patent/CN110708742A/en
Application granted granted Critical
Publication of CN110708742B publication Critical patent/CN110708742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method, a device, electronic equipment and a medium for selecting frequency points. In the method, after the first frequency point set of the target area is acquired, whether the communication environment of the target area changes or not can be determined based on the first frequency point set and a preset first frequency point database established when the frequency point of the target area is scanned last time, and when the communication environment of the target area is determined not to change, the target frequency point is selected based on the first frequency point database. By applying the technical scheme of the application, when the GSM target frequency point of the target area is scanned at this time, the target frequency point can be selected in a targeted manner based on the database of the frequency points stored in the historical scanning record of the area. And then the problem of device resource consumption caused by the fact that a target frequency point can be found only by scanning a large number of frequency points in the related technology can be avoided.

Description

Method, device, electronic equipment and medium for selecting frequency points
Technical Field
The present application relates to data processing technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for selecting a frequency point.
Background
GSM (Global System for Mobile communication) is a Mobile communication System that supports voice and low-speed data services, and has a wide network coverage.
In the process of using GSM communication, GSM is first required to select a full-band cell. Further, in the process of selecting a cell, all frequency points in the area need to be scanned first, then frequency points needing to be tried are filtered according to rules, and whether the frequency points needing to be tried are suitable cells needed by a user or not is judged on the frequency points needing to be tried. And selecting to connect the frequency point and access the corresponding cell when determining that the frequency point is the target frequency point required by the user.
However, with the use of technologies such as the next-generation mobile communication system, the phenomenon that the access frequency bands of GSM and other communication systems overlap in actual networking is becoming more serious. This also results in many GSM frequency bins being very strong but not actually GSM cells. Therefore, how to quickly search for a suitable GSM cell becomes a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a medium for selecting frequency points.
According to an aspect of an embodiment of the present application, a method for selecting a frequency point is provided, which includes:
when a scanning instruction is acquired, acquiring a first frequency point set aiming at a target area;
when a first frequency point database is detected to exist, determining whether the communication environment of the target area changes or not based on the first frequency point set and the first frequency point database, wherein the first frequency point database is a database established based on the last scanning of the frequency points of the target area;
and when the communication environment of the target area is determined not to be changed, selecting a target frequency point based on the first frequency point database.
According to another aspect of the embodiments of the present application, an apparatus for selecting a frequency point is provided, which includes:
the acquisition module is configured to acquire a first frequency point set for a target area when a scanning instruction is acquired;
a determining module, configured to determine whether a communication environment of the target area changes based on the first frequency point set and a first frequency point database when the first frequency point database is detected to exist, where the first frequency point database is a database established based on a last scanning of the frequency points of the target area;
and the selecting module is set to select the target frequency point based on the first frequency point database when the communication environment of the target area is determined not to change.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
and the display is used for displaying with the memory to execute the executable instruction so as to complete the operation of any frequency point selecting method.
According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, which is used for storing computer-readable instructions, and when the instructions are executed, the operations of any one of the above methods for selecting frequency points are performed.
In the method and the device, after the first frequency point set of the target area is obtained, whether the communication environment of the target area changes or not can be determined based on the first frequency point set and a preset first frequency point database established when the frequency points of the target area are scanned for the last time, and when the communication environment of the target area is determined not to change, the target frequency points are selected based on the first frequency point database. By applying the technical scheme of the application, when the GSM target frequency point of the target area is scanned at this time, the target frequency point can be selected in a targeted manner based on the database of the frequency points stored in the historical scanning record of the area. And then the problem of device resource consumption caused by the fact that a target frequency point can be found only by scanning a large number of frequency points in the related technology can be avoided.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a system architecture for selecting frequency points according to the present application;
fig. 2 is a schematic diagram of a method for selecting frequency points according to the present application;
fig. 3 is a GSM system architecture diagram proposed in the present application;
fig. 4 is a schematic diagram of a method for selecting frequency points according to the present application;
fig. 5 is a schematic flow chart of selecting frequency points according to the present application;
fig. 6 is a schematic structural diagram of a device for selecting frequency points according to the present application;
fig. 7 is a schematic view of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for selecting frequency points according to an exemplary embodiment of the present application is described below with reference to fig. 1 to 5. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which a video processing method or a video processing apparatus of an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, when a user acquires a scanning instruction through the terminal device 103 (which may also be the terminal device 101 or 102), acquiring a first frequency point set for a target area; when a first frequency point database is detected to exist, determining whether the communication environment of the target area changes or not based on the first frequency point set and the first frequency point database, wherein the first frequency point database is a database established based on the last scanning of the frequency points of the target area; and when the communication environment of the target area is determined not to be changed, selecting a target frequency point based on the first frequency point database.
It should be noted that the video processing method provided in the embodiments of the present application may be executed by one or more of the terminal devices 101, 102, and 103, and/or the server 105, and accordingly, the video processing apparatus provided in the embodiments of the present application is generally disposed in the corresponding terminal device, and/or the server 105, but the present application is not limited thereto.
The application also provides a method, a device, a target terminal and a medium for selecting the frequency points.
Fig. 2 schematically shows a flow chart of a method for selecting a frequency point according to an embodiment of the present application. As shown in fig. 2, the method is applied to a mobile terminal, and includes:
s101, when a scanning instruction is acquired, acquiring a first frequency point set of a target area.
It should be noted that, in the present application, a device for acquiring the first frequency point set of the target area is not specifically limited, and for example, the device may be an intelligent device, and may also be a server. The intelligent device may be a PC (Personal Computer), or a smart phone, a tablet Computer, an e-book reader, or an MP3(Moving Picture expert group audio layer III) frequency point selector. MP4(moving Picture expert group Audio Layer IV, moving Picture experts compression standard Audio Layer 4) frequency point selector, or portable terminal equipment such as portable computer with display function.
The first frequency point set in the present application may be a frequency point corresponding to a GSM-based system. Further, Global System for Mobile Communications GSM (Global System for Mobile Communications GSM) is a digital Mobile Communications standard that is set forth by the european telecommunication standards institute ETSI. Its air interface uses time division multiple access technology. Both signaling and voice channels are digital, and thus GSM is considered a second generation (2G) mobile telephone system. The GSM network system architecture is shown in fig. 3, and includes an MS (Mobile Station), a BTS (Base Transceiver Station), a BSC (Base Station Controller), and an MSC (Mobile Switching Center). The BTS and BSC are called BSS (Base Station System), the BTS and BSC are connected by Abis interface for realizing wireless access function, and circuit domain data is transmitted between MS and MSC. MSC is core of GSM network, processing signaling from MS and base station subsystem in controlled area, realizing functions of mobility management, call exchange and charging collection, etc, BSC and MSC are connected by A interface. The MSC is mainly used for interfacing with an external network, and implementing signaling and traffic switching between the local mobile network and other networks.
In addition, in the present application, the number of frequency points in the first frequency point set is not limited. The frequency point is a number for a fixed frequency in the GSM system. In the GSM network, frequency points are used to designate the transmission frequency of the transceiver group instead of frequencies. For example, the following steps: a carrier is assigned a frequency point of 3, that is to say that the carrier will receive an upstream signal with a frequency of 890.4MHz and transmit a signal at a frequency of 935.4 MHz.
S102, when the first frequency point database is detected to exist, whether the communication environment of the target area changes or not is determined based on the first frequency point set and the first frequency point database, wherein the first frequency point database is a database established when the frequency points of the target area are scanned last time.
Further, after the first frequency point set is obtained, each frequency point in the first frequency point set can be matched with each frequency point in the first frequency point database, and whether the communication environment of the target area changes or not is determined according to a matching result. It should be noted that the first frequency point database in the present application is a database established when the frequency point set of the target area is obtained for the first time.
It can be understood that, if each frequency point in the first frequency point set is unsuccessfully matched with each frequency point in the first frequency point database, the communication environment of the target area changes. And if each frequency point in the first frequency point set is successfully matched with each frequency point in the first frequency point database, the communication environment is not changed.
And S103, when the communication environment of the target area is determined not to change, selecting the target frequency point based on the first frequency point database.
When the communication environment of the target area is determined not to change, the target frequency point required by the scanning can be selected based on each frequency point in the first frequency point database obtained by scanning the target area before. It can be understood that, in the related art, when the mobile terminal acquires the frequency point corresponding to the GSM cell, because the frequency band of the GSM and the frequency band of other access modes overlap more seriously in the actual network deployment, many GSM frequency point signals are very strong but are not the GSM cell in fact. Therefore, the method and the device can be based on the frequency point database which is scanned and stored before when the target frequency point is scanned. And selecting the target frequency point in a targeted manner.
In the application, after the first frequency point set of the target area is acquired, whether the communication environment of the target area changes or not can be determined based on the first frequency point set and a preset first frequency point database established when the frequency point of the target area is scanned last time, and when the communication environment of the target area is determined not to change, the target frequency point is selected based on the first frequency point database. By applying the technical scheme of the application, when the GSM target frequency point of the target area is scanned at this time, the target frequency point can be selected in a targeted manner based on the database of the frequency points stored in the historical scanning record of the area. And then the problem of device resource consumption caused by the fact that a target frequency point can be found only by scanning a large number of frequency points in the related technology can be avoided.
Optionally, in a possible implementation manner of the present application, in the application S103 (selecting the target frequency point based on the first frequency point database), the following two cases may be included:
in the first case:
acquiring corresponding first frequency points in a first frequency point database;
acquiring frequency point parameters corresponding to each first frequency point, wherein the frequency point parameters comprise at least one of signal intensity, Base Station Identification Codes (BSIC), System Information (SI) and cell identification codes;
and selecting a target frequency point based on the frequency point parameters corresponding to the first frequency points.
Further, when the communication environment of the target area is determined not to change, the current appropriate target frequency point can be selected from the frequency point parameters corresponding to the first frequency points in the first frequency point database. It should be noted that the frequency point parameters in this application at least include any one or more of the following parameters:
signal strength parameter, Base Station Identity Code (BSIC) parameter, system message (SI) parameter and cell identity code parameter.
Optionally, the signal strength parameter in the present application may define an interference level according to the interference strength received in the downlink measurement process, and obtain the signal strength parameter corresponding to the frequency point according to the interference level. It can be understood that the lower the interference level corresponding to the frequency point is, the higher the signal strength parameter corresponding to the frequency point is. Further, the BSIC parameter in the present application is a Base Station Identity Code (BSIC). In the GSM system, each BTS (base station) is assigned a color code (BSIC). The mobile station can distinguish different cells having the same BCCH with the help of BSIC. The BSIC may be used to participate in the coding process of the access system message, measure the BCCH signal of the neighboring cell and report the measurement result to the network, and so on. Further, the SI parameter in this application is referred to as a system message, i.e. a message broadcasted over the radio interface, and many messages are usually required from the network in order to obtain or provide various services. The system messages can be divided into 12 types: TYPE1, 2bis, 2ter, 3, 4, 5bis, 5ter, 6, 7, 8. And under the GSM system, a cell global identity parameter for identifying the cell.
Furthermore, in order to find a suitable target frequency point from the plurality of frequency points. The method and the device can read the parameter information of each frequency point in the first frequency point database in sequence. And according to at least one of the plurality of parameter information mentioned above. And determining the corresponding target frequency point. For example, when the frequency points of the chinese mobile operator need to be acquired in the scanning, the operator to which the frequency point belongs can be determined based on the cell identifier corresponding to each frequency point. And then selecting the target frequency point.
As can be appreciated, each of the first frequency bins exists. That is, when the device scans the target area for the first time, the obtained frequency point can be scanned and the frequency point corresponding to the frequency point parameter can be read. After the device acquires the multiple frequency points for the first time, the multiple frequency points can be stored in the first frequency point database. Therefore, when the frequency points are scanned in the target area subsequently, the frequency points stored in the first frequency point database can be directly utilized to select the appropriate target frequency points.
In the second case:
when the first frequency point database does not contain the target frequency points based on the frequency point parameters corresponding to the first frequency points, acquiring a third frequency point set, wherein the third frequency point set is a frequency point set obtained based on the first frequency point set and a second frequency point set, and the second frequency point set is a frequency point set stored in the second frequency point database;
acquiring frequency point parameters corresponding to all frequency points in a third frequency point set;
and selecting a target frequency point based on the frequency point parameters corresponding to the frequency points in the third frequency point set.
It can be understood that, in this scanning, the required target frequency point may or may not be included in the first frequency point database. Further, when it is determined that the first frequency point database does not contain the target frequency point based on the frequency point parameters corresponding to the first frequency points, the target frequency point can be selected by using the third frequency point set. It should be noted that the third frequency point set in this application is a frequency point set obtained based on the first frequency point set and the second frequency point set, and the second frequency point set is a frequency point set stored in the second frequency point database.
Optionally, in the present application, based on the frequency point parameters corresponding to each frequency point in the third frequency point set, before selecting a target frequency point, the following steps need to be further implemented:
and establishing a second frequency point database, wherein the second frequency point database is a database generated based on the first frequency point database.
Further, in the present application, before selecting a target frequency point by using a third frequency point set, a first frequency point database and a second frequency point database need to be established first. In the present application, the second frequency point database is a database generated based on the first frequency point database.
Furthermore, in the process of establishing the first frequency point database, the method can be obtained through the following steps:
when the communication environment of a target area is determined to be changed based on a preset mode, acquiring a target frequency point set of the target area;
acquiring frequency point parameters corresponding to each frequency point in a target frequency point set, and detecting a set of frequency points meeting a first condition in the frequency point parameters corresponding to each frequency point;
and establishing a first frequency point database based on the frequency points of which the frequency point parameters meet the first condition in the target frequency point set.
Further, when the device determines that the communication environment of the current target area changes, the target frequency point set for the target area can be acquired. And after the target frequency point set is obtained, the frequency point parameters corresponding to the frequency points contained in the target frequency point set are sequentially read. And storing the frequency points meeting the first condition in a first frequency point database.
It can be understood that the frequency points corresponding to the suitable cells required by the device should be frequency points that can be read by the signal strength parameter, the base station identity code BSIC parameter, the system message SI parameter, and the cell identity code parameter. Therefore, whether the obtained frequency points meet the requirements of the user or not can be determined based on the number (namely, the first condition) of the obtained frequency points including the plurality of frequency points. And if so, storing the frequency point data into a first frequency point database.
For example, taking the first condition as an example that all frequency point parameters are included, in the present application, when a target area is scanned for the last time, a target frequency point set including 5 frequency points is obtained. Further, the device will sequentially read the frequency point parameters corresponding to the 5 frequency points. And obtaining: a frequency point containing only signal strength parameters in frequency point 1, a frequency point containing only BSIC parameters in frequency point 2, a frequency point containing only SI parameters in frequency point 3, a frequency point containing only cell identification code parameters in frequency point 4, and a frequency point containing signal strength parameters, base station identification code BSIC parameters, system information SI parameters, and cell identification code parameters in frequency point 5. And comparing the frequency point parameters corresponding to the 5 frequency points with the first condition respectively to obtain the frequency point parameters corresponding to the frequency point 5 as the frequency points meeting the first condition. Therefore, the frequency point corresponding to the frequency point 5 can be stored in the first frequency point database.
It should be noted that the first condition is not specifically limited in this application, and may be, for example, all frequency point parameters or some frequency point parameters.
Further optionally, after detecting the set of frequency points meeting the first condition in the frequency point parameters corresponding to the frequency points, the method further includes:
and establishing a second frequency point database based on the frequency points of which the frequency point parameters do not meet the first condition in the target frequency point set.
It can be understood that the frequency point corresponding to the suitable cell required by the device should be a frequency point whose frequency point parameters can be read. Therefore, whether the obtained frequency points meet the requirements of the user or not can be determined based on the number (namely, the first condition) of the obtained frequency points including the plurality of frequency points. And if so, storing the frequency point data into a first frequency point database. And if not, storing the frequency point data into a second frequency point database.
Similarly, taking the first condition as an example that all frequency point parameters are included, in the present application, when a target area is scanned for the last time, a target frequency point set including 5 frequency points is obtained. Further, the device will sequentially read the frequency point parameters corresponding to the 5 frequency points. And obtaining: a frequency point containing only signal strength parameters in frequency point 1, a frequency point containing only BSIC parameters in frequency point 2, a frequency point containing only SI parameters in frequency point 3, a frequency point containing only cell identification code parameters in frequency point 4, and a frequency point containing signal strength parameters, base station identification code BSIC parameters, system information SI parameters, and cell identification code parameters in frequency point 5. And comparing the frequency point parameters corresponding to the 5 frequency points with the first condition respectively to obtain the frequency point parameters corresponding to the frequency point 5 as the frequency points meeting the first condition, and the rest frequency points as the frequency points not meeting the first condition. Therefore, the frequency points corresponding to the frequency point 1, the frequency point 2, the frequency point 3 and the frequency point 4 can be stored in the second frequency point database.
Optionally, in a possible implementation manner of the present application, before selecting a target frequency point by using the third frequency point set, the following steps may be further implemented:
acquiring each second frequency point corresponding to the first frequency point set and each third frequency point corresponding to the second frequency point set;
and eliminating the frequency points which are repeated with the third frequency point in each second frequency point corresponding to the first frequency point set to obtain a third frequency point set.
Further, the second frequency point set in the present application is a frequency point set stored in the second frequency point database. And when the frequency point contained in the second frequency point database is the frequency point which does not meet the first condition and is recorded when the target area is scanned for the last time. Therefore, in the process of obtaining the target frequency point this time, each third frequency point corresponding to the second frequency point set should be removed from each second frequency point corresponding to the first frequency point set. Thereby obtaining a third frequency point set after the third frequency point is eliminated. And selecting the target frequency point according to the third frequency point set.
It can be understood that the first frequency point set and the second frequency point set are both frequency point sets scanned based on the same position (i.e. the target area). Therefore, the two frequency point sets should include the frequency points which exist repeatedly. Therefore, the third frequency point set can be obtained based on the frequency points which are repeated with the third frequency point in the second frequency points corresponding to the first frequency point set.
Take the example that the first frequency point set includes 5 second frequency points (frequency point 1, frequency point 2, frequency point 3, frequency point 4, and frequency point 5, respectively), and the second frequency point set includes 3 third frequency points (frequency point 1, frequency point 2, frequency point 3, respectively): in this application, since the second frequency point set stored in the second frequency point database is a set of frequency points (i.e., frequency point 1, frequency point 2, and frequency point 3) that do not meet the first condition when the target area is scanned for the last time. When the target area is scanned, a frequency point set (i.e., frequency point 1, frequency point 2, frequency point 3, frequency point 4, and frequency point 5) including frequency point 1, frequency point 2, and frequency point 3 is also scanned. In order to avoid the defect that the device resources are consumed because the three frequency points are found to be the frequency points which do not meet the conditions after the frequency point parameters corresponding to the frequency point 1, the frequency point 2 and the frequency point 3 are read in the same time. The frequency points contained in the second channel set can be directly removed from the first frequency point set. And obtain the third frequency point set which only contains the frequency point 4 and the frequency point 5 after the removal. So that the target frequency point is selected according to the third frequency point set only containing the frequency point 4 and the frequency point 5.
Still further optionally, in the process of selecting the target frequency point by using the third frequency point set, the method can further obtain the target frequency point by the following steps:
acquiring fourth frequency points corresponding to the third frequency point set;
acquiring frequency point parameters corresponding to the fourth frequency points;
and selecting a target frequency point based on the frequency point parameters corresponding to the fourth frequency points.
Furthermore, in order to find a suitable target frequency point from the plurality of frequency points included in the third frequency point set. The method and the device can also read the frequency point parameters of each fourth frequency point in the third frequency point set in sequence. And according to at least one of the plurality of frequency point parameter information mentioned above. And determining the corresponding target frequency point. For example, when the frequency points of the operator of china unicom need to be acquired in the scanning, the operator to which the scanning belongs can be determined based on the cell identification code corresponding to each fourth frequency point. And then selecting the target frequency point.
As can be understood, the set of third frequency points corresponds to the fourth frequency points. That is, when the removing device scans the target area for the first time, the obtained frequency points can be scanned, and the frequency points corresponding to the frequency point parameters can be read (that is, the frequency points are not eliminated to be stored in the second frequency point database).
Optionally, in a possible implementation manner of the present application, in this application S102 (determining whether a communication environment of a target area changes based on a first frequency point set and a first frequency point database), a method for selecting a frequency point is further included, as shown in fig. 4, including:
s201, acquiring a first frequency point set of a target area.
And S202, acquiring corresponding fifth frequency points in the first frequency point set and acquiring corresponding sixth frequency points in the first frequency point database.
And S203, when the coincidence degree of each fifth frequency point and each sixth frequency point is determined to reach a preset threshold value, determining that the communication environment of the target area is not changed.
Optionally, in the present application, when determining whether the communication environment of the target area changes, the determination may be performed by acquiring each fifth frequency point included in the first frequency point set and each sixth frequency point included in the first frequency point database. It can be understood that if the contact ratio between each frequency point in the frequency point set (first frequency point set) obtained by the scanning and each frequency point in the frequency point set (first frequency point database) obtained by the scanning last time reaches a preset threshold, it can be determined that the frequency points obtained by the scanning twice are the same. I.e., the target area is considered to be an area in which the communication environment has not changed.
The preset threshold is not specifically limited in the present application, and may be, for example, 100% or 90%.
Take the first frequency point set containing 5 fifth frequency points (frequency point 1, frequency point 2, frequency point 3, frequency point 4, and frequency point 5, respectively), and the first frequency point database also containing 5 sixth frequency points (frequency point 1, frequency point 2, frequency point 3, frequency point 4, and frequency point 5, respectively) as an example: after the 5 fifth frequency points and the 5 sixth frequency points are obtained, the 5 fifth frequency points can be respectively matched with the 5 sixth frequency points, and when the 5 fifth frequency points and the sixth frequency points are obtained to be overlapped, the overlapping degree of the 5 fifth frequency points and the sixth frequency points is judged to be 100%. And then determining that the target area is an area with unchanged communication environment.
Optionally, in the present application, in the process of determining whether the target area is a communication environment, the following method may be further used:
acquiring each frequency point in a first frequency point set;
selecting the frequency points with the signal intensity within a preset range from the frequency points in each first frequency point set to obtain a fourth frequency point set;
in the application, in order to avoid the problem that the equipment resource consumption is large due to the existence of too many frequency points in the first frequency point set, the frequency points with the signal intensity within the preset range can be selected, and then the corresponding fourth frequency point set is obtained.
It should be noted that the preset range is not specifically limited in the present application, and for example, the signal strength may be greater than-100 dBm, or may be greater than-50 dBm.
Acquiring the signal intensity corresponding to each seventh frequency point in the fourth frequency point set, and acquiring the signal intensity corresponding to each eighth frequency point in the first frequency point database;
comparing each seventh frequency point with each eighth frequency point one by one based on the magnitude of the signal intensity to generate a comparison result;
and determining the target area as an area where the communication environment is not changed based on the comparison result.
In the application, whether the target area is an area with a changed communication environment can be determined by determining whether the coincidence degree of each fifth frequency point corresponding to the first frequency point set and each sixth frequency point corresponding to the first frequency point database reaches a preset threshold value or not, and determining whether the target area is an area with a changed communication environment or not by determining the signal intensity of the target area and the signal intensity of the target area.
Further, the signal strength corresponding to each seventh frequency point in the fourth frequency point set and the signal strength corresponding to each eighth frequency point in the first frequency point database can be obtained. And determining whether the regions of the secondary scanning are the same region based on whether the difference value of the signal intensity of the two regions is smaller than a preset threshold value. For example, for each frequency point which meets the first condition and has a signal stronger than-100 dBm in the first frequency point database, if the full-frequency scanning (that is, the frequency points in the first frequency point set) can be scanned, and the full-frequency scanning finds that the signal intensity of the frequency point is different from the signal intensity recorded by each frequency point in the first frequency point database by no more than 10dB, the secondary scanning is considered as the same location, otherwise, the secondary scanning is not considered as the same location.
And S204, when the communication environment of the target area is not changed, selecting the target frequency point based on the first frequency point database.
S205, when the communication environment of the target area is determined to be changed, a first frequency point database is established based on each frequency point in the first frequency point set.
It can be understood that when it is determined that the communication environment of the target area scanned this time changes, the first frequency point database may be established based on each frequency point in the first frequency point set. Therefore, when the area is scanned again, the target frequency point can be obtained based on the first frequency point database established in the area.
Further, with reference to fig. 5, as shown in fig. 5, in the present application, first, when it is determined that the communication environment of the target area changes based on a preset manner, a target frequency point set of the target area may be obtained. And reading corresponding frequency point parameters of all frequency points in the target frequency point set of the region. The frequency point parameters may include at least one of a signal strength parameter, a base station identity code BSIC parameter, a system message S I parameter, and a cell identity code parameter of a corresponding frequency point. And then matching the frequency point parameters corresponding to the frequency points with a preset first condition to obtain a first frequency point database containing a frequency point set with all frequency point parameters meeting the first condition and a second frequency point database containing a frequency point set with all frequency point parameters not meeting the first condition. Further, when a certain region is scanned this time, a first frequency point set of the region may be obtained first, and whether the region has been subjected to frequency spot scanning is determined according to the overlap ratio of each frequency point in the first frequency point set and each frequency point in the first frequency point database. If the frequency point scanning is not performed once, the scanning area is considered to be the first scanning area.
Furthermore, when it is determined that the communication environment of the target area changes, a first frequency point database may be established based on each frequency point in the first frequency point set. The establishing step is the same as the above, and is not described herein again.
Still further, when it is determined that the communication environment of the target area does not change, whether the target frequency point is included in the first frequency point database may be determined based on the frequency point parameter corresponding to each first frequency point. And if so, selecting the target frequency point based on the frequency point parameters corresponding to the first frequency points. If not, all the second frequency points corresponding to the first frequency point set and all the third frequency points corresponding to the second frequency point set need to be obtained first, and after the frequency points which are repeated with the third frequency points in all the second frequency points corresponding to the first frequency point set are eliminated, a third frequency point set is obtained. And selecting the target frequency point by utilizing each frequency point in the third frequency point set subsequently.
In the method and the device, after the first frequency point set of the target area is obtained, whether the communication environment of the target area changes or not can be determined based on the first frequency point set and a preset first frequency point database established when the frequency points of the target area are scanned for the last time, and when the communication environment of the target area is determined not to change, the target frequency points are selected based on the first frequency point database. By applying the technical scheme of the application, when the GSM target frequency point of the target area is scanned at this time, the target frequency point can be selected in a targeted manner based on the database of the frequency points stored in the historical scanning record of the area. And then the problem of device resource consumption caused by the fact that a target frequency point can be found only by scanning a large number of frequency points in the related technology can be avoided.
In another embodiment of the present application, as shown in fig. 6, the present application further provides a device for selecting a frequency point. The device comprises an acquisition module 301, a determination module 302 and a selection module 303, wherein:
the acquiring module 301 is configured to acquire a first frequency point set for a target area when a scanning instruction is acquired;
a determining module 302, configured to determine whether a communication environment of the target area changes based on the first frequency point set and a first frequency point database when detecting that the first frequency point database exists, where the first frequency point database is a database established based on last scanning of frequency points of the target area;
a selecting module 303, configured to select a target frequency point based on the first frequency point database when it is determined that the communication environment of the target area does not change.
In the method and the device, after the first frequency point set of the target area is obtained, whether the communication environment of the target area changes or not can be determined based on the first frequency point set and a preset first frequency point database established when the frequency points of the target area are scanned for the last time, and when the communication environment of the target area is determined not to change, the target frequency points are selected based on the first frequency point database. By applying the technical scheme of the application, when the GSM target frequency point of the target area is scanned at this time, the target frequency point can be selected in a targeted manner based on the database of the frequency points stored in the historical scanning record of the area. And then the problem of device resource consumption caused by the fact that a target frequency point can be found only by scanning a large number of frequency points in the related technology can be avoided.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to obtain each first frequency point corresponding to the first frequency point database;
an obtaining module 301, configured to obtain frequency point parameters corresponding to each of the first frequency points, where the frequency point parameters include at least one of a signal strength parameter, a base station identity code BSIC parameter, a system information SI parameter, and a cell identity code parameter;
an obtaining module 301, configured to select the target frequency point based on the frequency point parameter corresponding to each first frequency point.
In another embodiment of the present application, the selecting module 303 further includes:
a selecting module 303, configured to, when it is determined that the first frequency point database does not include the target frequency point based on the frequency point parameters corresponding to the first frequency points, obtain a third frequency point set, where the third frequency point set is a frequency point set obtained based on the first frequency point set and a second frequency point set, and the second frequency point set is a frequency point set stored in a second frequency point database;
a selecting module 303, configured to acquire frequency point parameters corresponding to each frequency point in the third frequency point set;
a selecting module 303, configured to select a target frequency point based on the frequency point parameters corresponding to the frequency points in the third frequency point set.
In another embodiment of the present application, the method further includes an establishing module 304, wherein:
an establishing module 304 configured to establish the first frequency point database and the second frequency point database, where the second frequency point database is a database generated based on the first frequency point database.
In another embodiment of the present application, the establishing module 304 further includes:
the establishing module 304 is configured to obtain a target frequency point set of the target area when it is determined that the communication environment of the target area changes based on a preset manner;
an establishing module 304, configured to acquire frequency point parameters corresponding to each frequency point in the target frequency point set, and detect a set of frequency points meeting a first condition among the frequency point parameters corresponding to each frequency point;
an establishing module 304, configured to establish the first frequency point database based on the frequency points of the target frequency point set whose frequency point parameters meet the first condition.
In another embodiment of the present application, the establishing module 304 further includes:
an establishing module 304, configured to establish the second frequency point database based on the frequency points in the target frequency point set whose frequency point parameters do not meet the first condition.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to obtain each second frequency point corresponding to the first frequency point set, and each third frequency point corresponding to the second frequency point set;
an obtaining module 301, configured to remove frequency points that are repeated with the third frequency point from each second frequency point corresponding to the first frequency point set, to obtain the third frequency point set.
In another embodiment of the present application, the selecting module 303 further includes:
a selecting module 33 configured to select each fourth frequency point corresponding to the third frequency point set;
a selecting module 33 configured to obtain the frequency point parameters corresponding to the fourth frequency points;
a selecting module 33, configured to select the target frequency point based on the frequency point parameter corresponding to each of the fourth frequency points.
In another embodiment of the present application, the determining module 302 further includes:
a determining module 302, configured to obtain fifth frequency points corresponding to the first frequency point set, and obtain sixth frequency points corresponding to the first frequency point database;
a determining module 302, configured to determine that the communication environment of the target area has not changed when it is determined that the coincidence degree of each of the fifth frequency point and the sixth frequency point reaches a preset threshold.
In another embodiment of the present application, the establishing module 304 further includes:
an establishing module 304, configured to establish the first frequency point database based on each frequency point in the first frequency point set when it is determined that the communication environment of the target area changes.
In another embodiment of the present application, the determining module 302 further includes:
a determining module 302 configured to obtain each frequency point in the first set of frequency points;
a determining module 302, configured to select a frequency point with a signal intensity within a preset range from among frequency points in each first frequency point set, so as to obtain a fourth frequency point set;
a determining module 302 configured to determine whether the communication environment of the target area changes based on the fourth frequency point set and the first frequency point database.
In another embodiment of the present application, the determining module 302 further includes:
a determining module 302, configured to obtain the signal strength corresponding to each seventh frequency point in the fourth frequency point set, and obtain the signal strength corresponding to each eighth frequency point in the first frequency point database;
a determining module 302, configured to compare the seventh frequency points with the eighth frequency points one by one based on the magnitude of the signal strength, and generate a comparison result;
a determining module 302 configured to determine whether a communication environment of the target area changes based on the comparison result.
Fig. 7 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 400 may include one or more of the following components: a processor 401 and a memory 402.
Processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 402 is configured to store at least one instruction for execution by the processor 401 to implement the interactive special effect calibration method provided by the method embodiments of the present application.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402 and peripheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, touch screen display 405, camera 406, audio circuitry 407, positioning components 408, and power supply 409.
The peripheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 401 and the memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 401, the memory 402 and the peripheral interface 403 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to capture touch signals on or over the surface of the display screen 405. The touch signal may be input to the processor 401 as a control signal for processing. At this point, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one, providing the front panel of the electronic device 400; in other embodiments, the display screen 405 may be at least two, respectively disposed on different surfaces of the electronic device 400 or in a folded design; in still other embodiments, the display screen 405 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device 400. Even further, the display screen 405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 407 may also include a headphone jack.
The positioning component 408 is used to locate a current geographic location of the electronic device 400 to implement navigation or LBS (location based Service). The positioning component 408 may be a positioning component based on the GPS (global positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
The power supply 409 is used to supply power to the various components in the electronic device 400. The power source 409 may be alternating current, direct current, disposable or rechargeable. When power source 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 400 also includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the electronic apparatus 400. For example, the acceleration sensor 411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 401 may control the touch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411. The acceleration sensor 411 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the electronic device 400, and the gyro sensor 412 may cooperate with the acceleration sensor 411 to acquire a 3D motion of the user on the electronic device 400. From the data collected by the gyro sensor 412, the processor 401 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 413 may be disposed on a side bezel of the electronic device 400 and/or on a lower layer of the touch display screen 405. When the pressure sensor 413 is arranged on the side frame of the electronic device 400, a holding signal of the user to the electronic device 400 can be detected, and the processor 401 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the touch display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 414 is used for collecting a fingerprint of the user, and the processor 401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user according to the collected fingerprint. When the identity of the user is identified as a trusted identity, the processor 401 authorizes the user to perform relevant sensitive operations, including screen unlocking, encrypted information viewing, software downloading, frequency point selection, setting change and the like. The fingerprint sensor 414 may be disposed on the front, back, or side of the electronic device 400. When a physical button or vendor Logo is provided on the electronic device 400, the fingerprint sensor 414 may be integrated with the physical button or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the touch display screen 405 based on the ambient light intensity collected by the optical sensor 415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
Proximity sensor 416, also known as a distance sensor, is typically disposed on the front panel of electronic device 400. The proximity sensor 416 is used to capture the distance between the user and the front of the electronic device 400. In one embodiment, the processor 401 controls the touch display screen 405 to switch from the bright screen state to the dark screen state when the proximity sensor 416 detects that the distance between the user and the front surface of the electronic device 400 gradually decreases; when the proximity sensor 416 detects that the distance between the user and the front of the electronic device 400 is gradually increased, the processor 401 controls the touch display screen 405 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 does not constitute a limitation of the electronic device 400, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 404, comprising instructions executable by the processor 420 of the electronic device 400 to perform the above method of selecting a frequency point, the method comprising: when a scanning instruction is acquired, acquiring a first frequency point set aiming at a target area; when a first frequency point database is detected to exist, determining whether the communication environment of the target area changes or not based on the first frequency point set and the first frequency point database, wherein the first frequency point database is a database established based on the last scanning of the frequency points of the target area; and when the communication environment of the target area is determined not to be changed, selecting a target frequency point based on the first frequency point database. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, an application/computer program product is also provided, which includes one or more instructions executable by the processor 420 of the electronic device 400 to perform the method for selecting a frequency point, the method including: when a scanning instruction is acquired, acquiring a first frequency point set aiming at a target area; when a first frequency point database is detected to exist, determining whether the communication environment of the target area changes or not based on the first frequency point set and the first frequency point database, wherein the first frequency point database is a database established based on the last scanning of the frequency points of the target area; and when the communication environment of the target area is determined not to be changed, selecting a target frequency point based on the first frequency point database. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (14)

1. A method for selecting frequency points is characterized by comprising the following steps:
when a scanning instruction is acquired, acquiring a first frequency point set aiming at a target area;
when a first frequency point database is detected to exist, determining whether the communication environment of the target area changes or not based on the first frequency point set and the first frequency point database, wherein the first frequency point database is a database established based on the last scanning of the frequency points of the target area;
and when the communication environment of the target area is determined not to be changed, selecting a target frequency point based on the first frequency point database.
2. The method of claim 1, wherein selecting a target frequency point based on the first database of frequency points comprises:
acquiring corresponding first frequency points in the first frequency point database;
acquiring frequency point parameters corresponding to each first frequency point, wherein the frequency point parameters comprise at least one of signal intensity parameters, Base Station Identification Code (BSIC) parameters, System Information (SI) parameters and cell identification code parameters;
and selecting the target frequency point based on the frequency point parameters corresponding to the first frequency points.
3. The method of claim 2, wherein the selecting the target frequency point based on the frequency point parameters corresponding to the first frequency points comprises:
when the first frequency point database does not contain the target frequency point based on the frequency point parameters corresponding to the first frequency points, acquiring a third frequency point set, wherein the third frequency point set is a frequency point set obtained based on the first frequency point set and a second frequency point set, and the second frequency point set is a frequency point set stored in a second frequency point database;
acquiring frequency point parameters corresponding to each frequency point in the third frequency point set;
and selecting a target frequency point based on the frequency point parameters corresponding to the frequency points in the third frequency point set.
4. The method of claim 3, wherein before selecting a target frequency point based on the frequency point parameters corresponding to the frequency points in the third frequency point set, the method further comprises:
and establishing the first frequency point database and the second frequency point database, wherein the second frequency point database is a database generated based on the first frequency point database.
5. The method of claim 4, wherein the establishing the first frequency point database comprises:
when the first frequency point database is detected to be absent, acquiring a target frequency point set of the target area;
acquiring frequency point parameters corresponding to each frequency point in the target frequency point set, and detecting a set of frequency points which accord with a first condition in the frequency point parameters corresponding to each frequency point;
and establishing the first frequency point database based on the frequency points of which the frequency point parameters meet the first condition in the target frequency point set.
6. The method according to claim 5, wherein after detecting the set of frequency points meeting the first condition in the frequency point parameters corresponding to each of the frequency points, the method further comprises:
and establishing the second frequency point database based on the frequency points of which the frequency point parameters do not accord with the first condition in the target frequency point set.
7. The method according to any of claims 3-6, wherein before said selecting a target frequency point using a third set of frequency points, further comprising:
acquiring each second frequency point corresponding to the first frequency point set and each third frequency point corresponding to the second frequency point set;
and clearing the frequency points which are repeated with the third frequency point in each second frequency point corresponding to the first frequency point set to obtain a third frequency point set.
8. The method of claim 1, wherein the determining that the communication environment of the target area has not changed comprises:
acquiring corresponding fifth frequency points in the first frequency point set and acquiring corresponding sixth frequency points in the first frequency point database;
and when the contact ratio of each fifth frequency point and each sixth frequency point is determined to reach a preset threshold value, determining that the communication environment of the target area is not changed.
9. The method according to claim 1 or 8, wherein before said determining whether the communication environment of the target area has changed based on the first frequency point set and the first frequency point database, further comprising:
and when the first frequency point database is detected to be absent, establishing the first frequency point database based on each frequency point in the first frequency point set.
10. The method of claim 1, wherein determining whether the communication environment of the target area has changed based on the first set of frequency points and a first database of frequency points comprises:
acquiring each frequency point in the first frequency point set;
selecting the frequency points with the signal intensity within a preset range from the frequency points in the first frequency point set to obtain a fourth frequency point set;
and determining whether the communication environment of the target area changes or not based on the fourth frequency point set and the first frequency point database.
11. The method of claim 10, wherein the determining whether the communication environment of the target area has changed based on the fourth set of frequency points and the first database of frequency points comprises:
acquiring the signal intensity corresponding to each seventh frequency point in the fourth frequency point set, and acquiring the signal intensity corresponding to each eighth frequency point in the first frequency point database;
comparing the seventh frequency points with the eighth frequency points one by one based on the signal intensity to generate a comparison result;
determining whether a communication environment of the target area is changed based on the comparison result.
12. An apparatus for selecting a frequency point, comprising:
the acquisition module is configured to acquire a first frequency point set for a target area when a scanning instruction is acquired;
a determining module, configured to determine whether a communication environment of the target area changes based on the first frequency point set and a first frequency point database when the first frequency point database is detected to exist, where the first frequency point database is a database established based on a last scanning of the frequency points of the target area;
and the selecting module is set to select the target frequency point based on the first frequency point database when the communication environment of the target area is determined not to change.
13. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for displaying with the memory to execute the executable instructions to perform the operations of the method of selecting frequency points according to any one of claims 1 to 11.
14. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method for selecting frequency points according to any one of claims 1 to 11.
CN201911170886.3A 2019-11-26 2019-11-26 Method, device, electronic equipment and medium for selecting frequency points Active CN110708742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911170886.3A CN110708742B (en) 2019-11-26 2019-11-26 Method, device, electronic equipment and medium for selecting frequency points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911170886.3A CN110708742B (en) 2019-11-26 2019-11-26 Method, device, electronic equipment and medium for selecting frequency points

Publications (2)

Publication Number Publication Date
CN110708742A true CN110708742A (en) 2020-01-17
CN110708742B CN110708742B (en) 2021-12-24

Family

ID=69206796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911170886.3A Active CN110708742B (en) 2019-11-26 2019-11-26 Method, device, electronic equipment and medium for selecting frequency points

Country Status (1)

Country Link
CN (1) CN110708742B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913201A (en) * 2020-07-07 2020-11-10 和芯星通科技(北京)有限公司 GNSS differential positioning method and device and computer readable storage medium
CN116528330A (en) * 2023-07-05 2023-08-01 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026342A (en) * 2010-11-27 2011-04-20 华为终端有限公司 WCDMA (wideband code division multiple access) cell search method and device
CN103634881A (en) * 2012-08-22 2014-03-12 中国移动通信集团公司 Frequency point searching method and apparatus, and terminal
US9053711B1 (en) * 2013-09-10 2015-06-09 Ampersand, Inc. Method of matching a digitized stream of audio signals to a known audio recording
CN106162813A (en) * 2015-03-24 2016-11-23 中兴通讯股份有限公司 A kind of small region search method and device
CN106961710A (en) * 2017-02-13 2017-07-18 广东欧珀移动通信有限公司 A kind of method for network access and terminal
CN107343307A (en) * 2016-04-29 2017-11-10 展讯通信(上海)有限公司 User equipment and its network selection method
US20170339685A1 (en) * 2014-12-15 2017-11-23 Panasonic Intellectual Property Management Co., Ltd. Wireless base station, wireless communication system, frequency allocation method, and method for allocating wireless resource
CN108235408A (en) * 2018-02-23 2018-06-29 青岛海信移动通信技术股份有限公司 A kind of method for searching network, device and terminal
US20180248640A1 (en) * 2015-04-17 2018-08-30 Sony Corporation Terminal side and base station side device, terminal device, base station, and wireless communication method
CN108601059A (en) * 2018-04-26 2018-09-28 奇酷互联网络科技(深圳)有限公司 Frequency point selecting method, device and mobile terminal
CN109474947A (en) * 2017-09-07 2019-03-15 展讯通信(上海)有限公司 Measurement parameter determines method and device, readable storage medium storing program for executing, user equipment
CN110191477A (en) * 2019-04-18 2019-08-30 努比亚技术有限公司 A kind of web search control method, terminal and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026342A (en) * 2010-11-27 2011-04-20 华为终端有限公司 WCDMA (wideband code division multiple access) cell search method and device
CN103634881A (en) * 2012-08-22 2014-03-12 中国移动通信集团公司 Frequency point searching method and apparatus, and terminal
US9053711B1 (en) * 2013-09-10 2015-06-09 Ampersand, Inc. Method of matching a digitized stream of audio signals to a known audio recording
US20170339685A1 (en) * 2014-12-15 2017-11-23 Panasonic Intellectual Property Management Co., Ltd. Wireless base station, wireless communication system, frequency allocation method, and method for allocating wireless resource
CN106162813A (en) * 2015-03-24 2016-11-23 中兴通讯股份有限公司 A kind of small region search method and device
US20180248640A1 (en) * 2015-04-17 2018-08-30 Sony Corporation Terminal side and base station side device, terminal device, base station, and wireless communication method
CN107343307A (en) * 2016-04-29 2017-11-10 展讯通信(上海)有限公司 User equipment and its network selection method
CN106961710A (en) * 2017-02-13 2017-07-18 广东欧珀移动通信有限公司 A kind of method for network access and terminal
CN109474947A (en) * 2017-09-07 2019-03-15 展讯通信(上海)有限公司 Measurement parameter determines method and device, readable storage medium storing program for executing, user equipment
CN108235408A (en) * 2018-02-23 2018-06-29 青岛海信移动通信技术股份有限公司 A kind of method for searching network, device and terminal
CN108601059A (en) * 2018-04-26 2018-09-28 奇酷互联网络科技(深圳)有限公司 Frequency point selecting method, device and mobile terminal
CN110191477A (en) * 2019-04-18 2019-08-30 努比亚技术有限公司 A kind of web search control method, terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913201A (en) * 2020-07-07 2020-11-10 和芯星通科技(北京)有限公司 GNSS differential positioning method and device and computer readable storage medium
CN111913201B (en) * 2020-07-07 2023-03-14 和芯星通科技(北京)有限公司 GNSS differential positioning method and device and computer readable storage medium
CN116528330A (en) * 2023-07-05 2023-08-01 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium
CN116528330B (en) * 2023-07-05 2023-10-03 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110708742B (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN110944374B (en) Communication mode selection method and device, electronic equipment and medium
CN110278464B (en) Method and device for displaying list
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN111031170A (en) Method, apparatus, electronic device and medium for selecting communication mode
CN108848492B (en) Method, device, terminal and storage medium for starting user identity identification card
CN110708742B (en) Method, device, electronic equipment and medium for selecting frequency points
CN109754439B (en) Calibration method, calibration device, electronic equipment and medium
CN110351702B (en) System information area determining method, indicating method, terminal and network equipment
CN112612405B (en) Window display method, device, equipment and computer readable storage medium
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN111770556A (en) Network connection method, device, electronic equipment and medium
CN113099378B (en) Positioning method, device, equipment and storage medium
CN110324791B (en) Networking method and device, computer equipment and storage medium
CN110708582B (en) Synchronous playing method, device, electronic equipment and medium
CN111148181A (en) Method, apparatus, electronic device and medium for using 5G communication network
CN112184802B (en) Calibration frame adjusting method, device and storage medium
CN108763908B (en) Behavior vector generation method, device, terminal and storage medium
CN112202966B (en) Communication information notification method and device and computer readable storage medium
CN111010732A (en) Network registration method, device, electronic equipment and medium
CN111369995A (en) Call method, device, electronic equipment and medium
CN110933237A (en) Call method, device, electronic equipment and medium
CN111294470A (en) Call processing method, device, equipment and storage medium
CN111860030A (en) Behavior detection method, behavior detection device, behavior detection equipment and storage medium
CN111586891B (en) Network connection method, device, electronic equipment and medium
CN111246147B (en) Video caching method, device, terminal and storage medium

Legal Events

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