CN108964839A - transmission rate adjusting method, device and electronic device - Google Patents

transmission rate adjusting method, device and electronic device Download PDF

Info

Publication number
CN108964839A
CN108964839A CN201810602480.7A CN201810602480A CN108964839A CN 108964839 A CN108964839 A CN 108964839A CN 201810602480 A CN201810602480 A CN 201810602480A CN 108964839 A CN108964839 A CN 108964839A
Authority
CN
China
Prior art keywords
transmission rate
ambient humidity
humidity
electronic device
mapping table
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
Application number
CN201810602480.7A
Other languages
Chinese (zh)
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 CN201810602480.7A priority Critical patent/CN108964839A/en
Publication of CN108964839A publication Critical patent/CN108964839A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0062General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display
    • G01N33/0063General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display using a threshold to release an alarm or displaying means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0273Traffic management, e.g. flow control or congestion control adapting protocols for flow control or congestion control to wireless environment, e.g. adapting transmission control protocol [TCP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Medicinal Chemistry (AREA)
  • Food Science & Technology (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Quality & Reliability (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 ambient humidity of detection;It according to default mapping table, determines that the corresponding transmission rate of the current ambient humidity is target transmission speed, includes the corresponding relationship of humidity and transmission rate in the default mapping table;The transmission rate for adjusting the WiFi module is the target transmission speed, quickly makes the transmission rate of WiFi module be adjusted to be more suitable for the transmission rate of current environment humidity, improves the usage experience of electronic device.

Description

Transmission rate adjusting method, device and electronic device
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 Humidity 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, which comprises detects current ambient humidity;According to default mapping table, institute is determined Stating the corresponding transmission rate of current ambient humidity is target transmission speed, includes humidity and biography in the default mapping table The corresponding relationship of defeated rate;The transmission rate for adjusting the WiFi module is 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: humidity detection unit, for detecting current ambient humidity;Transmission rate Determination unit, for according to mapping table is preset, determining the corresponding transmission rate of the current ambient humidity for target biography Defeated rate includes the corresponding relationship of humidity and transmission rate in the default mapping table;Transmission rate adjustment unit, is used for 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, according to the current environmental wet detected Degree and default mapping table, determine the corresponding transmission rate of current ambient humidity as target transmission speed.By WiFi Module transfer speed adjust is target transmission speed, so that the transmission rate of WiFi module is to be more suitable for the biography of current environment humidity Defeated rate improves the usage experience of electronic device.
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 the default mapping tables that the embodiment of the present application proposes;
Fig. 3 shows another default mapping table of the embodiment of the present application proposition;
Fig. 4 shows another flow chart of the transmission rate adjusting method of the embodiment of the present application proposition;
Fig. 5 shows the another flow chart of the transmission rate adjusting method of the embodiment of the present application proposition;
Fig. 6 shows the another default mapping table of the embodiment of the present application proposition;
Fig. 7 shows the functional block diagram of the transmission rate adjustment device of the embodiment of the present application proposition;
Fig. 8 shows the structural block diagram of the electronic device of the embodiment of the present application proposition;
Fig. 9 shows a kind of structural schematic diagram of the electronic device of the embodiment of the present application proposition;
Figure 10 show the embodiment of the present application for executing according to the transmission rate adjusting method of the embodiment of the present application The block diagram of electronic 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, ambient humidity has an impact to device performance, and then influence biography Defeated rate.Therefore, the embodiment of the present application provides a kind of transmission rate adjusting method, can be according to the environment around electronic device Humidity 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, according to the corresponding relationship in default mapping table between humidity and transmission rate and can work as Preceding ambient humidity determines suitable transmission rate.In the particular embodiment, the transmission rate adjusting method is applied to such as Transmission rate adjustment device shown in Fig. 7 and the electronic device 500 (Fig. 8, Fig. 9) for being corresponding with transmission rate adjustment device 400. Above-mentioned transmission rate adjusting method can specifically include following steps:
Step S110: current ambient humidity is detected.
Electronic device detects ambient humidity, and the ambient humidity of detection can be spatial loop locating for electronic device Humidity in border, specific detection can be realized by the humidity sensor built in electronic device.
Wherein, the setting position of humidity sensor and quantity do not limit in the embodiment of the present application in electronic device, It can be advisable with the humidity sensor quantity that can detect that the ambient humidity of needs needs.
Step S120: according to default mapping table, determine that the corresponding transmission rate of the current ambient humidity is mesh Transmission rate is marked, includes the corresponding relationship of humidity and transmission rate in the default mapping table.
In an electronic, it is stored with default mapping table, includes humidity and transmission rate in the mapping table Corresponding relationship, that is to say, that be included under varying environment humidity in mapping table, the electronic device by WiFi module into The suitable transmission rate of row data transmission.Wherein, which can be what laser propagation effect balanced each other with power consumption One transmission rate, can reach good laser propagation effect, and power consumption is relatively low, which kind of specific humidity corresponds to which kind of transmission rate at this It is not limited in application embodiment.
According to current ambient humidity, the corresponding transmission speed of current environment humidity can be found in mapping table Rate, using the transmission rate found as target transmission speed.
As a kind of specific embodiment, as shown in Fig. 2, T1, T2 indicate that different humidity values, B1, B2 indicate different Transmission rate can be the corresponding transmission rate of a humidity value in default mapping table, then determine it is current When the corresponding transmission rate of ambient humidity, can using transmission rate corresponding with the most similar humidity of current ambient humidity as Target transmission speed.That is, can be searched from default mapping table the smallest wet with current ambient humidity difference Degree;The corresponding transmission rate of the smallest humidity of the difference found is determined as the target transmission speed.
As a kind of specific embodiment, in default mapping table, it is also possible to humidity section corresponding one A transmission rate, as shown in Figure 3.In Fig. 3, T1, T11, T2, T21 indicate that different humidity values, B1, B2 indicate different biographies Defeated rate.Then in the corresponding transmission rate of the current ambient humidity of determination, it can first determine current ambient humidity default Corresponding humidity section in mapping table, then corresponding transmission rate determines in default mapping table by the humidity section For target transmission speed.
It is also possible to a humidity in default mapping table as a kind of specific embodiment or one wet Spend the corresponding transmission rate section in section.Then in default mapping table, one can be determined according to current ambient humidity A transmission rate section.
In the embodiment of the present application, the respective embodiments described above can be implemented respectively, can also be in conjunction with implementation, not specific limit It is fixed.
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, detection obtains current humidity, then the corresponding conjunction of different humidity from default mapping table Transmission rate corresponding to current ambient humidity is chosen in suitable transmission rate, using the transmission rate chosen as WiFi mould The current message transmission rate of block quickly navigates to the transmission rate that suitable current environment humidity carries out data transmission, so that logical When crossing WiFi module and carrying out data transmission, does not need repeatedly to attempt to find suitable transmission rate, be unlikely to transmission rate mistake yet Height leads to higher power consumption, and transmission rate is too low to cause laser propagation effect poor, improves the usage experience of electronic device.
Transmission rate adjusting method provided by the embodiments of the present application further includes according to specific environment situation or electronic device Current state determine whether obtain target transmission speed the transmission rate of WiFi module is adjusted.Specifically, referring to Fig. 4, this method comprises:
Step S210: current ambient humidity is detected.
Step S220: judge whether the difference of the current ambient humidity detected and the previous ambient humidity detected is big In preset threshold, the previous ambient humidity detected is the ambient humidity detected before preset time.If so, executing step S230;If it is not, executing step S210 after preset time.
Electronic device can detect the primary current environment humidity for corresponding to the time, the tool of the preset time every preset time Body value does not limit in the embodiment of the present application, can be a numerical value of Millisecond, second grade either minute grade.
In the embodiment of the present application, the corresponding storage of the ambient humidity and detection time that can be will test.It, can when storage Only to store an ambient humidity, i.e., when this detects ambient humidity, electronic device can only be stored with previous detect Ambient humidity.After this detection, the ambient humidity of previous detection is deleted after compared with the ambient humidity that this is detected, is retained This ambient humidity detected is in case use next time, reduction storage pressure.Certainly, when storage, it also can store and examined greater than 1 time The ambient humidity detected within the scope of the ambient humidity measured, or storage preset duration.
When this detects current ambient humidity, can be compared with the previous ambient humidity detected, with true Whether ambient humidity varies widely after being scheduled on interval preset time.If not varying widely, in default corresponding relationship In table, transmission rate is unchanged or variation is little, and the transmission rate of WiFi module can be remained to previous adjustment determination Target transmission speed is not adjusted the transmission rate of WiFi module;If humidity varies widely, cause in corresponding relationship WiFi transmission rate is changed or is changed greatly in table, just adjusts the transmission rate of WiFi module.
That is, the difference of the current ambient humidity and the previous ambient humidity detected that judge to detect can be passed through Whether value is greater than preset threshold, it is determined whether is adjusted according to the transmission rate that default mapping table carries out WiFi module.If no Adjustment, then detect ambient humidity after being spaced preset time again, judge whether to adjust according to the ambient humidity detected.Its In, the size of the preset threshold does not limit in the embodiment of the present application, can be determined according to preparatory test to transmission rate shadow Biggish humidity changing value is rung as preset threshold.It should be understood that being affected to transmission rate, transmission rate can be Variation is greater than default changing value.
Step S230: according to default mapping table, determine that the corresponding transmission rate of the current ambient humidity is mesh Transmission rate is marked, includes the corresponding relationship of humidity and transmission rate in the default mapping table.
If desired the transmission rate of WiFi module is adjusted, is then obtained currently from pre-stored mapping table The corresponding target transmission speed of ambient humidity.
Wherein, which can be in advance, and before dispatching from the factory, the ring is tested under varying environment humidity The optimal transmission rate of WiFi module in the humidity of border, and test result is formed into default mapping table and is recorded in electronic device In.If humidity section is corresponding with transmission rate in default mapping table, then each humidity province in mapping table is preset Between determination can be, obtained according to test, in same humidity section, less than one preset value of variation of transmission rate.
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 is detecting current ambient humidity;Either, determine passing through WiFi module into In the case that row data are transmitted, the adjustment of transmission rate is carried out further according to ambient humidity.
In the embodiment of the present application, transmission rate can be just carried out in the case where determining that humidity variation is greater than preset threshold Adjustment, reduce system consumption.
Transmission rate adjusting method provided by the embodiments of the present application can be combined with wireless environment parameter and determine transmission speed Rate.Specifically, as shown in figure 5, this method comprises:
Step S310: current ambient humidity is detected.
Step S320: current wireless environment parameter is obtained.
Electronic device to wireless environment parameter in the environment obtain.Wherein, wireless environment parameter is WiFi company Related wireless data is connect, such as the router number in electronic device ambient enviroment, the channel distribution of routing, the transmission power of routing Size, the signal strength of access point, the congestion index etc. of channel do not limit in the embodiment of the present application.Wherein, various wireless The acquisition modes of environmental parameter are referred to existing acquisition modes, it is not limited here.
It should be understood that the execution sequence between step S310 and step S320 does not limit, it can be and first carry out step Rapid S310 can also first carry out step S320, also may be performed simultaneously.
In addition, can also first judge whether the variation of ambient humidity is greater than in the case where detecting current ambient humidity Preset threshold, it is determined whether obtain target transmission speed from default mapping table and be adjusted.
Step S330: according to default mapping table, current ambient humidity and current wireless environment parameter are determined Common corresponding transmission rate includes pair of humidity, wireless environment parameter and transmission rate in the default mapping table It should be related to.
In pre-stored mapping table, it can also include wireless environment parameter, i.e., can wrap in mapping table Include humidity corresponding transmission rate under different radio environmental parameter.As Fig. 6 shows a kind of pair including wireless environment parameter Relation table is answered, in mapping table, under same humidity, corresponding transmission rate under different wireless environment parameters, such as A1 represents router number, then at humidity T1, router number A11 is corresponding with transmission rate C1, and router number A12 is corresponding There is wireless transmission rate C2.
It will of course be understood that, in mapping table, parameters data can be indicated with section.
In the embodiment of the present application, it in test environment, can also be obtained not by testing acquisition mapping table in advance With optimal transmission rate forms the mapping table in varying environment parameter under humidity regulation.
Step S340: the transmission rate for adjusting the WiFi module is the target transmission speed.
In the embodiment of the present application, target transmission speed can be obtained with combining wireless environmental parameter, passes the target obtained Defeated rate more meets the currently used scene of electronic device, so that electronic device is carried out data better by WiFi module to obtain The transmission rate of transmission.
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 400, is applied to electronic device, the electronic device Including WiFi module.Fig. 7 is referred to, which includes: humidity detection unit 410, for detecting current ambient humidity. Transmission rate determination unit 420, for according to mapping table is preset, determining the corresponding transmission speed of the current ambient humidity Rate is target transmission speed, includes the corresponding relationship of humidity and transmission rate in the default mapping table.Transmission rate tune Whole unit 430, the transmission rate for adjusting the WiFi module are the target transmission speed.
Optionally, transmission rate determination unit 420 may include that humidity determines subelement, be used for from the default correspondence It is searched in relation table and the current the smallest humidity of ambient humidity difference;Transmission rate determines subelement, for what will be found The corresponding transmission rate of humidity is determined as the target transmission speed.
It optionally, can also include humidity corresponding transmission rate under different radio environmental parameter in mapping table. The device can also include wireless environment parameter acquiring unit, for obtaining current wireless environment parameter.Transmission rate determines Unit 420 is determined for current ambient humidity and current wireless environment parameter corresponding transmission rate jointly.
Optionally, device provided by the embodiments of the present application can also include humidity judging unit, for judge to detect Whether the difference of current ambient humidity and the previous ambient humidity detected is greater than preset threshold, the previous ring detected Border humidity is the ambient humidity that detects before preset time.If the determination result is YES, then transmission rate determination unit 420 can determine Corresponding target transmission speed.
Optionally, the application can also include connection state detection unit, for detecting whether being in wireless WiFi connection State;If so, humidity detection unit 410 is used to detect the current ambient humidity of the detection.
In conclusion default mapping table can be stored in advance in the embodiment of the present application.Humidity built in electronic device passes Sensor, for detecting ambient humidity.Electronic device detects ambient humidity after connecting WiFi, while available Surrounding wireless environment situation, such as router number.Again from pre-set default mapping table, according to the number detected It is investigated that looking for the transmission rate by WiFi module.
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.
Method in the embodiment of the present application can be used for carrying out transmission rate adjustment to WiFi module, i.e., in WiFi module In the case where being provided with transmission rate, target transmission speed is got, the new of WiFi module is determined according to the target transmission speed Transmission rate.So as to quickly adjust the transmission rate of electronic device according to the humidity of wireless environment.
Referring to Fig. 8, based on above-mentioned transmission rate adjusting method and device, the embodiment of the present application also provides one kind Electronic device 500.As shown in figure 8, the electronic device 500 includes WiFi module 501, memory 104 and processor 102, it is described WiFi module 501 and the memory 104 are couple to the processor 102, and the WiFi module 501 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 figure 9, being illustrated using mobile phone as electronic device.The electronic device 500 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 Figure 10, in actual application scenarios, the electronic device 500 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 501 etc..It will appreciated by the skilled person that structure shown in Fig. 10 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 Figure 10 Shown in more perhaps less component or with the correspondence different from shown in Figure 10.
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, IEEE 802.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 500 further includes locator 119, and the locator 119 is for determining 500 institute of electronic device The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic device 500 using positioning service, The positioning service, it should be understood that the location information of the electronic device 500 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 500 is not limited to intelligent mobile phone terminal, should refer to can moved Computer equipment used in dynamic.Specifically, electronic device 500, refers to the mobile computer for being equipped with intelligent operating system Equipment, electronic device 500 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 include the following: there is the electricity of one or more wirings 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: having a logic gates for realizing 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, which comprises
Detect current ambient humidity;
According to default mapping table, determine that the corresponding transmission rate of the current ambient humidity is target transmission speed, institute State the corresponding relationship in default mapping table including humidity and transmission rate;
The transmission rate for adjusting the WiFi module is the target transmission speed.
2. the method according to claim 1, wherein the corresponding transmission of the determination current ambient humidity Rate is target transmission speed, comprising:
It is searched from the default mapping table and the current the smallest humidity of ambient humidity difference;
The corresponding transmission rate of the humidity found is determined as the target transmission speed.
3. the method according to claim 1, wherein further including humidity in the mapping table in different radio Corresponding transmission rate under environmental parameter,
Before the corresponding transmission rate of the determination current ambient humidity is target transmission speed, further includes:
Obtain current wireless environment parameter;
The corresponding transmission rate of the determination current ambient humidity includes: for target transmission speed
Determine current ambient humidity and current wireless environment parameter corresponding transmission rate jointly.
4. according to the method described in claim 3, it is characterized in that, the wireless environment parameter includes one or more of:
The congestion index of router number, the signal strength of access point and channel.
5. being determined described current the method according to claim 1, wherein the basis presets mapping table The corresponding transmission rate of ambient humidity be target transmission speed before, further includes:
Judge whether the difference of the current ambient humidity detected and the previous ambient humidity detected is greater than preset threshold, institute Stating the previous ambient humidity detected is the ambient humidity that detects before preset time;
If so, executing the basis presets mapping table, determine that the corresponding transmission rate of the current ambient humidity is mesh The step of marking transmission rate.
6. the method according to claim 1, wherein being previously stored with the default correspondence in the electronic device Relation table.
7. the method according to claim 1, wherein before the current ambient humidity of the detection, further includes:
It detects whether in wireless WiFi connection status;
If so, executing described the step of detecting current ambient humidity.
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:
Humidity detection unit, for detecting current ambient humidity;
Transmission rate determination unit, for determining the corresponding transmission of the current ambient humidity according to mapping table is preset Rate is target transmission speed, includes the corresponding relationship of humidity and transmission rate in the default mapping table;
Transmission rate adjustment unit, the transmission rate for adjusting the WiFi module are 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.
CN201810602480.7A 2018-06-12 2018-06-12 transmission rate adjusting method, device and electronic device Pending CN108964839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810602480.7A CN108964839A (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
CN201810602480.7A CN108964839A (en) 2018-06-12 2018-06-12 transmission rate adjusting method, device and electronic device

Publications (1)

Publication Number Publication Date
CN108964839A true CN108964839A (en) 2018-12-07

Family

ID=64488568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810602480.7A Pending CN108964839A (en) 2018-06-12 2018-06-12 transmission rate adjusting method, device and electronic device

Country Status (1)

Country Link
CN (1) CN108964839A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083717A (en) * 2019-12-27 2020-04-28 中国联合网络通信集团有限公司 Data transmission method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203590474U (en) * 2013-08-08 2014-05-07 北京建飞科联科技有限公司 Wifi router with automatically controllable emission power
US20140222318A1 (en) * 2013-02-01 2014-08-07 GM Global Technology Operations LLC External egr rate feedback
CN105723744A (en) * 2013-11-12 2016-06-29 哈曼国际工业有限公司 Scheduling download of data of an on-line service
CN106533482A (en) * 2016-12-05 2017-03-22 万雨莱 WIFI radiation calculation and power regulation method based on health and greenness
CN106919213A (en) * 2017-02-27 2017-07-04 华南农业大学 A kind of output control device and method for improving hillside orchard radio transmission performance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140222318A1 (en) * 2013-02-01 2014-08-07 GM Global Technology Operations LLC External egr rate feedback
CN203590474U (en) * 2013-08-08 2014-05-07 北京建飞科联科技有限公司 Wifi router with automatically controllable emission power
CN105723744A (en) * 2013-11-12 2016-06-29 哈曼国际工业有限公司 Scheduling download of data of an on-line service
CN106533482A (en) * 2016-12-05 2017-03-22 万雨莱 WIFI radiation calculation and power regulation method based on health and greenness
CN106919213A (en) * 2017-02-27 2017-07-04 华南农业大学 A kind of output control device and method for improving hillside orchard radio transmission performance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083717A (en) * 2019-12-27 2020-04-28 中国联合网络通信集团有限公司 Data transmission method and device
CN111083717B (en) * 2019-12-27 2023-03-31 中国联合网络通信集团有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
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
CN108990105A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN108880751A (en) transmission rate adjusting method, device and electronic device
CN108901031A (en) Radio frequency parameter method of adjustment, device, mobile terminal and storage medium
CN108777731A (en) Key configurations method, apparatus, mobile terminal and storage medium
CN108762859A (en) Wallpaper displaying method, device, mobile terminal and storage medium
CN108646959A (en) Screen control method, device and mobile terminal
CN108924908A (en) WiFi scan method, device and electronic device
CN108769299A (en) Screen control method, device and mobile terminal
CN110611580B (en) Cell management method, terminal and network side equipment
CN108770055A (en) Transmission power adjustment method, device and electronic device
CN110221882A (en) Display methods, device, mobile terminal and storage medium
CN108717325A (en) Operating gesture setting method, device and mobile terminal
CN110034872B (en) Association relation indication method, association relation determination method and related equipment of resources and QCL
CN108449787A (en) Connect control method, device and electronic equipment
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server
CN108934025A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN110119231A (en) Message display method, device, mobile terminal and storage medium
CN108964839A (en) transmission rate adjusting method, device and electronic device
CN108882335A (en) Method for connecting network, device and electronic device
CN111615216A (en) Random access method and terminal
CN108632822A (en) Detection method, device and the mobile terminal of wireless access point
CN108924868A (en) WiFi disconnects method of adjustment, device, mobile terminal and storage medium
CN108990104A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication