[go: up one dir, main page]

CN108322943B - Local area network allocation method, terminal and storage medium - Google Patents

Local area network allocation method, terminal and storage medium Download PDF

Info

Publication number
CN108322943B
CN108322943B CN201810091089.5A CN201810091089A CN108322943B CN 108322943 B CN108322943 B CN 108322943B CN 201810091089 A CN201810091089 A CN 201810091089A CN 108322943 B CN108322943 B CN 108322943B
Authority
CN
China
Prior art keywords
local area
area network
terminal
application
current
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
CN201810091089.5A
Other languages
Chinese (zh)
Other versions
CN108322943A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810091089.5A priority Critical patent/CN108322943B/en
Publication of CN108322943A publication Critical patent/CN108322943A/en
Application granted granted Critical
Publication of CN108322943B publication Critical patent/CN108322943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a local area network allocation method, a terminal and a storage medium, wherein the method comprises the following steps: if the time length of the terminal connected with the current first local area network exceeds a first preset time length threshold value, acquiring the current signal intensity of the first local area network; if the current signal strength is less than a signal strength threshold, disconnecting the terminal from the first local area network; therefore, the local area network with weak signal intensity, which is connected with the terminal for a long time, is timely disconnected by acquiring the signal intensity of the current local area network where the terminal is located, so that the terminal can be connected with the local area network with strong signal intensity.

Description

