CN108012291B - Rate control method, device, storage medium and electronic equipment - Google Patents

Rate control method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108012291B
CN108012291B CN201711288894.9A CN201711288894A CN108012291B CN 108012291 B CN108012291 B CN 108012291B CN 201711288894 A CN201711288894 A CN 201711288894A CN 108012291 B CN108012291 B CN 108012291B
Authority
CN
China
Prior art keywords
rate
wireless access
access point
coverage area
network
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.)
Expired - Fee Related
Application number
CN201711288894.9A
Other languages
Chinese (zh)
Other versions
CN108012291A (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 CN201711288894.9A priority Critical patent/CN108012291B/en
Publication of CN108012291A publication Critical patent/CN108012291A/en
Application granted granted Critical
Publication of CN108012291B publication Critical patent/CN108012291B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate

Landscapes

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

Abstract

The application discloses a rate control method, a rate control device, a storage medium and an electronic device. The rate control method comprises the following steps: the method comprises the steps of determining a network coverage area of a wireless access point by monitoring a motion track of electronic equipment and a network connection state between the electronic equipment and the wireless access point, obtaining effective transmission rates corresponding to different signal strengths in the network coverage area to generate a rate list, and adjusting the transmission rate of the wireless access point according to the rate list if the electronic equipment is determined to leave and then enter the network coverage area again through the monitored motion track. According to the embodiment of the application, the transmission rate of the wireless network is dynamically configured by detecting the motion track of the electronic equipment and regenerating the rate list according to the effective transmission rates corresponding to different signal strengths, and when the electronic equipment enters a network coverage area again, the WiFi transmission rate suitable for the current environment can be quickly matched, so that the stability and the high efficiency of network transmission are ensured.

Description

Rate control method, device, storage medium and electronic equipment
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for rate control, a storage medium, and an electronic device.
Background
With the popularization of mobile electronic devices, it has become one of the daily habits of people to use mobile electronic devices such as mobile phones to connect to wireless networks. When the mobile phone and other electronic devices leave and return to a WIreless-Fidelity (WiFi) coverage area where the mobile phone and other electronic devices stay for a long time, the WiFi rate detection mechanism detects the surrounding environment again, and the current appropriate WiFi transmission rate can be found only after trying for many times according to a mode of continuously testing from high speed to low speed. Further improvements are needed.
Disclosure of Invention
The embodiment of the application provides a rate control method, a rate control device, a storage medium and electronic equipment, which can be used for quickly matching a WiFi transmission rate suitable for the current environment.
The embodiment of the application provides a rate control method, which is applied to electronic equipment and comprises the following steps:
determining a network coverage area of a wireless access point by monitoring a motion track of the electronic equipment and a network connection state between the electronic equipment and the wireless access point;
obtaining effective transmission rates corresponding to different signal strengths in the network coverage area to generate a rate list;
and if the electronic equipment enters the network coverage area again after leaving according to the monitored motion trail, adjusting the transmission rate of the wireless access point according to the rate list.
An embodiment of the present application further provides a rate control apparatus, where the apparatus includes:
the determining module is used for determining a network coverage area of the wireless access point by monitoring a motion track of the electronic equipment and a network connection state between the electronic equipment and the wireless access point;
a generating module, configured to acquire effective transmission rates corresponding to different signal strengths in the network coverage area to generate a rate list;
and the adjusting module is used for adjusting the transmission rate of the wireless access point according to the rate list if the electronic equipment is determined to enter the network coverage area again after leaving through the monitored motion track.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is configured to cause a computer to execute the rate control method described above when the computer program runs on the computer.
An embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the rate control method described above by calling a computer program stored in the memory.
According to the method and the device, the network coverage area of the wireless access point is determined by monitoring the motion track of the electronic equipment and the network connection state between the electronic equipment and the wireless access point, effective transmission rates corresponding to different signal strengths in the network coverage area are obtained to generate a rate list, and if the electronic equipment is determined to enter the network coverage area again after leaving through the monitored motion track, the transmission rate of the wireless access point is adjusted according to the rate list. According to the embodiment of the application, the transmission rate of the wireless network is dynamically configured by detecting the motion track of the electronic equipment and regenerating the rate list according to the effective transmission rates corresponding to different signal strengths, and when the electronic equipment enters a network coverage area again, the WiFi transmission rate suitable for the current environment can be quickly matched, so that the stability and the high efficiency of network transmission are ensured.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario of wireless network access provided in an embodiment of the present application.
Fig. 2 is a schematic view of an application scenario of a rate control apparatus according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating a rate control method according to an embodiment of the present application.
Fig. 4 is another flowchart of a rate control method according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of a rate control apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a determination module according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. In addition, for convenience of description, only a part of structures related to the present application, not all of the structures, is shown in the drawings. 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 application.
The terms "first" and "second", etc. in this application are used to distinguish between different objects and not to describe 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 modules is not limited to the listed steps or modules but may alternatively include other steps or modules 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 application. 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.
In the wireless communication technology, the process of accessing the wireless network by the electronic device includes four steps of Scanning (Scanning), Authentication (Authentication), Association (Association), and connection success. The electronic device may be a smart phone, a tablet computer, a desktop computer, a notebook computer, or a palm computer. Specifically, please refer to fig. 1, where fig. 1 is a schematic view of an application scenario of a wireless network access according to an embodiment of the present application. A WiFi control switch 510 may be provided in the electronic device 500, the WiFi control switch 510 being used to turn WiFi functionality on and off. For example, the WiFi control switch 510 may control the power of the WiFi module to be turned on or off, and when the user clicks the WiFi on the mobile phone, the WiFi module is powered on and operates, and a driver of the WiFi module is loaded accordingly. After the WiFi control switch 510 is turned on, a wireless access hotspot near the electronic device 500 is searched in a Scanning (Scanning) manner, and a Scanning result is displayed on a display screen of the electronic device 500. Wherein, scanning can be performed by means of active scanning or passive scanning. For example, currently scanned wireless access hot spots include AAA, BBB, CCC, DDD, EEE, and FFF. After the scanning is completed, Authentication (Authentication) needs to be performed on the scanned wireless access hotspot. For example, the authentication may be performed by open system authentication, shared key authentication, or pre-authentication. For example, the wireless access hotspot for which the electronic device 500 successfully authenticates is AAA. After authentication is completed, a workstation (e.g., handset 500) is associated with a base station (e.g., wireless router 100) to obtain full access to the network, so that the handset 500 successfully connects to the internet through the wireless access hotspot AAA.
At present, when an electronic device such as a mobile phone is used and returns to a WIreless-Fidelity (WiFi) coverage area which is in a long-time idle state for a long time after leaving, after the electronic device is successfully connected with a WIreless access point in a WiFi network, the high-speed network transmission is preferentially adopted, then a WiFi rate detection mechanism can detect the surrounding environment again, and the current appropriate WiFi transmission rate can be found after trying for many times according to a mode of continuously testing from high speed to low speed. For example, when the current rate is found to be transmitted, if the current rate fails frequently, the rate is reduced, the electronic device searches for the current rate, and directly finds the appropriate rate for transmission, and the adjustment duration of the rate is long, so that the electronic device cannot find the appropriate WiFi transmission rate quickly.
Specifically, please refer to fig. 2, and fig. 2 is a schematic view illustrating an application scenario of a rate control apparatus according to an embodiment of the present disclosure. In the process of using the electronic device 500, after leaving a certain frequently visited wireless network coverage area, the user carries the electronic device 500 and returns to the wireless network coverage area that has been left before, and after the electronic device is successfully connected to a certain wireless access point in the WiFi network, the current environment often needs to be detected to find a currently suitable WiFi transmission rate. The method comprises the steps of determining a network coverage area D of the wireless access point AAA by monitoring the motion trail of the electronic equipment 500 and the network connection state between the electronic equipment 500 and the wireless access point AAA, wherein the network coverage area D comprises an area formed by taking the coordinate origin A as the center of a circle and the distance between the coordinate origin A and a critical point B as a radius. And acquiring effective transmission rates corresponding to different signal strengths in the network coverage area D, generating a rate list according to the effective transmission rates corresponding to the different signal strengths in the network coverage area D, and if the electronic equipment 500 is determined to leave and then enter the network coverage area D again through the monitored motion trail, adjusting the transmission rate of the wireless access point AAA according to the rate list. According to the embodiment of the application, the transmission rate of the wireless network is dynamically configured by detecting the motion track of the electronic device 500 and regenerating the rate list according to the effective transmission rates corresponding to different signal strengths, and when the electronic device 500 enters the network coverage area again, the WiFi transmission rate suitable for the current environment can be quickly matched, so that the adjustment duration of the transmission rate of the wireless network is shortened, and the stability and the efficiency of network transmission are ensured.
An execution main body of the rate control method provided by the embodiment of the present application may be a rate control device provided by the embodiment of the present application, or an electronic device (such as a smart phone, a tablet computer, a desktop computer, a notebook computer, an intelligent wearable device, etc.) integrated with the rate control device, where the rate control device may be implemented in a hardware or software manner.
Referring to fig. 3 and fig. 4, fig. 3 is a schematic flowchart of a rate control method according to an embodiment of the present disclosure, and fig. 4 is another schematic flowchart of a rate control method according to an embodiment of the present disclosure. The method is applied to the electronic equipment and comprises the following steps:
step 101, monitoring a motion track of an electronic device and a network connection state between the electronic device and a wireless access point, and determining a network coverage area of the wireless access point.
The acceleration and the motion direction of the movement of the electronic equipment can be monitored through a sensor arranged on the electronic equipment, and then the motion track of the electronic equipment is obtained. For example, the sensor may be an acceleration sensor, a gyroscope, or the like. The network connection status of the electronic device may be determined by monitoring the connection between the electronic device and the wireless access point.
Referring to fig. 4, in some embodiments, step 101 may be implemented by steps 1011 to 1014, specifically:
step 1011, monitoring the motion track of the electronic equipment and the network connection state between the electronic equipment and the wireless access point;
step 1012, if a connection position where the signal strength of the network connection established between the electronic device and the wireless access point reaches a second threshold exists in the motion trajectory, determining the connection position as the origin of coordinates of the network coverage area;
step 1013, if a disconnection position where the electronic device and the wireless access point are disconnected from the network exists in the motion trajectory, determining the disconnection position as a critical point of the network coverage area;
step 1014, determining an area formed by taking the coordinate origin as a circle center and the distance between the coordinate origin and the critical point as a radius as a network coverage area of the wireless access point.
Specifically, after the electronic device 500 is connected to the WiFi network, the movement track of the electronic device 500 and the change condition of the network connection state are recorded in the moving process of the user carrying the electronic device 500, and the connection position a where the WiFi signal strength reaches the second threshold in the movement track is recorded, for example, the second threshold may be set to-30 dBm, or the second threshold may be set to another value according to actual measurement. For example, the second threshold may be set to a value at which the signal strength is stronger or strongest in the wireless access points to which the electronic device 500 may connect within a certain area. As shown in fig. 2, a connection location at which the signal strength of the network connection established between the electronic device 500 and the wireless access point AAA reaches the second threshold is a, the connection location a may be set as a coordinate origin, when the user moves with the electronic device 500, a disconnection location B may occur that causes the electronic device 500 to disconnect the network connection with the wireless access point AAA when leaving a network coverage area, the location B is recorded as a critical point of a WiFi coverage area, an area formed by the coordinate origin a being set as a center of a circle and a radius between the coordinate origin a and the critical point B may be determined as a network coverage area D of the wireless access point AAA, and a WiFi coverage area is simulated in the mobile phone.
Step 102, obtaining effective transmission rates corresponding to different signal strengths in the coverage area of the network to generate a rate list.
After the electronic equipment is successfully connected with a certain wireless access point in the WiFi network, the WiFi speed detection mechanism can detect the surrounding environment again, the electronic equipment can select the speed according to a mode of continuously testing from high speed to low speed under the same signal intensity, the current proper WiFi transmission speed is selected after a plurality of attempts, and network transmission is carried out at the selected transmission speed. The last found currently suitable WiFi transmission rate at that signal strength may be marked as the effective transmission rate. In using the electronic device, the selected transmission rate for each signal strength at different signal strengths is marked as the effective transmission rate.
In some embodiments, said obtaining effective transmission rates corresponding to different signal strengths within the network coverage area to generate the rate list comprises:
acquiring packet error rate generated by each signal strength in different signal strengths in the network coverage area corresponding to different transmission rates;
determining the transmission rate corresponding to the packet error rate smaller than a first threshold value in each signal intensity as an effective transmission rate;
and recording the effective transmission rate corresponding to each signal strength in the different signal strengths to generate a rate list.
Wherein the packet error rate is equal to the number of packets in error divided by the total number of packets transmitted multiplied by 100%. The packet error rate is an important index for measuring the network transmission quality.
For example, within the coverage area of the network, when the electronic device is located at different positions, the received WiFi signal strength may differ, for example, the signal strength at position a is-30 dBm, the signal strength at position B is-90 dBm, the signal strength at position C is-45 dBm, the signal strength at position D is-55 dBm, the signal strength at position E is-40 dBm, and the signal strength at position F is-55 dBm. In the history use record, when the signal strength value is-30 dBm, a rate 1, a rate 2 and a rate 3 are respectively adopted for network transmission, packet error rates corresponding to the rate 1, the rate 2 and the rate 3 are respectively a packet error rate 1, a packet error rate 2 and a packet error rate 3, wherein the packet error rate 1 corresponding to the rate 1 is smaller than a first threshold, the packet error rate 2 and the packet error rate 3 corresponding to the rate 2 and the rate 3 are respectively larger than the first threshold, and the rate 1 corresponding to the packet error rate 1 smaller than the first threshold is determined as an effective transmission rate corresponding to the signal strength value-30 dBm, so that the network transmission is performed at a transmission rate with a smaller packet error rate. Traversing all the detected signal intensity values, performing network transmission on each signal intensity value by adopting a plurality of different transmission rates, detecting packet error rates corresponding to each transmission rate to determine effective transmission rates corresponding to each signal intensity, and recording the effective transmission rates corresponding to each signal intensity in the different signal intensities one to generate a rate list L.
In some embodiments, the transmission rate corresponding to the minimum packet error rate in each signal strength may be determined as the effective transmission rate.
For example, in the history usage record, when the signal strength value is-30 dBm, rate 1, rate 2 and rate 3 are respectively adopted for network transmission, packet error rates corresponding to rate 1, rate 2 and rate 3 are packet error rate 1, packet error rate 2 and packet error rate 3, respectively, where packet error rate 1 is smaller than packet error rate 2 and packet error rate 3, and then rate 1 corresponding to minimum packet error rate 1 is determined as the effective transmission rate corresponding to signal strength value-30 dBm, so as to ensure that network transmission is performed at the transmission rate with minimum packet error rate.
In some embodiments, the maximum transmission rate corresponding to the packet error rate being less than the first threshold in each signal strength may be determined as the effective transmission rate.
For example, in the historical usage record, when the signal strength value is-40 dBm, rate 4, rate 5, and rate 6 are respectively adopted for network transmission, packet error rates corresponding to rate 4, rate 5, and rate 6 are packet error rate 4, packet error rate 5, and packet error rate 6, respectively, rate 4 is greater than rate 5, and rate 5 is greater than rate 6. The packet error rate 1 corresponding to the rate 4 is greater than a first threshold, and the packet error rates 5 and 6 corresponding to the rates 5 and 6 are respectively less than the first threshold, then the maximum transmission rate 5 of the rates with the packet error rates less than the first threshold is determined as an effective transmission rate corresponding to a signal strength value of-40 dBm, so as to ensure that the maximum transmission rate is selected as much as possible for network transmission under the condition of a small packet error rate.
In some embodiments, the obtaining effective transmission rates corresponding to different signal strengths within the network coverage area to generate a rate list comprises:
acquiring the throughput which can be achieved by each signal strength in different signal strengths in the network coverage area corresponding to different transmission rates;
determining a transmission rate corresponding to the maximum throughput in the throughputs in each signal strength as an effective transmission rate;
and recording the effective transmission rate corresponding to each signal strength in the different signal strengths to generate a rate list.
Wherein the network transmission quality can be measured by the throughput. For example, throughput may be expressed as Ti=Vi*(100-PERi) /100, wherein ViIndicating transmission rate, PERiIndicating packet error rate, where PERiAnd may be represented by values of 0-100.
For example, within the coverage area of the network, when the electronic device is located at different positions, the received WiFi signal strength may differ, for example, the signal strength at position a is-30 dBm, the signal strength at position B is-90 dBm, the signal strength at position C is-45 dBm, the signal strength at position D is-55 dBm, the signal strength at position E is-40 dBm, and the signal strength at position F is-55 dBm. In the historical usage record, the velocity V is adopted when the signal strength value is-30 dBm1Velocity V2Sum rate V3Carrying out network transmission at rate V1Velocity V2Sum rate V3The respective corresponding throughputs are throughputs T1Throughput T2And throughput T3Wherein throughput T1>Throughput T2>Throughput T3Then the maximum throughput T1Corresponding transmission rate V1And determining an effective transmission rate corresponding to the signal strength value of-30 dBm so as to ensure that the network transmission is carried out at the transmission rate of the maximum throughput. Traversing all detected signal strength values, employing a plurality of differences for each signal strength valueThe network transmission is performed at the transmission rate, the throughput corresponding to each transmission rate is detected to determine the effective transmission rate corresponding to each signal strength, and the effective transmission rates corresponding to each signal strength in the different signal strengths are recorded one to generate a rate list M.
And 103, if the electronic equipment is determined to enter the network coverage area again after leaving through the monitored motion track, adjusting the transmission rate of the wireless access point according to the rate list.
For example, after the user carries the electronic device for multiple times of movement, whether the electronic device returns to the coverage area of the WiFi coverage network that has been left before can be calculated through the movement track of the electronic device, and if it is calculated that the electronic device enters the coverage area of the WiFi network again after leaving, and after the electronic device is successfully connected with the WiFi network, the electronic device adjusts the transmission rate of the WiFi network according to the rate list generated by the previous reordering, so that the electronic device can be quickly matched with the WiFi transmission rate suitable for the current environment.
In some embodiments, said adjusting the transmission rate of the wireless access point according to the rate list comprises:
acquiring the signal intensity of the current position;
and adjusting the transmission rate of the wireless access point according to the effective transmission rate matched with the signal strength of the current position in the rate list.
For example, if it is detected that the electronic device 500 enters the network coverage area D again after leaving, the transmission rate of the wireless access point is adjusted according to the effective transmission rate matched with the signal strength of the current location in the rate list L. For example, the rate list L is a list formed by effective transmission rates determined according to the minimum packet error rate. For example, the transmission rate of the wireless access point is quickly adjusted to the transmission rate corresponding to the minimum packet error rate in the signal strength of the current position.
For example, if it is detected that the electronic device 500 enters the network coverage area D again after leaving, the transmission rate of the wireless access point is adjusted according to the effective transmission rate matched with the signal strength of the current location in the rate list M. For example, the rate list M is a list formed by effective transmission rates determined according to the maximum throughput. For example, the transmission rate of the wireless access point is quickly adjusted to the transmission rate corresponding to the maximum throughput in the signal strength of the current location.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
According to the method and the device, the network coverage area of the wireless access point is determined by monitoring the motion track of the electronic equipment and the network connection state between the electronic equipment and the wireless access point, effective transmission rates corresponding to different signal strengths in the network coverage area are obtained to generate a rate list, and if the electronic equipment is determined to enter the network coverage area again after leaving through the monitored motion track, the transmission rate of the wireless access point is adjusted according to the rate list. According to the embodiment of the application, the transmission rate of the wireless network is dynamically configured by detecting the motion track of the electronic equipment and regenerating the rate list according to the effective transmission rates corresponding to different signal strengths, and when the electronic equipment enters a network coverage area again, the WiFi transmission rate suitable for the current environment can be quickly matched, so that the stability and the high efficiency of network transmission are ensured.
Referring to fig. 5 and 6, fig. 5 is a schematic structural diagram of a rate control apparatus according to an embodiment of the present disclosure, and fig. 6 is a schematic structural diagram of a determining module according to an embodiment of the present disclosure. The rate control device 40 comprises a determining module 41, a generating module 42, and an adjusting module 43.
The determining module 41 is configured to determine a network coverage area of a wireless access point by monitoring a motion trajectory of the electronic device and a network connection state between the electronic device and the wireless access point.
In some embodiments, as shown in FIG. 6, the determination module 41 further includes a monitoring submodule 411, a first determination submodule 412, a second determination submodule 413, and a third determination submodule 414.
The monitoring submodule 411 is configured to monitor a motion trajectory of the electronic device and a network connection state between the electronic device and a wireless access point;
the first determining submodule 412 is configured to determine, if a connection position where the signal strength of the network connection established between the electronic device and the wireless access point reaches a second threshold exists in the motion trajectory, the connection position as the origin of coordinates of the network coverage area;
the second determining submodule 413 is configured to determine, if a disconnection position where the electronic device and the wireless access point are disconnected from the network exists in the motion trajectory, the disconnection position as a critical point of the network coverage area;
the third determining submodule 414 is configured to determine, as the network coverage area of the wireless access point, an area formed by taking the coordinate origin as a circle center and taking a distance between the coordinate origin and the critical point as a radius.
The generating module 42 is configured to obtain effective transmission rates corresponding to different signal strengths in the coverage area of the network, so as to generate a rate list.
In some embodiments, the generation module 42 is configured to:
acquiring packet error rate generated by each signal strength in different signal strengths in the network coverage area corresponding to different transmission rates;
determining the transmission rate corresponding to the packet error rate smaller than a first threshold value in each signal intensity as an effective transmission rate;
and recording the effective transmission rate corresponding to each signal strength in the different signal strengths to generate a rate list.
In some embodiments, the generation module 42 is configured to:
acquiring the throughput which can be achieved by each signal strength in different signal strengths in the network coverage area corresponding to different transmission rates;
determining a transmission rate corresponding to the maximum throughput in the throughputs in each signal strength as an effective transmission rate;
and recording the effective transmission rate corresponding to each signal strength in the different signal strengths to generate a rate list.
The adjusting module 43 is configured to adjust the transmission rate of the wireless access point according to the rate list if it is determined that the electronic device enters the network coverage area again after leaving through the monitored motion trajectory.
In some embodiments, the adjusting module 43 is configured to:
acquiring the signal intensity of the current position;
and adjusting the transmission rate of the wireless access point according to the effective transmission rate matched with the signal strength of the current position in the rate list.
The rate control device 40 of the embodiment of the present application determines a network coverage area of the wireless access point by monitoring a motion trajectory of the electronic device and a network connection state between the electronic device and the wireless access point, acquires effective transmission rates corresponding to different signal strengths in the network coverage area to generate a rate list, and adjusts the transmission rate of the wireless access point according to the rate list if it is determined that the electronic device enters the network coverage area again after leaving through the monitored motion trajectory. The rate control device 40 of the embodiment of the present application dynamically configures the transmission rate of the wireless network by detecting the motion trajectory of the electronic device and regenerating the rate list according to the effective transmission rates corresponding to different signal strengths, and when the electronic device enters the network coverage area again, the WiFi transmission rate suitable for the current environment can be quickly matched, so as to ensure the stability and the efficiency of network transmission.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
An embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor invokes the computer program stored in the memory to execute the rate control method according to any embodiment of the present application.
The electronic equipment can be equipment such as a smart phone, a tablet computer and a palm computer. As shown in fig. 7, an electronic device 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored on the memory and executable on the processor. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the electronic device 500, connects various parts of the whole electronic device by using various interfaces and lines, executes various functions of the electronic device and processes data by running or loading an application program stored in the memory 502 and calling the data stored in the memory 502, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to processes of one or more application programs into the memory 502, and the processor 501 runs the application programs stored in the memory 502 according to the following steps, so as to implement various functions:
determining a network coverage area of a wireless access point by monitoring a motion track of the electronic equipment and a network connection state between the electronic equipment and the wireless access point;
obtaining effective transmission rates corresponding to different signal strengths in the network coverage area to generate a rate list;
and if the electronic equipment enters the network coverage area again after leaving according to the monitored motion trail, adjusting the transmission rate of the wireless access point according to the rate list.
In some embodiments, the processor 501 is configured to obtain effective transmission rates corresponding to different signal strengths in the network coverage area to generate the rate list, including:
acquiring packet error rate generated by each signal strength in different signal strengths in the network coverage area corresponding to different transmission rates;
determining the transmission rate corresponding to the packet error rate smaller than a first threshold value in each signal intensity as an effective transmission rate;
and recording the effective transmission rate corresponding to each signal strength in the different signal strengths to generate a rate list.
In some embodiments, the processor 501 is configured to obtain effective transmission rates corresponding to different signal strengths in the network coverage area to generate a rate list, including:
acquiring the throughput which can be achieved by each signal strength in different signal strengths in the network coverage area corresponding to different transmission rates;
determining a transmission rate corresponding to the maximum throughput in the throughputs in each signal strength as an effective transmission rate;
and recording the effective transmission rate corresponding to each signal strength in the different signal strengths to generate a rate list.
In some embodiments, the processor 501 is configured to adjust the transmission rate of the wireless access point according to the rate list, and includes:
acquiring the signal intensity of the current position;
and adjusting the transmission rate of the wireless access point according to the effective transmission rate matched with the signal strength of the current position in the rate list.
In some embodiments, the processor 501 is configured to determine the network coverage area of the wireless access point by monitoring the motion trajectory of the electronic device and the network connection state between the electronic device and the wireless access point, including:
monitoring the motion track of the electronic equipment and the network connection state between the electronic equipment and a wireless access point;
if a connection position where the signal intensity of the network connection established between the electronic equipment and the wireless access point reaches a second threshold value exists in the motion trail, determining the connection position as a coordinate origin of the network coverage area;
if a disconnection position of the electronic equipment and the wireless access point for disconnecting the network connection exists in the motion trail, determining the disconnection position as a critical point of the network coverage area;
and determining an area formed by taking the coordinate origin as a circle center and taking the distance between the coordinate origin and the critical point as a radius as a network coverage area of the wireless access point.
In some embodiments, as shown in fig. 8, the electronic device 500 further comprises: display 503, radio frequency circuitry 504, audio circuitry 505, input unit 506, wireless fidelity (WiFi) module 507, and sensors 508. The processor 501 is electrically connected to the display 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, the wireless fidelity (WiFi) module 507, and the sensor 508. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The display screen 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. When the display screen 503 is a touch display screen, it can also be used as a part of the input unit to implement an input function.
The rf circuit 504 may be configured to transmit and receive rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and transmit and receive signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone.
The input unit 506 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
Wireless fidelity (WiFi) module 507 may be used for short-range wireless transmission, may assist users in sending and receiving e-mail, browsing websites, accessing streaming media, etc., and provides wireless broadband internet access for users.
The electronic device 500 may also include at least one sensor 508, such as an acceleration sensor, a gyroscope, and other sensors, among others.
Although not shown in fig. 8, the electronic device 500 may further include a camera, a bluetooth module, a power supply, and the like, which are not described in detail herein.
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 this embodiment, the rate control apparatus and the rate control method in the above embodiments belong to the same concept, and any method provided in the rate control method embodiment may be run on the rate control apparatus, and a specific implementation process thereof is described in the rate control method embodiment, and is not described herein again.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the rate control method in any of the above embodiments.
It should be noted that, for the rate control method described in the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the rate control method described in the embodiments of the present application can be implemented by controlling related hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution, the process of the embodiment of the rate control method can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the rate control device according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each functional module may exist alone physically, or two or more functional modules may be integrated into one functional module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The rate control method, the rate control device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (6)

1. A rate control method applied to an electronic device, the method comprising:
determining a network coverage area of a wireless access point by monitoring a motion track of the electronic device and a network connection state between the electronic device and the wireless access point, wherein the motion track of the electronic device is obtained by monitoring a sensor arranged on the electronic device, and the network coverage area of the wireless access point is determined by monitoring the motion track of the electronic device and the network connection state between the electronic device and the wireless access point, and the method comprises the following steps: monitoring the motion track of the electronic equipment and the network connection state between the electronic equipment and a wireless access point; if a connection position where the signal intensity of the network connection established between the electronic equipment and the wireless access point reaches a second threshold value exists in the motion trail, determining the connection position as a coordinate origin of the network coverage area; if a disconnection position of the electronic equipment and the wireless access point for disconnecting the network connection exists in the motion trail, determining the disconnection position as a critical point of the network coverage area; determining an area formed by taking the coordinate origin as a circle center and taking the distance between the coordinate origin and the critical point as a radius as a network coverage area of the wireless access point;
obtaining effective transmission rates corresponding to different signal strengths in the coverage area of the network to generate a rate list, wherein the rate list comprises: acquiring packet error rates generated by different transmission rates corresponding to each signal strength in different signal strengths in the network coverage area, determining the transmission rate corresponding to the packet error rate smaller than a first threshold value in each signal strength as an effective transmission rate, and recording the effective transmission rates corresponding to each signal strength in the different signal strengths one to generate a rate list; or acquiring the throughput which can be achieved by different transmission rates corresponding to each signal strength in different signal strengths in the network coverage area, determining the transmission rate corresponding to the maximum throughput in the throughput in each signal strength as an effective transmission rate, and recording the effective transmission rate corresponding to each signal strength in the different signal strengths one to generate a rate list;
and if the electronic equipment enters the network coverage area again after leaving according to the monitored motion trail, adjusting the transmission rate of the wireless access point according to the rate list.
2. The rate control method of claim 1, wherein said adjusting the transmission rate of the wireless access point according to the rate list comprises:
acquiring the signal intensity of the current position;
and adjusting the transmission rate of the wireless access point according to the effective transmission rate matched with the signal strength of the current position in the rate list.
3. A rate control apparatus, characterized in that the apparatus comprises:
a determining module, configured to determine a network coverage area of a wireless access point by monitoring a motion trajectory of an electronic device and a network connection state between the electronic device and the wireless access point, where the motion trajectory of the electronic device is obtained through monitoring by a sensor provided on the electronic device, and the determining module includes: the monitoring submodule is used for monitoring the motion track of the electronic equipment and the network connection state between the electronic equipment and the wireless access point; the first determining submodule is used for determining a connection position as a coordinate origin of the network coverage area if the connection position exists in the motion trail, wherein the signal intensity of the network connection established between the electronic equipment and the wireless access point reaches a second threshold value; a second determining submodule, configured to determine, if a disconnection position where the electronic device and the wireless access point are disconnected from the network exists in the motion trajectory, the disconnection position as a critical point of the network coverage area; a third determining submodule, configured to determine, as a network coverage area of the wireless access point, an area formed by taking the coordinate origin as a circle center and taking a distance between the coordinate origin and the critical point as a radius;
a generating module, configured to obtain effective transmission rates corresponding to different signal strengths in the coverage area of the network to generate a rate list, where the rate list includes: acquiring packet error rates generated by different transmission rates corresponding to each signal strength in different signal strengths in the network coverage area, determining the transmission rate corresponding to the packet error rate smaller than a first threshold value in each signal strength as an effective transmission rate, and recording the effective transmission rates corresponding to each signal strength in the different signal strengths one to generate a rate list; or acquiring the throughput which can be achieved by different transmission rates corresponding to each signal strength in different signal strengths in the network coverage area, determining the transmission rate corresponding to the maximum throughput in the throughput in each signal strength as an effective transmission rate, and recording the effective transmission rate corresponding to each signal strength in the different signal strengths one to generate a rate list;
and the adjusting module is used for adjusting the transmission rate of the wireless access point according to the rate list if the electronic equipment is determined to enter the network coverage area again after leaving through the monitored motion track.
4. The rate control device of claim 3, wherein the adjustment module is to:
acquiring the signal intensity of the current position;
and adjusting the transmission rate of the wireless access point according to the effective transmission rate matched with the signal strength of the current position in the rate list.
5. A storage medium having stored thereon a computer program, characterized in that, when the computer program is run on a computer, it causes the computer to execute the rate control method according to any of claims 1-2.
6. An electronic device comprising a memory and a processor, wherein the processor executes the rate control method of any one of claims 1-2 by invoking a computer program stored in the memory.
CN201711288894.9A 2017-12-07 2017-12-07 Rate control method, device, storage medium and electronic equipment Expired - Fee Related CN108012291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711288894.9A CN108012291B (en) 2017-12-07 2017-12-07 Rate control method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711288894.9A CN108012291B (en) 2017-12-07 2017-12-07 Rate control method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108012291A CN108012291A (en) 2018-05-08
CN108012291B true CN108012291B (en) 2020-06-02

Family

ID=62057479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711288894.9A Expired - Fee Related CN108012291B (en) 2017-12-07 2017-12-07 Rate control method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108012291B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990104B (en) * 2018-06-01 2021-10-19 Oppo广东移动通信有限公司 Wireless communication transmission method, device, mobile terminal and computer readable storage medium
CN108901032A (en) * 2018-06-12 2018-11-27 Oppo广东移动通信有限公司 Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN108848566B (en) * 2018-06-12 2021-02-02 Oppo广东移动通信有限公司 Wireless communication transmission method, device, mobile terminal and computer readable storage medium
CN109462860B (en) * 2018-10-26 2021-11-12 普联技术有限公司 Throughput optimization method and apparatus, electronic device, and computer-readable storage medium
CN112752345B (en) * 2019-10-31 2023-02-07 华为技术有限公司 WLAN system, communication method and device
CN112702279B (en) * 2020-12-23 2022-08-05 武汉长光科技有限公司 Method for limiting speed of BUCPE (customer premises equipment) by utilizing broadband universal service management platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595520A (en) * 2012-02-07 2012-07-18 北京傲天动联技术有限公司 Transmitting speed adjusting method in wireless local area network and device using same
CN104640188A (en) * 2013-11-12 2015-05-20 中国移动通信集团公司 Power control method and power control equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7336634B2 (en) * 2002-07-25 2008-02-26 Koninklijke Philips Electronics N.V. Method and system for generating and updating transmission rate for link adaptation in IEEE 802.11 WLAN
CN101925134B (en) * 2010-09-21 2014-04-30 中南民族大学 High throughput WLAN (Wireless Local Area Network) Mesh network rate selection method
CN101977097B (en) * 2010-11-18 2012-12-19 天津大学 Method for combined adjustment of adaptive rate and power of remote WiFi link
CN104684028B (en) * 2013-11-26 2018-08-28 智捷科技股份有限公司 Wireless self-adaptive quadtree method
CN107154832A (en) * 2016-03-04 2017-09-12 西安中兴新软件有限责任公司 A kind of control method and device of message transmission rate

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595520A (en) * 2012-02-07 2012-07-18 北京傲天动联技术有限公司 Transmitting speed adjusting method in wireless local area network and device using same
CN104640188A (en) * 2013-11-12 2015-05-20 中国移动通信集团公司 Power control method and power control equipment

Also Published As

Publication number Publication date
CN108012291A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN108012291B (en) Rate control method, device, storage medium and electronic equipment
CN108111977B (en) Network scanning method, device, storage medium and electronic equipment
KR102594959B1 (en) Transmitting antenna switching method and terminal equipment
US11101826B2 (en) RF control circuit and mobile terminal
CN109819489B (en) Terminal calling method and terminal
CN106879055B (en) Wireless network scanning control method and related equipment
CN113507720A (en) Terminal measurement mode management method and device, storage medium and electronic terminal
CN112929492B (en) Control method, control device, storage medium and mobile terminal
CN110933770B (en) Connection request sending method and device, storage medium and electronic equipment
WO2020216331A1 (en) Random access method and terminal
CN110225106B (en) Data transmission method, device and storage medium
CN111953389A (en) Antenna tuning method, antenna tuning device, storage medium and electronic terminal
CN108900385B (en) Network connection method and related product
CN111064847A (en) False touch prevention method and device, storage medium and electronic equipment
CN112867171B (en) WIFI connection method and device, storage medium and mobile terminal
CN111615101B (en) IMS registration method, device, storage medium and electronic terminal
CN111193558B (en) Radio frequency parameter calibration method and device, storage medium and mobile terminal
CN111031038A (en) Network processing method and device, storage medium and terminal equipment
CN111132275A (en) Method and device for establishing data connection, storage medium and electronic equipment
CN111031588B (en) Network searching method, device, terminal equipment and storage medium
CN112235874B (en) Method, system, storage medium and mobile terminal for reducing front-end wireless transmission time
CN112532791B (en) Unlocking method and device of mobile terminal, storage medium and mobile terminal
CN114095585B (en) Data transmission method, device, storage medium and electronic equipment
CN111917982B (en) Camera selection method and device, storage medium and mobile terminal
KR102686229B1 (en) Random connection method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
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.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200602