CN107613537B - Frequency control method for signal quality detection and related product - Google Patents

Frequency control method for signal quality detection and related product Download PDF

Info

Publication number
CN107613537B
CN107613537B CN201710877690.2A CN201710877690A CN107613537B CN 107613537 B CN107613537 B CN 107613537B CN 201710877690 A CN201710877690 A CN 201710877690A CN 107613537 B CN107613537 B CN 107613537B
Authority
CN
China
Prior art keywords
mobile terminal
reference area
motion
signal quality
quality detection
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
CN201710877690.2A
Other languages
Chinese (zh)
Other versions
CN107613537A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710877690.2A priority Critical patent/CN107613537B/en
Publication of CN107613537A publication Critical patent/CN107613537A/en
Application granted granted Critical
Publication of CN107613537B publication Critical patent/CN107613537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a frequency control method for signal quality detection and a related product, wherein the method comprises the following steps: when the mobile terminal is detected to be transferred from a first reference area of a wireless local area network to a second reference area, determining a motion track of the mobile terminal in a preset time period, wherein the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area; determining the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area; and updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the distance, wherein the updated signal quality detection frequency is less than the signal quality detection frequency when the mobile terminal is transferred from the first reference area to the second reference area. The embodiment of the invention is beneficial to improving the accuracy and the real-time performance of the signal quality detection frequency control of the mobile terminal and reducing the power consumption.

Description