Local area network allocation method, terminal and storage medium
Technical Field
The present invention relates to the field of wireless local area network communication technologies, and in particular, to a local area network allocation method, a terminal, and a storage medium.
Background
With the rapid development of communication technology, many places in life today, such as work units, restaurants, shopping malls, etc., are covered with Wireless local area networks (WiFi), but when a terminal (e.g., a mobile phone) is connected to different WiFi at each place, the WiFi automatic connection function of the terminal is insufficient, which causes trouble, for example, when the terminal passes through a certain shop door, the terminal automatically connects to the WiFi at the shop, but when the shop door calls or unlocks a sharing bicycle, the terminal cannot normally connect to the internet because the signal strength of the WiFi is insufficient, and the terminal is not disconnected from the WiFi at a later time.
Disclosure of Invention
In view of this, embodiments of the present invention provide a local area network allocation method, a terminal, and a storage medium, which are used to timely disconnect a local area network with weak signal strength to which the terminal is connected for a long time by acquiring the signal strength of a current local area network in which the terminal is located, so that the terminal can be connected to the local area network with strong signal strength.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a local area network allocation method, which comprises the following steps:
if the time length of the terminal connected with the current first local area network exceeds a preset time length threshold value, acquiring the current signal intensity of the first local area network;
if the current signal strength is less than a signal strength threshold, the terminal disconnects from the first local area network.
An embodiment of the present invention provides a terminal, where the terminal at least includes: a memory, a communication bus, and a processor, wherein:
the memory is used for storing the distributed programs of the local area network;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the program for allocating the local area network stored in the memory to implement the following steps:
if the time length of the terminal connected with the current first local area network exceeds a preset time length threshold value, acquiring the current signal intensity of the first local area network;
if the current signal strength is less than a signal strength threshold, the terminal disconnects from the first local area network.
The embodiment of the invention provides a computer-readable storage medium, wherein a program for allocating the local area network is stored on the computer-readable storage medium, and the program for allocating the local area network realizes the steps of the method for allocating the local area network when being executed by a processor.
The embodiment of the invention provides a local area network allocation method, a terminal and a storage medium, wherein if the time length of the terminal for connecting a current first local area network exceeds a preset time length threshold value, the current signal intensity of the first local area network is obtained; if the current signal strength is less than a signal strength threshold, disconnecting the terminal from the first local area network; therefore, the local area network with weak signal intensity, which is connected with the terminal for a long time, is timely disconnected by acquiring the signal intensity of the current local area network where the terminal is located, so that the terminal can be connected with the local area network with strong signal intensity.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of the allocation method of the local area network according to the embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a distribution method of a local area network according to another embodiment of the present invention;
fig. 5 is a schematic diagram illustrating that a terminal is connected to a local area network and cannot load data according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating that a terminal is not connected to a local area network according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a terminal connected to a local area network and capable of loading data according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: radio Frequency (RF) 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes User Equipment (UE) 201, Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, Evolved Packet Core Network (EPC) 203, and IP service 204 of an operator, which are in communication connection in sequence.
Generally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a Policy and Charging Rules Function (PCRF) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IP Multimedia Subsystem (IMS) or other IP services, and the like.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems. Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
An embodiment of the present invention provides a distribution method of a local area network, and fig. 3 is a schematic diagram illustrating an implementation flow of the distribution method of the local area network according to the embodiment of the present invention, and as shown in fig. 3, the method includes the following steps:
step S301, if the time length of the terminal connecting to the current first local area network exceeds a preset time length threshold value, the current signal intensity of the first local area network is obtained.
Here, the terminal may be a mobile phone, a computer, a smart watch, a tablet computer, or the like capable of connecting to a wireless local area network. The duration threshold may be a duration length set by a user, for example, the duration is preset to 5 minutes, and when the duration for the terminal to connect to the current first local area network exceeds 5 minutes, the current signal strength of the first local area network is obtained.
The current signal strength of the first local area network may be the current signal strength of WiFi, wherein the current signal strength of WiFi is related to the following three parameters, 1, the transmission power of the wireless router; 2. wireless transmission loss; 3. the terminal receives the sensitivity. The current signal strength of WiFi can be measured in signal strength units of decibels (dB) and decibel-milliwatts (dBm). Where dB is a value representing a relative value, is a ratio of two powers, and represents only a relative magnitude relationship of the two quantities, without units. When considering how many dB the power of a is larger or smaller than the power of b, the following calculation formula is used: 10log (A power/B power); wherein log (a power/b power) represents a logarithm to the base 10 of the quotient of the a power and the b power. For example, if the first power is twice as large as the second power, 101g (first power/second power) is 10lg2 is 3 dB. That is, the power of A is 3dB greater than the power of B. Conversely, if the power of A is half that of B, the power of A is 3dB less than that of B.
dBm is a unit representing an absolute value of power and is a power level value having a 10log multiple of a milliwatt (mW) relationship, and is calculated as: 10lg power value/(1 mW). Wherein, lg power value represents the logarithm taking the base of 10 to the power value; 1mW represents, 1 mW.
For example, if the transmitted power is 1mW, the value converted in dBm should be: 10lg (1mW/1mW) is 0 dBm; for 40W power, 10lg (40W/1mW) is 46 dBm.
Therefore, the obtaining of the current signal strength of the first local area network may be obtaining the current power of the first local area network first; then the current power is substituted into the formula: and obtaining the current signal intensity of the first local area network by 10lg power value/(1 mW).
Step S302, if the current signal strength is less than the signal strength threshold, disconnecting from the first local area network.
Here, the determination of the signal strength threshold may be: if the terminal runs the R-th application of the Q applications, the consumed flow in a second preset time period is equal to a preset R-th flow threshold value, the signal intensity of a third local area network currently connected with the terminal is obtained, and the signal intensity of the third local area network is used as a preset signal intensity threshold value corresponding to the R-th application; q, R are all natural numbers greater than 0, and R is less than or equal to Q;
and so on, obtaining Q preset signal strength thresholds corresponding to the Q applications.
Then, if the terminal runs Q applications at the same time, taking the maximum value of the Q preset signal intensity threshold values as a signal intensity threshold value; wherein Q is a natural number greater than 0.
For example, four applications are installed in a mobile phone, including a chat tool, a video player, and the like, and it is conceivable that the flow rate of the video player playing the video consumed in the preset time duration is inevitably greater than the flow rate of the chat tool consumed in the preset time duration, so when the mobile phone simultaneously operates the chat tool and the video player, the signal intensity required by the video player is used as the signal intensity threshold. In brief, when the mobile phone simultaneously operates the chat tool and the video player, if the current signal strength of the first local area network is smaller than a signal strength threshold (a preset signal strength threshold corresponding to the video player), the terminal is disconnected from the first local area network.
For an application in the terminal, when the application is in different operation states, the required signal strengths are also different, so that the signal strength corresponding to the operation state in which the application consumes the most traffic within a second preset duration is used as a preset signal strength threshold corresponding to the application, for example, the traffic consumed by a voice chat within a certain duration is obviously smaller than the traffic consumed by a video chat within a certain duration for the same chat tool, so that the signal strength of the corresponding local area network when the chat tool smoothly performs the video chat is used as the preset signal strength threshold of the application.
For a better understanding of the embodiments of the present invention, the first lan and various related art first lans are described herein.
The first Local Area Network may be WiFi, Wireless Local Area Networks (WLAN), Virtual Local Area Networks (VLAN), etc., wherein WiFi complies with the 802.11 standard in radio communication technology. Since Spread Spectrum (SS) technology used in WiFi has very excellent interference rejection capability and has excellent effects while anti-tracking and anti-eavesdropping are required, there is no need to worry that WiFi cannot provide stable network services. The following 4 spreading techniques are commonly used: 1. direct Sequence Spread Spectrum (DS-SS), 2, Frequency Hopping Spread Spectrum (FH-SS), 3, time Hopping Spread Spectrum, 4, continuous wave Frequency modulation. Of the four techniques mentioned above, the first two spread spectrum techniques are common, namely direct sequence spread spectrum and frequency modulated spread spectrum. The latter two are varied from the previous techniques, i.e., time hopping spread spectrum and continuous wave frequency modulation are not usually used alone, and are integrated into other spread spectrum techniques to form a hybrid spread spectrum technique with more dense signals, lower power, and more accurate transmission. Wherein,
1. DS-SS technology is directed to spread the original power spectrum, which is high in power and narrow in bandwidth, over a wide bandwidth, so that the entire transmitted signal can be transmitted with little energy. During the transmission process, single binary data of 0 or 1 is transmitted by using a plurality of fragments, and then the receiving side counts the number of the plurality of fragments to increase the noise interference resistance. For example, to transmit a 1's binary data to the remote, the DS-SS will expand the 1 into three 1's, i.e., 111 for transmission. Even if the original three 1 signals become 011, 101, 110, 111 signals due to interference during transmission, the number of 1 occurrences can be counted to confirm that the data is 1. By transmitting a plurality of identical segments in this manner, it is easier to reduce interference of noise on data and improve the accuracy of data obtained on the receiving side. In addition, because the transmitted spread spectrum signal can greatly reduce the energy during transmission, the signal is hidden in background noise by using the technology in military application, and the enemy can be less apt to monitor the signal and the frequency channel of the communication of the enemy. This is the anti-listening function of the signal hidden by spread spectrum technology.
2. The FH-SS technique is a technique in which the entire bandwidth is divided into not less than 75 frequency channels, and each of the different frequency channels can separately transmit data. When data is transmitted, according to the protocol preset by the transmitting and receiving parties, after a certain time length is transmitted by one frequency channel, the data is synchronously 'jumped' to another frequency channel to continue communication. Fm spread spectrum systems typically hop between several different frequency bands to avoid interference with other transmitted signals in the same frequency band. At each frequency hop, the frequency modulated spread spectrum signal appears as a narrow band signal. If the channel is continuously jumped to the channel with good agreement in the transmission process, the channel can be used as the main technology of electronic anti-tracking in military use. Even if an enemy can monitor signals from a certain channel, the enemy can hardly track the next channel to be jumped to achieve the aim of anti-tracking because the enemy can continuously jump to other channels for communication.
At present, there are two main transmission media adopted by WiFi, namely microwave and infrared. According to different modulation modes, the wireless local area network using microwave as a transmission medium can be divided into a spread spectrum mode and a narrow-band modulation mode. Both microwave and infrared are electromagnetic waves.
One or more of the above WiFi communication technologies are used in this or other embodiments of the invention.
No matter which kind of WiFi spreads the mode, the terminal can both acquire this WiFi's current signal strength, if current signal strength is less than the signal strength threshold value, just in time break the terminal with this WiFi's connection.
In the method for allocating a local area network provided in the embodiment of the present invention, first, if a time period for a terminal to connect to a current first local area network exceeds a first preset time period threshold, a current signal intensity of the first local area network is obtained; then, if the current signal strength is less than a signal strength threshold, the terminal disconnects from the first local area network. Therefore, the local area network with weak signal intensity, which is connected with the terminal for a long time, is timely disconnected by acquiring the signal intensity of the current local area network where the terminal is located, so that the terminal can be connected with the local area network with strong signal intensity.
In other embodiments, before step S302, that is, "if the current signal strength is less than the signal strength threshold, the terminal disconnects from the first local area network", the method further comprises the following steps:
step S321, obtaining an identifier of each application in the T applications currently running by the terminal.
Here, T is a natural number greater than 0, and the identifier of each application may be a name of the application, a socket of the application, and the like.
Step S322, obtaining T corresponding preset signal strength thresholds according to the T application identifiers.
Here, the T preset signal strength thresholds corresponding to the T applications in the terminal may be understood as that the terminal includes a plurality of applications, and signal strengths required when the terminal smoothly runs each application may be the same or different, so that the T applications in the terminal correspond to the T preset signal strength thresholds, and the T preset signal strength thresholds are less than or equal to the T preset signal strength thresholds. For example, a mobile phone includes four applications, and the four applications correspond to four preset signal strength thresholds which are less than or equal to four preset signal strength thresholds and enable the applications to smoothly run; for example, two different chat tools in a handset need the same signal strength, and then the two applications correspond to the same preset signal strength threshold.
In step S323, the maximum value of the T preset signal strength threshold values is used as the signal strength threshold value.
Here, for example, when the terminal simultaneously operates the chat tool and the video tool, it is obvious that the signal strength required for smoothly operating the video tool is greater than the signal strength required for smoothly operating the chat tool, and therefore, the signal strength required for smoothly operating the video tool is used as the signal strength threshold.
In other embodiments, the determining the signal strength threshold of the application installed on the terminal includes two methods:
the method comprises the following steps: and acquiring the identifier of the application installed on the terminal and the attribute of the installed application, and setting a signal intensity threshold value for the installed application according to the attribute of the installed application.
Here, the attribute of the installed application may be a type of the application, a parameter set in the application; the type of the application can be understood as, for example, the type of the installed application can be a chat tool, a video tool, a game, or the like; the parameters set in the application may be understood as: what way the application operates, e.g., is the chat tool chatting either by voice or by text; whether a picture in news is displayed or not in the application of browsing the news; in the video tool, the definition of the played video and the like; obviously, the states of the application during operation are different, and the required signal strength threshold is different. For example, the signal strength required by the chatting tool for chatting in a voice mode is greater than the signal strength required for chatting in a text sending mode. The setting of the signal strength threshold for the installed application according to the attribute of the installed application may be understood as: setting a signal intensity threshold corresponding to the application according to the running state of the installed application; for example, in a news chat application, the signal strength required when the application is set not to display a picture is significantly different from the signal strength required when the application is set to display original pictures.
The second method comprises the following steps: acquiring an identifier of a current application running by the terminal, acquiring a flow value within a preset time length according to the identifier of the current application, and determining a signal intensity threshold value for the current application according to the flow value.
Here, the preset time period may be any time period set by a user, such as 5 minutes; the determining a signal strength threshold for the current application according to the flow value may be: according to the flow value consumed by the application within a preset time (for example, the flow value consumed by the chatting tool within 5 minutes is 10 million), if the consumed flow value is greater than or equal to a preset flow threshold value, determining the signal strength of the currently connected local area network as a signal strength threshold value. For example, if the preset flow threshold is 10 million, and the flow value consumed by the chat tool in 5 minutes when the chat tool is connected to the current local area network is 15 million, which indicates that the signal strength of the current local area network is strong, the signal strength corresponding to the current local area network may be used as the signal strength threshold of the chat tool.
Based on the foregoing embodiment, an embodiment of the present invention further provides a local area network allocation method, and fig. 4 is a schematic flow chart illustrating an implementation of another local area network allocation method according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S401, if the time length of the terminal connecting with the current first local area network exceeds a first preset time length threshold value, the current signal intensity of the first local area network is obtained.
Step S402, acquiring a signal intensity threshold value required by Q applications in the terminal in the running state when the Q applications can normally run.
Here, the "acquiring required signal intensity thresholds when Q applications in the terminal in the running state can run normally" may be understood as first acquiring Q preset signal intensity thresholds corresponding to the Q applications in the terminal; then, if the terminal runs Q applications at the same time, taking the maximum value of the Q preset signal intensity threshold values as a signal intensity threshold value; wherein Q is a natural number greater than 0. That is, the signal strength threshold is a signal strength that can ensure that each of Q applications simultaneously running by the terminal can run smoothly.
Step S403, if the current signal strength is smaller than the signal strength threshold, the terminal disconnects from the first local area network.
Here, if the current signal strength is greater than or equal to the signal strength threshold, the process proceeds to step S410.
Step S404, acquiring the parameter information of the first local area network, and adding the parameter information into a second preset parameter library.
Here, the parameter information of the local area network may be a router parameter of a router corresponding to the first local area network, where the router parameter of the router includes at least one of the following parameters: a Service Set Identifier (SSID) of the router, a carrier frequency of the router in normal operation, a channel of the router in normal operation, a protocol standard required for the router in normal operation, and the like. The second preset parameter library comprises N router parameters corresponding to a local area network which can not enable the application of the terminal to normally run, wherein N is a natural number larger than 0. That is to say, the parameter information corresponding to the local area network that cannot enable the terminal to smoothly run the application is stored in the second preset parameter library, when the user connects the local area network again, it is only necessary to compare whether the parameter information of the current local area network is the same as the parameter information in the second preset parameter library, and if the parameter information of the current local area network is the same, the terminal is not connected with the current local area network.
Step S405, when the terminal is in a second local area network, acquiring the current parameter information of the second local area network.
Here, the second local area network is the same as or different from the first local area network; the current parameter information of the second local area network is the router parameter of the router corresponding to the second local area network, that is, the SSID of the router of the second local area network, the carrier frequency in normal operation, the channel in normal operation, the protocol standard required by normal operation, and the like.
Step S406, if the current parameter information is the same as the parameter information in the second preset parameter library, the terminal is not connected to the second local area network.
Here, the current parameter information is the same as the parameter information in the second preset parameter library, which indicates that the signal strength of the second local area network cannot support the terminal to smoothly run the application of the terminal, so that the terminal is not connected to the second local area network.
Step S407, if the current parameter information is different from the parameters in the second preset parameter library, obtaining the current signal strength of the second local area network.
Here, the current parameter information is different from the parameters in the second preset parameter library, indicating two cases:
one situation is: the parameter information of the second local area network is not in the second preset parameter library, but the current signal intensity of the second local area network can support the terminal to smoothly run the application of the terminal.
The other situation is that: the parameter information of the second local area network is not in the second preset parameter library, but the current signal intensity of the second local area network still cannot support the terminal to smoothly run the application of the terminal.
Step S408, if the current signal strength is greater than or equal to a signal strength threshold corresponding to the application of the terminal in a preset signal strength database, the terminal is connected to the second local area network.
Step S409, if the current signal intensity is smaller than the signal intensity threshold, the terminal is not connected with the second local area network, and the parameter information of the second local area network is added into the second preset parameter library.
And step S410, if the current signal strength is larger than or equal to the signal strength threshold value, the terminal is continuously connected with the first local area network.
Step S411, obtaining parameter information of the first local area network, and adding the parameter information to a first preset parameter library.
Here, the first preset parameter library includes parameter information of P local area networks to which the terminal can preferentially connect; p is a natural number greater than 0. That is, the parameter information corresponding to the local area network capable of supporting the terminal to smoothly run the application of the terminal is stored in the first preset parameter library as the network with the priority connection. For example, if the terminal is in the coverage of both the a lan and the B lan, but the parameter information of the B lan is stored in the first database (i.e. the B lan is an application that the terminal has been connected to and can support the terminal to smoothly run the terminal), then the terminal will preferentially connect to the B lan.
In the local area network allocation method provided by the embodiment of the invention, the local area network with weak signal strength connected with the terminal for a long time is timely disconnected by acquiring the signal strength of the current local area network where the terminal is located, so that the terminal can be connected with the local area network with strong signal strength, smooth operation of a plurality of applications in the terminal is ensured, and meanwhile, the situation that the local area network is automatically connected when the terminal only passes through a certain local area network and then is delayed is avoided, and the user experience is improved.
Fig. 5 is a schematic diagram illustrating that the terminal according to the embodiment of the present invention is connected to the local area network and cannot load data, and as shown in fig. 5, the terminal simultaneously runs application 1 and application 2, and although the terminal is displayed in a display area 501 to be connected to WiFi, in a prompt box 502, "WiFi is connected and data loading fails" is displayed. As can be seen from fig. 5, although the terminal is connected to the nearby WiFi through its own WiFi automatic connection function, the WiFi signal strength cannot support the terminal to load data, or the WiFi user sets the WiFi to be WiFi that can be normally used only by requiring short message authentication or requiring a login web page to fill in a user name and a password. Therefore, even if the terminal is connected to the WiFi, data cannot be loaded, that is, the application 1 and the application 2 on the terminal cannot be normally operated. Although the signal intensity of the WiFi cannot support the terminal to load data, the WiFi cannot be automatically disconnected from the electronic device, even if there are other WiFi which can make the terminal smoothly run the application of the terminal nearby, because the terminal is already connected with the WiFi, the terminal cannot be connected with other WiFi, so that in this case, the normal use of the terminal by a user is influenced, and a bad experience feeling is brought to the user.
In order to solve the above problems, embodiments of the present invention improve the WiFi automatic connection function of the terminal itself, so that the terminal can disconnect from the WiFi with weak signal strength in time, and ensure that the terminal is connected to the WiFi with strong signal strength, thereby enabling the terminal to smoothly run various applications in the terminal. First, Applications (APP) in the terminal are acquired, and WiFi signal strength required by smooth operation can be obtained when the terminal is connected to WiFi (for example, Q applications). That is to say, the terminal needs to first determine whether a flow consumed by the terminal in a second preset time period is equal to a preset flow threshold (for example, a preset R-th flow threshold) corresponding to one of Q applications (for example, the R-th application) when the terminal runs smoothly, and if the flow consumed by the terminal in the second preset time period is equal to the preset flow threshold, obtain a signal intensity of a third local area network currently connected to the terminal, and use the signal intensity of the third local area network as a preset signal intensity threshold corresponding to the application (for example, the R-th application); and so on, obtaining Q preset signal strength thresholds corresponding to the Q applications.
If the terminal simultaneously runs Q applications, taking the maximum value of the Q preset signal intensity threshold values as a signal intensity threshold value; wherein Q is a natural number greater than 0.
If the terminal is connected with a certain WiFi and uses one or more applications of the terminal for a long time, the terminal automatically compares the signal strength of the current WiFi with the signal strength threshold corresponding to the one or more applications (for example, if the terminal is using two applications, the terminal automatically compares the signal strength of the current WiFi with the signal strength threshold corresponding to the two applications, where the signal strength threshold is the larger one of the preset signal strength thresholds corresponding to the two applications), and if the signal strength of the current WiFi is smaller than the signal strength threshold, the terminal is automatically disconnected from the WiFi, as shown in fig. 6, the terminal is using an application 1 and an application 2, as can be seen from fig. 6, the application 1 is a video playing application, the application 2 is a music playing application, so that within a certain time, the energy consumed by the smooth running application 1 is larger than the energy consumed by the smooth running application 2, namely, the preset signal intensity threshold value required for smoothly running the application 1 is greater than the preset signal intensity threshold value required for smoothly running the application 2; therefore, the terminal automatically compares the signal intensity of the current WiFi with the signal intensity threshold corresponding to the two applications (i.e. the preset signal intensity threshold required for the smooth running of the application 1), and since the signal intensity of the current WiFi is smaller than the preset signal intensity threshold required for the smooth running of the application 1, the terminal is automatically disconnected from the WiFi, and in the display area 601 of the terminal, the display terminal is not connected with the WiFi, and in the prompt box 602 of the terminal, the "WiFi is disconnected" is displayed.
And after the terminal is disconnected with the WiFi, the terminal acquires the router parameters of the router corresponding to the WiFi and stores the router parameters in a second preset parameter library. Wherein the router parameters at least include: the router comprises a service set identifier of the router, a carrier frequency required by the router during normal operation, a protocol standard required by the router during normal operation, a channel through which the router passes during normal operation and the like. The second preset parameter library comprises N router parameters corresponding to a local area network which cannot enable the application of the terminal to normally run, wherein N is a natural number larger than 0.
When the terminal enters the WiFi coverage area again, the terminal firstly acquires the router parameters of the WiFi, judges whether the router parameters are the same as the router parameters in a second preset parameter library or not, and if the router parameters of the WiFi are the same as the router parameters in the second preset parameter library, the terminal is disconnected with the WiFi.
Here, the terminal re-entering the coverage of the WiFi may be understood as that the terminal re-enters the vicinity of the geographical location of the WiFi, that is, the WiFi which the terminal can search includes but not only the WiFi.
In addition, after the terminal is disconnected from the WiFi, if the flow consumed by the application running on the terminal within a certain time does not exceed a second preset flow threshold, the terminal connects with the mobile data. For example, in fig. 6, the terminal consumes no more than 5 mega (M) of traffic to smoothly run the application 1 in five minutes, and then the terminal is connected with the mobile data. Therefore, the terminal timely disconnects WiFi with weak signal strength, the situation that when a user just passes through some places, the terminal carried with the user is automatically connected with the WiFi in the place can be avoided, even if the signal strength of the WiFi cannot support the terminal to smoothly run the application of the terminal, the terminal and the WiFi are delayed, and the situation that data cannot be loaded even though the WiFi is connected on the terminal is displayed.
And if the terminal judges that the router parameters of the WiFi are different from the router parameters in a second preset parameter library, the terminal judges whether the signal intensity of the current WiFi is greater than a signal intensity threshold value.
If the signal intensity of the current WiFi is greater than the signal intensity threshold, the terminal is connected with the WiFi, as shown in fig. 7, it indicates that the terminal is connected with the WiFi capable of supporting the terminal to smoothly run the application of the terminal, as can be seen from fig. 7, the terminal is using application 1 and application 2, application 1 is a video playing application, application 2 is a music playing application, when the terminal searches for a WiFi signal, first, the terminal obtains the router parameter of the WiFi, and judges whether the router parameter is the same as the router parameter in the second preset parameter library; if the router parameters are different from the router parameters in the second preset parameter library, the terminal judges whether the signal intensity of the current WiFi is greater than a preset signal intensity threshold value required by the smooth running application 1; if the signal intensity of the current WiFi is larger than a preset signal intensity threshold value required by the smooth running of the application 1, the terminal is connected with the WiFi and smoothly runs the application 1 and the application 2; and displaying in a display area 701 that the terminal is in a connection state with the WiFi; and displays "WiFi is connected, data loading is successful" in prompt box 702.
After the terminal is connected with the WiFi, the terminal acquires parameter information of the WiFi and adds the parameter information to a first preset parameter library; the first preset parameter library comprises parameter information of P local area networks which can be preferentially connected by the terminal; p is a natural number greater than 0. In this way, it is possible to realize that, for WiFi to which the terminal has once connected and which can be smoothly used, when the terminal searches for the WiFi again, the WiFi is preferentially connected.
In the embodiment of the invention, the terminal can be disconnected with the WiFi with weak signal strength in time by improving the WiFi automatic connection function of the terminal, so that the condition that the terminal carried with the user is automatically connected with the WiFi in a certain place and is not disconnected after delay when the user only passes the certain place is avoided, and the condition that data cannot be loaded even though the WiFi is connected on the terminal; therefore, the terminal can be connected with the WiFi with strong signal intensity in time so as to ensure the normal operation of the application in the terminal.
An embodiment of the present invention provides a terminal, fig. 8 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention, and as shown in fig. 8, the terminal 800 at least includes: a memory 801, a communication bus 802, and a processor 803, wherein:
the memory 801 is used for storing programs distributed by the local area network;
the communication bus 802 is used for realizing connection communication between the processor and the memory;
the processor 803 is configured to execute the program for local area network allocation stored in the memory to implement the following steps:
if the time length of the terminal connected with the current first local area network exceeds a first preset time length threshold value, acquiring the current signal intensity of the first local area network;
if the current signal strength is less than a signal strength threshold, the terminal disconnects from the first local area network.
It should be noted that the above description of the terminal embodiment is similar to the description of the method embodiment, and has similar beneficial effects to the method embodiment. For technical details not disclosed in the terminal embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
It should be noted that, in the embodiment of the present invention, if the distribution method of the local area network is implemented in the form of a software functional module and is sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computing device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Accordingly, embodiments of the present invention provide a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
if the time length of the terminal connected with the current first local area network exceeds a first preset time length threshold value, acquiring the current signal intensity of the first local area network;
if the current signal strength is less than a signal strength threshold, the terminal disconnects from the first local area network.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for allocating a local area network, the method comprising:
if the time length of the terminal connected with the current first local area network exceeds a first preset time length threshold value, acquiring the current signal intensity of the first local area network;
acquiring an identifier of an application installed on the terminal and an attribute of the installed application, and determining a signal strength threshold for the installed application according to the attribute of the installed application, wherein the attribute of the application is at least one of the following: the method comprises the steps of setting parameters in the application, wherein the parameters set in the application are at least state parameters of application running;
disconnecting from the first local area network if the current signal strength is less than the signal strength threshold;
acquiring parameter information of the first local area network, and adding the parameter information into a second preset parameter library;
when the terminal is in a second local area network, acquiring the current parameter information of the second local area network;
and if the current parameter information is the same as the parameter information in a second preset parameter library, the current parameter information is not connected with the second local area network.
2. The method as recited in claim 1, wherein before said disconnecting from said first local area network if said current signal strength is less than a signal strength threshold, said method comprises:
acquiring an identifier of each application in the T applications currently operated by the terminal;
acquiring T corresponding preset signal intensity thresholds according to the T application identifiers;
taking the maximum value of the T preset signal intensity threshold values as a signal intensity threshold value; wherein T is a natural number greater than 0.
3. The method as recited in claim 2, wherein said method further comprises:
acquiring an identifier of a current application running by the terminal, acquiring a flow value within a preset time length according to the identifier of the current application, and determining a signal intensity threshold value for the current application according to the flow value.
4. The method of any of claims 1 to 3, further comprising:
continuing to connect with the first local area network if the current signal strength is greater than or equal to the signal strength threshold;
acquiring parameter information of the first local area network, and adding the parameter information to a first preset parameter library; the first preset parameter library comprises parameter information of P local area networks which can be preferentially connected by the terminal; p is a natural number greater than 0; the parameter information is a router parameter corresponding to the first local area network.
5. The method of any of claims 1-3, wherein said disconnecting from the first local area network if the current signal strength is less than a signal strength threshold comprises:
acquiring a signal intensity threshold value required by Q applications in the terminal in a running state when the Q applications can normally run; wherein Q is a natural number greater than 0;
disconnecting from the first local area network if the current signal strength is less than the signal strength threshold.
6. The method as recited in claim 1, wherein said method further comprises:
if the current parameter information is different from the parameters in a second preset parameter library, acquiring the current signal intensity of the second local area network;
if the current signal intensity is larger than or equal to the current signal intensity, connecting a signal intensity threshold value corresponding to the application of the terminal in a preset signal intensity database with the second local area network;
and if the current signal intensity is smaller than the signal intensity threshold, the signal intensity threshold is not connected with the second local area network, and the parameter information of the second local area network is added into the second preset parameter library.
7. A terminal, characterized in that the terminal comprises at least: a memory, a communication bus, and a processor, wherein:
the memory is used for storing the distributed programs of the local area network;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the program for allocating the local area network stored in the memory to implement the following steps:
if the time length of the terminal connected with the current first local area network exceeds a preset time length threshold value, acquiring the current signal intensity of the first local area network;
acquiring an identifier of an application installed on the terminal and an attribute of the installed application, and determining a signal strength threshold for the installed application according to the attribute of the installed application, wherein the attribute of the application is at least one of the following: the method comprises the steps of setting parameters in the application, wherein the parameters set in the application are at least state parameters of application running;
disconnecting from the first local area network if the current signal strength is less than the signal strength threshold;
acquiring parameter information of the first local area network, and adding the parameter information into a second preset parameter library;
when the terminal is in a second local area network, acquiring the current parameter information of the second local area network;
and if the current parameter information is the same as the parameter information in a second preset parameter library, the current parameter information is not connected with the second local area network.
8. A computer-readable storage medium, characterized in that it has stored thereon a program of allocation of a local area network, which program, when executed by a processor, carries out the steps of the method of allocation of a local area network according to any one of claims 1 to 6.
CN201810091089.5A 2018-01-30 2018-01-30 Local area network allocation method, terminal and storage medium Active CN108322943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810091089.5A CN108322943B (en) 2018-01-30 2018-01-30 Local area network allocation method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810091089.5A CN108322943B (en) 2018-01-30 2018-01-30 Local area network allocation method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108322943A CN108322943A (en) 2018-07-24
CN108322943B true CN108322943B (en) 2021-01-15

