CN116567535B - Network searching method, device, electronic equipment and computer storage medium - Google Patents

Network searching method, device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN116567535B
CN116567535B CN202310830493.0A CN202310830493A CN116567535B CN 116567535 B CN116567535 B CN 116567535B CN 202310830493 A CN202310830493 A CN 202310830493A CN 116567535 B CN116567535 B CN 116567535B
Authority
CN
China
Prior art keywords
network
target
electronic equipment
preset
acquiring
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.)
Active
Application number
CN202310830493.0A
Other languages
Chinese (zh)
Other versions
CN116567535A (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.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu 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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202310830493.0A priority Critical patent/CN116567535B/en
Publication of CN116567535A publication Critical patent/CN116567535A/en
Application granted granted Critical
Publication of CN116567535B publication Critical patent/CN116567535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/336Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • 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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a network searching method, a network searching device, electronic equipment and a computer storage medium; in the embodiment of the application, each position of the electronic equipment passing through in a preset time interval is obtained, and the network signal intensity at each position is obtained; dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition; acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area; if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained; and carrying out network searching according to the target network information. The embodiment of the application can reduce the network searching time in the weak network environment and save the electric quantity consumed by network searching.

Description

Network searching method, device, electronic equipment and computer storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network searching method, a device, an electronic apparatus, and a computer storage medium.
Background
With the development of science and technology, electronic devices are becoming more popular with users. After the electronic device is powered on or roaming, a public land mobile network (Public Land Mobile Network, PLMN) is selected and registered for communication.
However, according to the current network searching method, there are sometimes phenomena that the time for searching the public land mobile network is long and the power consumption of the electronic device is large.
Disclosure of Invention
The embodiment of the application provides a network searching method, a network searching device, electronic equipment and a computer storage medium, which can solve the technical problems that the time for searching a public land mobile network is long and the power consumption of the electronic equipment is large.
The embodiment of the application provides a network searching method, which comprises the following steps:
acquiring each position of the electronic equipment passing through in a preset time interval and acquiring the network signal intensity at each position;
dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition;
Acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area;
if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained;
and carrying out network searching according to the target network information.
Accordingly, an embodiment of the present application provides a network searching apparatus, including:
the acquisition module is used for acquiring each position of the electronic equipment passing in a preset time interval and acquiring the network signal intensity at each position;
the dividing module is used for dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition;
the determining module is used for acquiring the current position of the electronic equipment and determining the position relation between the current position and the target area;
the screening module is used for screening out network information matched with the preset weak network condition from a network information list of the electronic equipment to obtain target network information if the position relation is that the current position is located in the target area;
And the searching module is used for carrying out network searching according to the target network information.
In addition, the embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for running the computer program in the memory to realize the network searching method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any network searching method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes any network searching method provided by the embodiment of the application when being executed by a processor.
The beneficial effects of the application are as follows: in the embodiment of the application, each position of the electronic equipment passing through in a preset time interval is acquired, and the network signal intensity at each position is acquired; dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition; acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area; if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained; according to the target network information, network searching is carried out, so that when the electronic equipment is in a weak network environment, the network searching is carried out through the network information matched with the preset weak network condition, the time of the network searching is reduced, the electric quantity consumed by the electronic equipment in the network searching is saved, and the cruising ability of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a network searching method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a target location provided by an embodiment of the present application;
FIG. 3 is a flowchart of another network searching method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network searching device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a network searching method, a network searching device, electronic equipment and a computer storage medium. The network searching device may be integrated in an electronic device, which may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform.
The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
In addition, "plurality" in the embodiments of the present application means two or more. "first" and "second" and the like in the embodiments of the present application are used for distinguishing descriptions and are not to be construed as implying relative importance.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
In the present embodiment, description will be made in terms of a network searching apparatus, and for convenience of explanation of the network searching method of the present application, the network searching apparatus will be described in detail below as being integrated in a terminal, that is, the terminal will be used as an execution subject.
Referring to fig. 1, fig. 1 is a flowchart of a network searching method according to an embodiment of the application. The network searching method may include:
s101, acquiring each position of the electronic equipment passing through in a preset time interval and acquiring the network signal intensity at each position.
The network signal strength may refer to information about the strength of a wireless signal in an environment where an electronic device is located, and may be represented by one signal parameter value or may be represented by a plurality of signal parameter values.
For example, the network signal strength may be a reference signal received power (Reference Signal Receiving Power, RSRP) when the network signal strength is represented by one signal parameter value, and the network signal strength may include a reference signal received power and noise ratio (Signal to Interference plus Noise Ratio, SINR) when the network signal strength is represented by a plurality of signal parameter values.
The terminal can acquire the network signal intensity at the position of the current moment, and if the network signal intensity at the position of the current moment is smaller than the preset signal intensity, the environment where the position of the current moment is located is a weak network environment, then each position of the electronic equipment passing through in the preset time interval is acquired, and the network signal intensity at each position is acquired.
Or the terminal may acquire the position at the current time, and if the position at the current time is in the preset type position, acquire each position passed by the electronic device in the preset time interval and acquire the network signal strength at each position.
For example, because the network signal of the elevator, the underground garage or the mountain area is generally poor, that is, the elevator, the underground garage or the mountain area is generally in a weak network environment, if the position of the terminal at the current moment is the elevator, the underground garage or the mountain area, the terminal can determine that the terminal is in the weak network environment, and at the moment, all positions where the electronic device passes in a preset time interval and the network signal intensity at all positions can be obtained.
The network signal strength at the current position is smaller than the preset signal strength, and when the electronic device obtains each position passed by the electronic device in the preset time interval and the network signal strength at each position, the process of obtaining each position passed by the electronic device in the preset time interval and obtaining the network signal strength at each position may be:
Acquiring the network signal intensity of the electronic equipment at the initial position at the initial moment;
if the network signal intensity at the initial position is smaller than the preset signal intensity, the initial time is taken as the initial time of the preset time interval, the network signal intensity at the position of the target time of the electronic equipment in the preset time interval is obtained, and the target time is the time except the initial time in the preset time interval;
and determining each position of the electronic equipment passing in a preset time interval according to the network signal intensity at the initial position and the network signal intensity at the position of the target moment, and acquiring the network signal intensity at each position.
For example, when the time T1 is the initial time, the initial time is the current time, the network signal strength of the terminal at the initial position of the time T1 is s1, s1 is smaller than the preset signal strength, timing is started from the time T1, the position of the terminal and the network signal strength at the position are obtained in real time, and timing is stopped until the preset time interval T1 passes, at this time, the time reached in the timing process is the target time, and the signal strength at the position reached in the timing process is the network signal strength at the position of the terminal at the target time.
After acquiring the network signal intensity at the initial position and the network signal intensity at the position of the target moment, the terminal takes the initial position and the position at the target moment as each position where the electronic equipment passes in a preset time interval, and takes the network signal intensity at the initial position and the network signal intensity at the position of the target moment as the network signal intensity at each position of the electronic equipment.
In some embodiments, in order to more accurately determine whether the terminal is in a weak network environment, if the network signal strength at the initial position is less than the preset signal strength, the process of acquiring the network signal strength at the position of the target time in the preset time interval by using the initial time as the starting time of the preset time interval, determining each position passed by the electronic device in the preset time interval and acquiring the network signal strength at each position according to the network signal strength at the initial position and the network signal strength at the position of the target time interval may be:
if the network signal strength at the initial position is smaller than the preset signal strength, acquiring preset judging time;
Determining a first moment according to the initial moment and a preset judging time;
if the network signal strength at the position of the first moment is smaller than the preset signal strength, the first moment is taken as the starting moment of the preset time interval, the network signal strength at the position of the target moment of the electronic equipment in the preset time interval is obtained, and the target moment is the moment except the first moment in the preset time interval;
and determining each position of the electronic equipment passing in a preset time interval according to the network signal intensity at the position of the first moment and the network signal intensity at the position of the target moment, and acquiring the network signal intensity at each position.
For example, when the time T1 is the initial time, the initial time is the current time, the network signal strength of the terminal at the initial position of the time T1 is s1, s1 is smaller than the preset signal strength, the preset judging time is T2, the first time is (t1+t2), the terminal acquires the network signal strength at the position of the terminal again at the time (t1+t2), if the network signal strength at the position of the time (t1+t2) is still smaller than the preset signal strength, the timing is started from the time (t1+t2), the position of the terminal and the network signal strength at the position are acquired in real time, the timing is stopped until the preset time interval T1 passes, at this time, the time reached in the timing process is the target time, and the signal strengths at the positions reached in the timing process are the network signal strengths of the terminal at the target time.
In this case, the position of the terminal at the first time and the position at the initial time may be the same or different.
In the embodiment of the application, when the network signal intensity at the initial position is smaller than the preset signal intensity, acquiring the preset judging time; determining a first moment according to the initial moment and a preset judging time; if the network signal strength at the position of the first moment is smaller than the preset signal strength, the first moment is taken as the starting moment of the preset time interval, the network signal strength at the position of the target moment of the electronic equipment in the preset time interval is obtained, and the target moment is the moment except the first moment in the preset time interval; according to the network signal intensity at the position of the first moment and the network signal intensity at the position of the target moment, each position of the electronic equipment passing through in a preset time interval is obtained, the network signal intensity at each position is obtained, the electronic equipment is judged to be in a weak network environment when the network signal intensity is judged to be smaller than the preset signal intensity twice, at the moment, each position of the electronic equipment passing through in the preset time interval is obtained, the network signal intensity at each position is obtained, and accuracy of judging to be in the weak network environment is improved.
In other embodiments, in order to more accurately determine whether the terminal is in the weak network environment, if the network signal strength at the initial position is less than the preset signal strength, the process of acquiring the network signal strength at the position of the target time in the preset time interval by using the initial time as the starting time of the preset time interval, determining each position of the electronic device passing through the preset time interval and acquiring the network signal strength at each position according to the network signal strength at the initial position and the network signal strength at the position of the target time interval may also be:
if the network signal intensity at the initial position is smaller than the preset signal intensity, the initial time is taken as the starting time of the preset time interval, and the network signal intensity at the position of the target time of the electronic equipment in the preset time interval is obtained;
determining the number of network signal intensities smaller than a preset signal intensity in the network signal intensity at the initial position and the network signal intensity at the position of the target moment;
if the number meets the preset number condition, determining each position of the electronic equipment passing in a preset time interval according to the network signal intensity at the initial position and the network signal intensity at the position of the target moment, and acquiring the network signal intensity at each position.
For example, the network signal strength at the initial position and the network signal strength at the position at the target time are 10 in total, but the number of the network signal strengths smaller than the preset signal strength in the 10 network signal strengths is 8, and the 8 are the numbers meeting the preset number condition, and according to the network signal strength at the initial position and the network signal strength at the position at the target time, each position where the electronic device passes in the preset time interval is determined and the network signal strength at each position is acquired.
When the position at the current moment is at the preset type position and each position of the electronic device passing through in the preset time interval and the network signal intensity at each position are obtained, the process of obtaining each position of the electronic device passing through in the preset time interval and the network signal intensity at each position can be as follows:
acquiring the position of the electronic equipment at the current moment;
if the position at the current time is a preset type position, the current time is taken as the starting time of a preset time interval, the network signal strength of the electronic equipment at the position of a first target time in the preset time interval is obtained, and the first target time is the time except the current time in the preset time interval;
And determining each position of the electronic equipment passing in a preset time interval according to the network signal intensity at the position of the current moment and the network signal intensity at the position of the first target moment, and acquiring the network signal intensity at each position.
S102, dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition.
After the terminal obtains the network signal intensity at each position, the area where the electronic device is located can be divided according to the network signal intensity at each position, so as to obtain a target area which meets the preset weak network condition.
The target area satisfying the preset weak network condition can be understood as an area in the weak network, and at this time, the positions in the target area are all the positions in the weak network.
In some embodiments, the process of dividing the area where the electronic device is located according to the network signal strength at each location to obtain the target area meeting the preset weak network condition may be:
fitting each position according to the network signal intensity at each position to obtain a closed curve;
and taking the area where the closed curve is located as a target area meeting the preset weak network condition.
In other embodiments, the process of dividing the area where the electronic device is located according to the network signal intensity at each location to obtain the target area satisfying the preset weak network condition may also be:
screening out the positions corresponding to the network signal intensities meeting the preset intensity conditions to obtain target positions;
screening out the initial position of the electronic equipment from each position;
and dividing the area where the electronic equipment is positioned according to the initial position and the target position to obtain a target area meeting the preset weak network condition.
The network signal strength satisfying the preset strength condition may be set according to an actual situation, for example, the network signal strength satisfying the preset strength condition may be the minimum network signal strength or the second minimum network signal strength, which is not limited herein. The initial position may be understood as a position corresponding to the first moment of the preset time interval, for example, the initial position may be the initial position described above.
For example, as shown in fig. 2, the position at time t1 is the position P, if the network signal strength at the position P is smaller than the preset signal strength, each position where the electronic device passes in the preset time interval is obtained, and the network signal strength at each position is obtained, where each position where the electronic device passes in the preset time interval may be as shown in fig. 2, and at this time, the network signal strength at the position O is the minimum, and the position O is taken as the target position.
In the embodiment of the application, the position corresponding to the network signal intensity meeting the preset intensity condition is screened out to obtain the target position, and the starting position of the electronic equipment is screened out from each position, so that the area where the electronic equipment is positioned is divided according to the starting position and the target position to obtain the target area meeting the preset weak network condition.
The process of dividing the area where the electronic device is located according to the starting position and the target position to obtain the target area meeting the preset weak network condition may be:
determining a distance between the starting position and the target position;
drawing a graph by taking the distance as the graph length and the target position as the graph center;
and according to the division of the drawn graph on the area where the electronic equipment is located, obtaining a target area meeting the preset weak network condition.
When the pattern is circular, the pattern length may be a radius, and when the pattern is rectangular, the pattern length may be a side length. According to the division of the drawn graph on the area where the electronic equipment is located, a target area meeting the preset weak network condition is obtained, and the area corresponding to the drawn graph can be taken as the target area meeting the preset weak network condition.
For example, as shown in fig. 2, the starting position is a position P, the target position is a position O, the distance between the position P and the position O is a radius R, the position O is a circular center, the drawn circle may be as shown in fig. 2, and the area where the drawn circle is located is the target area.
S103, acquiring the current position of the electronic equipment, and determining the position relation between the current position and the target area.
Because the positions in the target area are all in the weak network positions, if the electronic equipment is currently located in the target area, the electronic equipment can be determined to be in the weak network environment, and if the electronic equipment is not currently located in the target area, the electronic equipment can be determined to be not in the weak network environment.
And S104, if the position relation is that the current position is located in the target area, screening out network information matched with the preset weak network condition from a network information list of the electronic equipment, and obtaining target network information.
If the position relation is that the current position is located in the target area, the electronic equipment is indicated to be in the weak network environment currently, and the terminal can execute a network searching strategy corresponding to the weak network environment, so that the time of network searching is reduced, and the power consumption of network searching is saved.
The network searching strategy corresponding to the weak network environment may be: and screening out network information matched with the preset weak network condition from a network information list of the electronic equipment to obtain target network information, and searching according to the target network information.
If the network searching is directly carried out according to the network information in the network information list, the network searching time is greatly improved and the power consumption of the terminal is increased under the weak network environment, so in the embodiment of the application, if the position relation is that the current position is positioned in the target area, the network information matched with the preset weak network condition is screened out from the network information list of the electronic equipment to obtain the target network information, so that the subsequent searching can be carried out according to the target network information, the searching is not required according to all the network information in the network information list, the network searching time is reduced, and the power consumption of the terminal is saved.
Wherein the network information may include at least one of frequency point information or frequency band information. When the network information is frequency point information, the network information list may be a frequency point information list, when the network information is frequency band information, the network information list may be a frequency band information list, and when the network information is frequency point information and frequency band information, the network information list may be a frequency point frequency band list.
When the network information list is a frequency point information list, if the position relation is that the current position is located in the target area, the process of screening the network information matched with the preset weak network condition from the network information list of the electronic device to obtain the target network information may be:
if the position relation is that the current position is located in the target area, acquiring preset signal quality;
and taking frequency point information corresponding to the signal quality larger than the preset signal quality in the frequency point information list of the electronic equipment as network information matched with the preset weak network condition to obtain target network information.
The signal quality may refer to a reference signal received quality (Reference Signal Receiving Quality, RSRQ).
In the embodiment of the application, the frequency point information corresponding to the signal quality larger than the preset signal quality in the frequency point information list of the electronic equipment is used as the network information matched with the preset weak network condition to obtain the target network information, so that the screening of the frequency point information in the frequency point information list is realized.
When the network information list is a frequency band information list, if the position relationship is that the current position is located in the target area, the process of screening the network information matched with the preset weak network condition from the network information list of the electronic device to obtain the target network information may be:
if the position relation is that the current position is located in the target area, acquiring current frequency band information corresponding to the current position;
and taking the frequency band information matched with the current frequency band information in the frequency band information list as network information matched with the preset weak network condition to obtain target network information.
In the embodiment of the application, the band information matched with the current band information in the band information list is used as the network information matched with the preset weak network condition to obtain the target network information, so that the screening of the band information in the band information list is realized.
When the network information list is a frequency point frequency band list, if the position relation is that the current position is located in the target area, the process of screening the network information matched with the preset weak network condition from the network information list of the electronic equipment to obtain the target network information may be:
if the position relation is that the current position is located in the target area, acquiring preset signal quality;
If the frequency point frequency band list of the electronic equipment does not contain the frequency point information corresponding to the signal quality larger than the preset signal quality, acquiring the current frequency band information corresponding to the current position;
and taking the frequency band information matched with the current frequency band information in the frequency point frequency band list as network information matched with the preset weak network condition to obtain target network information.
S105, searching the network according to the target network information.
After obtaining the target network information, the terminal can perform network searching according to the target network information, and when the public land mobile network matched with the target network information is searched to obtain the target public land mobile network, the terminal can search a cell which supports the target public land mobile network and has better signal quality, and can reside in the cell which supports the target public land mobile network and has better signal quality.
In some embodiments, after performing the network search according to the target network information, the method may further include:
acquiring a first preset time interval;
if the public land mobile network matched with the target network information is not searched after the first preset time interval, acquiring a target searching strategy;
and carrying out network searching according to the target searching strategy.
The target search strategy is a normal search strategy, for example, when a network information list exists (the network information list can be understood as priori information), the target search strategy can be searching according to all network information in the network information list, that is, when the network information is Frequency point information, the target search strategy can be searching according to all Frequency point information, when the network information is Frequency band information, the target search strategy can be full-band searching, and when the network information list does not exist (that is, no priori information exists), the terminal can search for a public land mobile network available to the terminal by scanning all Radio Frequency (RF) channels in an E-UTRA Frequency band.
Since the public land mobile network matched with the target network information is not searched after the first preset time interval, the public land mobile network available to the terminal is possibly not searched according to the target network information, or the environment in which the terminal is possibly located is not a weak network environment, and therefore, if the public land mobile network matched with the target network information is not searched after the first preset time interval, a target search strategy is acquired; and searching the network according to the target searching strategy, thereby ensuring that the terminal can search the network.
Alternatively, at this time, the network searching method provided by the embodiment of the present application may be as shown in fig. 3.
As can be seen from the above, in the embodiment of the present application, each position where the electronic device passes in the preset time interval is obtained, and the network signal strength at each position is obtained; dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition; acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area; if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained; according to the target network information, network searching is carried out, so that when the electronic equipment is in a weak network environment, the network searching is carried out through the network information matched with the preset weak network condition, the time of the network searching is reduced, the electric quantity consumed by the electronic equipment in the network searching is saved, and the cruising ability of the electronic equipment is improved.
In order to facilitate better implementation of the network searching method provided by the embodiment of the application, the embodiment of the application also provides a device based on the network searching method. Where the meaning of nouns is the same as in the network search method described above, specific implementation details may be referred to in the description of the method embodiments.
For example, as shown in fig. 4, the network searching apparatus may include:
the acquiring module 401 is configured to acquire each location where the electronic device passes within a preset time interval and acquire the network signal strength at each location.
The dividing module 402 is configured to divide, according to the network signal strength at each location, an area where the electronic device is located, so as to obtain a target area that meets a preset weak network condition.
A determining module 403, configured to obtain a current location of the electronic device, and determine a positional relationship between the current location and the target area.
And the screening module 404 is configured to screen out network information matching with a preset weak network condition from the network information list of the electronic device if the location relationship is that the current location is located in the target area, so as to obtain target network information.
And the searching module 405 is configured to perform network searching according to the target network information.
Optionally, the partitioning module 402 is specifically configured to perform:
screening out the positions corresponding to the network signal intensities meeting the preset intensity conditions to obtain target positions;
screening out the initial position of the electronic equipment from each position;
and dividing the area where the electronic equipment is positioned according to the initial position and the target position to obtain a target area meeting the preset weak network condition.
Optionally, the partitioning module 402 is specifically configured to perform:
determining a distance between the starting position and the target position;
drawing a graph by taking the distance as the graph length and the target position as the graph center;
and according to the division of the drawn graph on the area where the electronic equipment is located, obtaining a target area meeting the preset weak network condition.
Optionally, the obtaining module 401 is specifically configured to perform:
acquiring the network signal intensity of the electronic equipment at the initial position at the initial moment;
if the network signal intensity at the initial position is smaller than the preset signal intensity, the initial time is taken as the initial time of the preset time interval, the network signal intensity at the position of the target time of the electronic equipment in the preset time interval is obtained, and the target time is the time except the initial time in the preset time interval;
and determining each position of the electronic equipment passing in a preset time interval according to the network signal intensity at the initial position and the network signal intensity at the position of the target moment, and acquiring the network signal intensity at each position.
Optionally, the network information list is a frequency point information list. Accordingly, the filtering module 404 is specifically configured to perform:
if the position relation is that the current position is located in the target area, acquiring preset signal quality;
And taking frequency point information corresponding to the signal quality larger than the preset signal quality in the frequency point information list of the electronic equipment as network information matched with the preset weak network condition to obtain target network information.
Optionally, the network information list is a band information list. Accordingly, the filtering module 404 is specifically configured to perform:
if the position relation is that the current position is located in the target area, acquiring current frequency band information corresponding to the current position;
and taking the frequency band information matched with the current frequency band information in the frequency band information list as network information matched with the preset weak network condition to obtain target network information.
Optionally, the search module 405 is further configured to perform:
acquiring a first preset time interval;
if the public land mobile network matched with the target network information is not searched after the first preset time interval, acquiring a target searching strategy;
and carrying out network searching according to the target searching strategy.
In the specific implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or a plurality of entities, and the specific implementation and the corresponding beneficial effects of each module may be referred to the foregoing method embodiments, which are not described herein again.
The embodiment of the application also provides an electronic device, which may be a server or a terminal, as shown in fig. 5, and shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 501, one or more computer-readable storage media's memory 502, a power supply 503, and an input unit 504, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 501 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing computer programs and/or modules stored in the memory 502, and invoking data stored in the memory 502. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store computer programs and modules, and the processor 501 performs various functional applications and data processing by executing the computer programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide access to the memory 502 by the processor 501.
The electronic device further comprises a power supply 503 for powering the various components, preferably the power supply 503 is logically connected to the processor 501 via a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 503 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 504, which input unit 504 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 501 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 502 according to the following instructions, and the processor 501 executes the computer programs stored in the memory 502, so as to implement various functions, for example:
acquiring each position of the electronic equipment passing through in a preset time interval and acquiring the network signal intensity at each position;
dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition;
acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area;
if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained;
And carrying out network searching according to the target network information.
The specific embodiments and the corresponding beneficial effects of the above operations can be referred to the detailed description of the network searching method, and are not described herein.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the network searching methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
acquiring each position of the electronic equipment passing through in a preset time interval and acquiring the network signal intensity at each position;
dividing the area where the electronic equipment is located according to the network signal intensity at each position to obtain a target area meeting the preset weak network condition;
Acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area;
if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained;
and carrying out network searching according to the target network information.
The specific embodiments and the corresponding beneficial effects of each of the above operations can be found in the foregoing embodiments, and are not described herein again.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the computer program stored in the computer readable storage medium can execute the steps in any network searching method provided by the embodiment of the present application, the beneficial effects that any network searching method provided by the embodiment of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted herein.
Wherein according to an aspect of the application, a computer program product or a computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the network searching method described above.
The foregoing has described in detail a network searching method, apparatus, electronic device and computer storage medium according to embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only for aiding in understanding the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (8)

1. A network searching method, comprising:
acquiring each position of the electronic equipment passing through in a preset time interval and acquiring the network signal intensity at each position;
screening out the positions corresponding to the network signal intensities meeting the preset intensity conditions to obtain target positions;
screening out the initial position of the electronic equipment from each position;
determining a distance between the starting position and the target position;
drawing a graph by taking the distance as the graph length and the target position as the graph center;
dividing the region where the electronic equipment is located according to the drawn graph to obtain a target region meeting the preset weak network condition;
Acquiring the current position of the electronic equipment, and determining the position relationship between the current position and the target area;
if the position relation is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment, and target network information is obtained;
and carrying out network searching according to the target network information.
2. The network searching method according to claim 1, wherein the acquiring each location where the electronic device passes within a preset time interval and acquiring the network signal strength at each of the locations includes:
acquiring the network signal intensity of the electronic equipment at the initial position at the initial moment;
if the network signal intensity at the initial position is smaller than the preset signal intensity, the initial time is taken as the initial time of a preset time interval, the network signal intensity of the electronic equipment at the position of the target time in the preset time interval is obtained, and the target time is the time except the initial time in the preset time interval;
and determining each position of the electronic equipment passing in the preset time interval according to the network signal intensity at the initial position and the network signal intensity at the position of the target moment, and acquiring the network signal intensity at each position.
3. The network searching method according to claim 1, wherein the network information list is a frequency point information list;
if the position relationship is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment to obtain target network information, wherein the method comprises the following steps:
if the position relation is that the current position is located in the target area, acquiring preset signal quality;
and taking frequency point information corresponding to the signal quality larger than the preset signal quality in the frequency point information list of the electronic equipment as network information matched with the preset weak network condition to obtain target network information.
4. The network searching method according to claim 1, wherein the network information list is a band information list;
if the position relationship is that the current position is located in the target area, network information matched with the preset weak network condition is screened out from a network information list of the electronic equipment to obtain target network information, wherein the method comprises the following steps:
if the position relation is that the current position is located in the target area, acquiring current frequency band information corresponding to the current position;
And taking the frequency band information matched with the current frequency band information in the frequency band information list as network information matched with the preset weak network condition to obtain target network information.
5. The network searching method according to any one of claims 1 to 4, characterized by comprising, after said performing a network search based on said target network information:
acquiring a first preset time interval;
if the public land mobile network matched with the target network information is not searched after the first preset time interval is passed, acquiring a target searching strategy;
and carrying out network searching according to the target searching strategy.
6. A network searching apparatus, comprising:
the acquisition module is used for acquiring each position of the electronic equipment passing in a preset time interval and acquiring the network signal intensity at each position;
the dividing module is used for screening out the positions corresponding to the network signal strength meeting the preset strength condition to obtain the target positions; screening out the initial position of the electronic equipment from each position; determining a distance between the starting position and the target position; drawing a graph by taking the distance as the graph length and the target position as the graph center; dividing the region where the electronic equipment is located according to the drawn graph to obtain a target region meeting the preset weak network condition;
The determining module is used for acquiring the current position of the electronic equipment and determining the position relation between the current position and the target area;
the screening module is used for screening out network information matched with the preset weak network condition from a network information list of the electronic equipment to obtain target network information if the position relation is that the current position is located in the target area;
and the searching module is used for carrying out network searching according to the target network information.
7. An electronic device comprising a processor and a memory, the memory storing a computer program, the processor configured to execute the computer program in the memory to perform the network searching method of any of claims 1 to 5.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded by a processor for performing the network searching method of any of claims 1 to 5.
CN202310830493.0A 2023-07-07 2023-07-07 Network searching method, device, electronic equipment and computer storage medium Active CN116567535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310830493.0A CN116567535B (en) 2023-07-07 2023-07-07 Network searching method, device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310830493.0A CN116567535B (en) 2023-07-07 2023-07-07 Network searching method, device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN116567535A CN116567535A (en) 2023-08-08
CN116567535B true CN116567535B (en) 2023-10-03

Family

ID=87498561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310830493.0A Active CN116567535B (en) 2023-07-07 2023-07-07 Network searching method, device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN116567535B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896778B (en) * 2023-09-06 2024-02-02 上海途鸽数据科技有限公司 Power consumption optimization method, locator and machine-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307240A (en) * 2015-09-29 2016-02-03 北京元心科技有限公司 Location-based mobile communication network search method and device
CN108769377A (en) * 2018-04-26 2018-11-06 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN109905906A (en) * 2017-12-08 2019-06-18 奇酷互联网络科技(深圳)有限公司 Network signal search control method, device, mobile terminal and storage medium
CN110602764A (en) * 2019-09-23 2019-12-20 捷开通讯(深圳)有限公司 Network searching method, device, storage medium and terminal
CN110677859A (en) * 2018-07-03 2020-01-10 中国电信股份有限公司 Method and device for determining weak coverage area and computer readable storage medium
CN111163503A (en) * 2019-03-14 2020-05-15 广东小天才科技有限公司 Network searching method of mobile terminal and mobile terminal
CN112825587A (en) * 2019-11-20 2021-05-21 中兴通讯股份有限公司 Network search sequence table determining method, device, terminal and storage medium
CN113747416A (en) * 2020-05-30 2021-12-03 华为技术有限公司 Network searching method and related device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9474030B2 (en) * 2012-05-07 2016-10-18 Telefonaktiebolaget Lm Ericsson (Publ) Conditional range expansion in a heterogeneous telecommunications system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307240A (en) * 2015-09-29 2016-02-03 北京元心科技有限公司 Location-based mobile communication network search method and device
CN109905906A (en) * 2017-12-08 2019-06-18 奇酷互联网络科技(深圳)有限公司 Network signal search control method, device, mobile terminal and storage medium
CN108769377A (en) * 2018-04-26 2018-11-06 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN110677859A (en) * 2018-07-03 2020-01-10 中国电信股份有限公司 Method and device for determining weak coverage area and computer readable storage medium
CN111163503A (en) * 2019-03-14 2020-05-15 广东小天才科技有限公司 Network searching method of mobile terminal and mobile terminal
CN110602764A (en) * 2019-09-23 2019-12-20 捷开通讯(深圳)有限公司 Network searching method, device, storage medium and terminal
CN112825587A (en) * 2019-11-20 2021-05-21 中兴通讯股份有限公司 Network search sequence table determining method, device, terminal and storage medium
CN113747416A (en) * 2020-05-30 2021-12-03 华为技术有限公司 Network searching method and related device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Ericsson.R2-2003836 "Introduction of on-demand SIB in CONNECTED with positioning".3GPP tsg_ran\wg2_rl2.2020,(tsgr2_109bis-e),全文. *
无线网络垂直切换的研究与应用;徐海潮;中国优秀硕士学位论文全文数据库;全文 *

Also Published As

Publication number Publication date
CN116567535A (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US9338739B2 (en) Method and device for selecting network on which multimode terminal is to reside and multimode terminal
CN107402790B (en) Application program starting method and device, storage medium and terminal
CN116567535B (en) Network searching method, device, electronic equipment and computer storage medium
CN109068404A (en) Dual-card dual-standby terminal network selecting method, device, terminal device and storage medium
EP3633880A1 (en) Radio frequency interference processing method and electronic device
CN109195197A (en) Dual-card dual-standby terminal network selecting method, device, terminal device and storage medium
CN110652728A (en) Game resource management method and device, electronic equipment and storage medium
JP2021508116A (en) Recommendation methods, devices, storage media, terminal equipment, and programs
CN104102560A (en) Method and device for testing system performance
CN111787631B (en) Radio frequency resource allocation method and device and electronic equipment
CN116668580B (en) Scene recognition method, electronic device and readable storage medium
CN114585035B (en) Voice call method, device and computer readable storage medium
CN114650211B (en) Fault repairing method, device, electronic equipment and computer readable storage medium
CN107291543B (en) Application processing method and device, storage medium and terminal
CN115080412A (en) Software update quality evaluation method, device, equipment and computer storage medium
CN111986493B (en) Parking sensing method and device and storage medium
CN111091827A (en) Voice navigation method and device, terminal and computer readable storage medium
CN117412356A (en) Network searching method, device, electronic equipment and computer storage medium
CN114221739B (en) Voice call method, device and computer readable storage medium
CN113836405B (en) Information query method, device and computer readable storage medium
CN117412398A (en) Network connection method, device, computer equipment and computer readable storage medium
CN116528330B (en) Equipment network access method and device, electronic equipment and computer readable storage medium
CN114579193B (en) Multi-system loading method, device, equipment and storage medium
CN116761230B (en) Equipment network access method and device, electronic equipment and computer readable storage medium
CN111200861B (en) Method and device for searching wireless communication network in terminal

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