Frequency control method for signal quality detection and related product
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a frequency control method for signal quality detection and a related product.
Background
With the rapid development of smart phones, the smart phones become necessities of people, wherein the application of the wireless local area network becomes one of the applications unavailable for smart phones, and people search for wireless local area network signals which can be connected anytime and anywhere.
At present, after a smart phone is connected with a wireless local area network, signal quality detection needs to be performed on the wireless local area network to detect whether the signal quality of the wireless local area network is good or bad, and when the signal quality of the wireless local area network is bad, the wireless local area network is switched to be a mobile network.
Disclosure of Invention
The embodiment of the invention provides a frequency control method for signal quality detection and a related product, which can improve the accuracy and real-time performance of the frequency control of the signal quality detection of a mobile terminal and reduce the power consumption.
In a first aspect, an embodiment of the present invention provides a frequency control method for signal quality detection, where the method includes:
when the mobile terminal is detected to be transferred from a first reference area of a wireless local area network to a second reference area, determining a motion track of the mobile terminal in a preset time period, wherein the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area;
determining the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area;
and updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, wherein the updated signal quality detection frequency is less than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal has a function of implementing a behavior of the mobile terminal in the method design of the first aspect. The above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
The mobile terminal comprises a processing unit and a communication unit, wherein the processing unit is used for determining a motion track of the mobile terminal in a preset time period through the communication unit when the mobile terminal is detected to be transferred from a first reference area to a second reference area of a wireless local area network, the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area; and the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area is determined; and the mobile terminal is used for updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, wherein the updated signal quality detection frequency is less than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a processor, memory, and one or more programs; the one or more programs are stored in the above memory and configured to be executed by the processor, the programs including instructions for performing the steps described in any of the methods of the first aspect of embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions for executing some or all of the steps described in any one of the methods according to the first aspect of the embodiments of the present invention, and the computer includes a mobile terminal.
In a fifth aspect, the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present invention. The computer program product may be a software installation package, said computer comprising a mobile terminal.
It can be seen that, in the embodiment of the present invention, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, the mobile terminal determines a motion trajectory of the mobile terminal within a preset time period, then determines a distance between at least one motion position in a motion position set constituting the motion trajectory and a center point of the second reference area, and finally updates a signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the center point of the second reference area, where the updated signal quality detection frequency is smaller than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area. Therefore, the mobile terminal updates the signal quality detection frequency of the mobile terminal by determining the distance from the central point of the effective coverage area of the wireless local area network, which is beneficial to improving the accuracy of the signal quality detection frequency control of the mobile terminal, and the position of the mobile terminal is predicted in advance according to the motion trail, so that the signal quality detection frequency of at least one motion position can be determined in advance, which is beneficial to improving the real-time performance of the signal quality detection frequency control of the mobile terminal, and meanwhile, the updated signal quality detection frequency is less than the signal quality detection frequency when the first reference area is transferred to the second reference area, which is beneficial to reducing the power consumption.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic flowchart of a frequency control method for signal quality detection according to an embodiment of the present invention;
FIG. 1B is a schematic diagram of a relationship between a motion position and a center point of a second reference area of a wireless local area network according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another frequency control method for signal quality detection according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another frequency control method for signal quality detection according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The following describes embodiments of the present invention in detail.
Referring to fig. 1A, fig. 1A is a schematic flow chart of a frequency control method for signal quality detection according to an embodiment of the present invention, where the frequency control method for signal quality detection includes:
s101, when detecting that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, the mobile terminal determines a motion track of the mobile terminal in a preset time period;
the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area.
The second reference area may be determined by the mobile terminal according to its own transmission power, or according to the transmission power of the wireless local area network, or may be determined by the mobile terminal according to a history record of accessing the wireless local area network, which is not limited herein.
In one possible example, the determining, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of the wireless local area network, a motion trajectory of the mobile terminal within a preset time period includes:
when the mobile terminal is detected to be transferred from the first reference area to the second reference area of the wireless local area network, acquiring a reference position of the mobile terminal;
acquiring the motion acceleration and the motion direction of the mobile terminal;
and determining the motion track of the mobile terminal in a preset time period according to the motion acceleration and the motion direction by taking the reference position as an initial position.
The mobile terminal is internally provided with an accelerometer, a gyroscope and a positioning device, the motion acceleration is determined by the accelerometer of the mobile terminal, the motion direction is determined by the gyroscope of the mobile terminal, and the reference position is determined by the positioning device.
The reference position is a position when the mobile terminal detects that the mobile terminal is transferred from the first reference area to the second reference area, the reference position is the reference position parameter, and the reference position parameter comprises a three-dimensional coordinate parameter of the mobile terminal.
The determining of the motion trajectory of the mobile terminal within the preset time period may be that the mobile terminal predicts the motion trajectory of the mobile terminal within a preset time period according to the motion acceleration and the motion direction, where the preset time period may be 5min, 10min, and the like.
For example, when the preset time period is 5min, the mobile terminal predicts a motion trajectory within 5min, and after 5min, the mobile terminal may determine the motion trajectory within the preset time period again by acquiring the position information, the motion acceleration and the motion direction, or the mobile terminal may also acquire the motion acceleration and the motion direction again, and then determine the motion trajectory within the preset time period again by taking the predicted position at 5min as an initial position until the mobile terminal transfers to the first reference area again.
Therefore, in this example, the mobile terminal determines the motion trajectory according to the motion acceleration and the motion direction, and the motion trajectory is a predicted motion trajectory in a preset time period, so that the mobile terminal can acquire the motion trajectory in advance and perform effective post processing, which is beneficial to improving the data processing speed of the mobile terminal.
S102, the mobile terminal determines the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area;
when the second reference area is a circular area, the center point of the second reference area is the center of the circle of the circular area, and when the second reference area is a rectangle, the center point of the second reference area is the intersection point of the diagonals of the rectangular area.
The distance between the at least one motion position located in the second reference area and the center point of the second reference area is a straight-line distance between two points, and the at least one motion position may be the entire position located in the second reference area in the motion position set constituting the motion trajectory, or may be a partial position located in the second reference area in the motion position set, which is not limited herein.
S103, the mobile terminal updates the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, wherein the updated signal quality detection frequency is smaller than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area;
the signal quality detection frequency is a signal quality detection frequency of the wireless local area network, the mobile terminal detects the signal quality of the wireless local area network according to the signal quality detection frequency, the mobile terminal can determine access or interrupt operation for the wireless local area network according to the signal quality of the wireless local area network, and in addition, the closer the mobile terminal is to the central point of the second reference area of the wireless local area network, the stronger the signal strength of the wireless local area network is, the lower the necessity of detecting the signal quality of the wireless local area network is, and therefore, the smaller the signal quality detection frequency can be set.
As shown in fig. 1B, a position of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area of the wireless local area network should be an edge position of the second reference area, where the edge position is a position farthest from the central point in the second reference area, so that a signal quality detection frequency of the edge position is a position with a maximum signal quality detection frequency in the second reference area.
In one possible example, the distance between the at least one motion position and the center point of the second reference area is in direct proportion to a signal quality detection frequency of the mobile terminal for the wireless local area network.
For example, the at least one motion position includes a first motion position and a second motion position, and a positional relationship between the first motion position and the second motion position and a central point of the second reference area may be a positional relationship as shown in fig. 1B, where the first motion position is closer to the central point of the second reference area than the second motion position is to the central point of the second reference area, and the signal quality detection frequency of the mobile terminal at the first motion position is set to be smaller than the signal quality detection frequency of the mobile terminal at the second motion position, because the closer the first motion position is to the central point of the second reference area, the better the signal quality of the wireless local area network is, and the higher signal quality detection frequency is not needed.
In this example, the mobile terminal updates the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the motion position and the central point of the second reference area, and the smaller the distance is, the smaller the signal quality detection frequency is, which is beneficial to reducing the power consumption of the mobile terminal while ensuring the higher signal quality of the wireless local area network.
It can be seen that, in the embodiment of the present invention, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, the mobile terminal determines a motion trajectory of the mobile terminal within a preset time period, then determines a distance between at least one motion position in a motion position set constituting the motion trajectory and a center point of the second reference area, and finally updates a signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the center point of the second reference area, where the updated signal quality detection frequency is smaller than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area. Therefore, the mobile terminal updates the signal quality detection frequency of the mobile terminal by determining the distance from the central point of the effective coverage area of the wireless local area network, which is beneficial to improving the accuracy of the signal quality detection frequency control of the mobile terminal, and the position of the mobile terminal is predicted in advance according to the motion trail, so that the signal quality detection frequency of at least one motion position can be determined in advance, which is beneficial to improving the real-time performance of the signal quality detection frequency control of the mobile terminal, and meanwhile, the updated signal quality detection frequency is less than the signal quality detection frequency when the first reference area is transferred to the second reference area, which is beneficial to reducing the power consumption.
In one possible example, before determining the motion trajectory of the mobile terminal within the preset time period when the mobile terminal is detected to be transferred from the first reference area to the second reference area of the wireless local area network, the method further includes:
when the mobile terminal accesses the wireless local area network, judging whether the signal intensity of the wireless local area network is smaller than a preset threshold value;
when the signal intensity is judged to be smaller than the preset threshold value, acquiring a first position;
when the mobile terminal is interrupted to access the wireless local area network, acquiring a second position;
and determining a second reference area of the wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius.
The preset threshold is dynamic, that is, the preset threshold changes during the process that the mobile terminal continuously accesses the wireless local area network, and the change trend of the preset threshold becomes smaller and smaller, for example, the preset threshold may be-30 dbm, -35dbm, -40 dbm.
For example, when the current signal strength of the wireless local area network is judged to be-35 dbm smaller than the preset threshold value of-30 dbm, determining that the position with the signal strength of-35 dbm is a first position, and updating the preset threshold value to-35 dbm at the same time, in the process that the mobile terminal continuously accesses the wireless local area network, if the position with the signal strength of-40 dbm is detected to be smaller than the updated preset threshold value, updating the first position to be the position with the signal strength of-40 dbm, and updating the preset threshold value to-40 dbm at the same time.
Wherein a distance between the first position and the second position is a linear distance between two points, and the second reference area is a circular area.
The first position is a central point position of the second reference area of the wireless local area network, that is, a position in the second reference area where the signal strength relative to the mobile terminal is strongest.
Wherein the first position and the second position are both position parameters, and the position parameters include three-dimensional coordinate parameters of the positions.
As can be seen, in this example, the mobile terminal determines the second reference area of the wireless local area network relative to the mobile terminal according to the situations that the mobile terminal accesses the wireless local area network and interrupts accessing the wireless local area network, instead of enabling all the mobile terminals to have the same second reference area for the wireless local area network, which is beneficial to improving the accuracy of the mobile terminal in acquiring the second reference area, and the dynamic preset threshold is set, which is beneficial to further improving the accuracy of the second reference area.
In one possible example, after determining a motion trajectory of the mobile terminal within a preset time period when the mobile terminal is detected to be transferred from a first reference area to a second reference area of a wireless local area network, the determining a distance between at least one motion position of the second reference area and a center point of the second reference area in a set of motion positions constituting the motion trajectory further includes:
dividing a motion track positioned in the second reference area in the motion track into a plurality of track segments according to a preset length;
determining a midpoint location of each of the plurality of trajectory segments as the at least one motion location.
The method for dividing, by the mobile terminal, the motion trajectory located in the second reference region in the motion trajectory into a plurality of trajectory segments according to the preset length may be equally dividing according to the preset length, for example, when the motion trajectory does not pass through the center point of the second reference region, the motion trajectory may also be non-equally dividing into a plurality of trajectory segments according to the preset length, for example, when the motion trajectory passes through the center point of the second reference region and the motion trajectory is in a non-equal dividing condition, when the radius of the second reference region is 24m, the preset length is 5n-2, and n is a positive integer, if n is 1, the first range is 0m-3 m; if n is 2, the second range is 3m to 11 m; if n is 3, the third range is 11m-24m, and accordingly, the motion trajectory is divided into two trajectory segments when the motion trajectory is 10m, the first trajectory segment is 0m-3m, the midpoint is the position at 1.5m, the second trajectory segment is 3m-10m, and the end point is the position at 6.5 m.
It can be seen that, in this example, the mobile terminal divides the motion trajectory into a plurality of trajectory segments according to the preset length, and determines that the midpoint position of each trajectory segment is at least one motion position, and the mobile terminal changes the signal quality detection frequency only at the motion positions, instead of changing the signal quality detection frequency of the mobile terminal at all the positions of the motion trajectory, which is beneficial to improving the stability of the control of the transmission power of the mobile terminal.
In one possible example, the updating the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the second reference area center point includes:
determining the target signal quality detection frequency of the mobile terminal at the at least one motion position according to the distance between the at least one motion position and the center point of the second reference area;
predicting a time node of the mobile terminal reaching the at least one motion position according to the motion trail;
and when the time node of the at least one motion position is reached, updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the target signal quality detection frequency corresponding to the at least one motion position.
The specific implementation manner of determining the target signal quality detection frequency of the mobile terminal at the at least one motion position according to the distance between the at least one motion position and the center point of the second reference area may be:
determining a distance interval to which the distance between the at least one motion position and the center point of the second reference area belongs;
and inquiring the mapping relation between the pre-stored distance interval and the signal quality detection frequency by taking the distance interval as an inquiry identifier, and determining the signal quality detection frequency corresponding to the distance interval as the target signal quality detection frequency of the at least one motion position.
The mobile terminal prestores a mapping relationship between a distance interval and a signal quality detection frequency, for example, 5m-8m corresponds to a first signal quality detection frequency, 8m-12m corresponds to a second signal quality detection frequency, 7m belongs to the distance interval of 5m-8m, and 10m belongs to the distance interval of 8m-12m, each distance interval corresponds to a signal quality detection frequency, but not each distance corresponds to a signal quality detection frequency.
It can be seen that, in this example, the mobile terminal predicts a time node when the mobile terminal reaches at least one motion location, and immediately executes an operation of updating the signal quality detection frequency of the mobile terminal when the time node is reached, which is beneficial to improving timeliness of updating the signal quality detection frequency of the mobile terminal, rather than detecting whether the position of the mobile terminal reaches the motion location all the time after determining at least one motion location, which can save system resources for other processing operations of the mobile terminal, and is beneficial to further reducing power consumption of the mobile terminal.
In this possible example, the updating, when the time node of the at least one moving location is reached, a signal quality detection frequency of the mobile terminal for the wireless local area network according to a target signal quality detection frequency corresponding to the at least one moving location includes:
detecting a current location of the mobile terminal when the time node of the at least one motion location is reached;
when the current position is detected to be not matched with the at least one motion position, updating the target signal quality detection frequency of the mobile terminal according to the current position;
and updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the updated target signal quality detection frequency.
When the time node is reached, the current position of the mobile terminal is detected, whether the current position is matched with the position corresponding to the time node or not is detected, and if not, the target signal quality detection frequency is determined again according to the current position.
The detecting whether the current position is matched with the position corresponding to the time node may be whether the current position is consistent with the position corresponding to the time node, or may be whether a distance difference between the current position and the position corresponding to the time node is smaller than a preset distance.
Therefore, in this example, when the mobile terminal reaches the time node of the signal quality detection frequency change, the current position is detected again, whether the position changes is determined, and the target signal quality detection frequency is updated when the position changes, which is beneficial to improving the accuracy of the signal quality detection frequency control of the mobile terminal.
Referring to fig. 2, fig. 2 is a schematic flow chart of another frequency control method for signal quality detection according to an embodiment of the present invention, consistent with the embodiment shown in fig. 1A, as shown in the figure, the frequency control method for signal quality detection includes:
s201, when a mobile terminal accesses a wireless local area network, judging whether the signal intensity of the wireless local area network is smaller than a preset threshold value;
s202, when the mobile terminal judges that the signal intensity is smaller than the preset threshold value, acquiring a first position;
s203, when the mobile terminal is interrupted to access the wireless local area network, a second position is obtained;
s204, the mobile terminal determines a second reference area of the wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius;
s205, when detecting that the mobile terminal is transferred from a first reference area to a second reference area of the wireless local area network, the mobile terminal determines a motion track of the mobile terminal in a preset time period;
wherein the first reference region is a region other than the second reference region.
S206, the mobile terminal determines the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area;
s207, when the distance between the at least one motion position and the center point of the second reference area is a first distance, the mobile terminal updates a signal quality detection frequency of the mobile terminal for the wireless local area network to be a first signal quality detection frequency, where the first distance is smaller than a radius of the second reference area, and the first signal quality detection frequency is smaller than a signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area of the wireless local area network.
It can be seen that, in the embodiment of the present invention, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, the mobile terminal determines a motion trajectory of the mobile terminal within a preset time period, then determines a distance between at least one motion position in a motion position set constituting the motion trajectory and a center point of the second reference area, and finally updates a signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the center point of the second reference area, where the updated signal quality detection frequency is smaller than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area. Therefore, the mobile terminal updates the signal quality detection frequency of the mobile terminal by determining the distance from the central point of the effective coverage area of the wireless local area network, which is beneficial to improving the accuracy of the signal quality detection frequency control of the mobile terminal, and the position of the mobile terminal is predicted in advance according to the motion trail, so that the signal quality detection frequency of at least one motion position can be determined in advance, which is beneficial to improving the real-time performance of the signal quality detection frequency control of the mobile terminal, and meanwhile, the updated signal quality detection frequency is less than the signal quality detection frequency when the first reference area is transferred to the second reference area, which is beneficial to reducing the power consumption.
In addition, the mobile terminal determines the second reference area of the wireless local area network relative to the mobile terminal according to the conditions of accessing the wireless local area network and interrupting accessing the wireless local area network, instead of enabling all the mobile terminals to have the same second reference area for the wireless local area network, so that the accuracy of acquiring the second reference area by the mobile terminal is improved.
In addition, the mobile terminal updates the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the motion position and the central point of the second reference area, and the smaller the distance is, the smaller the signal quality detection frequency is, so that the power consumption of the mobile terminal is reduced while the higher signal quality of the wireless local area network is ensured.
Referring to fig. 3, fig. 3 is a schematic flow chart of another frequency control method for signal quality detection according to an embodiment of the present invention, consistent with the embodiment shown in fig. 1A, as shown in the figure, the frequency control method for signal quality detection includes:
s301, when detecting that the mobile terminal is transferred from a first reference area to a second reference area of the wireless local area network, the mobile terminal acquires a reference position of the mobile terminal;
the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area.
S302, the mobile terminal acquires the motion acceleration and the motion direction of the mobile terminal;
s303, the mobile terminal takes the reference position as an initial position, and determines a motion track of the mobile terminal in a preset time period according to the motion acceleration and the motion direction;
s304, the mobile terminal divides the motion position of the second reference area in the motion track into a plurality of track segments according to a preset length;
s305, the mobile terminal determines the midpoint position of each track segment in the plurality of track segments as the at least one motion position;
s306, the mobile terminal determines the target signal quality detection frequency of the mobile terminal at the at least one motion position according to the distance between the at least one motion position and the central point of the second reference area;
s307, the mobile terminal predicts a time node of the mobile terminal reaching the at least one motion position according to the motion trail;
s308, when the mobile terminal reaches the time node of the at least one motion position, detecting the current position of the mobile terminal;
s309, when the mobile terminal detects that the current position is not matched with the at least one motion position, updating the target signal quality detection frequency of the mobile terminal according to the current position;
and S310, the mobile terminal updates the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the updated target signal quality detection frequency.
It can be seen that, in the embodiment of the present invention, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, the mobile terminal determines a motion trajectory of the mobile terminal within a preset time period, then determines a distance between at least one motion position in a motion position set constituting the motion trajectory and a center point of the second reference area, and finally updates a signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the center point of the second reference area, where the updated signal quality detection frequency is smaller than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area. Therefore, the mobile terminal updates the signal quality detection frequency of the mobile terminal by determining the distance from the central point of the effective coverage area of the wireless local area network, which is beneficial to improving the accuracy of the signal quality detection frequency control of the mobile terminal, and the position of the mobile terminal is predicted in advance according to the motion trail, so that the signal quality detection frequency of at least one motion position can be determined in advance, which is beneficial to improving the real-time performance of the signal quality detection frequency control of the mobile terminal, and meanwhile, the updated signal quality detection frequency is less than the signal quality detection frequency when the first reference area is transferred to the second reference area, which is beneficial to reducing the power consumption.
In addition, the mobile terminal determines a motion track according to the motion acceleration and the motion direction, and the motion track is a predicted motion track in a preset time period, so that the mobile terminal can acquire the motion track in advance and perform effective post processing, the data processing speed of the mobile terminal is favorably improved, the motion track is divided into a plurality of track sections according to a preset length, at least one motion position is further determined, the mobile terminal only changes the signal quality detection frequency at the motion position, and the stability of the control of the transmission power of the mobile terminal is favorably improved.
In addition, the mobile terminal predicts a time node reaching at least one motion position, immediately executes an operation of updating the signal quality detection frequency of the mobile terminal when the time node is reached, so that timeliness of updating the signal quality detection frequency of the mobile terminal is improved, instead of detecting whether the position of the mobile terminal reaches at least one motion position, power consumption of the mobile terminal is further reduced, when the time node of changing the signal quality detection frequency is reached, the current position is detected again, whether the position changes is determined, and when the position changes, the target signal quality detection frequency is updated, so that accuracy of controlling the signal quality detection frequency of the mobile terminal is improved.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present invention may perform the division of the functional units for the mobile terminal according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of an integrated unit, fig. 4 shows a possible structural diagram of the mobile terminal involved in the above embodiment. The mobile terminal 400 includes: a processing unit 402 and a communication unit 403. Processing unit 402 is configured to control and manage the actions of the mobile terminal, e.g., processing unit 402 is configured to support the mobile terminal to perform steps S101 to S103 in fig. 1A, steps S201 to 207 in fig. 2, and steps S301 to S310 in fig. 3, and/or other processes for the techniques described herein. The communication unit 403 is used to support communication between the mobile terminal and other devices, or between the processing unit 402 and peripheral devices (such as memory, etc.) of the mobile terminal. The mobile terminal may further include a storage unit 401 for storing program codes and data of the mobile terminal.
The Processing Unit 402 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 403 may be a transceiver, a transceiver circuit, an internal communication interface (a communication port between a processor and a peripheral), etc., and may include one or more interfaces. The storage unit 401 may be a memory.
The processing unit 402 is configured to determine, through the communication unit 403, a motion trajectory of the mobile terminal within a preset time period when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, where the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area other than the second reference area; and the distance between at least one motion position in the second reference area and the center point of the second reference area is determined by the motion position set forming the motion track; and the mobile terminal is used for updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, wherein the updated signal quality detection frequency is less than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area.
In one possible example, the distance between the at least one motion position and the center point of the second reference area is in direct proportion to a signal quality detection frequency of the mobile terminal for the wireless local area network.
In one possible example, when it is detected that the mobile terminal is transferred from the first reference area to the second reference area of the wireless local area network, the processing unit 402 is further configured to, before determining, by the communication unit 403, a motion trajectory of the mobile terminal within a preset time period: when the mobile terminal accesses the wireless local area network, the communication unit 403 determines whether the signal strength of the wireless local area network is smaller than a preset threshold; and the first position is obtained when the signal intensity is judged to be smaller than the preset threshold value; and the second position is acquired when the mobile terminal is interrupted from accessing the wireless local area network; and the second reference area is used for determining the second reference area of the wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius.
In one possible example, in the aspect that when it is detected that the mobile terminal is transferred from the first reference area to the second reference area of the wireless local area network, the processing unit 402 is specifically configured to determine, by the communication unit 403, a motion trajectory of the mobile terminal within a preset time period: when detecting that the mobile terminal is transferred from the first reference area to the second reference area of the wireless local area network, acquiring a reference position of the mobile terminal through the communication unit 403; and is used for acquiring the motion acceleration and the motion direction of the mobile terminal through the communication unit 403; and the mobile terminal is used for determining the motion trail of the mobile terminal in a preset time period according to the motion acceleration and the motion direction by taking the reference position as an initial position.
In one possible example, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of the wireless local area network, the processing unit 402, after determining, by the communication unit 403, a motion trajectory of the mobile terminal within a preset time period, is further configured to, before a distance between at least one motion position of the second reference area and a center point of the second reference area in a set of motion positions constituting the motion trajectory, further: dividing a motion track positioned in the second reference area in the motion track into a plurality of track segments according to a preset length; and for determining a midpoint location of each of the plurality of trajectory segments as the at least one motion location.
In one possible example, in terms of the updating the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the second reference area center point, the processing unit 402 is specifically configured to: determining the target signal quality detection frequency of the mobile terminal at the at least one motion position according to the distance between the at least one motion position and the center point of the second reference area; and a time node for predicting the mobile terminal to reach the at least one motion position according to the motion trail; and the mobile terminal is used for updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the target signal quality detection frequency corresponding to the at least one motion position when the time node of the at least one motion position is reached.
In this possible example, in terms of updating, when the time node of the at least one moving location is reached, the signal quality detection frequency of the mobile terminal for the wireless local area network according to the target signal quality detection frequency corresponding to the at least one moving location, the processing unit 402 is specifically configured to: detecting a current location of the mobile terminal when the time node of the at least one motion location is reached; and when the current position is detected not to be matched with the at least one motion position, updating the target signal quality detection frequency of the mobile terminal according to the current position; and the signal quality detection frequency of the mobile terminal aiming at the wireless local area network is updated according to the updated target signal quality detection frequency.
It can be understood that the functions of each program module of the mobile terminal 400 in this embodiment may be specifically implemented according to the method in the method embodiment, and the specific implementation process may refer to the related description of the method embodiment, which is not described herein again.
Referring to fig. 5, in accordance with the embodiments shown in fig. 1A, fig. 2 and fig. 3, fig. 5 is a mobile terminal according to an embodiment of the present invention, including: a processor, memory, a communication interface, and one or more programs; wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for performing the following steps;
when the mobile terminal is detected to be transferred from a first reference area of a wireless local area network to a second reference area, determining a motion track of the mobile terminal in a preset time period, wherein the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area;
determining the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area;
and updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, wherein the updated signal quality detection frequency is less than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area.
It can be seen that, in the embodiment of the present invention, when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network, the mobile terminal determines a motion trajectory of the mobile terminal within a preset time period, then determines a distance between at least one motion position in a motion position set constituting the motion trajectory and a center point of the second reference area, and finally updates a signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the center point of the second reference area, where the updated signal quality detection frequency is smaller than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area. Therefore, the mobile terminal updates the signal quality detection frequency of the mobile terminal by determining the distance from the central point of the effective coverage area of the wireless local area network, which is beneficial to improving the accuracy of the signal quality detection frequency control of the mobile terminal, and the position of the mobile terminal is predicted in advance according to the motion trail, so that the signal quality detection frequency of at least one motion position can be determined in advance, which is beneficial to improving the real-time performance of the signal quality detection frequency control of the mobile terminal, and meanwhile, the updated signal quality detection frequency is less than the signal quality detection frequency when the first reference area is transferred to the second reference area, which is beneficial to reducing the power consumption.
In one possible example, the distance between the at least one motion position and the center point of the second reference area is in direct proportion to a signal quality detection frequency of the mobile terminal for the wireless local area network.
In one possible example, the program further comprises instructions for performing the steps of: when the mobile terminal is detected to be transferred from a first reference area to a second reference area of a wireless local area network, before the motion track of the mobile terminal in a preset time period is determined, and when the mobile terminal accesses the wireless local area network, whether the signal intensity of the wireless local area network is smaller than a preset threshold value is judged; and the first position is obtained when the signal intensity is judged to be smaller than the preset threshold value; and the second position is acquired when the mobile terminal is interrupted from accessing the wireless local area network; and the second reference area is used for determining the second reference area of the wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius.
In one possible example, in the aspect of determining the motion trajectory of the mobile terminal within the preset time period when the mobile terminal is detected to be transferred from the first reference area to the second reference area of the wireless local area network, the instructions in the program are specifically configured to perform the following steps: when the mobile terminal is detected to be transferred from the first reference area to the second reference area of the wireless local area network, acquiring a reference position of the mobile terminal; the mobile terminal is used for acquiring the motion acceleration and the motion direction of the mobile terminal; and the mobile terminal is used for determining the motion trail of the mobile terminal in a preset time period according to the motion acceleration and the motion direction by taking the reference position as an initial position.
In one possible example, the program further comprises instructions for performing the steps of: when the mobile terminal is detected to be transferred from a first reference area to a second reference area of a wireless local area network, after a motion track of the mobile terminal in a preset time period is determined, before a distance between at least one motion position of the second reference area and a center point of the second reference area in a motion position set forming the motion track is determined, dividing the position of the second reference area in the motion track into a plurality of track sections according to a preset length; and for determining a midpoint location of each of the plurality of trajectory segments as the at least one motion location.
In one possible example, in terms of the updating of the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the second reference area center point, the instructions in the program are specifically configured to perform the following steps: determining the target signal quality detection frequency of the mobile terminal at the at least one motion position according to the distance between the at least one motion position and the center point of the second reference area; and a time node for predicting the mobile terminal to reach the at least one motion position according to the motion trail; and the mobile terminal is used for updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the target signal quality detection frequency corresponding to the at least one motion position when the time node of the at least one motion position is reached.
In this possible example, in terms of updating, when the time node of the at least one moving location is reached, the signal quality detection frequency of the mobile terminal for the wireless local area network according to the target signal quality detection frequency corresponding to the at least one moving location, the instructions in the program are specifically configured to perform the following steps: detecting a current location of the mobile terminal when the time node of the at least one motion location is reached; and when the current position is detected not to be matched with the at least one motion position, updating the target signal quality detection frequency of the mobile terminal according to the current position; and the signal quality detection frequency of the mobile terminal aiming at the wireless local area network is updated according to the updated target signal quality detection frequency.
As shown in fig. 6, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 6, the handset includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone (such as a preset threshold value, etc.), and the like. Further, the memory 920 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.
The input unit 930 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the cellular phone. In particular, the input unit 930 may include a fingerprint sensor 931 and other input devices 932. And a fingerprint sensor 931 which may collect fingerprint data of the user thereon. The input unit 930 may include other input devices 932 in addition to the fingerprint sensor 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 940 may include a Display screen 941, and optionally, the Display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Although in fig. 6, the fingerprint sensor 931 and the display screen 941 are shown as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint sensor 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a proximity sensor, a light sensor, a motion sensor, and other sensors. Specifically, the proximity sensor may turn off the display screen 941 and/or the backlight when an object approaches, and the light sensor may include an ambient light sensor and a proximity sensor, where the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 6 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiments shown in fig. 1A and fig. 2 to fig. 3, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiment shown in fig. 4, the functions of the units can be implemented based on the structure of the mobile phone.
An embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the frequency control methods for signal quality detection described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present invention also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the frequency control methods for signal quality detection as set forth in the above method embodiments, the computer including a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A frequency control method for signal quality detection, comprising:
when a mobile terminal accesses a wireless local area network, judging whether the signal intensity of the wireless local area network is greater than a preset threshold value;
when the signal intensity is judged to be greater than the preset threshold value, acquiring a first position, wherein the preset threshold value is a dynamic value;
when the mobile terminal is interrupted to access the wireless local area network, acquiring a second position;
determining a second reference area of the wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius;
when the mobile terminal is detected to be transferred from a first reference area of the wireless local area network to a second reference area, determining a motion track of the mobile terminal in a preset time period, wherein the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area;
determining the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area;
and updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, wherein the updated signal quality detection frequency is less than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area, and the distance between the at least one motion position and the central point of the second reference area and the signal quality detection frequency of the mobile terminal aiming at the wireless local area network are in a direct proportional relation.
2. The method according to claim 1, wherein the determining the motion trajectory of the mobile terminal within a preset time period when detecting that the mobile terminal is transferred from a first reference area to a second reference area of a wireless local area network comprises:
when the mobile terminal is detected to be transferred from the first reference area to the second reference area of the wireless local area network, acquiring a reference position of the mobile terminal;
acquiring the motion acceleration and the motion direction of the mobile terminal;
and determining the motion track of the mobile terminal in a preset time period according to the motion acceleration and the motion direction by taking the reference position as an initial position.
3. The method according to claim 1 or 2, wherein when it is detected that the mobile terminal is transferred from a first reference area to a second reference area of the wireless local area network, after determining a motion trajectory of the mobile terminal within a preset time period, the determining a distance between at least one motion position of the second reference area and a center point of the second reference area in a motion position set constituting the motion trajectory, the method further comprises:
dividing a motion track positioned in the second reference area in the motion track into a plurality of track segments according to a preset length;
determining a midpoint location of each of the plurality of trajectory segments as the at least one motion location.
4. The method according to claim 1 or 2, wherein the updating the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the second reference area center point comprises:
determining the target signal quality detection frequency of the mobile terminal at the at least one motion position according to the distance between the at least one motion position and the center point of the second reference area;
predicting a time node of the mobile terminal reaching the at least one motion position according to the motion trail;
and when the time node of the at least one motion position is reached, updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the target signal quality detection frequency corresponding to the at least one motion position.
5. The method according to claim 4, wherein the updating the signal quality detection frequency of the mobile terminal for the wireless local area network according to the target signal quality detection frequency corresponding to the at least one moving location when the time node of the at least one moving location is reached comprises:
detecting a current location of the mobile terminal when the time node of the at least one motion location is reached;
when the current position is detected to be not matched with the at least one motion position, updating the target signal quality detection frequency of the mobile terminal according to the current position;
and updating the signal quality detection frequency of the mobile terminal aiming at the wireless local area network according to the updated target signal quality detection frequency.
6. A mobile terminal, characterized in that the mobile terminal comprises a processing unit and a communication unit,
the processing unit is used for judging whether the signal intensity of the wireless local area network is greater than a preset threshold value or not when the mobile terminal is accessed to the wireless local area network; the first position is obtained when the signal intensity is judged to be greater than the preset threshold value, and the preset threshold value is a dynamic value; and the second position is acquired when the mobile terminal is interrupted from accessing the wireless local area network; the second reference area of the wireless local area network is determined by taking the first position as the center of a circle and the distance between the first position and the second position as the radius; the mobile terminal is used for determining a motion track of the mobile terminal in a preset time period through the communication unit when the mobile terminal is detected to be transferred from a first reference area to a second reference area of a wireless local area network, wherein the second reference area is an effective coverage area of the wireless local area network relative to the mobile terminal, and the first reference area is an area except the second reference area; and the distance between at least one motion position located in the second reference area in the motion position set forming the motion track and the center point of the second reference area is determined; and the mobile terminal is used for updating the signal quality detection frequency of the mobile terminal for the wireless local area network according to the distance between the at least one motion position and the central point of the second reference area, the updated signal quality detection frequency is less than the signal quality detection frequency of the mobile terminal when the mobile terminal is transferred from the first reference area to the second reference area, and the distance between the at least one motion position and the central point of the second reference area and the signal quality detection frequency of the mobile terminal for the wireless local area network are in a direct proportional relationship.
7. A mobile terminal, comprising: a processor, memory, and one or more programs; the one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method as described in any of claims 1-5.
8. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-5, the computer comprising a mobile terminal.
CN201710877690.2A 2017-09-23 2017-09-23 Frequency control method for signal quality detection and related product Active CN107613537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710877690.2A CN107613537B (en) 2017-09-23 2017-09-23 Frequency control method for signal quality detection and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710877690.2A CN107613537B (en) 2017-09-23 2017-09-23 Frequency control method for signal quality detection and related product