Family

ID=62888348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810091089.5A Active CN108322943B (en) 2018-01-30 2018-01-30 Local area network allocation method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108322943B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109287001B (en) * 2018-10-15 2021-04-09 Oppo广东移动通信有限公司 Link connection method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142179A (en) * 2015-06-12 2015-12-09 中兴通讯股份有限公司 Wireless local area network access method and wireless access point
CN107438086A (en) * 2016-05-27 2017-12-05 杨仲辉 Application program uses reminding method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8599709B2 (en) * 2011-02-10 2013-12-03 Apple Inc. Methods and apparatus for wireless coexistence based on transceiver chain emphasis

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142179A (en) * 2015-06-12 2015-12-09 中兴通讯股份有限公司 Wireless local area network access method and wireless access point
CN107438086A (en) * 2016-05-27 2017-12-05 杨仲辉 Application program uses reminding method

Also Published As

Publication number Publication date
CN108322943A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN111278001B (en) Terminal capability negotiation method, terminal equipment and network side equipment
CN111615141B (en) Measurement method, measurement configuration method, terminal and network equipment
CN108965306B (en) Call processing method and mobile terminal
CN107613489B (en) Wireless charging method, wireless hotspot device, terminal and storage medium
CN106851780B (en) A method and terminal for network connection
CN109618316B (en) Network sharing method, mobile terminal and storage medium
US20230130963A1 (en) Method for processing relax measurement parameter update, and terminal device
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN106604314B (en) WiFi roaming network access method and terminal equipment
JP7565335B2 (en) COMMUNICATION PROCESSING METHOD, COMMUNICATION PROCESSING DEVICE, TERMINAL EQUIPMENT, AND STORAGE MEDIUM
CN110062405B (en) Solution for WiFi channel interference and related product
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN112689323A (en) Specific absorption rate control method, terminal and computer readable storage medium
JP2021521737A (en) Access control method, message broadcasting method and related equipment
CN110191477B (en) Network search control method, terminal and computer readable storage medium
CN110351702B (en) System information area determining method, indicating method, terminal and network equipment
CN112954755B (en) Optimized network switching method and device and computer readable storage medium
CN110461041B (en) Operation control method, mobile communication terminal and network side equipment
CN112770279B (en) Network sharing method, mobile terminal and computer readable storage medium
CN107466081B (en) Wireless switching method and terminal
CN112821970B (en) Electronic price tag channel selection method, electronic price tag channel selection equipment and computer storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN108322943B (en) Local area network allocation method, terminal and storage medium
CN107948443B (en) Method, apparatus and computer storage medium for preventing speaker interference in communication
CN112135321A (en) Channel switching method and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant