CN108055706B - Wireless network connection control method, device, storage medium and terminal equipment - Google Patents

Wireless network connection control method, device, storage medium and terminal equipment Download PDF

Info

Publication number
CN108055706B
CN108055706B CN201810097409.8A CN201810097409A CN108055706B CN 108055706 B CN108055706 B CN 108055706B CN 201810097409 A CN201810097409 A CN 201810097409A CN 108055706 B CN108055706 B CN 108055706B
Authority
CN
China
Prior art keywords
wireless
module
communication
frequency band
interference information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810097409.8A
Other languages
Chinese (zh)
Other versions
CN108055706A (en
Inventor
俞义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810097409.8A priority Critical patent/CN108055706B/en
Publication of CN108055706A publication Critical patent/CN108055706A/en
Application granted granted Critical
Publication of CN108055706B publication Critical patent/CN108055706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

According to the wireless network connection control method, the wireless network connection control device, the storage medium and the terminal device, when a wireless module of the terminal device is connected with a wireless gateway device, working frequency information of a communication module of the terminal device is obtained; determining corresponding disconnection detection set time according to the working frequency information; and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time. By adopting the technical scheme, the disconnection detection set time of the disconnection operation of the wireless module of the terminal equipment can be controlled through the working frequency information of the communication module of the terminal equipment, the disconnection of the terminal equipment in the coverage area of the wireless local area network is avoided, and the connection success rate of the wireless module is improved.

Description

Wireless network connection control method, device, storage medium and terminal equipment
Technical Field
The embodiment of the application relates to the technical field of wireless communication, in particular to a wireless network connection control method, a wireless network connection control device, a storage medium and a terminal device.
Background
With the development of WIreless communication technology, WIreless communication modes are increasing, and common WIreless communication modes include a WIreless FIdelity (Wi-Fi) communication technology, which is a communication technology allowing a terminal device to access a WIreless Local Area Network (WLAN). However, after the terminal device is connected to the wireless lan, even if the terminal device is in the coverage area of the wireless lan, the terminal device may be disconnected from the wireless lan, so that the wireless network connection of the terminal device needs to be optimized.
Disclosure of Invention
The wireless network connection control method, the wireless network connection control device, the wireless network connection control storage medium and the terminal device can improve the connection success rate of the wireless module.
In a first aspect, an embodiment of the present application provides a method for controlling wireless network connection, including:
when a wireless module of a terminal device is connected with a wireless gateway device, acquiring working frequency information of a communication module of the terminal device;
determining corresponding disconnection detection set time according to the working frequency information;
and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
In a second aspect, an embodiment of the present application provides a wireless network connection control apparatus, including:
the system comprises a frequency acquisition module, a frequency acquisition module and a frequency conversion module, wherein the frequency acquisition module is used for acquiring the working frequency information of a communication module of the terminal equipment when a wireless module of the terminal equipment is connected with the wireless gateway equipment;
the time determining module is used for determining corresponding disconnection detection set time according to the working frequency information;
and the connection control module is used for controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a wireless network connection control method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the wireless network connection control method according to the embodiment of the present application.
According to the wireless network connection control scheme provided by the embodiment of the application, when a wireless module of a terminal device is connected with a wireless gateway device, working frequency information of a communication module of the terminal device is acquired; determining corresponding disconnection detection set time according to the working frequency information; and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time. By adopting the technical scheme, the disconnection detection set time of the disconnection operation of the wireless module of the terminal equipment can be controlled through the working frequency information of the communication module of the terminal equipment, the disconnection of the terminal equipment in the coverage area of the wireless local area network is avoided, and the connection success rate of the wireless module is improved.
Drawings
Fig. 1 is a flowchart illustrating a method for controlling a wireless network connection according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating another method for controlling a wireless network connection according to an embodiment of the present application;
fig. 3 is a schematic view of a scenario of a wireless network transmission control method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another method for controlling a wireless network connection according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another method for controlling a wireless network connection according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another method for controlling a wireless network connection according to an embodiment of the present application;
fig. 7 is a flowchart illustrating another method for controlling a wireless network connection according to an embodiment of the present application;
fig. 8 is a block diagram of a wireless network connection control apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another terminal device according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
When a terminal device is used to access a wireless local area network, communication connection is unstable due to the influence of different factors in the external environment, and a disconnection problem occurs when the terminal device is still in the coverage area of the wireless local area network. Because the operation of other wireless communication modules may bring interference information, for example, the operating frequency band of the wireless communication module may reduce the receiving sensitivity of the wireless module of the terminal device, resulting in disconnection between the wireless module and the wireless local area network. According to the embodiment of the application, the stability of wireless connection can be improved by adjusting the disconnection detection strategy of the wireless connection.
Fig. 1 is a flowchart of a method for controlling a wireless network connection according to an embodiment of the present disclosure, where the method may be executed by a wireless network connection control apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a terminal device or other devices installed with an operating system. As shown in fig. 1, the method includes:
s110, when the wireless module of the terminal equipment is connected with the wireless gateway equipment, the working frequency information of the communication module of the terminal equipment is obtained.
The Wireless module may be used for accessing a Wireless Local Area Network (WLAN), so that the terminal device may communicate through the WLAN. Illustratively, the WIreless module may be a WIreless FIdelity (Wi-Fi) module, which is a technology allowing the terminal device to access a WIreless local area network, and the WIreless FIdelity module typically uses a 2.4G or 5G radio frequency band for communication.
The wireless gateway device is a connection port for accessing a wireless local area network, and when the wireless module of the terminal device establishes communication connection with the wireless gateway device, the terminal device can access the wireless local area network. Illustratively, the Wireless gateway device may be a Wireless Router (Wireless Router), the Wireless module may establish a communication connection with the Wireless Router based on a Wireless network protocol, and the terminal device may access a Wireless local area network to implement the communication connection.
The connection between the wireless module of the terminal device and the wireless gateway device may be when the wireless module of the terminal device and the wireless gateway device initially establish a connection, or in a process in which the wireless module of the terminal device and the wireless gateway device have established a connection and are in communication.
The communication module of the terminal device is other communication modules except the wireless module on the terminal device, and optionally, the communication module is a wireless communication module. The wireless communication generally involves occupying a specific frequency channel and propagating an electromagnetic wave signal in the specific frequency channel to exchange information, and may include microwave communication and satellite communication, and may illustratively include mobile communication, short-range wireless communication, and the like.
Optionally, when the wireless module of the terminal device is connected to the wireless gateway device and is about to be disconnected from the wireless gateway device, the operating frequency information of the communication module of the terminal device is obtained.
Because the wireless module of the terminal device occupies a working frequency band for communication when the wireless gateway device establishes communication connection, and the working of the communication module of the terminal device also occupies a working frequency band, the problem of interference between the two working frequency bands is likely to occur, and the receiving sensitivity of the wireless module of the terminal device is further affected. Therefore, when the wireless module of the terminal device is detected to be in communication connection with the wireless gateway device and is about to be disconnected from the wireless gateway device, the working frequency information of the communication module of the terminal device can be acquired, and whether the detection set time needs to be adjusted or not can be further judged according to the working frequency information of the communication module.
Optionally, it may be determined whether the wireless module is about to disconnect from the wireless gateway device by a periodic feedback beacon sent by the wireless gateway device to the wireless module.
Optionally, the obtaining of the operating frequency information of the communication module of the terminal device may be implemented by:
s1101, detecting the working state of a mobile communication module of the terminal equipment.
S1102, when the mobile communication module is detected to be in a transmitting state, obtaining the working frequency information of the mobile communication module.
The mobile communication module is used for enabling the terminal device to realize mobile communication, and exemplarily, the mobile communication module may include a 2G communication module, a 3G communication module, a 4G communication module, or a 5G communication module. Fig. 3 is a scene schematic diagram of a wireless network transmission control method according to an embodiment of the present application, and as shown in fig. 3, when a terminal device may access a wireless local area network through connection between a wireless module and a wireless gateway device, the terminal device may also establish connection with a mobile communication tower through a mobile communication module to implement mobile communication. For example, The Mobile Communication module may be an LTE (Long Term Evolution) module, where LTE is a network standard in Mobile Communication, LTE is a Long Term Evolution of UMTS (Universal Mobile telecommunications System) technology standard organized by 3GPP (The 3rd generation partnership Project), LTE is an upgrade of GSM (global System for Mobile communications), and LTE has advantages of high data transmission speed and The like, and is widely applied in terminal devices.
When the mobile communication module is in operation, the mobile communication module will cause interference to the communication connection of the wireless module, even if a user performs communication connection through the wireless module and performs data transmission, and if the mobile communication module is not closed, the mobile communication module will continue to operate and interfere with the wireless module.
When the mobile communication module is in a transmitting state, the transmitter of the mobile communication module may become an interference source, which may cause interference to the communication connection of the wireless module of the terminal device, resulting in unstable wireless connection between the wireless module and the wireless gateway device, and thus causing a disconnection problem. Therefore, by detecting the working state of the mobile communication module of the terminal device, if the mobile communication module is in the transmitting state, the working frequency information of the mobile communication module is obtained, and then the corresponding disconnection detection set time can be determined according to the working frequency information of the mobile communication module, so that the wireless connection of the wireless module can be controlled when the mobile communication module is in the transmitting state.
And S111, determining corresponding disconnection detection set time according to the working frequency information.
The disconnection detection set time is detection time for judging whether the wireless module and the wireless gateway device are disconnected. The wireless gateway device will continue to send periodic feedback beacons to the wireless module to determine that the wireless connection remains connected, and will disconnect if the wireless module does not receive the periodic feedback beacons of the wireless gateway device within the detection time.
Optionally, the corresponding disconnection detection setting time is determined according to the operating frequency information and the communication frequency information of the wireless module. The communication frequency information of the wireless module is adopted when the wireless module and the wireless gateway equipment establish communication connection.
Illustratively, the wireless fidelity module operates in the 2.4G frequency band, and the communication frequency information of the wireless fidelity module is 2.412 gigahertz (GHz) to 2.484 GHz. The interference to the communication connection of the wireless module is different due to the difference of the working frequency information of the communication module, and if the working frequency information of the communication module is 2.4 gigahertz to 2.485 gigahertz, the working frequency of the communication module causes co-frequency interference to the communication process of the wireless module, so that the wireless module cannot receive the periodic feedback beacon sent by the wireless gateway device. If the operating frequency information of the communication module is 2.3 gigahertz to 2.4 gigahertz, the operating frequency of the communication module may cause adjacent channel interference to the communication process of the wireless module, and may also cause the wireless module to fail to receive the periodic feedback beacon transmitted by the wireless gateway device.
Therefore, the corresponding disconnection detection set time is determined according to the working frequency information, and the detection time for judging whether the wireless module and the wireless gateway device are disconnected can be adjusted according to the working frequency information, so that the terminal device is prevented from being disconnected in the coverage area of the wireless local area network.
And S112, controlling the communication connection between the wireless module and the wireless gateway device according to the disconnection detection set time.
Optionally, controlling the communication connection between the wireless module and the wireless gateway device according to the disconnection detection setting time may be: and controlling the wireless module and the wireless gateway equipment to be disconnected in communication according to the disconnection detection set time. Illustratively, if the wireless module does not receive a periodic feedback beacon sent by the wireless gateway device within the set disconnection detection time, the communication connection between the wireless module and the wireless gateway device is disconnected.
According to the embodiment of the application, the disconnection detection set time of the disconnection operation of the wireless module of the terminal equipment can be controlled through the working frequency information of the communication module of the terminal equipment, the problem that the disconnection occurs in the coverage area of a wireless local area network due to the interference of other communication modules of the terminal equipment is avoided, and the connection success rate of the wireless module is improved.
Fig. 4 is a schematic flow chart of another method for controlling wireless network connection according to an embodiment of the present application, where based on the technical solution provided in the embodiment, an operation of determining a corresponding disconnection detection setting time according to the operating frequency information is optimized, and optionally, as shown in fig. 4, the method includes:
and S120, when the wireless module of the terminal equipment is connected with the wireless gateway equipment, acquiring the working frequency information of the communication module of the terminal equipment.
Reference may be made to the above description for specific embodiments, which are not repeated herein.
And S121, determining the communication frequency range of the communication module according to the working frequency information.
The communication module has a plurality of different communication frequency bands during operation, and each communication frequency band comprises a plurality of different operating frequencies. The operating frequency information of the communication module of the terminal device may include different frequencies, but the communication frequency band of the communication module is generally divided into fixed communication frequency bands, and the corresponding communication frequency band may be determined according to the operating frequency information of the communication module. Illustratively, the operating frequency band of the LTE module includes B1, B2, B3, … …, B40, and so on; the operating frequency of each frequency band is different, for example, the operating frequency information of the LTE B40 frequency band is 2300 megahertz (MHz) to 2400 MHz, and the operating frequency information of the LTE B1 frequency band is 1920 MHz to 1980 MHz.
Optionally, the corresponding disconnection detection set time is determined according to the communication frequency band and the frequency band or channel of the wireless module, where the frequency band or channel of the wireless module is the frequency band or channel corresponding to the communication frequency information of the wireless module. If the set time of the disconnection detection is determined according to the operating frequency information, if the operating frequency information slightly changes, recalculation is required. Since the working frequency of the communication module generally includes a plurality of fixed communication frequency bands, each communication frequency band includes a certain frequency interval, after the communication frequency band of the communication module is determined according to the working frequency information, even if the working frequency slightly changes, the changed working frequency still corresponds to the same communication frequency band, recalculation is not needed, and the corresponding disconnection detection setting time can be determined quickly by determining the corresponding disconnection detection setting time according to the communication frequency band.
And S122, determining corresponding frequency band interference information according to the communication frequency band and a preset interference information table.
The preset interference information table may include a communication frequency band, a frequency band of a wireless module, or a mapping relationship between a channel and frequency band interference information. The frequency band interference information may include an interference value of the communication frequency band to a frequency band or a channel of the wireless module. Illustratively, as shown in table 1, when the communication frequency band of the communication module is LTE B40, the communication frequency information of the wifi module is 2412 mhz, the corresponding channel is channel 1, and the interference value of LTE B40 on the frequency band interference information of channel 1 of the wifi module is 4 db. The interference value of each different communication frequency band to the channel of the wireless module is different, and the preset interference information table stores the interference information of different frequency bands corresponding to different communication frequency bands and the mapping relation of the interference information.
TABLE 1
Wireless fidelity channel Communication frequency band Frequency band interference information/db
1 LTE B40 4
The preset interference information table can be modified or updated according to the operation of a user or the data update of a background system.
And S123, determining corresponding disconnection detection set time according to the frequency band interference information.
After the frequency band interference information is determined, the corresponding disconnection detection setting time can be determined. Illustratively, the higher the interference value in the frequency band interference information is, the greater the influence on the data transmission of the wireless module is, and the more easily the wireless module receives the periodic feedback beacon which is not sent by the wireless gateway device. Because the frequency band interference information has direct influence on data transmission, the corresponding disconnection detection set time is determined according to the frequency band interference information, and the corresponding disconnection detection set time can be accurately determined.
Optionally, the operation of determining the corresponding disconnection detection setting time according to the frequency band interference information may be implemented in the following manner:
and if the interference value in the frequency band interference information is greater than or equal to the set interference value, increasing the initial disconnection detection time according to a preset proportion, and determining the initial disconnection detection time as the set disconnection detection time.
The disconnection detection initial time is preset detection time for judging whether the wireless module and the wireless gateway device are disconnected, namely default detection time. If the interference value of the frequency band interference information is greater than or equal to the set interference value, it means that the frequency band interference information is large, and there is also large interference on the periodic feedback beacon sent by the wireless gateway device received by the wireless module, and if the connection between the wireless module and the wireless gateway device is controlled to be disconnected according to the initial disconnection detection time, the problem that the terminal device is disconnected in the coverage area of the wireless local area network can easily occur.
Therefore, when the interference value of the frequency band interference information is greater than or equal to the set interference value, the initial disconnection detection time is increased according to the preset proportion and determined as the disconnection detection set time. The preset proportion can be preset by a system, and can also be in direct proportion to the interference value of the frequency band interference information. Illustratively, if the interference value of the frequency band interference information is 4db, and the preset interference value is 3db, the initial time of the disconnection detection is increased by half, and the time is determined as the set time of the disconnection detection. The disconnection detection set time is used as the detection time for judging whether the wireless module and the wireless gateway device are disconnected, the detection time can be prolonged when the frequency band interference information is large, the terminal device can be prevented from being disconnected in the coverage range of the wireless local area network, and the connection success rate of the wireless module is improved.
And S124, controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
Reference may be made to the above description for specific embodiments, which are not repeated herein.
Fig. 5 is a schematic flow chart of another method for controlling a wireless network connection according to an embodiment of the present application, where based on the technical solution provided in any of the embodiments, an operation of controlling a communication connection between a wireless module and a wireless gateway device according to the set time for disconnection detection is optimized, and optionally, as shown in fig. 5, the method includes:
s130, when the wireless module of the terminal equipment is connected with the wireless gateway equipment, the working frequency information of the communication module of the terminal equipment is obtained.
S131, determining corresponding disconnection detection set time according to the working frequency information.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
And S132, continuously detecting whether a periodic feedback beacon sent to the wireless module by the wireless gateway equipment is received.
S133, if the periodic feedback beacon is not received within the disconnection detection set time, disconnecting the wireless module from the wireless gateway device.
The wireless gateway device is responsible for sending the periodic feedback beacon, the range of the periodic feedback beacon is the service area of the wireless gateway device, and the wireless module can receive the periodic feedback beacon in the service area. And if the wireless module does not receive the periodic feedback beacon within the preset time, disconnecting the wireless module from the wireless gateway equipment.
The periodic feedback beacon can be a beacon frame, the wireless gateway device can continuously transmit the beacon frame outwards, and the wireless module confirms that the wireless module is in communication connection with the wireless gateway device through receiving the beacon frame.
Accordingly, the detection time for determining whether the wireless module and the wireless gateway device are disconnected is determined in the time slot of the periodic feedback beacon. Illustratively, the preset detection time may be 10 beacon frames. Correspondingly, the set time of the disconnection detection increased according to the preset proportion can be 15 beacon frames; namely, the wireless module does not receive the periodic feedback beacon sent by the wireless router in 15 beacon frames, the connection between the wireless module and the wireless gateway equipment is disconnected.
Whether the periodic feedback beacons are received or not is judged within the disconnection detection set time, if not, the wireless connection is disconnected, and an accurate disconnection detection set time can be determined according to the working frequency information, so that the terminal equipment is prevented from being disconnected within the coverage range of the wireless local area network, and the connection success rate of the wireless module is improved.
Fig. 6 is a schematic flowchart of another method for controlling wireless network connection according to an embodiment of the present application, where on the basis of the technical solution provided in any of the foregoing embodiments, as shown in fig. 6, the method includes:
s140, when the wireless module of the terminal equipment is connected with the wireless gateway equipment, the working frequency information of the communication module of the terminal equipment is obtained.
Reference may be made to the above description for specific embodiments, which are not repeated herein.
S141, detecting the working state of at least one interference communication module of the terminal equipment.
The interference communication module is a communication module which is included on the terminal equipment and can cause interference to communication connection of the wireless module, and the terminal equipment also comprises more other communication modules besides the wireless module and the mobile communication module; illustratively, a Bluetooth module, a wireless RF module, etc. may be included. When the interference communication module operates, the operating frequency of the interference communication module may cause interference to a frequency band or a channel of the wireless module, such as co-channel interference, adjacent channel interference, and frequency multiplication interference. The operation state of the interfering communication module may include on or off.
And S142, determining the communication frequency range of the communication module according to the working frequency information.
S143, determining corresponding frequency band interference information according to the communication frequency band, the working state of the interference communication module and a preset interference information table.
The preset interference information table comprises a communication frequency band, a frequency band or a channel of the wireless module, a working state of the interference communication module and a mapping relation of corresponding frequency band interference information. Exemplarily, while a communication frequency band of the communication module causes interference to a frequency band or a channel of the wireless module, a working state of the interference communication module also causes a certain interference to the frequency band or the channel of the wireless module, so that corresponding frequency band interference information changes; the preset interference information table records corresponding frequency band interference information under the condition that different interferences exist, the corresponding frequency band interference information is determined according to the communication frequency band and the working state of the interference communication module, accurate disconnection detection set time can be further determined, disconnection between a wireless module of the terminal device and the wireless gateway device is avoided, and the connection success rate of the wireless module is improved.
And S144, determining corresponding disconnection detection set time according to the frequency band interference information.
S145, controlling the communication connection between the wireless module and the wireless gateway device according to the disconnection detection set time.
The above detailed description may refer to the above related description, and will not be repeated herein.
It should be noted that the execution sequence of operation S141 and operation S142 is not limited to that shown in fig. 6, and operation S142 may be executed first.
Fig. 7 is a schematic flowchart of another method for controlling wireless network connection according to an embodiment of the present application, where on the basis of the technical solution provided in any of the foregoing embodiments, as shown in fig. 7, the method includes:
s150, when the wireless module of the terminal equipment is connected with the wireless gateway equipment, the working frequency information of the communication module of the terminal equipment is obtained.
And S151, detecting external wireless interference information in a preset frequency band.
The preset frequency band may be a frequency band that may cause interference to a frequency band or a channel of the wireless module, where the interference may include co-channel interference, adjacent channel interference, and frequency multiplication interference. The preset frequency band can be determined according to the frequency band or the channel of the wireless module, and whether external wireless interference information exists in the preset frequency band can be detected; the external wireless interference information is interference information sent by other devices outside the terminal device for communication, for example, microwave interference information of a microwave oven, interference information of an external power source such as a train track and a power plant, or interference information of other wireless devices with an operating frequency of 2.4 gigahertz or 5 gigahertz.
S152, determining the communication frequency range of the communication module according to the working frequency information.
S153, determining corresponding frequency band interference information according to the communication frequency band, the external wireless interference information and a preset interference information table.
The preset interference information table comprises a mapping relation of a communication frequency band, external wireless interference information and corresponding frequency band interference information. Illustratively, while the communication frequency band of the communication module causes interference to the frequency band or channel of the wireless module, the external wireless interference information also causes a certain interference to the frequency band or channel of the wireless module, so that the corresponding frequency band interference information changes; the preset interference information table records corresponding frequency band interference information under the condition that different interferences exist, the corresponding frequency band interference information is determined according to the communication frequency band and the external wireless interference information, accurate disconnection detection set time can be further determined, disconnection between a wireless module of the terminal device and the wireless gateway device is avoided, and the connection success rate of the wireless module is improved.
And S154, determining corresponding disconnection detection set time according to the frequency band interference information.
And S155, controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
Optionally, the corresponding frequency band interference information may be determined according to the communication frequency band, the operating state of the interference communication module, the external wireless interference information, and a preset interference information table.
It should be noted that the execution sequence of operation S151 and operation S152 is not limited to that shown in fig. 7, and operation S152 may be executed first.
Fig. 8 is a block diagram of a wireless network connection control apparatus according to an embodiment of the present application, where the apparatus may execute a wireless network connection control method, and as shown in fig. 8, the apparatus includes:
a frequency obtaining module 210, configured to obtain working frequency information of a communication module of a terminal device when a wireless module of the terminal device is connected to a wireless gateway device;
a time determining module 211, configured to determine, according to the operating frequency information, a corresponding disconnection detection setting time;
and a connection control module 212, configured to control a communication connection between the wireless module and the wireless gateway device according to the disconnection detection setting time.
According to the wireless network connection control device provided by the embodiment of the application, when a wireless module of a terminal device is connected with a wireless gateway device, the working frequency information of a communication module of the terminal device is acquired; determining corresponding disconnection detection set time according to the working frequency information; and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time. By adopting the technical scheme, the disconnection detection set time of the disconnection operation of the wireless module of the terminal equipment can be controlled through the working frequency information of the communication module of the terminal equipment, the disconnection of the terminal equipment in the coverage area of the wireless local area network is avoided, and the connection success rate of the wireless module is improved.
Optionally, the frequency obtaining module specifically includes:
the state determining unit is used for detecting the working state of a mobile communication module of the terminal equipment;
and the frequency determining unit is used for acquiring the working frequency information of the mobile communication module when the mobile communication module is detected to be in a transmitting state.
Optionally, the time determining unit specifically includes:
the interference determining subunit is used for determining corresponding frequency band interference information according to the communication frequency band and a preset interference information table;
a first time subunit, configured to determine a first transmission time according to the signal strength information of the wireless gateway device;
and the time determining subunit is used for reducing the first transmission time according to a preset proportion and determining the first transmission time as the set time for the disconnection detection if the interference value of the frequency band interference information is greater than or equal to the set interference value.
Optionally, the time determining subunit is specifically configured to, if the interference value in the frequency band interference information is greater than or equal to a set interference value, increase the initial time of disconnection detection according to a preset ratio, and determine that the time is the set time of disconnection detection.
Optionally, the connection control module specifically includes:
the feedback beacon detection unit is used for continuously detecting whether a periodic feedback beacon sent to the wireless module by the wireless gateway equipment is received;
and the connection control unit is used for disconnecting the connection between the wireless module and the wireless gateway equipment if the periodic feedback beacon is not received within the disconnection detection set time.
Optionally, the method further comprises:
the interference communication determining unit is used for detecting the working state of an interference communication module of the terminal equipment before determining corresponding frequency band interference information according to the communication frequency band and a preset interference information table, wherein the number of the interference communication modules is at least one;
accordingly, the interference determination subunit is specifically configured to:
and determining corresponding frequency band interference information according to the communication frequency band, the working state of the interference communication module and a preset interference information table.
Optionally, the method further comprises:
the interference communication determining second subunit is used for detecting external wireless interference information in a preset frequency band before determining corresponding frequency band interference information according to the communication frequency band and a preset interference information table;
accordingly, the interference determination subunit is specifically configured to:
and determining corresponding frequency band interference information according to the communication frequency band, the external wireless interference information and a preset interference information table.
The storage medium containing the computer-executable instructions provided by the embodiments of the present application is not limited to the above-described operation of controlling the radio network connection, and may also perform related operations in the method for controlling the radio network connection provided by any embodiment of the present application.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for radio network connection control, the method comprising:
when a wireless module of a terminal device is connected with a wireless gateway device, acquiring working frequency information of a communication module of the terminal device;
determining corresponding disconnection detection set time according to the working frequency information;
and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
The embodiment of the application provides a terminal device, and the wireless network connection control device provided by the embodiment of the application can be integrated in the terminal device.
Fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and the embodiment of the present application provides a terminal device 30, which includes a memory 31, a processor 32, and a computer program stored in the memory 31 and executable by the processor, where the processor executes the computer program to implement the method for controlling a wireless network connection according to the above embodiment. According to the terminal equipment provided by the embodiment of the application, the disconnection detection set time of the disconnection operation of the wireless module of the terminal equipment can be controlled through the working frequency information of the communication module of the terminal equipment, the disconnection of the terminal equipment in the coverage range of a wireless local area network is avoided, and the connection success rate of the wireless module is improved.
Fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 10, the terminal device may include: a casing (not shown), a touch screen (not shown), touch keys (not shown), a memory 301, a Central Processing Unit (CPU) 302 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU302 and the memory 301 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal equipment; the memory 301 is used for storing executable program codes; the CPU302 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 301 to implement the steps of:
when a wireless module of a terminal device is connected with a wireless gateway device, acquiring working frequency information of a communication module of the terminal device;
determining corresponding disconnection detection set time according to the working frequency information;
and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
The terminal device further includes: peripheral interface 303, RF (Radio Frequency) circuitry 305, audio circuitry 306, speakers 311, power management chip 308, input/output (I/O) subsystems 309, touch screen 312, other input/control devices 310, and external ports 304, which communicate via one or more communication buses or signal lines 307.
It should be understood that the illustrated terminal device 300 is only one example of a terminal device, and that the terminal device 300 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device for implementing wireless network connection control provided in this embodiment, where the terminal device is a mobile phone as an example.
A memory 301, the memory 301 being accessible by a CPU302, a peripheral interface 303, or the like, the memory 301 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 303, said peripheral interface 303 being capable of connecting input and output peripherals of the device to the CPU302 and the memory 301.
I/O subsystem 309, the I/O subsystem 309 may connect input and output peripherals on the device, such as touch screen 312 and other input/control devices 310, to the peripheral interface 303. The I/O subsystem 309 may include a display controller 3091 and one or more input controllers 3092 for controlling other input/control devices 310. Where one or more input controllers 3092 receive electrical signals from or send electrical signals to other input/control devices 310, the other input/control devices 310 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 3092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 312, which touch screen 312 is an input interface and an output interface between the user terminal device and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 3091 in the I/O subsystem 309 receives electrical signals from the touch screen 312 or transmits electrical signals to the touch screen 312. The touch screen 312 detects a contact on the touch screen, and the display controller 3091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 312, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 312 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 305 is mainly used to establish communication between the mobile phone and the wireless network (i.e., the network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 305 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 305 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 305 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 306 is mainly used to receive audio data from the peripheral interface 303, convert the audio data into an electric signal, and transmit the electric signal to the speaker 311.
And a speaker 311 for converting the voice signal received by the handset from the wireless network through the RF circuit 305 into sound and playing the sound to the user.
And the power management chip 308 is used for supplying power and managing power to the hardware connected with the CPU302, the I/O subsystem, and the peripheral interface.
According to the terminal equipment provided by the embodiment of the application, the disconnection detection set time of the disconnection operation of the wireless module of the terminal equipment can be controlled through the working frequency information of the communication module of the terminal equipment, the disconnection of the terminal equipment in the coverage range of a wireless local area network is avoided, and the connection success rate of the wireless module is improved.
The wireless network connection control device, the storage medium and the terminal device provided in the above embodiments may execute the wireless network connection control method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For details of the wireless network connection control method provided in any of the embodiments of the present application, reference may be made to the above-described embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (9)

1. A wireless network connection control method, comprising:
when a wireless module of a terminal device is connected with a wireless gateway device, acquiring working frequency information of a communication module of the terminal device;
determining corresponding disconnection detection set time according to the working frequency information, comprising: determining a communication frequency range of the communication module according to the working frequency information; determining corresponding frequency band interference information according to the communication frequency band and a preset interference information table; determining corresponding disconnection detection set time according to the frequency band interference information;
and controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
2. The method of claim 1, wherein the obtaining operating frequency information of a communication module of the terminal device comprises:
detecting the working state of a mobile communication module of the terminal equipment;
and when the mobile communication module is detected to be in a transmitting state, acquiring the working frequency information of the mobile communication module.
3. The method of claim 1, wherein the determining the corresponding off-detection-set-time according to the band interference information comprises:
and if the interference value in the frequency band interference information is greater than or equal to the set interference value, increasing the initial disconnection detection time according to a preset proportion, and determining the initial disconnection detection time as the set disconnection detection time.
4. The method of any one of claims 1 to 3, wherein the controlling the communication connection between the wireless module and the wireless gateway device according to the disconnection detection set time comprises:
continuously detecting whether a periodic feedback beacon sent to the wireless module by the wireless gateway equipment is received;
and if the periodic feedback beacon is not received within the disconnection detection set time, disconnecting the wireless module from the wireless gateway equipment.
5. The method as claimed in claim 1 or 3, wherein before determining the corresponding band interference information according to the communication band and a preset interference information table, the method further comprises:
detecting the working state of at least one interference communication module of the terminal equipment;
correspondingly, the determining the corresponding frequency band interference information according to the communication frequency band and the preset interference information table includes:
and determining corresponding frequency band interference information according to the communication frequency band, the working state of the interference communication module and a preset interference information table.
6. The method as claimed in claim 1 or 3, wherein before determining the corresponding band interference information according to the communication band and a preset interference information table, the method further comprises:
detecting external wireless interference information in a preset frequency band;
correspondingly, the determining the corresponding frequency band interference information according to the communication frequency band and the preset interference information table includes:
and determining corresponding frequency band interference information according to the communication frequency band, the external wireless interference information and a preset interference information table.
7. A wireless network connection control apparatus, comprising:
the system comprises a frequency acquisition module, a frequency acquisition module and a frequency conversion module, wherein the frequency acquisition module is used for acquiring the working frequency information of a communication module of the terminal equipment when a wireless module of the terminal equipment is connected with the wireless gateway equipment;
the time determining module is used for determining the corresponding disconnection detection setting time according to the working frequency information, and comprises: determining a communication frequency range of the communication module according to the working frequency information; determining corresponding frequency band interference information according to the communication frequency band and a preset interference information table; determining corresponding disconnection detection set time according to the frequency band interference information;
and the connection control module is used for controlling the communication connection between the wireless module and the wireless gateway equipment according to the disconnection detection set time.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the radio network connection control method according to any one of claims 1 to 6.
9. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the radio network connection control method according to any one of claims 1 to 6 when executing the computer program.
CN201810097409.8A 2018-01-31 2018-01-31 Wireless network connection control method, device, storage medium and terminal equipment Active CN108055706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810097409.8A CN108055706B (en) 2018-01-31 2018-01-31 Wireless network connection control method, device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810097409.8A CN108055706B (en) 2018-01-31 2018-01-31 Wireless network connection control method, device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108055706A CN108055706A (en) 2018-05-18
CN108055706B true CN108055706B (en) 2020-04-17

Family

ID=62125223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810097409.8A Active CN108055706B (en) 2018-01-31 2018-01-31 Wireless network connection control method, device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108055706B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966366B (en) * 2018-06-12 2021-04-13 Oppo广东移动通信有限公司 WiFi disconnection adjusting method and device, mobile terminal and storage medium
CN108924902B (en) * 2018-06-12 2021-09-14 Oppo广东移动通信有限公司 Wireless network disconnection method and device and electronic device
CN108924868B (en) * 2018-06-12 2021-07-13 Oppo广东移动通信有限公司 WiFi disconnection adjusting method and device, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131898A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 Method, device and the mobile terminal of a kind of handover access access point
CN107196674A (en) * 2017-05-31 2017-09-22 广东欧珀移动通信有限公司 Filtering method, device, filtering unit, Wireless Fidelity circuit and mobile terminal
CN107241146A (en) * 2017-05-31 2017-10-10 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, storage medium and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9532243B2 (en) * 2014-01-20 2016-12-27 Apple Inc. WLAN and LTE coexistence in unlicensed radio frequency bands

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131898A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 Method, device and the mobile terminal of a kind of handover access access point
CN107196674A (en) * 2017-05-31 2017-09-22 广东欧珀移动通信有限公司 Filtering method, device, filtering unit, Wireless Fidelity circuit and mobile terminal
CN107241146A (en) * 2017-05-31 2017-10-10 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN108055706A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
US8874034B2 (en) Method and system for quick Bluetooth low energy (BLE) protocol signal presence detection for coexistence
CN107889092B (en) Bluetooth device communication control method, device, terminal device and storage medium
TWI688300B (en) Apparatuses and methods for a physical random access channel (prach) retransmission
CN108055687B (en) Wireless network connection method and device and terminal equipment
US9369858B2 (en) Wi-Fi P2P communication terminal device and communication method thereof
US8995939B2 (en) Method and apparatus for power cutback in a simultaneous dual frequency band call
CN108055706B (en) Wireless network connection control method, device, storage medium and terminal equipment
TW201947892A (en) UE and methods for beam selection during a physical random access channel (PRACH) transmission or retransmission
CN108184245A (en) Hotspot connection control method, device, storage medium and terminal device
CN108093451B (en) Random access control method, device, storage medium and mobile terminal
CN113544985A (en) Method for controlling communication band and electronic device thereof
US20180083658A1 (en) Multiplexing an rf signal with a control signal and/or a feedback signal
CN109347508B (en) Mobile terminal and power detection method
CN108307447B (en) Wireless network transmission control method, device, storage medium and terminal equipment
WO2021189388A1 (en) Wireless communication device and antenna switching method therefor
CN108832944B (en) Power compensation method, device, terminal equipment and storage medium
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN109600791B (en) Signal strength reporting method and device, storage medium and mobile terminal
US20090247158A1 (en) Radio communication device, radio communication method and radio recording medium
CN108337719B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN108833033B (en) Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal
CN108174452B (en) Wireless network connection control method, device, storage medium and terminal equipment
CN106571878B (en) Method and device for detecting radio frequency fault
CN108337735A (en) wireless network connection control method, device, storage medium and terminal device
CN108337715B (en) Wireless network connection method, device, terminal equipment and 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
CB02 Change of applicant information
CB02 Change of applicant information

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

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

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

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

GR01 Patent grant
GR01 Patent grant