Publications (2)

Publication Number Publication Date
CN107613537A CN107613537A (en) 2018-01-19
CN107613537B true CN107613537B (en) 2021-02-26

Family

ID=61057975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710877690.2A Active CN107613537B (en) 2017-09-23 2017-09-23 Frequency control method for signal quality detection and related product

Country Status (1)

Country Link
CN (1) CN107613537B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115696483B (en) * 2021-07-30 2023-10-31 荣耀终端有限公司 Network link switching method based on electronic equipment state and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098703A (en) * 2011-01-30 2011-06-15 新邮通信设备有限公司 Method and device for determining terminal measurement frequency in cell handover
CN103081525A (en) * 2010-06-22 2013-05-01 捷讯研究有限公司 Methods and apparatus to access network connectivity information using predicted locations
CN105027634A (en) * 2013-03-12 2015-11-04 高通股份有限公司 Method and apparatus for performing scan operations
CN105872980A (en) * 2016-06-06 2016-08-17 广东欧珀移动通信有限公司 Method and device for scanning wireless network signal
CN105898705A (en) * 2016-06-24 2016-08-24 维沃移动通信有限公司 Method for controlling scanning frequency of wireless local area network and mobile terminal
CN106507445A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 A kind of Wireless Fidelity Wi Fi scan methods and mobile terminal
CN106879055A (en) * 2017-01-19 2017-06-20 北京奇虎科技有限公司 A kind of wireless network scan control method and relevant device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9426044B2 (en) * 2014-04-18 2016-08-23 Alcatel Lucent Radio access network geographic information system with multiple format

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103081525A (en) * 2010-06-22 2013-05-01 捷讯研究有限公司 Methods and apparatus to access network connectivity information using predicted locations
CN102098703A (en) * 2011-01-30 2011-06-15 新邮通信设备有限公司 Method and device for determining terminal measurement frequency in cell handover
CN105027634A (en) * 2013-03-12 2015-11-04 高通股份有限公司 Method and apparatus for performing scan operations
CN105872980A (en) * 2016-06-06 2016-08-17 广东欧珀移动通信有限公司 Method and device for scanning wireless network signal
CN105898705A (en) * 2016-06-24 2016-08-24 维沃移动通信有限公司 Method for controlling scanning frequency of wireless local area network and mobile terminal
CN106507445A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 A kind of Wireless Fidelity Wi Fi scan methods and mobile terminal
CN106879055A (en) * 2017-01-19 2017-06-20 北京奇虎科技有限公司 A kind of wireless network scan control method and relevant device

