CN108880751A - transmission rate adjusting method, device and electronic device - Google Patents
transmission rate adjusting method, device and electronic device Download PDFInfo
- Publication number
- CN108880751A CN108880751A CN201810603699.9A CN201810603699A CN108880751A CN 108880751 A CN108880751 A CN 108880751A CN 201810603699 A CN201810603699 A CN 201810603699A CN 108880751 A CN108880751 A CN 108880751A
- Authority
- CN
- China
- Prior art keywords
- transmission rate
- wireless environment
- environment parameter
- movement speed
- speed
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0002—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
- H04W4/027—Services making use of location information using location based information parameters using movement velocity, acceleration information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of transmission rate adjusting method, device and electronic device, is related to field of terminal technology.Wherein, this method includes:The current movement speed of detection electronic installation and wireless environment parameter;Target transmission speed is determined according to the movement speed and wireless environment parameter that detect;The transmission rate for adjusting the WiFi module is the target transmission speed.The program can make the transmission rate of WiFi module be more suitable for current practical service environment, improve the usage experience of electronic device.
Description
Technical field
This application involves field of terminal technology, fill more particularly, to a kind of transmission rate adjusting method, device and electronics
It sets.
Background technique
Existing electronic device usually can carry out network number by WiFi (Wireless Fidelity, Wireless Fidelity)
According to transmission.But the rate that electronic device is transmitted by WiFi network may not be the transmission rate for being suitble to current environment,
Influence the usage experience of electronic device.
Summary of the invention
In view of the above problems, present applicant proposes a kind of transmission rate adjusting method, device and electronic devices, according to environment
Situation carries out transmission rate adjustment, obtains good usage experience.
In a first aspect, the embodiment of the present application provides a kind of transmission rate adjusting method, it is applied to electronic device, the electricity
Sub-device includes WiFi module, the method includes:The current movement speed of detection electronic installation and wireless environment parameter;Root
Target transmission speed is determined according to the movement speed and wireless environment parameter that detect;Adjust the transmission rate of the WiFi module
For the target transmission speed.
Second aspect, the embodiment of the present application provide a kind of transmission rate adjustment device, are applied to electronic device, the electricity
Sub-device includes WiFi module, and described device includes:Detection module, the movement speed and nothing current for detection electronic installation
Thread environment parameter;Transmission rate determining module, for determining target according to the movement speed and wireless environment parameter that detect
Transmission rate;Module is adjusted, the transmission rate for adjusting the WiFi module is the target transmission speed.
The third aspect, the embodiment of the present application provide a kind of electronic device, including WiFi module, memory and processor,
The WiFi module and the memory are couple to the processor, the memory store instruction, when described instruction is by described
The processor executes above-mentioned method when processor execution.
Fourth aspect, the embodiment of the present application provide it is a kind of with processor can be performed program code it is computer-readable
Storage medium, said program code make the processor execute above-mentioned method.
Transmission rate adjusting method, device and electronic device provided by the present application, current according to the electronic device of detection
Movement speed and current wireless environment parameter determine target transmission speed, and WiFi module transmission rate is adjusted to mesh
It marks transmission rate and improves making for electronic device so that the transmission rate of WiFi module is to be more suitable for current practical service environment
With experience.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows a flow chart of the transmission rate adjusting method of the embodiment of the present application proposition;
Fig. 2 shows another flow charts for the transmission rate adjusting method that the embodiment of the present application proposes;
Fig. 3 shows a default mapping table of the embodiment of the present application proposition;
Fig. 4 shows another default mapping table of the embodiment of the present application proposition;
Fig. 5 shows the functional block diagram of the transmission rate adjustment device of the embodiment of the present application proposition;
Fig. 6 shows the structural block diagram of the electronic device of the embodiment of the present application proposition;
Fig. 7 shows the structural schematic diagram of the electronic device of the embodiment of the present application proposition;
Fig. 8 shows the electricity for being used to execute the transmission rate adjusting method according to the embodiment of the present application of the embodiment of the present application
The block diagram of sub-device.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The electronic devices such as mobile phone, tablet computer usually pass through WiFi network and are connected to the network.Electronic device is entering newly
Environment, or stayed for a long time before returning to some WiFi area of coverage when, WiFi connection can be carried out.It is common,
The WiFi rate testing mechanism of electronic device can detect ambient enviroment again, in the way of constantly being tested from high speed to low speed,
Current suitable rate is found, suitable WiFi transmission rate cannot be quickly found out.For example, customizing a root in laboratory test
Table can be first compareed when WiFi is in some environment using the table of different transmission rates according to different WiFi signal intensity
A transmission rate is looked for start to transmit, if it find that when current transmission rate transmits, often failure fails such as in preset duration
Number reaches preset times, will reduce transmission rate, have been look for, and directly finds suitable transmission rate and is transmitted.But
It is that the mode that this determining transmission rate is transmitted can just find suitable transmission rate after needing to attempt repeatedly, increases
The system consumption of electronic device, influences usage experience.
Inventor has found that different environment, to the equipment of the correlation WiFi connection such as electronic device and router
Performance can also have an impact, to influence transmission rate.For example, the different movement velocitys and surrounding of electronic built-in is wireless
Environment is different, also, the velocity variations of electronic device can also cause the variation of wireless environment around, the transmission rate of electronic device
It will receive influence.Therefore, the embodiment of the present application provides a kind of transmission rate adjusting method, can be in conjunction with the movement of electronic device
The wireless environment situation of speed and surrounding quickly positions the WiFi transmission rate for being suitble to current environment, promotes the experience of user.
Below in conjunction with attached drawing and by specific embodiment to transmission rate adjusting method provided by the embodiments of the present application,
Device and electronic device are illustrated.
First embodiment
Referring to Fig. 1, the application first embodiment provides a kind of transmission rate adjusting method, this method is applied to electronics
Device, the electronic device can be a kind of wireless device, including WiFi module, can connect wireless access by WiFi module
Point, to access network.Wherein, the electronic device can be mobile phone, tablet computer, intelligent wearable equipment, reader etc. can
The equipment for carrying out WiFi connection, does not limit in the embodiment of the present application.
In the method, suitable pass can be determined according to the current movement speed of electronic device and wireless environment parameter
Defeated rate.In the particular embodiment, the transmission rate adjusting method is applied to transmission rate adjustment device as shown in Figure 5
And it is corresponding with the electronic device 400 (Fig. 6, Fig. 7) of transmission rate adjustment device 400.Above-mentioned transmission rate adjusting method tool
Body may comprise steps of:
Step S110:The current movement speed of detection electronic installation and wireless environment parameter.
The movement speed current to electronic device and the wireless environment parameter for being presently in position detect.
Wherein, the detection of electronic device movement speed can be detected by being set to the sensor of the electronic device, such as
Acceleration transducer, gyroscope etc..The movement speed can be instantaneous velocity, be also possible to do not have being averaged in preset time range
Speed does not have the average speed in 2 seconds time ranges such as.Also, in the present embodiment, acquisition can be the big of movement speed
It is small.
In addition, since speed is a vector, the movement speed that acquisition is detected in the embodiment of the present application can be with rate
It indicates, or is indicated with the velocity magnitude value of the maximum direction vector of numerical value.
In the embodiment of the present application, electronic device to wireless environment parameter in the environment carry out detection acquisition.Wherein,
Wireless environment parameter is the related wireless data of WiFi connection, such as the access point number in electronic device ambient enviroment, electronic device
Access point number in the used channel of the access point of connection, the congestion index of channel, is connected where the access point connected
Access point where channel signal-to-noise ratio, the transmission power size of access point, signal strength of access point etc. is one or more,
It is not limited in the embodiment of the present application.Wherein, the acquisition modes of various wireless environment parameters are referred to existing acquisition modes,
It is not limited here.
Step S120:Target transmission speed is determined according to the movement speed and wireless environment parameter that detect.
According to the wireless environment parameter and movement speed detected, a transmission rate is determined.
Specifically, as an implementation, can be, it is previously provided with the movement of wireless environment parameter, electronic device
Functional relation between speed and transmission rate, such as the function between router number and volume of transmitted data and transmission rate
Relationship.In the case where obtaining the current movement speed and wireless environment parameter of electronic device, can according to the movement speed,
Wireless environment parameter and pre-set functional relation calculate transmission rate as target transmission speed.
As an implementation, it is also possible to be previously provided with movement speed and wireless environment parameter and transmission speed
The corresponding relationship of rate determines target transmission speed according to the corresponding relationship.
Step S130:The transmission rate for adjusting the WiFi module is the target transmission speed.
The transmission rate of WiFi module is adjusted to target transmission speed.If the target transmission speed obtained is one specific
Transmission rate, if then the current transmission rate of WiFi module be lower than target transmission speed, be turned up WiFi module transmission speed
Rate to equal than target transmission speed;If the transmission rate of WiFi module is higher than transmission rate, the transmission speed of WiFi module is turned down
Rate to equal than target transmission speed.If the target transmission speed obtained is a transmission rate section, can be by WiFi module
Transmission rate is adjusted to the maximum transmission rate in transmission rate section;Or it is adjusted to the smallest transmission rate;Or adjustment
For a transmission rate nearest with current transmission rate;Or adjust the present data transmission in the transmission rate section
Required optimal transmission rate, that is, transmission rate needed for catering to present data transmission;Or it is higher than present data transmission
In the transmission rate of preset value.
In the embodiment of the present application, the current movement speed of detection electronic installation and wireless environment parameter, further according to acquisition
Movement speed and wireless environment parameter determine target transmission speed, it is current using the target transmission speed as WiFi module
The transmission rate of WiFi module is adjusted to the target transmission speed, quickly navigates to suitable current environment by message transmission rate
The transmission rate carried out data transmission, when so as to be carried out data transmission by WiFi module, it is suitable not need repeatedly to attempt to find
Transmission rate, be also unlikely to that transmission rate is excessively high to lead to higher power consumption, transmission rate is too low to cause laser propagation effect poor, mentions
The usage experience of high electronic device.
Transmission rate adjusting method provided by the embodiments of the present application, can be according to movement speed or wireless environment parameter
Specific variation determines whether that obtaining target transmission speed is adjusted the transmission rate of WiFi module.Specifically, referring to figure
2, this method includes:
Step S210:The current movement speed of detection electronic installation and wireless environment parameter.
Step S220:The movement speed and wireless environment parameter that will test and the previous movement speed detected and
Wireless environment parameter, which is corresponding in turn to, to be compared, it is determined whether has difference to be greater than the movement speed or wireless environment parameter of preset value.
If so, executing step S230;If it is not, executing step S210.
In the embodiment of the present application, movement speed, wireless environment parameter and the detection that electronic device can will test
Time corresponding storage.When storage, one-time detection data can be only stored, i.e., when this is detected, electronic device can be only stored with
The previous data detected.After this detection, the data of previous detection are deleted after compared with the data that this is detected, are retained
This data detected is in case use next time, reduction storage pressure.Certainly, when storage, it also can store and detected greater than 1 time
Data, or the data etc. that detect within the scope of storage preset duration.
If this wireless environment parameter detected and movement speed and the previous gap detected are little, this inspection
Wireless environment when survey is close with wireless environment when previous detection, the movement speed and previous inspection of electronic device when this is detected
The movement speed for surveying electronic device is close, when connection status when this is detected between electronic device and access point is with previous detection
Connection status it is close.Then, under this detection case, transmission of the new target transmission speed to WiFi module can not be obtained
Rate is adjusted.And it is possible to be detected again to the movement speed of electronic device and wireless environment parameter.
Optionally, the detection again of the movement speed and wireless environment parameter current to electronic device can be this and sentence
Disconnected result is no i.e. execution, is also possible to execute again after being spaced preset time.Wherein, if being executed again after the preset time of interval,
The previous movement speed detected and wireless environment parameter are detection acquisition before preset time.
If this wireless environment parameter detected and the previous gap detected are larger, the wireless environment of electronic device
It changes greatly, what the connection state between access point was subject to is affected, and can redefine target transmission speed to WiFi
The transmission rate of module is adjusted.
Wherein, this wireless environment parameter detected and the previous gap size for detecting wireless environment parameter, can be with
It is measured by the difference between detecting twice.That is, each wireless environment parameter that this can be detected is with before
The secondary corresponding wireless environment parameter detected is compared, it is determined whether has the wireless environment parameter greater than preset value.
Specifically, if wireless environment parameter include it is a variety of, detection data twice successively is carried out to every kind of wireless environment parameter
Comparison.If wherein there is the difference between a kind of wireless environment parameter and the previous value detected to be greater than preset value, it is determined with
Difference is greater than the wireless environment parameter of preset value.Wherein, every kind of wireless environment parameter can be correspondingly arranged preset value, various wireless
The corresponding preset value of environmental parameter is not necessarily identical, for example, the corresponding preset value of access point number is 2, volume of transmitted data pair
The preset value answered is 5M etc..
Certainly, in this step, it is also possible to have greater than between a kind of wireless parameter and the previous data detected
When difference is greater than preset value, it is just determined with the wireless environment parameter that difference is greater than preset value.
In addition, if this movement velocity for detecting and the previous gap detected are larger, electronic device and access point
Between being affected of may being subject to by velocity variations of connection state, target transmission speed can be redefined to WiFi module
Transmission rate be adjusted.
This movement speed detected and the previous movement speed gap size detected, can also be by detecting twice
Between difference measured.That is, can be by movement speed that this is detected and the previous movement speed detected
It is compared, determines whether difference is greater than preset value.The specific size of the preset value is in the embodiment of the present application and does not know, with nothing
The corresponding preset value of thread environment parameter it is not of uniform size fixed identical.
In the embodiment of the present application, step S220 can be used as an optional step.That is, can also detect
In the case where the current movement speed of electronic device and wireless environment parameter, with regard to according to the movement speed and nothing detected
Thread environment parameter determines target transmission speed.
Step S230:Target transmission speed is determined according to the movement speed and wireless environment parameter that detect.
In the embodiment of the present application, target transmission speed can be determined by pre-stored default mapping table,
In default mapping table, different wireless environment parameters and movement velocity are corresponding with different transmission rate correlation values.
Wherein, which can be test in advance and obtains, such as factory test.It takes the mobile phone as an example, by mobile phone
It is placed under different movement speeds, the optimal transmission rate under every kind of speed in varying environment parameter is tested, by test result shape
It is stored in the electronic device at default mapping table.
It may include movement speed and wireless environment parameter pass corresponding with transmission rate in default mapping table
System, specifically can be is that different numerical value movement speeds, one or more wireless environment parameters of different numerical value respectively correspond difference
Transmission rate.As shown in figure 3, electronic device, in the case where numerical value is the movement speed V of v1, parameter value is the wireless environment parameter of a1
A and parameter value are in the wireless environment of wireless environment parameter B of b1, and the value of corresponding transmission rate C is c1.Wherein, parameter value
A1, a2 and parameter value b1, b2 can be specific value, be also possible to numerical intervals;Transmission rate c1, c2, c3 and c4 can
To be a specific value, it is also possible to numerical intervals.
Alternatively, it is also possible to be, interference value is estimated according to each wireless environment parameter value, then determine under different movement speeds, estimated
Calculate the corresponding transmission rate of interference value obtained.Such as shown in Fig. 4, electronic device is being joined in the case where numerical value is the movement speed V of v1
In the wireless environment for the wireless environment parameter B that the wireless environment parameter A and parameter value that numerical value is a1 are b1, estimation interference D's
Interference value is d1, and obtaining corresponding beacon number of frames according to the interference value is c1, which can be indicated with signal-to-noise ratio.As wirelessly
Environmental parameter A is access point number, and wireless environment parameter is that electronic device connects data per second in the channel that access point uses
Transmission quantity.If a1 is 15, b1 10M, then it can be evaluated whether that interference value d may be signal-to-noise ratio 2db.
As a kind of specific embodiment, the transmission rate correlation values preset in mapping table can be transmission speed
Rate itself.It, can be from default then when determining target transmission speed according to the movement speed that detects and wireless environment parameter
The movement speed detected and the corresponding transmission rate of wireless environment parameter, then the biography to find are searched in mapping table
Defeated rate is as target transmission speed.
As an implementation, presetting the transmission rate correlation values in mapping table can change for transmission rate
Amount, the knots modification are the changing value of absolute presupposition reference transmission rate.Then according to the movement speed and wireless environment detected
When parameter determines target transmission speed, the movement speed detected and wireless ring can be first searched from default mapping table
The corresponding transmission rate knots modification of border parameter;The transmission rate knots modification found is combined to obtain preset reference transmission rate again
Transmission rate, as target transmission speed.For example, the knots modification in default mapping table, if indicating transmission speed with positive number
Rate increases, and with the reduction of negative number representation transmission rate, then can change the transmission rate found from default mapping table
Amount adds preset reference transmission rate, and obtained sum is as target transmission speed.Wherein, preset reference transmission rate is to set in advance
The reference transmission rate set, specific size do not limit in the embodiment of the present application, such as can be set to 0, are set as electricity
The usually used transmission rate etc. of sub-device.
Step S240:The transmission rate for adjusting the WiFi module is the target transmission speed.
It is adjusted with transmission rate of the target transmission speed to WiFi module.
Optionally, in the embodiment of the present application, due to being adjusted to the transmission rate of WiFi module, it can be with
It is determining under WiFi connection status, then movement speed and wireless environment parameter that detection electronic installation is current;Either
In the case where determination is carried out data transmission by WiFi module, then movement speed and nothing that detection electronic installation is current
Thread environment parameter.
In the embodiment of the present application, preset value can be greater than in the variation for determining movement speed, or have wireless environment parameter
Variation be greater than preset value in the case where, just progress transmission rate adjustment, under adjustment number as few as possible, by WiFi mould
The transmission rate of block is adjusted to target transmission speed, not only reduces system consumption, but also the transmission rate of WiFi module is adjusted to suitable
Close electronic device current motion state and wireless environment.
It should be understood that in the embodiment of the present application, can be patrolled meeting between various embodiments and implementation steps
Different combinations is carried out in the case where volume, is not limited in the embodiment of the present application.
The embodiment of the present application also provides a kind of transmission rates to adjust device 300, is applied to electronic device, the electronics dress
It sets including WiFi module.As shown in figure 5, described device 300 includes:Detection module 310, the shifting current for detection electronic installation
Dynamic speed and wireless environment parameter;Transmission rate determining module 320, for according to the movement speed and wireless ring detected
Border parameter determines target transmission speed;Module 330 is adjusted, for adjusting the transmission rate of the WiFi module as target biography
Defeated rate.
Optionally, preset in mapping table includes movement speed and wireless environment parameter pass corresponding with transmission rate
System, transmission rate determining module 320 may include:Searching unit, for searching the shifting detected from default mapping table
Dynamic speed and the corresponding transmission rate of wireless environment parameter;Determination unit, for using the transmission rate that finds as target
Transmission rate.
Optionally, preset includes movement speed and wireless environment parameter and transmission rate knots modification in mapping table
Corresponding relationship, transmission rate determining module 320 may include searching unit, for searching detection from default mapping table
The corresponding transmission rate knots modification of movement speed and wireless environment parameter arrived;Determination unit, by preset reference transmission rate
In conjunction with the transmission rate that the transmission rate knots modification found obtains, as target transmission speed.
Optionally, in the embodiment of the present application, can also include, judgment module, movement speed for will test and
Compared with wireless environment parameter is corresponding in turn to the previous movement speed detected and wireless environment parameter, it is determined whether have difference
Greater than the movement speed or wireless environment parameter of preset value.
Optionally, in the embodiment of the present application, can also include, connecting detection module, for detecting whether in wireless
WiFi connection status.
In conclusion default mapping table can be stored in advance in the embodiment of the present application.Electronic device is in connection WiFi
Afterwards, current movement speed, while available surrounding wireless environment situation, such as router number are detected.Further according to detection
The data arrived determine the transmission rate of adjustment WiFi module, and the transmission rate of WiFi module is adjusted to determining transmission speed
Rate.
Wherein, the method in the embodiment of the present application can be used for obtaining the initial transmission speed of WiFi module in electronic device
Rate.If electronic device is successfully connected WiFi, target transmission speed is obtained, the initial transmission of the WiFi module of electronic device is set as
Rate.
Referring to Fig. 6, based on above-mentioned transmission rate adjusting method and device, the embodiment of the present application also provides one kind
Electronic device 400.As shown in fig. 6, the electronic device 400 includes WiFi module 401, memory 104 and processor 102, it is described
WiFi module 401 and the memory 104 are couple to the processor 102, and the WiFi module 401 is for passing through network transmission
Data, 104 store instruction of memory, when described instruction is executed by the processor 102 in the execution of processor 102
The method stated.
Specifically, as shown in fig. 7, being illustrated using mobile phone as electronic device.The electronic device 400 may include electronics
Body part 10, the electronic body portion 10 include shell 12 and the display screen 120 being arranged on the shell 12.The shell 12
Metal can be used, such as steel, aluminium alloy are made.In the present embodiment, the display screen 120 generally includes display panel 111, can also
Including for responding the circuit etc. for carrying out touch control operation to the display panel 111.The display panel 111 can be a liquid
LCD panel (Liquid Crystal Display, LCD), in some embodiments, the display panel 111 is one simultaneously
A touch screen 109.
Please refer to Fig. 8, in actual application scenarios, the electronic device 400 can be used as intelligent mobile phone terminal into
It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processors in this case
102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module
118, power module 122, WiFi module 401 etc..It will appreciated by the skilled person that structure shown in Fig. 8 is only to show
Meaning, does not cause to limit to the structure in the electronic body portion 10.For example, the electronic body portion 10, which may also include, compares Fig. 8
Shown in more perhaps less component or with the correspondence different from shown in Fig. 8.
It will appreciated by the skilled person that every other component belongs to for the processor 102
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation:Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, thereby executing various function application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or the display screen 120.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication
And combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus
It is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
Local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE802.11b, IEEE802.11g and/or
IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, loudspeaker 101, microphone 103, microphone 105 provide user and the electronic body portion jointly
Audio interface between 10 or the display screen 120.
The setting of sensor 114 is in the electronic body portion 10 or in the display screen 120, the sensor 114
Example include but is not limited to:Acceleration transducer 114F, gyroscope 114G, magnetometer 114H and other sensors.
In the present embodiment, the input module 118 may include the touch screen 109 being arranged on the display screen 120,
The touch screen 109 collects the touch operation of user on it or nearby, and (for example user is suitble to using finger, stylus etc. are any
Object or attachment operation on the touch screen 109 or near the touch screen 109), it is hereby achieved that user
Touch gestures, and corresponding attachment device is driven according to a pre-set procedure, therefore, user can pass through the touching in display screen
Control operation selected target region.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.Wherein, institute
The touch orientation of touch detecting apparatus detection user is stated, and detects touch operation bring signal, transmits a signal to the touching
Touch controller;The touch controller receives touch information from the touch detecting apparatus, and the touch information is converted into
Contact coordinate, then give the processor 102, and order that the processor 102 is sent can be received and executed.In addition,
The touch detection of the touch screen 109 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Function.In addition to the touch screen 109, in other change embodiments, the input module 118 can also include other inputs
Equipment, such as key 107.The key 107 for example may include the character keys for inputting character, and for triggering control function
The control button of energy.The example of the control button includes " returning to main screen " key, power on/off key etc..
The display screen 120 is used for the information and the electronics sheet for showing information input by user, being supplied to user
The various graphical user interface in body portion 10, these graphical user interface can be by figure, text, icon, number, video and Qi Ren
Meaning combination is to constitute.In an example, the touch screen 109 may be disposed on the display panel 111 to show with described
Show that panel 111 constitutes an entirety.
The power module 122 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other and electronic body portion 10 are described aobvious
The generation, management of electric power and the relevant component of distribution in display screen 120.
The electronic device 400 further includes locator 119, and the locator 119 is for determining 400 institute of electronic device
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic device 400 using positioning service,
The positioning service, it should be understood that the location information of the electronic device 400 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology or service of the position of positioning object.
It should be understood that above-mentioned electronic device 400 is not limited to intelligent mobile phone terminal, should refer to can moved
Computer equipment used in dynamic.Specifically, electronic device 400, refers to the mobile computer for being equipped with intelligent operating system
Equipment, electronic device 400 include but is not limited to smart phone, smartwatch, tablet computer, etc..
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device reality
Apply in example can no longer be repeated in Installation practice by corresponding processing modules implement one by one.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Finally it should be noted that:Above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding:It still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of transmission rate adjusting method, which is characterized in that be applied to electronic device, the electronic device includes WiFi mould
Block, the method includes:
The current movement speed of detection electronic installation and wireless environment parameter;
Target transmission speed is determined according to the movement speed and wireless environment parameter that detect;
The transmission rate for adjusting the WiFi module is the target transmission speed.
2. the method according to claim 1, wherein the wireless environment parameter includes one or more of:
Number of access point;
The signal strength of access point;
The volume of transmitted data of channel;
The congestion index of channel.
3. the method according to claim 1, wherein the electronic device is pre-stored with default mapping table,
It include the corresponding relationship of movement speed and wireless environment parameter and transmission rate, the basis in the default mapping table
The movement speed and wireless environment parameter detected determines target transmission speed, including:
The movement speed detected and the corresponding transmission rate of wireless environment parameter are searched from default mapping table;
Using the transmission rate that finds as target transmission speed.
4. the method according to claim 1, wherein the electronic device is pre-stored with default mapping table,
It include the corresponding relationship of movement speed and wireless environment parameter and transmission rate knots modification in the default mapping table,
The movement speed and wireless environment parameter that the basis detects determine target transmission speed, including:
The movement speed detected is searched from default mapping table and the corresponding transmission rate of wireless environment parameter changes
Amount;
The transmission rate for combining the transmission rate knots modification found to obtain preset reference transmission rate, as object transmission speed
Rate.
5. the method according to claim 1, wherein movement speed and wireless environment that the basis detects
Before parameter determines target transmission speed, further include:
The movement speed and wireless environment parameter and the previous movement speed detected and wireless environment parameter that will test
It is corresponding in turn to and compares, it is determined whether there is difference to be greater than the movement speed or wireless environment parameter of preset value;
If so, executing movement speed that the basis detects and the step of wireless environment parameter determines target transmission speed.
6. according to the method described in claim 5, it is characterized in that, the previous movement speed detected and wireless environment
Parameter is detection acquisition before preset time.
7. the method according to claim 1, wherein the current movement speed of the detection detection electronic installation with
And before wireless environment parameter, further include:
It detects whether in wireless WiFi connection status;
If so, the step of executing the current movement speed of the detection electronic installation and wireless environment parameter.
8. a kind of transmission rate adjusts device, which is characterized in that be applied to electronic device, the electronic device includes WiFi mould
Block, described device include:
Detection module, the movement speed and wireless environment parameter current for detection electronic installation;
Transmission rate determining module, for determining object transmission speed according to the movement speed and wireless environment parameter that detect
Rate;
Module is adjusted, the transmission rate for adjusting the WiFi module is the target transmission speed.
9. a kind of electronic device, which is characterized in that including WiFi module, memory and processor, the WiFi module and described
Memory is couple to the processor, the memory store instruction, when executed by the processor the place
It manages device perform claim and requires 1 to 7 described in any item methods.
10. a kind of computer readable storage medium for the program code that can be performed with processor, which is characterized in that described program
Code makes the processor perform claim require 1 to 7 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810603699.9A CN108880751A (en) | 2018-06-12 | 2018-06-12 | transmission rate adjusting method, device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810603699.9A CN108880751A (en) | 2018-06-12 | 2018-06-12 | transmission rate adjusting method, device and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108880751A true CN108880751A (en) | 2018-11-23 |
Family
ID=64338766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810603699.9A Pending CN108880751A (en) | 2018-06-12 | 2018-06-12 | transmission rate adjusting method, device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880751A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021013029A1 (en) * | 2019-07-25 | 2021-01-28 | 中兴通讯股份有限公司 | Communication management method and apparatus, speed reporting method and apparatus, base station, terminal and storage medium |
CN112469087A (en) * | 2020-11-30 | 2021-03-09 | 广东美的制冷设备有限公司 | Method for adjusting communication rate of air conditioning equipment, terminal and storage medium |
CN113347711A (en) * | 2021-08-06 | 2021-09-03 | 杭州控客信息技术有限公司 | Terminal self-adaption method and system in personnel positioning system |
CN114885372A (en) * | 2022-05-20 | 2022-08-09 | 深圳市银河通信科技有限公司 | Be applied to intelligent control's wifi module |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1413029A (en) * | 2001-10-16 | 2003-04-23 | Lg电子株式会社 | Method for regulating data transmission speed in video request program service system |
CN1515127A (en) * | 2002-02-07 | 2004-07-21 | 松下电器产业株式会社 | Radio communication apparatus and transfer rate decision method |
CN107360597A (en) * | 2016-05-10 | 2017-11-17 | 中国移动通信有限公司研究院 | A kind of rate adjusting method, Wireless Communication Equipment and terminal device |
WO2018008992A1 (en) * | 2016-07-06 | 2018-01-11 | 주식회사 케이티 | Multinet aggregation traffic controller and traffic control method therefor |
-
2018
- 2018-06-12 CN CN201810603699.9A patent/CN108880751A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1413029A (en) * | 2001-10-16 | 2003-04-23 | Lg电子株式会社 | Method for regulating data transmission speed in video request program service system |
CN1515127A (en) * | 2002-02-07 | 2004-07-21 | 松下电器产业株式会社 | Radio communication apparatus and transfer rate decision method |
CN107360597A (en) * | 2016-05-10 | 2017-11-17 | 中国移动通信有限公司研究院 | A kind of rate adjusting method, Wireless Communication Equipment and terminal device |
WO2018008992A1 (en) * | 2016-07-06 | 2018-01-11 | 주식회사 케이티 | Multinet aggregation traffic controller and traffic control method therefor |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021013029A1 (en) * | 2019-07-25 | 2021-01-28 | 中兴通讯股份有限公司 | Communication management method and apparatus, speed reporting method and apparatus, base station, terminal and storage medium |
CN112469087A (en) * | 2020-11-30 | 2021-03-09 | 广东美的制冷设备有限公司 | Method for adjusting communication rate of air conditioning equipment, terminal and storage medium |
CN112469087B (en) * | 2020-11-30 | 2023-02-21 | 广东美的制冷设备有限公司 | Method for adjusting communication rate of air conditioning equipment, terminal and storage medium |
CN113347711A (en) * | 2021-08-06 | 2021-09-03 | 杭州控客信息技术有限公司 | Terminal self-adaption method and system in personnel positioning system |
CN114885372A (en) * | 2022-05-20 | 2022-08-09 | 深圳市银河通信科技有限公司 | Be applied to intelligent control's wifi module |
CN114885372B (en) * | 2022-05-20 | 2022-12-13 | 深圳市银河通信科技有限公司 | Be applied to intelligent control's wifi module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110166192B (en) | Cell processing method, terminal equipment and network equipment | |
CN111029772B (en) | Antenna circuit, electronic device and method for adjusting antenna performance | |
CN110650492B (en) | Measurement method, terminal and network side equipment | |
CN108964838A (en) | transmission rate adjusting method, device and electronic device | |
CN112929926B (en) | Sending method and receiving method of adjacent cell CSI report and related equipment | |
CN113382439A (en) | Information reporting method, access mode determining method, terminal and network equipment | |
CN108880751A (en) | transmission rate adjusting method, device and electronic device | |
CN111642002B (en) | SRS power control method, SRS power control configuration method and related equipment | |
CN108990105A (en) | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium | |
CN110831041A (en) | Cell beam failure processing method, mobile communication terminal and network side equipment | |
CN107948919B (en) | Shared information processing method and mobile terminal | |
CN108762859A (en) | Wallpaper displaying method, device, mobile terminal and storage medium | |
CN108777731A (en) | Key configurations method, apparatus, mobile terminal and storage medium | |
CN108646959A (en) | Screen control method, device and mobile terminal | |
EP4120720A1 (en) | Signal transmission method, information indication method, and communication device | |
CN108769299A (en) | Screen control method, device and mobile terminal | |
CN108901031A (en) | Radio frequency parameter method of adjustment, device, mobile terminal and storage medium | |
CN110972246A (en) | Power control method, transmission power control parameter determination method and related equipment | |
CN110611580B (en) | Cell management method, terminal and network side equipment | |
CN108924908A (en) | WiFi scan method, device and electronic device | |
CN110011766B (en) | Beam failure detection method, terminal and network equipment | |
CN108770055A (en) | Transmission power adjustment method, device and electronic device | |
CN110221882A (en) | Display methods, device, mobile terminal and storage medium | |
CN110324834B (en) | Indication method of measurement result, terminal and base station | |
CN108449787A (en) | Connect control method, device and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |