WO2018103442A1 - Information processing method and terminal device - Google Patents
Information processing method and terminal device Download PDFInfo
- Publication number
- WO2018103442A1 WO2018103442A1 PCT/CN2017/105130 CN2017105130W WO2018103442A1 WO 2018103442 A1 WO2018103442 A1 WO 2018103442A1 CN 2017105130 W CN2017105130 W CN 2017105130W WO 2018103442 A1 WO2018103442 A1 WO 2018103442A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ssid
- wifi
- terminal device
- duration
- access
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- the present invention relates to the field of electronic technologies, and in particular, to an information processing method and a terminal device.
- WLAN Wireless Local Area Networks
- WLAN networks especially airports, high-speed rail stations and other places with a large population and a large number of people, such as Shenzhen Airport, AirportSZ Service Set Identifier (SSID) is close to 150 APs, but users sometimes have difficulty connecting quickly. Therefore, how to improve the efficiency of accessing Wifi is a technical problem to be solved in the art.
- SSID AirportSZ Service Set Identifier
- the embodiment of the invention provides an information processing method and a terminal device, so as to improve the efficiency of accessing the Wifi.
- an embodiment of the present invention provides an information processing method, where multiple access points (APs) exist under a service set identifier (SSID), including:
- an embodiment of the present invention provides a terminal device, where multiple access points (APs) exist under a service set identifier (SSID), including:
- a sending module configured to send a first access request to the first AP corresponding to the SSID when detecting an access command for the Wifi corresponding to the SSID;
- the sending module is further configured to send a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
- an embodiment of the present invention provides a terminal device, including:
- a processor coupled to the memory
- the processor invokes the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
- the present invention provides a computer storage medium for storing computer software instructions for a terminal device provided by the first aspect of the embodiments of the present invention, comprising a program designed to perform the above aspects.
- an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention.
- the computer program product can be a software installation package, and the computer includes the terminal device.
- the solution provided by the present invention can immediately send an access request to other APs corresponding to the SSID after receiving the reject access response of an AP corresponding to an SSID, thereby improving access to the Wifi hotspot. s efficiency.
- FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
- FIG. 3 is a schematic flowchart diagram of an information processing method according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- a terminal device also called a User Equipment (UE) is a device that provides voice and/or data connectivity to a user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like.
- UE User Equipment
- Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
- Multiple means two or more. "and/or”, describing the association of associated objects, It is indicated that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
- the character "/" generally indicates that the contextual object is an "or" relationship.
- FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention.
- the communication system shown in FIG. 1 includes a terminal device and a plurality of APs (such as a first AP, a second AP, a third AP, and an nth AP) under a Service Set Identifier (SSID), where
- SSID Service Set Identifier
- the terminal device detects the access command for the Wifi corresponding to the SSID
- the terminal device sends a first access request to the first AP corresponding to the SSID, and receives the reject access response that is fed back by the first AP for the first access request.
- the terminal device sends a second access request to the second AP corresponding to the SSID.
- SSID Service Set Identifier
- the terminal device After receiving an AP to return a denial of access response to the terminal device for some reason, the terminal device usually needs to wait for a period of time to scan again for connection.
- the solution provided by the present invention is received by the terminal device. After the access response is rejected, the reconnection action is initiated immediately, and the terminal device immediately starts to try to connect to other APs, thereby improving the efficiency of accessing the Wifi hotspot.
- FIG. 2 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
- a service set identifier (SSID) has multiple access points (APs), including the following steps:
- the terminal device When the terminal device detects an access command for the Wifi corresponding to the SSID, the terminal device sends a first access request to the first AP corresponding to the SSID.
- the terminal device sends a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
- the access command of the Wifi corresponding to the SSID is triggered when the terminal device detects a click command of the Wifi corresponding to the SSID in the Wifi access interface; or the Wifi corresponding to the SSID
- the access command is triggered when the terminal device detects that the Wifi history access number corresponding to the SSID is greater than or equal to the first set value; or the Wifi access command corresponding to the SSID is the terminal
- the device is triggered when detecting that the signal strength of the Wifi corresponding to the SSID is greater than or equal to a preset strength.
- the RSSI Receiveived Signal Strength Indication
- the terminal device tries to connect to the 5 APs according to the RSSI. Since the terminal device cannot know the load status of each AP in advance, the AP trying to connect may reject the terminal because the load is full.
- the device initiates a connection request. In normal circumstances, the terminal device needs to wait for a period of time to scan again for connection.
- the solution provided by the present invention starts the reconnection action immediately after the terminal device receives the reject, and the terminal device immediately starts to try to connect to another AP (ie, In addition to the APs other than the 5 APs, the efficiency of accessing the Wifi hotspot is improved.
- the method further includes:
- the terminal device When the terminal device receives the reject access response that is feedback from the AP corresponding to the first access request, the terminal device shortens the lock duration of the Wifi corresponding to the SSID.
- the terminal device After a connection request initiated by an APreject terminal device, the terminal device adds the SSID of the AP to the blacklist and locks for a period of time. However, due to the large flow of personnel in the public place, the load status of each AP changes. Also, when the terminal device receives the reject of an AP, the terminal device shortens the lock time of the Wifi of the SSID corresponding to the AP, and then releases the abnormal AP as soon as possible, thereby increasing the connection success rate.
- the method further includes: the terminal device acquiring N users accessing the one of the APs in the first time period, the N An integer greater than 1; the terminal device acquires M users accessing the one of the APs in a second time period, where the M is an integer greater than 1, and the termination time node of the first time period is a current system time
- the duration of the first time period is equal to the duration of the second time period, and the start time node of the first time period is an end time node of the second time period; when the N users and the M users When the different target number is greater than or equal to the second set value, the terminal device shortens the lock duration of the Wifi corresponding to the SSID.
- the duration of the first time period and the second time period may be, for example, 1 minute, 2 minutes, 3 minutes, 5 minutes, 6 minutes, or other values.
- the second set value is 10
- the current system time is 18:00
- the duration of the first time period and the second time period is 5 minutes.
- the terminal device acquires all users accessing AP1 from 17:55 to 18:00 (assuming 50 users); the terminal device acquires access at 17:50-17:55. All users of AP1 (assuming 45 users); if these 50 users and 25 of the 45 users are different, that is, there are 25 users flowing between 17:55 and 18:00, flowing
- the amount of the Wifi is relatively large, and the terminal device can shorten the lock duration of the Wifi corresponding to the SSID.
- the terminal device shortens the locking duration of the Wifi corresponding to the SSID by using the mapping between the number of APs and the locking duration. Relationship, the first target locking duration corresponding to the T, the first target locking duration is less than the set locking duration, the setting locking duration is the duration of the normal locking Wifi; the terminal device corresponding to the SSID Wifi locks the first target lock duration.
- the terminal device shortens the locking duration of the Wifi corresponding to the SSID.
- the terminal device determines, according to the mapping relationship between the number of mobile users and the locking duration, the second target locking corresponding to the target number.
- the duration of the second target lock is less than the set lock duration, and the set lock duration is the duration of the normal lock Wifi; the terminal device locks the Wifi corresponding to the SSID to the second target lock duration.
- the target quantity is the number of flows of the one of the APs in the first time period and the second time period.
- the set lock time is usually 4 minutes.
- mapping relationship between the number of mobile users and the locking duration is as shown in Table 2. Assume that the target number is 25, and according to Table 1, the target locking duration is 2 min, and the terminal device locks the Wifi corresponding to the SSID for 2 min.
- the method further includes:
- the terminal device accesses the second AP according to the IP address.
- the terminal device when the terminal device is to be connected to the Wifi, the terminal device first scans the Wifi network. When scanning the Wifi, the terminal device sends a probe request on a certain channel, and multiple APs around the terminal device receive the detection. After the frame, a probe response is sent, with the Service Set Identifier (SSID) of the Wifi hotspot corresponding to the AP and the MAC address of the AP, and then the terminal device adds the SSIDs to the scan list.
- SSID Service Set Identifier
- some public environments have multiple APs under Wifi.
- the Wifi for AirportSZ in the scan list recorded in the terminal device includes the MAC address of 10 APs and the MAC address of 10 APs. Corresponding RSSI.
- the terminal device sends a connection request to the first AP of the 10 APs corresponding to the Wifi of the AirportSZ. If the first AP is responsible for the connection request initiated by the terminal device, the terminal device Sending a connection request to the second AP other than the first AP, if the second AP can carry the terminal device, the second AP will feed back an allowed access response, and the response carries the second AP terminal device allocation.
- the IP address the terminal device can access the second AP according to the IP address. If the second AP cannot carry the terminal device, the terminal device repeats the above connection action, and is not described herein.
- the RSSI of the first AP is greater than the RSSI of the second AP.
- the method further includes:
- the roaming threshold of the Wifi corresponding to the SSID is increased.
- the roaming threshold refers to the sensitivity of the terminal device to roaming.
- the roaming initiative of the terminal device is higher, and the roaming threshold is lower.
- the terminal device is more sensitive to roaming and is more likely to roam.
- the roaming initiative of the terminal device is lower, and the roaming threshold is higher, the terminal device is less sensitive to roaming, and roaming is not easy.
- the RSSI of the AP in the same SSID is similar. It is easy to trigger the roaming mechanism of the terminal device. For example, the AP1 is disconnected from the AP2 in the background. The solution detects that the terminal device switches from one AP to another. When an AP is added, by increasing the roaming threshold, the mobile terminal does not generate frequent roaming in a public environment.
- the method further includes:
- the roaming threshold of the Wifi corresponding to the SSID is increased.
- the preset threshold may be, for example, 1 dbm, 2 dbm, 3 dbm, 4 dbm, 8 dbm, or other values.
- the RSSI of the AP in the same SSID is similar, and it is easy to trigger the roaming mechanism of the terminal device.
- the AP1 is disconnected from the AP2 in the background.
- the scheme detects the corresponding SSID.
- the absolute value of the difference between the RSSI value of multiple APs and the RSSI of the currently connected AP in the AP is less than or equal to a preset threshold. By increasing the threshold of the roaming, the mobile terminal does not generate frequent roaming in the public environment.
- SSID service set identifier
- the terminal device detects an access instruction for the Wifi corresponding to the SSID.
- the terminal device sends a first access request to the first AP corresponding to the SSID.
- the first AP receives the first access request, where the first AP is for the first A denial of access response fed back to the terminal device in response to the request.
- the terminal device receives a reject access response that is sent by the first AP for the first access request, and the terminal device sends a second access request to the second AP that is corresponding to the SSID.
- the second AP receives the second access request, and the second AP sends an allowed access response to the terminal device for the second access request, where the allowed access response is carried.
- the second AP is an IP address allocated by the terminal device.
- the terminal device receives an allowed access response that is sent by the second AP for the second access request, and the terminal device accesses the second AP according to the IP address.
- the terminal device When the terminal device receives the reject access response fed back by the one AP corresponding to the SSID for the first access request, the terminal device shortens the lock duration of the Wifi corresponding to the SSID.
- the terminal device If the terminal device detects that the terminal device is switched from the second AP to the third AP corresponding to the SSID, the terminal device increases a roaming threshold of the Wifi corresponding to the SSID.
- the embodiment of the present invention further provides a terminal device 400.
- a plurality of access points (APs) exist under a service set identifier (SSID), including:
- the sending module 401 is configured to: when detecting an access command for the Wifi corresponding to the SSID, send a first access request to the first AP corresponding to the SSID;
- the sending module 401 is further configured to send a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
- the terminal device further includes:
- the processing module 402 is configured to shorten the lock duration of the Wifi corresponding to the SSID when receiving the reject access response fed back by the one AP corresponding to the SSID for the first access request.
- the processing module 402 is further configured to acquire N users that access the one of the APs in a first time period, where the N is an integer greater than one, and obtain the access to the second time period.
- N is an integer greater than one
- the M is an integer greater than 1
- the end time node of the first time period is the current system time
- the duration of the first time period is equal to the duration of the second time period
- the first The start time node of the time period is the end time node of the second time period; when the target number of the N users different from the M users is greater than or equal to the second set value, shortening the Wifi corresponding to the SSID The lock time.
- the processing module 402 is specifically configured to: when the number of the multiple APs in the SSID is T, to shorten the locking duration of the Wifi corresponding to the SSID:
- the first target locking duration corresponding to the T is determined, the first target locking duration is less than the set locking duration, and the setting locking duration is the duration of the normal locking Wifi;
- the Wifi corresponding to the SSID locks the first target locking duration.
- the processing module 402 is specifically configured to:
- the second target locking duration corresponding to the target number is less than the setting locking duration
- the setting locking duration is the duration of the normal locking Wifi And locking the Wifi corresponding to the SSID to the second target locking duration.
- the terminal device further includes:
- the receiving module 403 is configured to receive an allowed access response that is sent by the second AP for the second access request, where the allowed access response carries an IP address that is allocated by the second AP to the terminal device.
- the processing module 402 is further configured to access the second AP according to the IP address.
- the processing module 402 is further configured to: if the terminal device is detected to switch from the second AP to the third AP corresponding to the SSID, increase a roaming threshold of the Wifi corresponding to the SSID. .
- the processing module 402 is further configured to: when detecting that the absolute value of the difference between the RSSI value of the multiple APs and the RSSI of the first AP in the AP corresponding to the SSID is less than or equal to a preset threshold And increasing the roaming threshold of the Wifi corresponding to the SSID.
- the access instruction of the Wifi corresponding to the SSID is triggered when the terminal device detects a click command of the Wifi corresponding to the SSID in the Wifi access interface; or The access instruction of the Wifi corresponding to the SSID is triggered when the terminal device detects that the Wifi history access number corresponding to the SSID is greater than or equal to the first set value; or the Wifi corresponding to the SSID The access command is triggered when the terminal device detects that the signal strength of the Wifi corresponding to the SSID is greater than or equal to a preset strength.
- each of the above modules (the transmitting module 401, the processing module 402, and the receiving module 403) is used to perform the related steps of the above method.
- the terminal device 400 is presented in the form of a module.
- a “module” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
- ASIC application-specific integrated circuit
- the above processing module 402 can be implemented by the processor 501 of the terminal device shown in FIG. 5, and the foregoing sending module 401 and the receiving module 403 can be implemented by using the communication interface 503 of the terminal device shown in FIG. 5.
- the terminal device 500 can be implemented in the structure of FIG. 5, which includes at least one processor 501, at least one memory 502, and at least one communication interface 503.
- the processor 501, the memory 502, and the communication interface 503 are connected by the communication bus and complete communication with each other.
- the processor 501 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
- CPU central processing unit
- ASIC application-specific integrated circuit
- the communication interface 503 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
- RAN Radio Access Network
- WLAN Wireless Local Area Networks
- the memory 502 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
- the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc., disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
- the memory can exist independently and be connected to the processor via a bus.
- the memory can also be integrated with the processor.
- the memory 502 is configured to store application code for executing the above solution, and is controlled by the processor 501 for execution.
- the processor 501 is configured to execute application code stored in the memory 502.
- the code stored in the memory 502 can execute the above information processing method performed by the terminal device provided above, such as a plurality of access points (APs) under a service set identifier (SSID), including: when detecting the Wifi corresponding to the SSID Sending a first access request to the first AP corresponding to the SSID, and receiving the reject access response fed back by the first AP for the first access request, to the The second AP corresponding to the SSID sends a second access request.
- APs access points
- SSID service set identifier
- the terminal device is a mobile phone, and the following describes the components of the mobile phone in conjunction with FIG. 6:
- the RF circuit 610 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 680 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 610 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- the memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 620.
- the memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a Wifi access function, an information sending function, a roaming threshold adjustment function), and the like;
- the data area can store data created according to the use of the mobile phone (such as the IP address assigned by the second AP to the terminal device, the roaming threshold of the Wifi corresponding to the increased SSID), and the like.
- memory 620 can include high speed random access memory, and can 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 input unit 630 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
- the input unit 630 may include a touch panel 631 and other input devices 632.
- the touch panel 631 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 631 or near the touch panel 631. Operation), and drive the corresponding connecting device according to a preset program.
- the touch panel 631 can include two parts: a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 680 is provided and can receive commands from the processor 680 and execute them.
- the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 630 may also include other input devices 632.
- other input devices 632 may include, but are not limited to, a physical keyboard, at least one of a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
- a function key such as a volume control button, a switch button, etc.
- a trackball such as a mouse, a joystick, and the like.
- the display unit 640 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
- the display unit 640 can include a display panel 641.
- the display panel 641 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch panel 631 can cover the display panel 641. When the touch panel 631 detects a touch operation thereon or nearby, the touch panel 631 transmits to the processor 580 to determine the type of the touch event, and then the processor 680 according to the touch event. The type provides a corresponding visual output on display panel 641.
- the touch panel 631 and the display panel 641 are two separate components to implement the input and input functions of the mobile phone, in some embodiments.
- the touch panel 631 and the display panel 641 can be integrated to realize the input and output functions of the mobile phone.
- the handset can also include at least one type of sensor 650, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may close the display panel 641 and/or when the mobile phone moves to the ear. Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
- the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
- vibration recognition related functions such as pedometer, tapping
- the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
- Audio circuit 660, speaker 661, and microphone 662 provide an audio interface between the user and the handset.
- the audio circuit 660 can transmit the converted electrical data of the received audio data to the speaker 661 for conversion to the sound signal output by the speaker 661; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal by the audio circuit 660. After receiving, it is converted into audio data, and then processed by the audio data output processor 680, sent to the other mobile phone via the RF circuit 610, or outputted to the memory 620 for further processing.
- WiFi is a short-range wireless transmission technology
- the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 670, which provides users with wireless broadband Internet access.
- FIG. 6 shows the WiFi module 670, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
- the processor 680 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 620, and invoking data stored in the memory 620, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
- the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 680.
- the mobile phone also includes a power supply 690 (such as a battery) that supplies power to the various components.
- a power supply 690 such as a battery
- the power supply can
- the power management system is logically coupled to the processor 680 to manage functions such as charging, discharging, and power management through the power management system.
- the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- each step method flow may be implemented based on the structure of the terminal device shown in FIG. 6.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the information processing methods described in the foregoing method embodiments.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in various embodiments of the present invention may be integrated in one processing unit. It is also possible that each unit physically exists alone, or two or more units may be integrated in one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
- ROM Read-Only Memory
- RAM Random Access Memory
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed in the present invention is an information processing method. There are a plurality of access points (AP) under a service set identifier (SSID). The method comprises: when an access instruction with respect to the Wi-Fi corresponding to the SSID is detected, sending a first access request to a first AP corresponding to the SSID; and when receiving an access denial response fed back by the first AP with respect to the first access request, sending a second access request to a second AP corresponding to the SSID. Further provided in the embodiments of the present invention is a terminal device. The embodiments of the present invention can improve Wi-Fi access efficiency.
Description
本发明涉及电子技术领域,尤其涉及一种信息处理方法及终端设备。The present invention relates to the field of electronic technologies, and in particular, to an information processing method and a terminal device.
智能机一重要功能就是能够移动互联,而无线局域网(Wireless Local Area Networks,WLAN)作为免费的网络服务现在使用频率也是越来越高,很多智能机用户到一个陌生的地方,第一件事情就是问附近的Wifi密码多少。An important function of the intelligent machine is to be able to move the Internet. Wireless Local Area Networks (WLAN), as a free network service, is now used more and more frequently. Many intelligent users go to a strange place. The first thing is Ask how many Wifi passwords are nearby.
目前,很多公共场所都布置了WLAN网络,尤其是机场,高铁站等这种幅员较广,人流较多的场所,比如深圳机场,AirportSZ这个服务集标识(Service Set Identifier,SSID)下有接近150个AP,但是用户有时候却能难快速连接上,因此如何提升接入Wifi的效率是本领域技术亟待解决的技术问题。At present, many public places are equipped with WLAN networks, especially airports, high-speed rail stations and other places with a large population and a large number of people, such as Shenzhen Airport, AirportSZ Service Set Identifier (SSID) is close to 150 APs, but users sometimes have difficulty connecting quickly. Therefore, how to improve the efficiency of accessing Wifi is a technical problem to be solved in the art.
发明内容Summary of the invention
本发明实施例提供一种信息处理方法及终端设备,以期提升接入Wifi的效率。The embodiment of the invention provides an information processing method and a terminal device, so as to improve the efficiency of accessing the Wifi.
第一方面,本发明实施例提供一种信息处理方法,一个服务集标识(SSID)下存在多个接入点(AP),包括:In a first aspect, an embodiment of the present invention provides an information processing method, where multiple access points (APs) exist under a service set identifier (SSID), including:
当检测到针对所述SSID对应的Wifi的接入指令时,向所述SSID对应的第一AP发送第一接入请求;Sending a first access request to the first AP corresponding to the SSID when an access command for the Wifi corresponding to the SSID is detected;
在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,向所述SSID对应的第二AP发送第二接入请求。And receiving a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
第二方面,本发明实施例提供一种终端设备,一个服务集标识(SSID)下存在多个接入点(AP),包括:In a second aspect, an embodiment of the present invention provides a terminal device, where multiple access points (APs) exist under a service set identifier (SSID), including:
发送模块,用于当检测到针对所述SSID对应的Wifi的接入指令时,向所述SSID对应的第一AP发送第一接入请求;
a sending module, configured to send a first access request to the first AP corresponding to the SSID when detecting an access command for the Wifi corresponding to the SSID;
所述发送模块,还用于在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,向所述SSID对应的第二AP发送第二接入请求。The sending module is further configured to send a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
第三方面,本发明实施例提供了一种终端设备,包括:In a third aspect, an embodiment of the present invention provides a terminal device, including:
存储有可执行程序代码的存储器;a memory storing executable program code;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面中所描述的部分或全部步骤。The processor invokes the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
第四方面,本发明提供一种计算机存储介质,用于储存为本发明实施例第一方面提供的终端设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, the present invention provides a computer storage medium for storing computer software instructions for a terminal device provided by the first aspect of the embodiments of the present invention, comprising a program designed to perform the above aspects.
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括终端设备。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention. Some or all of the steps described in the first aspect of the example. The computer program product can be a software installation package, and the computer includes the terminal device.
相较于现有技术,本发明提供的方案事可在接收到一个SSID对应的某个AP的拒绝接入响应后,立即向这个SSID对应的其他AP发送接入请求,从而提升接入Wifi热点的效率。Compared with the prior art, the solution provided by the present invention can immediately send an access request to other APs corresponding to the SSID after receiving the reject access response of an AP corresponding to an SSID, thereby improving access to the Wifi hotspot. s efficiency.
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the invention will be more apparent from the following description of the embodiments.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明一实施例提供的一种通信系统的示意图;FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention;
图2为本发明一实施例提供的一种信息处理方法的流程示意图;2 is a schematic flowchart of an information processing method according to an embodiment of the present invention;
图3为本发明一实施例提供的一种信息处理方法的流程示意图;FIG. 3 is a schematic flowchart diagram of an information processing method according to an embodiment of the present invention;
图4为本发明一实施例提供的一种终端设备的结构示意图;
FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
图5为本发明一实施例提供的一种终端设备的结构示意图;FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
图6为本发明一实施例提供的一种终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
以下分别进行详细说明。The details are described below separately.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth" and the like in the specification and claims of the present invention are used to distinguish different objects, and are not intended to describe a specific order. . Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms in the present application will be explained to be understood by those skilled in the art.
1)、终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。1) A terminal device, also called a User Equipment (UE), is a device that provides voice and/or data connectivity to a user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like. Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
2)、“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,
表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。2) "Multiple" means two or more. "and/or", describing the association of associated objects,
It is indicated that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship.
请参阅图1,图1是本发明实施例公开的一种通信系统的示意图。图1所示的通信系统包括终端设备和一个服务集标识(Service Set Identifier,SSID)下的多个AP(比如第一AP、第二AP、第三AP……第nAP),其中,当终端设备检测到针对SSID对应的Wifi的接入指令时,终端设备向SSID对应的第一AP发送第一接入请求,在接收到第一AP针对第一接入请求而反馈的拒绝接入响应时,终端设备向所述SSID对应的第二AP发送第二接入请求。相较于现有技术,在接收到某个AP因某些原因而向终端设备返回拒绝接入响应后,通常终端设备需要等待一段时间再次扫描进行连接,本发明提供的方案在终端设备接收到拒绝接入响应后,立即启动重连动作,终端设备会立即开始尝试连接别的AP,从而提升接入Wifi热点的效率。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention. The communication system shown in FIG. 1 includes a terminal device and a plurality of APs (such as a first AP, a second AP, a third AP, and an nth AP) under a Service Set Identifier (SSID), where When the device detects the access command for the Wifi corresponding to the SSID, the terminal device sends a first access request to the first AP corresponding to the SSID, and receives the reject access response that is fed back by the first AP for the first access request. The terminal device sends a second access request to the second AP corresponding to the SSID. Compared with the prior art, after receiving an AP to return a denial of access response to the terminal device for some reason, the terminal device usually needs to wait for a period of time to scan again for connection. The solution provided by the present invention is received by the terminal device. After the access response is rejected, the reconnection action is initiated immediately, and the terminal device immediately starts to try to connect to other APs, thereby improving the efficiency of accessing the Wifi hotspot.
请参见图2,图2为本发明实施例提供的一种信息处理方法的流程示意图,一个服务集标识(SSID)下存在多个接入点(AP),包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart of an information processing method according to an embodiment of the present invention. A service set identifier (SSID) has multiple access points (APs), including the following steps:
S201、当终端设备检测到针对所述SSID对应的Wifi的接入指令时,所述终端设备向所述SSID对应的第一AP发送第一接入请求。S201. When the terminal device detects an access command for the Wifi corresponding to the SSID, the terminal device sends a first access request to the first AP corresponding to the SSID.
S202、在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,所述终端设备向所述SSID对应的第二AP发送第二接入请求。S202. The terminal device sends a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
其中,所述SSID对应的Wifi的接入指令是所述终端设备在检测到用户在Wifi接入界面中针对所述SSID对应的Wifi的点击指令时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi历史被接入次数大于或等于第一设定值时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi的信号强度大于或等于预设强度时触发的。The access command of the Wifi corresponding to the SSID is triggered when the terminal device detects a click command of the Wifi corresponding to the SSID in the Wifi access interface; or the Wifi corresponding to the SSID The access command is triggered when the terminal device detects that the Wifi history access number corresponding to the SSID is greater than or equal to the first set value; or the Wifi access command corresponding to the SSID is the terminal The device is triggered when detecting that the signal strength of the Wifi corresponding to the SSID is greater than or equal to a preset strength.
举例来说,以深圳机场为例,在某个位置搜索到AirportSZ这个SSID,SSID为AirportSZ下有10个AP,这10个AP的RSSI(Received Signal Strength In dication,接收的信号强度指示)在-40dbm~-80dbm范围内,其中RSSI在
-40dbm~-60dbm间的AP有5个,终端设备首先根据RSSI尝试连接这5个AP,由于终端设备事先无法得知各个AP的负载状态,尝试连接的AP可能会因为负载满会reject掉终端设备发起的连接请求,正常情况终端设备需要等待一段时间再次扫描进行连接,本发明提供的方案在终端设备接收到reject后,立即启动重连动作,终端设备会立即开始尝试连接别的AP(即除了这5个AP之外的其他AP),从而提升接入Wifi热点的效率。For example, take Shenzhen Airport as an example, search for the SSS of AirportSZ at a certain location, and the SSID has 10 APs under AirportSZ. The RSSI (Received Signal Strength Indication) of the 10 APs is in - In the range of 40dbm ~ -80dbm, where RSSI is
There are 5 APs between -40dbm and -60dbm. The terminal device tries to connect to the 5 APs according to the RSSI. Since the terminal device cannot know the load status of each AP in advance, the AP trying to connect may reject the terminal because the load is full. The device initiates a connection request. In normal circumstances, the terminal device needs to wait for a period of time to scan again for connection. The solution provided by the present invention starts the reconnection action immediately after the terminal device receives the reject, and the terminal device immediately starts to try to connect to another AP (ie, In addition to the APs other than the 5 APs, the efficiency of accessing the Wifi hotspot is improved.
可选地,所述方法还包括:Optionally, the method further includes:
在所述终端设备接收到所述SSID对应的其中一个AP针对所述第一接入请求而反馈的拒绝接入响应时,所述终端设备缩短所述SSID对应的Wifi的锁定时长。When the terminal device receives the reject access response that is feedback from the AP corresponding to the first access request, the terminal device shortens the lock duration of the Wifi corresponding to the SSID.
举例来说,当某APreject终端设备发起的连接请求后,终端设备会将这个AP对于的SSID添加进黑名单并锁定一段时间,然而由于公共场合的人员流动很大,每个AP的负载状态变化也很快,本方案在终端设备接收到某个AP的reject时,终端设备缩短这个AP对应的SSID的Wifi的锁定时间,进而尽快释放异常AP,增加连接成功率。For example, after a connection request initiated by an APreject terminal device, the terminal device adds the SSID of the AP to the blacklist and locks for a period of time. However, due to the large flow of personnel in the public place, the load status of each AP changes. Also, when the terminal device receives the reject of an AP, the terminal device shortens the lock time of the Wifi of the SSID corresponding to the AP, and then releases the abnormal AP as soon as possible, thereby increasing the connection success rate.
进一步地,所述终端设备缩短所述SSID对应的Wifi的锁定时长之前,所述方法还包括:所述终端设备获取在第一时段内接入所述其中一个AP的N个用户,所述N为大于1的整数;所述终端设备获取在第二时段内接入所述其中一个AP的M个用户,所述M为大于1的整数,所述第一时段的终止时间节点为当前系统时间,所述第一时段的时长等于所述第二时段的时长,所述第一时段的起始时间节点为所述第二时段的终止时间节点;当所述N个用户与所述M个用户不同的目标数量大于或等于第二设定值时,所述终端设备缩短所述SSID对应的Wifi的锁定时长。Further, before the terminal device shortens the lock duration of the Wifi corresponding to the SSID, the method further includes: the terminal device acquiring N users accessing the one of the APs in the first time period, the N An integer greater than 1; the terminal device acquires M users accessing the one of the APs in a second time period, where the M is an integer greater than 1, and the termination time node of the first time period is a current system time The duration of the first time period is equal to the duration of the second time period, and the start time node of the first time period is an end time node of the second time period; when the N users and the M users When the different target number is greater than or equal to the second set value, the terminal device shortens the lock duration of the Wifi corresponding to the SSID.
其中,第一时段和第二时段的时长例如可以是1分钟、2分钟、3分钟、5分钟、6分钟或是其他值。The duration of the first time period and the second time period may be, for example, 1 minute, 2 minutes, 3 minutes, 5 minutes, 6 minutes, or other values.
举例来说,假设其中一个AP为AP1,第二设定值=10个,当前系统时间为18:00,第一时段和第二时段的时长为5分钟。终端设备获取在17:55~18:00接入AP1的所有用户(假设50个用户);终端设备获取在17:50~17:55接入
AP1的所有用户(假设45个用户);假如这50个用户和45个用户中有25个用户是不相同的也就是说在17:55~18:00时段内有25个用户的流动,流动量相对较大,此时终端设备可缩短所述SSID对应的Wifi的锁定时长。For example, suppose one of the APs is AP1, the second set value is 10, the current system time is 18:00, and the duration of the first time period and the second time period is 5 minutes. The terminal device acquires all users accessing AP1 from 17:55 to 18:00 (assuming 50 users); the terminal device acquires access at 17:50-17:55.
All users of AP1 (assuming 45 users); if these 50 users and 25 of the 45 users are different, that is, there are 25 users flowing between 17:55 and 18:00, flowing The amount of the Wifi is relatively large, and the terminal device can shorten the lock duration of the Wifi corresponding to the SSID.
进一步地,当所述SSID下的多个AP的数量为T时,所述终端设备缩短所述SSID对应的Wifi的锁定时长的具体实施方式有:所述终端设备根据AP数量与锁定时长的映射关系,确实所述T对应的第一目标锁定时长,所述第一目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;所述终端设备将所述SSID对应的Wifi锁定所述第一目标锁定时长。Further, when the number of the multiple APs in the SSID is T, the terminal device shortens the locking duration of the Wifi corresponding to the SSID by using the mapping between the number of APs and the locking duration. Relationship, the first target locking duration corresponding to the T, the first target locking duration is less than the set locking duration, the setting locking duration is the duration of the normal locking Wifi; the terminal device corresponding to the SSID Wifi locks the first target lock duration.
具体地,AP数量与锁定时长的映射关系如表1所示,假设T=40,根据表1可得到目标锁定时长为1min,终端设备将SSID对应的Wifi锁定1min。Specifically, the mapping relationship between the number of APs and the locking duration is as shown in Table 1. Assume that T=40. According to Table 1, the target locking duration is 1 min, and the terminal device locks the Wifi corresponding to the SSID for 1 min.
表1Table 1
进一步地,所述终端设备缩短所述SSID对应的Wifi的锁定时长的具体实施方式有:所述终端设备根据流动用户的数量与锁定时长的映射关系,确定所述目标数量对应的第二目标锁定时长,所述第二目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;所述终端设备将所述SSID对应的Wifi锁定所述第二目标锁定时长。其中,目标数量为所述其中一个AP在第一时段和第二时段内的流动数量。设定锁定时长通常为4min。Further, the terminal device shortens the locking duration of the Wifi corresponding to the SSID. The terminal device determines, according to the mapping relationship between the number of mobile users and the locking duration, the second target locking corresponding to the target number. The duration of the second target lock is less than the set lock duration, and the set lock duration is the duration of the normal lock Wifi; the terminal device locks the Wifi corresponding to the SSID to the second target lock duration. The target quantity is the number of flows of the one of the APs in the first time period and the second time period. The set lock time is usually 4 minutes.
具体地,流动用户的数量与锁定时长的映射关系如表2所示,假设目标数量=25,根据表1可得到目标锁定时长为2min,终端设备将SSID对应的Wifi锁定2min。Specifically, the mapping relationship between the number of mobile users and the locking duration is as shown in Table 2. Assume that the target number is 25, and according to Table 1, the target locking duration is 2 min, and the terminal device locks the Wifi corresponding to the SSID for 2 min.
表2
Table 2
可选地,所述终端设备向所述SSID的第二AP发送第二接入请求之后,所述方法还包括:Optionally, after the terminal device sends the second access request to the second AP of the SSID, the method further includes:
所述终端设备接收所述第二AP针对所述第二接入请求而反馈的允许接入响应,所述允许接入响应携带所述第二AP为终端设备分配的IP地址;Receiving, by the terminal device, an allowed access response that is sent by the second AP for the second access request, where the allowed access response carries an IP address allocated by the second AP to the terminal device;
所述终端设备根据所述IP地址接入所述第二AP。The terminal device accesses the second AP according to the IP address.
需要说明的是,终端设备要连接Wifi时,终端设备先扫描Wifi网络,在扫描Wifi时,终端设备会在某个信道发送探测帧(probe request),终端设备周围的多个AP在接受到探测帧后,会发送探测响应(probe response),附带AP对应的Wifi热点的服务集标识(Service Set Identifier,SSID)以及AP的MAC地址,然后终端设备将这些SSID添加到扫描列表中。其中,一些公共环境的Wifi下有多个AP,假设AirportSZ的Wifi下由10个AP,那么终端设备中记录的扫描列表中关于AirportSZ的Wifi包括10个AP的MAC地址和10个AP的MAC地址对应的RSSI。后续用户需要连接这个AirportSZ的Wifi时,终端设备向AirportSZ的Wifi对应的这10个AP中的第一AP发送连接请求,假如第一AP因为负载满reject掉终端设备发起的连接请求时,终端设备立即向除了第一AP之外的第二AP发送连接请求,假如第二AP可以承载终端设备,第二AP会终端设备反馈一个允许接入响应,这个响应里面携带第二AP个终端设备分配的IP地址,终端设备根据这个IP地址即可接入第二AP,假如第二AP也不可以承载终端设备,那么终端设备一直重复以上连接动作,再此不在叙述。It should be noted that when the terminal device is to be connected to the Wifi, the terminal device first scans the Wifi network. When scanning the Wifi, the terminal device sends a probe request on a certain channel, and multiple APs around the terminal device receive the detection. After the frame, a probe response is sent, with the Service Set Identifier (SSID) of the Wifi hotspot corresponding to the AP and the MAC address of the AP, and then the terminal device adds the SSIDs to the scan list. Among them, some public environments have multiple APs under Wifi. Assuming that there are 10 APs under the Wifi of AirportSZ, the Wifi for AirportSZ in the scan list recorded in the terminal device includes the MAC address of 10 APs and the MAC address of 10 APs. Corresponding RSSI. When the subsequent user needs to connect to the Wifi of the AirportSZ, the terminal device sends a connection request to the first AP of the 10 APs corresponding to the Wifi of the AirportSZ. If the first AP is responsible for the connection request initiated by the terminal device, the terminal device Sending a connection request to the second AP other than the first AP, if the second AP can carry the terminal device, the second AP will feed back an allowed access response, and the response carries the second AP terminal device allocation. The IP address, the terminal device can access the second AP according to the IP address. If the second AP cannot carry the terminal device, the terminal device repeats the above connection action, and is not described herein.
可选地,第一AP的RSSI大于第二AP的RSSI。
Optionally, the RSSI of the first AP is greater than the RSSI of the second AP.
可选地,所述方法还包括:Optionally, the method further includes:
在检测到所述终端设备从所述第二AP切换至所述SSID对应的第三AP时,则增大所述SSID对应的Wifi的漫游阈值。When it is detected that the terminal device switches from the second AP to the third AP corresponding to the SSID, the roaming threshold of the Wifi corresponding to the SSID is increased.
其中,漫游阈值是指终端设备对漫游的敏感程度,终端设备的漫游主动性越高,漫游阈值越低,终端设备对漫游越敏感,更容易发生漫游。反之,终端设备的漫游主动性越低,漫游阈值越高,终端设备对漫游越不敏感,不容易发生漫游。The roaming threshold refers to the sensitivity of the terminal device to roaming. The roaming initiative of the terminal device is higher, and the roaming threshold is lower. The terminal device is more sensitive to roaming and is more likely to roam. On the contrary, the roaming initiative of the terminal device is lower, and the roaming threshold is higher, the terminal device is less sensitive to roaming, and roaming is not easy.
举例来说,公共环境下同一个SSID下的AP的RSSI相近的很多,很容易触发终端设备的漫游机制,比如后台断开AP1连接AP2,本方案在检测到终端设备从某个AP切换至另一个AP时,通过增加漫游阀值,使得移动端在公共环境下不会产生频繁漫游。For example, in the public environment, the RSSI of the AP in the same SSID is similar. It is easy to trigger the roaming mechanism of the terminal device. For example, the AP1 is disconnected from the AP2 in the background. The solution detects that the terminal device switches from one AP to another. When an AP is added, by increasing the roaming threshold, the mobile terminal does not generate frequent roaming in a public environment.
可选地,所述方法还包括:Optionally, the method further includes:
若检测到所述SSID对应的AP中存在多个AP的RSSI值与所述第一AP的RSSI的差值的绝对值小于或等于预设阈值,则增大所述SSID对应的Wifi的漫游阈值。If the absolute value of the difference between the RSSI value of the multiple APs and the RSSI of the first AP is less than or equal to the preset threshold, the roaming threshold of the Wifi corresponding to the SSID is increased. .
其中,预设阈值例如可以为1dbm、2dbm、3dbm、4dbm、8dbm或是其他值。The preset threshold may be, for example, 1 dbm, 2 dbm, 3 dbm, 4 dbm, 8 dbm, or other values.
举例来说,公共环境下同一个SSID下的AP的RSSI相近的很多,很容易触发终端设备的漫游机制,比如后台断开AP1连接AP2,为了避免这种情况,本方案在检测到SSID对应的AP中存在多个AP的RSSI值与当前连接的AP的RSSI的差值的绝对值小于或等于预设阈值,通过增加漫游阀值,使得移动端在公共环境下不会产生频繁漫游。For example, in the public environment, the RSSI of the AP in the same SSID is similar, and it is easy to trigger the roaming mechanism of the terminal device. For example, the AP1 is disconnected from the AP2 in the background. To avoid this situation, the scheme detects the corresponding SSID. The absolute value of the difference between the RSSI value of multiple APs and the RSSI of the currently connected AP in the AP is less than or equal to a preset threshold. By increasing the threshold of the roaming, the mobile terminal does not generate frequent roaming in the public environment.
本发明实施例还提供了另一更为详细的方法流程,如图3所示,一个服务集标识(SSID)下存在多个接入点(AP),包括:The embodiment of the present invention further provides another more detailed method flow. As shown in FIG. 3, multiple access points (APs) exist under a service set identifier (SSID), including:
S301、终端设备检测针对所述SSID对应的Wifi的接入指令。S301. The terminal device detects an access instruction for the Wifi corresponding to the SSID.
S302、所述终端设备向所述SSID对应的第一AP发送第一接入请求。S302. The terminal device sends a first access request to the first AP corresponding to the SSID.
S303、所述第一AP接收所述第一接入请求,所述第一AP针对所述第一
接入请求而向所述终端设备反馈的拒绝接入响应。S303. The first AP receives the first access request, where the first AP is for the first
A denial of access response fed back to the terminal device in response to the request.
S304、所述终端设备接收所述第一AP针对所述第一接入请求而反馈的拒绝接入响应,所述终端设备向所述SSID对应的第二AP发送第二接入请求。S304. The terminal device receives a reject access response that is sent by the first AP for the first access request, and the terminal device sends a second access request to the second AP that is corresponding to the SSID.
S305、所述第二AP接收所述第二接入请求,所述第二AP针对所述第二接入请求而向所述终端设备反馈的允许接入响应,所述允许接入响应携带所述第二AP为终端设备分配的IP地址。S305. The second AP receives the second access request, and the second AP sends an allowed access response to the terminal device for the second access request, where the allowed access response is carried. The second AP is an IP address allocated by the terminal device.
S306、所述终端设备接收所述第二AP针对所述第二接入请求而反馈的允许接入响应,所述终端设备根据所述IP地址接入所述第二AP。S306. The terminal device receives an allowed access response that is sent by the second AP for the second access request, and the terminal device accesses the second AP according to the IP address.
S307、在所述终端设备接收到所述SSID对应的其中一个AP针对所述第一接入请求而反馈的拒绝接入响应时,所述终端设备缩短所述SSID对应的Wifi的锁定时长。S307. When the terminal device receives the reject access response fed back by the one AP corresponding to the SSID for the first access request, the terminal device shortens the lock duration of the Wifi corresponding to the SSID.
S308、若所述终端设备检测到所述终端设备从所述第二AP切换至所述SSID对应的第三AP时,则所述终端设备增大所述SSID对应的Wifi的漫游阈值。S308. If the terminal device detects that the terminal device is switched from the second AP to the third AP corresponding to the SSID, the terminal device increases a roaming threshold of the Wifi corresponding to the SSID.
需要说明的是,图3所示的方法的各个步骤的具体实现过程可参见上述方法所述的具体实现过程,在此不再叙述。It should be noted that the specific implementation process of each step of the method shown in FIG. 3 can be referred to the specific implementation process described in the foregoing method, and is not described herein.
本发明实施例还提供了一种终端设备400,如图4所示,一个服务集标识(SSID)下存在多个接入点(AP),包括:The embodiment of the present invention further provides a terminal device 400. As shown in FIG. 4, a plurality of access points (APs) exist under a service set identifier (SSID), including:
发送模块401,用于当检测到针对所述SSID对应的Wifi的接入指令时,向所述SSID对应的第一AP发送第一接入请求;The sending module 401 is configured to: when detecting an access command for the Wifi corresponding to the SSID, send a first access request to the first AP corresponding to the SSID;
所述发送模块401,还用于在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,向所述SSID对应的第二AP发送第二接入请求。The sending module 401 is further configured to send a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
可选地,所述终端设备还包括:Optionally, the terminal device further includes:
处理模块402,用于在接收到所述SSID对应的其中一个AP针对所述第一接入请求而反馈的拒绝接入响应时,缩短所述SSID对应的Wifi的锁定时长。The processing module 402 is configured to shorten the lock duration of the Wifi corresponding to the SSID when receiving the reject access response fed back by the one AP corresponding to the SSID for the first access request.
可选地,所述处理模块402,还用于获取在第一时段内接入所述其中一个AP的N个用户,所述N为大于1的整数;获取在第二时段内接入所述其中一
个AP的M个用户,所述M为大于1的整数,所述第一时段的终止时间节点为当前系统时间,所述第一时段的时长等于所述第二时段的时长,所述第一时段的起始时间节点为所述第二时段的终止时间节点;当所述N个用户与所述M个用户不同的目标数量大于或等于第二设定值时,缩短所述SSID对应的Wifi的锁定时长。Optionally, the processing module 402 is further configured to acquire N users that access the one of the APs in a first time period, where the N is an integer greater than one, and obtain the access to the second time period. one of
The M users of the APs, the M is an integer greater than 1, the end time node of the first time period is the current system time, and the duration of the first time period is equal to the duration of the second time period, the first The start time node of the time period is the end time node of the second time period; when the target number of the N users different from the M users is greater than or equal to the second set value, shortening the Wifi corresponding to the SSID The lock time.
可选地,当所述SSID下的多个AP的数量为T时,在缩短所述SSID对应的Wifi的锁定时长方面,所述处理模块402具体用于:Optionally, the processing module 402 is specifically configured to: when the number of the multiple APs in the SSID is T, to shorten the locking duration of the Wifi corresponding to the SSID:
根据AP数量与锁定时长的映射关系,确实所述T对应的第一目标锁定时长,所述第一目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;将所述SSID对应的Wifi锁定所述第一目标锁定时长。According to the mapping relationship between the number of APs and the locking duration, the first target locking duration corresponding to the T is determined, the first target locking duration is less than the set locking duration, and the setting locking duration is the duration of the normal locking Wifi; The Wifi corresponding to the SSID locks the first target locking duration.
可选地,在缩短所述SSID对应的Wifi的锁定时长方面,所述处理模块402具体用于:Optionally, in the aspect of shortening the locking duration of the Wifi corresponding to the SSID, the processing module 402 is specifically configured to:
根据流动用户的数量与锁定时长的映射关系,确定所述目标数量对应的第二目标锁定时长,所述第二目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;将所述SSID对应的Wifi锁定所述第二目标锁定时长。Determining, according to the mapping relationship between the number of the mobile users and the locking duration, the second target locking duration corresponding to the target number, the second target locking duration is less than the setting locking duration, and the setting locking duration is the duration of the normal locking Wifi And locking the Wifi corresponding to the SSID to the second target locking duration.
可选地,所述终端设备还包括:Optionally, the terminal device further includes:
接收模块403,用于接收所述第二AP针对所述第二接入请求而反馈的允许接入响应,所述允许接入响应携带所述第二AP为终端设备分配的IP地址;The receiving module 403 is configured to receive an allowed access response that is sent by the second AP for the second access request, where the allowed access response carries an IP address that is allocated by the second AP to the terminal device.
所述处理模块402,还用于根据所述IP地址接入所述第二AP。The processing module 402 is further configured to access the second AP according to the IP address.
可选地,所述处理模块402,还用于若检测到所述终端设备从所述第二AP切换至所述SSID对应的第三AP时,则增大所述SSID对应的Wifi的漫游阈值。Optionally, the processing module 402 is further configured to: if the terminal device is detected to switch from the second AP to the third AP corresponding to the SSID, increase a roaming threshold of the Wifi corresponding to the SSID. .
可选地,所述处理模块402,还用于在检测到所述SSID对应的AP中存在多个AP的RSSI值与所述第一AP的RSSI的差值的绝对值小于或等于预设阈值,则增大所述SSID对应的Wifi的漫游阈值。Optionally, the processing module 402 is further configured to: when detecting that the absolute value of the difference between the RSSI value of the multiple APs and the RSSI of the first AP in the AP corresponding to the SSID is less than or equal to a preset threshold And increasing the roaming threshold of the Wifi corresponding to the SSID.
可选地,所述SSID对应的Wifi的接入指令是所述终端设备在检测到用户在Wifi接入界面中针对所述SSID对应的Wifi的点击指令时触发的;或者,
所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi历史被接入次数大于或等于第一设定值时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi的信号强度大于或等于预设强度时触发的。Optionally, the access instruction of the Wifi corresponding to the SSID is triggered when the terminal device detects a click command of the Wifi corresponding to the SSID in the Wifi access interface; or
The access instruction of the Wifi corresponding to the SSID is triggered when the terminal device detects that the Wifi history access number corresponding to the SSID is greater than or equal to the first set value; or the Wifi corresponding to the SSID The access command is triggered when the terminal device detects that the signal strength of the Wifi corresponding to the SSID is greater than or equal to a preset strength.
需要说明的是,上述各模块(发送模块401、处理模块402和接收模块403)用于执行上述方法的相关步骤。It should be noted that each of the above modules (the transmitting module 401, the processing module 402, and the receiving module 403) is used to perform the related steps of the above method.
在本实施例中,终端设备400是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上处理模块402可通过图5所示的终端设备的处理器501来实现,以上发送模块401和接收模块403可通过图5所示的终端设备的通信接口503来实现。In the present embodiment, the terminal device 400 is presented in the form of a module. A "module" herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality. . In addition, the above processing module 402 can be implemented by the processor 501 of the terminal device shown in FIG. 5, and the foregoing sending module 401 and the receiving module 403 can be implemented by using the communication interface 503 of the terminal device shown in FIG. 5.
如图5所示,终端设备500可以以图5中的结构来实现,该终端设备500包括至少一个处理器501,至少一个存储器502以及至少一个通信接口503。所述处理器501、所述存储器502和所述通信接口503通过所述通信总线连接并完成相互间的通信。As shown in FIG. 5, the terminal device 500 can be implemented in the structure of FIG. 5, which includes at least one processor 501, at least one memory 502, and at least one communication interface 503. The processor 501, the memory 502, and the communication interface 503 are connected by the communication bus and complete communication with each other.
处理器501可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。The processor 501 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
通信接口503,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。The communication interface 503 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
存储器502可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、
蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 502 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions. The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, compact discs, digital versatile discs,
Blu-ray discs, etc., disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
其中,所述存储器502用于存储执行以上方案的应用程序代码,并由处理器501来控制执行。所述处理器501用于执行所述存储器502中存储的应用程序代码。The memory 502 is configured to store application code for executing the above solution, and is controlled by the processor 501 for execution. The processor 501 is configured to execute application code stored in the memory 502.
存储器502存储的代码可执行以上提供的终端设备执行的上述信息处理方法,比如一个服务集标识(SSID)下存在多个接入点(AP),包括:当检测到针对所述SSID对应的Wifi的接入指令时,向所述SSID对应的第一AP发送第一接入请求;在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,向所述SSID对应的第二AP发送第二接入请求。The code stored in the memory 502 can execute the above information processing method performed by the terminal device provided above, such as a plurality of access points (APs) under a service set identifier (SSID), including: when detecting the Wifi corresponding to the SSID Sending a first access request to the first AP corresponding to the SSID, and receiving the reject access response fed back by the first AP for the first access request, to the The second AP corresponding to the SSID sends a second access request.
在一个实施例中,终端设备为手机,下面结合图6对手机的各个构成部件进行具体的介绍:In one embodiment, the terminal device is a mobile phone, and the following describes the components of the mobile phone in conjunction with FIG. 6:
RF电路610可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器680处理;另外,将设计上行的数据发送给基站。通常,RF电路610包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division MultipleAccess,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 610 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 680 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 610 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。
存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如Wifi接入功能、信息发送功能、漫游阈值调整功能)等;存储数据区可存储根据手机的使用所创建的数据(比如第二AP为终端设备分配的IP地址,增大后的SSID对应的Wifi的漫游阈值)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 620.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a Wifi access function, an information sending function, a roaming threshold adjustment function), and the like; The data area can store data created according to the use of the mobile phone (such as the IP address assigned by the second AP to the terminal device, the roaming threshold of the Wifi corresponding to the increased SSID), and the like. Moreover, memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元630可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元630可包括触控面板631、其他输入设备632。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上或在触控面板631附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器680,并能接收处理器680发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除以了触控面板631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的至少一种。The input unit 630 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 631 or near the touch panel 631. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 631 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 680 is provided and can receive commands from the processor 680 and execute them. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 631, the input unit 630 may also include other input devices 632. Specifically, other input devices 632 may include, but are not limited to, a physical keyboard, at least one of a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
显示单元640可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元640可包括显示面板641,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板641。进一步的,触控面板631可覆盖显示面板641,当触控面板631检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器680根据触摸事件的类型在显示面板641上提供相应的视觉输出。虽然在图6中,触控面板631与显示面板641是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例
中,可以将触控面板631与显示面板641集成而实现手机的输入和输出功能。The display unit 640 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 640 can include a display panel 641. Alternatively, the display panel 641 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 631 can cover the display panel 641. When the touch panel 631 detects a touch operation thereon or nearby, the touch panel 631 transmits to the processor 580 to determine the type of the touch event, and then the processor 680 according to the touch event. The type provides a corresponding visual output on display panel 641. Although in FIG. 6, the touch panel 631 and the display panel 641 are two separate components to implement the input and input functions of the mobile phone, in some embodiments.
The touch panel 631 and the display panel 641 can be integrated to realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板641的亮度,接近传感器可在手机移动到耳边时,关闭显示面板641和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset can also include at least one type of sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may close the display panel 641 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路660、扬声器661,传声器662可提供用户与手机之间的音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610以发送给比如另一手机,或者将音频数据输出至存储器620以便进一步处理。 Audio circuit 660, speaker 661, and microphone 662 provide an audio interface between the user and the handset. The audio circuit 660 can transmit the converted electrical data of the received audio data to the speaker 661 for conversion to the sound signal output by the speaker 661; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal by the audio circuit 660. After receiving, it is converted into audio data, and then processed by the audio data output processor 680, sent to the other mobile phone via the RF circuit 610, or outputted to the memory 620 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块670可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块670,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 670, which provides users with wireless broadband Internet access. Although FIG. 6 shows the WiFi module 670, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
处理器680是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器680可包括一个或多个处理单元;优选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。The processor 680 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 620, and invoking data stored in the memory 620, executing The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 680.
手机还包括给各个部件供电的电源690(比如电池),优选的,电源可以
通过电源管理系统与处理器680逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 690 (such as a battery) that supplies power to the various components. Preferably, the power supply can
The power management system is logically coupled to the processor 680 to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
前述实施例中,各步骤方法流程可以基于图6所示的终端设备的结构实现。In the foregoing embodiment, each step method flow may be implemented based on the structure of the terminal device shown in FIG. 6.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种信息处理方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the information processing methods described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,
也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in various embodiments of the present invention may be integrated in one processing unit.
It is also possible that each unit physically exists alone, or two or more units may be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash drive , read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。
The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; The present invention is not limited by the scope of the present invention, and the present invention is not limited by the scope of the present invention.
Claims (20)
- 一种信息处理方法,其特征在于,一个服务集标识(SSID)下存在多个接入点(AP),包括:An information processing method, characterized in that a plurality of access points (APs) exist under a service set identifier (SSID), including:当检测到针对所述SSID对应的Wifi的接入指令时,向所述SSID对应的第一AP发送第一接入请求;Sending a first access request to the first AP corresponding to the SSID when an access command for the Wifi corresponding to the SSID is detected;在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,向所述SSID对应的第二AP发送第二接入请求。And receiving a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:在接收到所述SSID对应的其中一个AP针对所述第一接入请求而反馈的拒绝接入响应时,缩短所述SSID对应的Wifi的锁定时长。And shortening the lock duration of the Wifi corresponding to the SSID when receiving the reject access response fed back by the one AP corresponding to the SSID for the first access request.
- 根据权利要求2所述的方法,其特征在于,所述缩短所述SSID对应的Wifi的锁定时长之前,所述方法还包括:The method according to claim 2, wherein before the shortening the lock duration of the Wifi corresponding to the SSID, the method further includes:获取在第一时段内接入所述其中一个AP的N个用户,所述N为大于1的整数;Obtaining N users accessing the one of the APs in a first time period, where N is an integer greater than 1;获取在第二时段内接入所述其中一个AP的M个用户,所述M为大于1的整数,所述第一时段的终止时间节点为当前系统时间,所述第一时段的时长等于所述第二时段的时长,所述第一时段的起始时间节点为所述第二时段的终止时间节点;Obtaining M users accessing the one of the APs in a second time period, where the M is an integer greater than 1, the termination time node of the first time period is a current system time, and the duration of the first time period is equal to a duration of the second time period, where the start time node of the first time period is an end time node of the second time period;当所述N个用户与所述M个用户不同的目标数量大于或等于第二设定值时,缩短所述SSID对应的Wifi的锁定时长。When the target number of the N users different from the M users is greater than or equal to the second set value, the lock duration of the Wifi corresponding to the SSID is shortened.
- 根据权利要求2或3所述的方法,其特征在于,当所述SSID下的多个AP的数量为T时,所述缩短所述SSID对应的Wifi的锁定时长,包括:The method according to claim 2 or 3, wherein when the number of the plurality of APs in the SSID is T, the shortening of the lock duration of the Wifi corresponding to the SSID includes:根据AP数量与锁定时长的映射关系,确实所述T对应的第一目标锁定时长,所述第一目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;According to the mapping relationship between the number of APs and the locking duration, the first target locking duration corresponding to the T is determined, the first target locking duration is less than the set locking duration, and the setting locking duration is the duration of the normal locking Wifi;将所述SSID对应的Wifi锁定所述第一目标锁定时长。The Wifi corresponding to the SSID is locked to the first target locking duration.
- 根据权利要求2或3所述的方法,其特征在于,所述缩短所述SSID 对应的Wifi的锁定时长,包括:The method according to claim 2 or 3, wherein said shortening said SSID The corresponding Wifi lock duration, including:根据流动用户的数量与锁定时长的映射关系,确定所述目标数量对应的第二目标锁定时长,所述第二目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;Determining, according to the mapping relationship between the number of the mobile users and the locking duration, the second target locking duration corresponding to the target number, the second target locking duration is less than the setting locking duration, and the setting locking duration is the duration of the normal locking Wifi ;将所述SSID对应的Wifi锁定所述第二目标锁定时长。The Wifi corresponding to the SSID is locked to the second target locking duration.
- 根据权利要求1-5任一项所述的方法,其特征在于,所述向所述SSID对应的第二AP发送第二接入请求之后,所述方法还包括:The method according to any one of claims 1-5, wherein after the sending the second access request to the second AP corresponding to the SSID, the method further includes:接收所述第二AP针对所述第二接入请求而反馈的允许接入响应,所述允许接入响应携带所述第二AP为终端设备分配的IP地址;And receiving an allowed access response that is sent by the second AP for the second access request, where the allowed access response carries an IP address that is allocated by the second AP to the terminal device;根据所述IP地址接入所述第二AP。Accessing the second AP according to the IP address.
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:若检测到所述终端设备从所述第二AP切换至所述SSID对应的第三AP时,则增大所述SSID对应的Wifi的漫游阈值。If it is detected that the terminal device is switched from the second AP to the third AP corresponding to the SSID, the roaming threshold of the Wifi corresponding to the SSID is increased.
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:在检测到所述SSID对应的AP中存在多个AP的RSSI值与所述第一AP的RSSI的差值的绝对值小于或等于预设阈值,则增大所述SSID对应的Wifi的漫游阈值。After detecting that the absolute value of the difference between the RSSI value of the multiple APs and the RSSI of the first AP is less than or equal to a preset threshold, the roaming threshold of the Wifi corresponding to the SSID is increased. .
- 根据权利要求1-8任一项所述的方法,其特征在于,所述SSID对应的Wifi的接入指令是所述终端设备在检测到用户在Wifi接入界面中针对所述SSID对应的Wifi的点击指令时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi历史被接入次数大于或等于第一设定值时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi的信号强度大于或等于预设强度时触发的。The method according to any one of claims 1-8, wherein the access instruction of the Wifi corresponding to the SSID is that the terminal device detects that the user corresponds to the Wifi in the Wifi access interface for the SSID. The Wifi access command corresponding to the SSID is triggered when the terminal device detects that the Wifi history access number corresponding to the SSID is greater than or equal to the first set value; Alternatively, the access command of the Wifi corresponding to the SSID is triggered when the terminal device detects that the signal strength of the Wifi corresponding to the SSID is greater than or equal to a preset strength.
- 一种终端设备,其特征在于,一个服务集标识(SSID)下存在多个接入点(AP),包括:A terminal device, characterized in that a plurality of access points (APs) exist under a service set identifier (SSID), including:发送模块,用于当检测到针对所述SSID对应的Wifi的接入指令时,向所述SSID对应的第一AP发送第一接入请求; a sending module, configured to send a first access request to the first AP corresponding to the SSID when detecting an access command for the Wifi corresponding to the SSID;所述发送模块,还用于在接收到所述第一AP针对所述第一接入请求而反馈的拒绝接入响应时,向所述SSID对应的第二AP发送第二接入请求。The sending module is further configured to send a second access request to the second AP corresponding to the SSID when receiving the reject access response that is sent by the first AP for the first access request.
- 根据权利要求10所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 10, wherein the terminal device further comprises:处理模块,用于在接收到所述SSID对应的其中一个AP针对所述第一接入请求而反馈的拒绝接入响应时,缩短所述SSID对应的Wifi的锁定时长。And a processing module, configured to shorten a lock duration of the Wifi corresponding to the SSID when receiving the reject access response fed back by the one AP corresponding to the SSID for the first access request.
- 根据权利要求11所述的终端设备,其特征在于,The terminal device according to claim 11, wherein所述处理模块,还用于获取在第一时段内接入所述其中一个AP的N个用户,所述N为大于1的整数;获取在第二时段内接入所述其中一个AP的M个用户,所述M为大于1的整数,所述第一时段的终止时间节点为当前系统时间,所述第一时段的时长等于所述第二时段的时长,所述第一时段的起始时间节点为所述第二时段的终止时间节点;当所述N个用户与所述M个用户不同的目标数量大于或等于第二设定值时,缩短所述SSID对应的Wifi的锁定时长。The processing module is further configured to acquire N users that access the one of the APs in the first time period, where the N is an integer greater than one, and obtain the M that accesses the one of the APs in the second time period. a user, the M is an integer greater than 1, the end time node of the first time period is a current system time, the duration of the first time period is equal to the duration of the second time period, and the start of the first time period The time node is the end time node of the second time period; when the target number of the N users different from the M users is greater than or equal to the second set value, the lock duration of the Wifi corresponding to the SSID is shortened.
- 根据权利要求11或12所述的终端设备,其特征在于,当所述SSID下的多个AP的数量为T时,在缩短所述SSID对应的Wifi的锁定时长方面,所述处理模块具体用于:The terminal device according to claim 11 or 12, wherein when the number of the plurality of APs in the SSID is T, the processing module is specifically used to shorten the locking duration of the Wifi corresponding to the SSID. to:根据AP数量与锁定时长的映射关系,确实所述T对应的第一目标锁定时长,所述第一目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;将所述SSID对应的Wifi锁定所述第一目标锁定时长。According to the mapping relationship between the number of APs and the locking duration, the first target locking duration corresponding to the T is determined, the first target locking duration is less than the set locking duration, and the setting locking duration is the duration of the normal locking Wifi; The Wifi corresponding to the SSID locks the first target locking duration.
- 根据权利要求11或12所述的终端设备,其特征在于,在缩短所述SSID对应的Wifi的锁定时长方面,所述处理模块具体用于:The terminal device according to claim 11 or 12, wherein, in shortening the locking duration of the Wifi corresponding to the SSID, the processing module is specifically configured to:根据流动用户的数量与锁定时长的映射关系,确定所述目标数量对应的第二目标锁定时长,所述第二目标锁定时长小于设定锁定时长,所述设定锁定时长为正常锁定Wifi的时长;将所述SSID对应的Wifi锁定所述第二目标锁定时长。Determining, according to the mapping relationship between the number of the mobile users and the locking duration, the second target locking duration corresponding to the target number, the second target locking duration is less than the setting locking duration, and the setting locking duration is the duration of the normal locking Wifi And locking the Wifi corresponding to the SSID to the second target locking duration.
- 根据权利要求10-14任一项所述的终端设备,其特征在于,所述终端设备还包括: The terminal device according to any one of claims 10 to 14, wherein the terminal device further comprises:接收模块,用于接收所述第二AP针对所述第二接入请求而反馈的允许接入响应,所述允许接入响应携带所述第二AP为终端设备分配的IP地址;a receiving module, configured to receive an allowed access response that is sent by the second AP for the second access request, where the allowed access response carries an IP address that is allocated by the second AP to the terminal device;所述处理模块,还用于根据所述IP地址接入所述第二AP。The processing module is further configured to access the second AP according to the IP address.
- 根据权利要求15所述的终端设备,其特征在于,The terminal device according to claim 15, wherein所述处理模块,还用于若检测到所述终端设备从所述第二AP切换至所述SSID对应的第三AP时,则增大所述SSID对应的Wifi的漫游阈值。The processing module is further configured to: if it is detected that the terminal device is switched from the second AP to the third AP corresponding to the SSID, increase a roaming threshold of the Wifi corresponding to the SSID.
- 根据权利要求15所述的终端设备,其特征在于,The terminal device according to claim 15, wherein所述处理模块,还用于在检测到所述SSID对应的AP中存在多个AP的RSSI值与所述第一AP的RSSI的差值的绝对值小于或等于预设阈值,则增大所述SSID对应的Wifi的漫游阈值。The processing module is further configured to: when detecting that the absolute value of the difference between the RSSI value of the multiple APs and the RSSI of the first AP in the AP corresponding to the SSID is less than or equal to a preset threshold, increase the location The roaming threshold of the Wifi corresponding to the SSID.
- 根据权利要求10-17任一项所述的终端设备,其特征在于,所述SSID对应的Wifi的接入指令是所述终端设备在检测到用户在Wifi接入界面中针对所述SSID对应的Wifi的点击指令时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi历史被接入次数大于或等于第一设定值时触发的;或者,所述SSID对应的Wifi的接入指令是所述终端设备在检测到所述SSID对应的Wifi的信号强度大于或等于预设强度时触发的。The terminal device according to any one of claims 10-17, wherein the access instruction of the Wifi corresponding to the SSID is that the terminal device detects that the user corresponds to the SSID in the Wifi access interface. The Wifi access command is triggered by the Wifi; or the Wifi access command corresponding to the SSID is triggered when the terminal device detects that the Wifi history access number corresponding to the SSID is greater than or equal to the first set value. Or, the access instruction of the Wifi corresponding to the SSID is triggered when the terminal device detects that the signal strength of the Wifi corresponding to the SSID is greater than or equal to a preset strength.
- 一种终端设备,其特征在于,包括:A terminal device, comprising:存储有可执行程序代码的存储器;a memory storing executable program code;与所述存储器耦合的处理器;a processor coupled to the memory;所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1~权利要求9任一项所述的信息处理方法。The processor calls the executable program code stored in the memory to execute the information processing method according to any one of claims 1 to 9.
- 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。 A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method of any one of claims 1-9.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117290.3 | 2016-12-07 | ||
CN201611117290.3A CN106686577B (en) | 2016-12-07 | 2016-12-07 | A kind of information processing method, terminal device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018103442A1 true WO2018103442A1 (en) | 2018-06-14 |
Family
ID=58868570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/105130 WO2018103442A1 (en) | 2016-12-07 | 2017-09-30 | Information processing method and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106686577B (en) |
WO (1) | WO2018103442A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686577B (en) * | 2016-12-07 | 2019-07-30 | Oppo广东移动通信有限公司 | A kind of information processing method, terminal device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101601223A (en) * | 2006-09-30 | 2009-12-09 | 汤姆逊许可公司 | The headend that is used for the cable access network transfer of data |
US20130111044A1 (en) * | 2011-10-28 | 2013-05-02 | Qualcomm Incorporated | Systems and methods for fast initial network link setup |
CN105519193A (en) * | 2013-08-06 | 2016-04-20 | 摩托罗拉移动有限责任公司 | Method and device for accepting or rejecting request associated with mobile device wirelessly connecting to network |
CN105794270A (en) * | 2014-01-06 | 2016-07-20 | 英特尔Ip公司 | Systems, methods, and devices for application aware access control for communication on a mobile network |
CN106686577A (en) * | 2016-12-07 | 2017-05-17 | 广东欧珀移动通信有限公司 | Information processing method and terminal equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100423501C (en) * | 2004-04-27 | 2008-10-01 | Ut斯达康通讯有限公司 | Method of load balancing for wireless access point |
US8929328B2 (en) * | 2007-02-02 | 2015-01-06 | Microsoft Corporation | Decoupling scanning from handoff for reduced delay over wireless LAN |
CN101282306B (en) * | 2008-05-22 | 2010-08-18 | 杭州华三通信技术有限公司 | Method for balancing load between access points, system, access point and mobile terminal |
CN102006653B (en) * | 2009-08-28 | 2014-02-19 | 华为技术有限公司 | Access control method and access point (AP) |
CN104540172B (en) * | 2014-12-29 | 2017-08-29 | 江苏中兴微通信息科技有限公司 | A kind of unit area load-balancing method realized in wlan system based on position |
-
2016
- 2016-12-07 CN CN201611117290.3A patent/CN106686577B/en active Active
-
2017
- 2017-09-30 WO PCT/CN2017/105130 patent/WO2018103442A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101601223A (en) * | 2006-09-30 | 2009-12-09 | 汤姆逊许可公司 | The headend that is used for the cable access network transfer of data |
US20130111044A1 (en) * | 2011-10-28 | 2013-05-02 | Qualcomm Incorporated | Systems and methods for fast initial network link setup |
CN105519193A (en) * | 2013-08-06 | 2016-04-20 | 摩托罗拉移动有限责任公司 | Method and device for accepting or rejecting request associated with mobile device wirelessly connecting to network |
CN105794270A (en) * | 2014-01-06 | 2016-07-20 | 英特尔Ip公司 | Systems, methods, and devices for application aware access control for communication on a mobile network |
CN106686577A (en) * | 2016-12-07 | 2017-05-17 | 广东欧珀移动通信有限公司 | Information processing method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106686577B (en) | 2019-07-30 |
CN106686577A (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10813058B2 (en) | Method for processing information and terminal device | |
US10142845B2 (en) | Network connection method and apparatus, and computer storage medium | |
EP3531737B1 (en) | Method for setting wifi roaming and terminal device | |
US11212677B2 (en) | Method for accessing wireless network, and terminal device | |
CN106714250B (en) | Cell registration method and device and computer readable storage medium | |
WO2019137337A1 (en) | Cell selection method, terminal, and network device | |
US11224027B2 (en) | Cell registration method and device | |
WO2018133519A1 (en) | Cell registration method and apparatus | |
KR102305807B1 (en) | Communication method and device | |
WO2017076255A1 (en) | Method for balancing load of wireless network, network equipment, and terminal equipment | |
WO2018103443A1 (en) | Network positioning method and terminal device | |
WO2018103441A1 (en) | Network positioning method and terminal device | |
EP3322230B1 (en) | Communication method and device, terminal and base station | |
TWI737227B (en) | Event processing method, device and computer readable storage medium | |
CN110933704B (en) | Network communication method, device, storage medium and electronic equipment | |
WO2018103440A1 (en) | Network positioning method and terminal device | |
WO2018103442A1 (en) | Information processing method and terminal device | |
JP2021500828A (en) | Roaming handoff method, central control device, and station | |
WO2022067544A1 (en) | Wireless communication method, terminal device, and network device | |
CN111436138A (en) | Signal transmission method, device and system | |
CN114245427B (en) | Network switching method and device and mobile terminal | |
CN114222340B (en) | Network switching method and device and mobile terminal | |
CN114827985A (en) | Method for improving high-standard cell network residence rate, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17878362 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17878362 Country of ref document: EP Kind code of ref document: A1 |