Also Published As

Publication number Publication date
CN107613537A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107272872B (en) Power saving control method and related product
CN111258407B (en) Application function control method and related product
CN107770729B (en) Signal intensity prompting method and related product
CN107071147B (en) Parameter adjusting method and device
CN110311704B (en) Antenna switching method and related product
EP4175349A1 (en) Method for processing relax measurement parameter update and terminal device
CN106845422B (en) Fingerprint identification module, fingerprint identification method and mobile terminal
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN106413070B (en) A kind of power regulating method, mobile terminal and computer readable storage medium
CN111641962A (en) Cell measurement method and terminal equipment
CN107317918B (en) Parameter setting method and related product
CN106793010B (en) Network access method and equipment
CN106604277B (en) Wireless network access method and mobile terminal
CN107708071B (en) Transmission power control method and related product
CN110212965B (en) Antenna switching method and related product
CN106980554B (en) Process processing method and device
CN107466015A (en) Access control method and Related product
CN107291328B (en) Interface display method and related product
CN110632734B (en) Focusing method and related product
CN106815078B (en) Memory control method and equipment
CN110266359B (en) Antenna switching method and device, electronic equipment and computer readable storage medium
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN107613537B (en) Frequency control method for signal quality detection and related product
CN107708140B (en) Wireless network distribution processing method and related product
CN107659976B (en) Network access method and related product

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant