WO2019057119A1 - Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium - Google Patents

Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium Download PDF

Info

Publication number
WO2019057119A1
WO2019057119A1 PCT/CN2018/106734 CN2018106734W WO2019057119A1 WO 2019057119 A1 WO2019057119 A1 WO 2019057119A1 CN 2018106734 W CN2018106734 W CN 2018106734W WO 2019057119 A1 WO2019057119 A1 WO 2019057119A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
user
receiving
device identifier
wifi hotspot
Prior art date
Application number
PCT/CN2018/106734
Other languages
French (fr)
Chinese (zh)
Inventor
赵恒昌
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2019057119A1 publication Critical patent/WO2019057119A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a WIFI hotspot connection method based on a mobile terminal, and a mobile terminal and a storage medium.
  • smartphone devices have the function of “network sharing and portable hotspot”, which means that the Internet of the mobile phone is shared with other devices with wlan function, so that other devices can access the Internet through the connection of the mobile phone.
  • the mobile phone turns on the "network sharing and portable hotspot" function, the mobile phone is used as a wireless router to broadcast the wireless network to enable the device with the wlan function to search for and connect to the wireless network.
  • SSID name namely, WiFi hotspot name
  • passwords with higher security are usually more complicated, and generally contain characters such as numbers, letters, symbols, etc., and the input is not simple enough.
  • the embodiment of the invention provides a WIFI hotspot connection method based on a mobile terminal, a mobile terminal and a storage medium, which can solve the problem that the existing device needs to input a password when connecting to the WIFI hotspot, resulting in a cumbersome connection operation.
  • an embodiment of the present invention provides a WIFI hotspot connection method based on a mobile terminal, including:
  • the device When the acknowledgment operation is received, the device is allowed to identify the corresponding terminal device to access the WIFI hotspot.
  • the mobile terminal-based WIFI hotspot connection method wherein the device identifier is displayed on a display interface for a user to view, and receives an operation of the user identifier, wherein the operation includes a confirmation operation and a rejection
  • the steps of the operation include:
  • the mobile terminal-based WIFI hotspot connection method wherein the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
  • Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
  • the mobile terminal-based WIFI hotspot connection method wherein the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
  • the mobile terminal-based WIFI hotspot connection method wherein the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
  • the mobile terminal-based WIFI hotspot connection method wherein, after the step of receiving the window for closing the display device identifier in the preset time, the step of determining the rejection operation of the user is further included:
  • the request Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  • the mobile terminal-based WIFI hotspot connection method wherein the mobile terminal receives a request for accessing a WIFI hotspot issued by the mobile terminal, where the step of the request carrying the device identifier further includes:
  • the mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
  • the method for connecting a WIFI hotspot based on a mobile terminal after the step of receiving the connection mode selected by the terminal device, further includes:
  • connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
  • an embodiment of the present invention provides a storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and performing the following steps:
  • the device When the acknowledgment operation is received, the device is allowed to identify the corresponding terminal device to access the WIFI hotspot.
  • the receiving the user's operation on the device identifier on the display interface wherein the operation includes the steps of confirming the operation and rejecting the operation, specifically:
  • Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
  • the receiving the user's operation on the device identifier on the display interface wherein the operation includes the steps of confirming the operation and rejecting the operation, specifically:
  • the step of receiving the user's operation on the device identifier on the display interface includes:
  • the step of determining the rejection operation of the user is further included:
  • the request Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  • an embodiment of the present invention provides a mobile terminal, including:
  • a storage device adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the following steps:
  • the request Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  • the device identifier is displayed on a display interface for viewing by a user, and receiving an operation of the device identifier by the user, wherein the operation includes a step of confirming the operation and rejecting the operation, Specifically include:
  • the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
  • Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
  • the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
  • the step of receiving the user's operation on the device identifier on the display interface includes:
  • the step of displaying the device identifier on the display interface for the user to view includes:
  • the device identifier is obtained by the device, and the device identifier is searched for in the preset priority display list. When the device identifier is found, the device identifier is determined to be corresponding.
  • the terminal device is a priority display device, and the device identifier is directly arranged in the first position in the request queue to be preferentially displayed on the display interface, and waits for the user to confirm.
  • the mobile terminal receives a request for accessing a WIFI hotspot that is issued by the mobile terminal, where the step of carrying the device identifier before the request further includes:
  • the mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
  • the method further includes:
  • connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
  • the present invention provides a mobile terminal-based WIFI hotspot connection method, a mobile terminal, and a storage medium, where the method includes: the mobile terminal receives a request to access a WIFI hotspot issued by the mobile terminal, where the Requesting to carry the device identifier; displaying the device identifier on the display interface for the user to view, and receiving the user's operation on the device identifier, wherein the operation includes confirming the operation and rejecting the operation; when receiving the confirmation operation, allowing The terminal device corresponding to the device identifier accesses the WIFI hotspot.
  • the device When the mobile terminal receives the request for connecting to the WIFI hotspot, the device displays the device identifier of the terminal device, and when the user confirms the operation, directly accesses the terminal device to the WIFI hotspot without inputting a cumbersome password. Simplified connection operation of WIFI hotspots.
  • FIG. 1 is a flowchart of a WIFI hotspot connection method based on a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the present invention provides a WIFI hotspot connection method based on a mobile terminal, a mobile terminal, and a storage medium.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • FIG. 1 is a flowchart of a WIFI hotspot connection method based on a mobile terminal according to an embodiment of the present invention. The method includes:
  • the mobile terminal receives a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier.
  • the WIFI hotspot refers to that the mobile terminal converts the GPRS, 3G or 4G signals it receives into wifi signals through the AP function.
  • the terminal device refers to a device that scans to the WIFI hotspot and requests access to the WIFI hotspot.
  • the request refers to request information sent by the terminal device for connecting to the WIFI hotspot, where the device identifier of the terminal device is carried.
  • the device identifier is the identifier information uniquely corresponding to the terminal device, and may be a sequence code, a MAC address, or the like of the terminal device. Therefore, the step S10 further includes a process for the mobile terminal to issue a WIFI hotspot, which specifically includes:
  • the mobile terminal issues a WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
  • S02 Receive a connection mode selected by the terminal device, and perform a step of receiving a request for carrying the device identifier of the terminal device when the connection mode is a passwordless connection mode.
  • the preset range refers to the coverage of the WIFI hotspot, and only the terminal device within the preset range can scan the WIFI hotspot.
  • the connection mode refers to a mode of connecting the WIFI hotspot, including a passwordless connection and a password connection.
  • the passwordless connection means that the password is not required to be connected to the WIFI hotspot, that is, the subsequent mobile terminal does not need to verify the password to verify whether the terminal device is connected.
  • the password connection refers to the current conventional connection mode, that is, the terminal device inputs the password corresponding to the WIFI hotspot and sends the password to the mobile terminal, and the mobile terminal verifies the password, and when the verification is correct, Establish a connection with the terminal device.
  • the terminal device scans the WIFI hotspot, the corresponding connection mode is selected according to the user's operation.
  • the terminal device when receiving an operation of the user selecting a passwordless connection, the terminal device obtains its own device identifier, generates a request for connecting to the WIFI hotspot, and then writes the device identifier into the request, and The request is sent to the mobile terminal to request access to the WIFI hotspot.
  • step S03 when the terminal device receives the mode in which the password connection is selected, step S03 is performed: when the connection mode is the password connection mode, the password sent by the terminal device is received and verified. The password is such that the terminal device accesses the WIFI hotspot.
  • the user is provided with sufficient freedom of choice, so that the user can select a convenient passwordless connection method, and can also adopt a traditional password verification connection method.
  • S20 Display the device identifier on the display interface for the user to view, and receive an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation.
  • the confirming operation refers to an operation performed by the mobile terminal to perform the request, that is, the terminal device that sends the request is allowed to access the WIFI hotspot; and the reject operation refers to the received by the mobile terminal.
  • the operation of rejecting the request that is, the terminal device that sends the request is not allowed to access the WIFI hotspot.
  • the mobile terminal may receive a connection request sent by a plurality of terminal devices, each request may be sequentially processed according to the reception time of each request to avoid confusion. Therefore, the device identifier is displayed on the display interface for the user to view, and the operation of the device identifier is received by the user, where the operation includes the confirming operation and the rejecting operation, which may specifically include:
  • the mobile terminal acquires a device identifier carried by the request and a receiving time of the request.
  • S23 Receive an operation of a user identifier on a display interface, where the operation includes a confirmation operation and a rejection operation.
  • the preset request queue is used to cache device identifiers carried by multiple requests in a preset order.
  • the device identifier is cached in the request queue according to the requested receiving time, that is, the request is sequentially added to the request queue according to the principle of first in first out, backward in and out. Therefore, when receiving the request, acquiring the receiving time of the request, and then adding the device identifier corresponding to the request to the request queue according to the receiving time, waiting for display to the user to make the device identifier in the request queue Displayed one by one on the display interface for the user to confirm/reject.
  • a plurality of preferentially displayed terminal devices may be set, that is, when the request sent by the device with priority display is received, the device identifier carried by the request is acquired, and then the preset priority display is performed.
  • the device identifier is found in the list, and when the device identifier is found, it is determined that the terminal device corresponding to the device identifier is a priority display device, and the device identifier is directly arranged in the first position in the request queue. Displayed on the display interface with priority, and wait for the user to confirm. In this way, when the user receives multiple connection requests, the terminal device with higher priority can be preferentially confirmed to save the connection time while satisfying the personalized requirements of the user.
  • the user can confirm by shaking the mobile terminal or inputting a fingerprint. Therefore, the confirmation operation can be a shaking operation and a fingerprint input operation.
  • the shaking operation refers to an action in which the user holds the mobile terminal to shake.
  • the fingerprint input operation refers to an operation in which a user confirms by inputting a fingerprint. This is advantageous for the user to implement a blind operation without having to find a corresponding operation area on the screen of the mobile terminal, which is simple and quick.
  • the receiving user performs an operation on the device identifier on the display interface, where the operation includes the confirming operation and the rejecting operation, specifically:
  • S231a Acquire an acceleration by using an acceleration sensor configured in the mobile terminal within a preset time, and compare the acquired acceleration with a preset acceleration threshold;
  • the preset time refers to a preset time for monitoring the confirmation operation, for example, 5S, which refers to the confirmation operation of monitoring the user within 5S, and the request is displayed after 5S.
  • the preset acceleration threshold refers to a preset acceleration value, which may be set by the system by default, or may be set by the user according to his own usage.
  • Step S30 is performed to enable the terminal device corresponding to the device identifier to access the WIFI hotspot, that is, the terminal device can use the WIFI network shared by the mobile terminal.
  • the acceleration value greater than the preset acceleration threshold is not detected in the preset time, it is determined that the user's confirmation operation is not monitored, and a connection failure information is returned to the terminal device corresponding to the device identifier, and Displays the next device ID in the request queue.
  • the receiving user When the confirming operation is an operation of inputting a fingerprint, the receiving user performs an operation on the device identifier on the display interface, where the operation includes the confirming operation and the rejecting operation, and specifically includes:
  • S231b collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
  • the fingerprint data input by the user is received within a preset time, that is, the fingerprint data of the user is acquired by the fingerprint collection device configured in the mobile terminal, and the fingerprint data is compared with the preset fingerprint database.
  • the fingerprint data exists in the preset fingerprint database, it is determined that the comparison is successful, indicating that the confirmation operation of the user is received at this time.
  • the step S30 is performed to agree to the request, so that the terminal device corresponding to the device identifier accesses the WIFI hotspot, that is, the terminal device can use the WIFI network shared by the mobile terminal.
  • the two are different, it means that the wrong fingerprint is input, that is, the confirmation operation of the user is not received.
  • other confirmation methods can also be adopted, and no limitation is imposed herein.
  • the operation of closing the window of the display device identifier may be a sliding operation or a click operation.
  • the window of the display device identification is swiped up/down/left/right to close the display window.
  • the request is discarded at this time, and the connection failure information is returned to the corresponding terminal device.
  • the user can prevent other terminal devices from accessing their shared WIFI hotspot by actively initiating a reject operation.
  • the user's confirmation operation/rejection operation is not received within the preset time, the default is to receive the rejection operation, and the connection request is also discarded.
  • the terminal device corresponding to the device identifier is accessed by the WIFI hotspot, so that the terminal device can use the WIFI hotspot to perform activities such as surfing the Internet.
  • the mobile terminal receives the confirmation operation of the user to establish a connection with the terminal device that initiates the connection request, so that the terminal device can access the WIFI hotspot issued by the mobile terminal without inputting a complicated password.
  • the present invention also provides a storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform a mobile terminal based WIFI hotspot connection method as described above.
  • the present invention also provides a mobile terminal, as shown in FIG. 2, which includes at least one processor 20; a display screen 21; and a memory 22, which may further include a communication interface 23 and a bus. twenty four. Among them, the processor 20, the display screen 21, the memory 22, and the communication interface 23 can complete communication with each other through the bus 24.
  • the display screen 21 is set to display a user guidance interface preset in the initial setting mode.
  • the communication interface 23 can transmit information.
  • Processor 20 may invoke logic instructions in memory 22 to perform the methods in the above-described embodiments.
  • logic instructions in the memory 22 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
  • the memory 22 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure.
  • the processor 30 performs the functional application and data processing by executing software programs, instructions or modules stored in the memory 22, i.e., implements the methods in the above embodiments.
  • the memory 22 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the mobile terminal, and the like. Further, the memory 22 may include a high speed random access memory, and may also include a nonvolatile memory. For example, U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM, disk or CD-ROM A variety of media that can store program code, or a transient storage medium.
  • FIG. 3 is a block diagram showing a specific structure of a mobile terminal provided by an embodiment of the present invention.
  • the mobile terminal may be used to implement a mobile terminal-based WIFI hotspot connection method provided in the foregoing embodiment.
  • the mobile terminal 1200 can be a smartphone or a tablet.
  • the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage medium, an input unit 130, and a display unit. 140, sensor 150, audio circuit 160, transmission module 170, including processor 180 having one or more processing cores (only one shown) and power supply 190 and the like.
  • RF Radio Frequency
  • FIG. 3 does not constitute a limitation of the mobile terminal 1200, and may include more or less components than those illustrated, or combine some components or different components. Arrangement. among them:
  • the RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • SIM Subscriber Identity Module
  • the RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division) Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (such as the Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), VoIP (Voice) Over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Mobile Communication Technology
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple
  • the memory 120 can be used to store software programs and modules, such as the program instructions/modules corresponding to the WIFI hotspot connection method of the mobile terminal in the above embodiment, and the processor 180 executes various programs by running software programs and modules stored in the memory 120. Functional application and data processing, that is, the function of implementing WIFI hotspot connection based on mobile terminal.
  • Memory 120 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 120 can further include memory remotely located relative to processor 180, which can be connected to mobile terminal 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of 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 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used)
  • the display panel 141 is configured in the form of a Crystal Display (LCD) or an OLED (Organic Light-Emitting Diode).
  • touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Mobile terminal 1200 may also include at least one type of sensor 150, 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 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 1200 moves to the ear. And / or backlight.
  • the gravity acceleration 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 terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the mobile terminal 110 via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 1200.
  • the mobile terminal 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (eg, Wi-Fi module), which provides wireless broadband Internet access to the user.
  • the transmission module 170 eg, Wi-Fi module
  • FIG. 3 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the mobile terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the mobile terminal 1200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the mobile terminal 1200 also includes a power source 190 (such as a battery) that powers the various components.
  • the power source can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the mobile terminal is a touch screen display
  • the mobile terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one
  • the above processor executes one or more programs that include instructions for performing the following operations:
  • the request Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  • Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
  • the step of receiving the operation of the user on the device identifier on the display interface includes:
  • the step of displaying the device identifier on the display interface for the user to view includes:
  • the device identifier is obtained by the device, and the device identifier is searched for in the preset priority display list. When the device identifier is found, the device identifier is determined to be corresponding.
  • the terminal device is a priority display device, and the device identifier is directly arranged in the first position in the request queue to be preferentially displayed on the display interface, and waits for the user to confirm.
  • the mobile terminal receives a request for accessing the WIFI hotspot that is advertised by the mobile terminal, where the step of carrying the device identifier before the request further includes:
  • the mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
  • the method further includes:
  • connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.

Abstract

Disclosed by the present invention are a mobile terminal-based WiFi hotspot connection method, a mobile terminal and a storage medium, the method comprising: a mobile terminal receiving a request to access a WiFi hotspot that is published thereby, wherein the request carries a device identifier; displaying the device identifier in a display interface for a user to view and receiving an operation from the user on the device identifier; when a confirmation operation is received, allowing a terminal device corresponding to the device identifier to access the WiFi hotspot.

Description

基于移动终端的WIFI热点连接方法及移动终端、存储介质WIFI hotspot connection method based on mobile terminal, mobile terminal and storage medium
本申请要求于2017年9月20日提交中国专利局、申请号为201710850944.1、发明名称为“一种基于移动终端的WIFI热点连接方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on September 20, 2017, the Chinese Patent Office, the application number is 201710850944.1, and the invention name is "a mobile terminal-based WIFI hotspot connection method and mobile terminal", the entire contents of which are The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及移动终端技术领域,特别涉及一种基于移动终端的WIFI热点连接方法及移动终端、存储介质。The present invention relates to the field of mobile terminal technologies, and in particular, to a WIFI hotspot connection method based on a mobile terminal, and a mobile terminal and a storage medium.
背景技术Background technique
现在智能手机设备都有“网络共享与便携式热点”功能,即将手机的因特网分享给其他具有wlan功能的设备使用,这样其他设备能够通过手机的连接上网。当手机开启“网络共享与便携式热点”功能后,手机就作为一个无线路由器使用,将无线网络向外广播,让具有wlan功能的设备能够搜索并连接上所述无线网络。Nowadays, smartphone devices have the function of “network sharing and portable hotspot”, which means that the Internet of the mobile phone is shared with other devices with wlan function, so that other devices can access the Internet through the connection of the mobile phone. When the mobile phone turns on the "network sharing and portable hotspot" function, the mobile phone is used as a wireless router to broadcast the wireless network to enable the device with the wlan function to search for and connect to the wireless network.
当用户想要分享网络时,在手机端的“网络共享与便携式热点”选项中设置SSID名称(即WiFi热点名称),密码。想要连接此WiFi热点的设备,需要在发起连接前输入密码。然而,安全性比较高的密码通常比较复杂,一般包含数字,字母,符号等字符,输入不够简便。When the user wants to share the network, set the SSID name (namely, WiFi hotspot name) and password in the "Network Sharing and Portable Hotspot" option on the mobile terminal. To connect to this WiFi hotspot, you need to enter your password before initiating a connection. However, passwords with higher security are usually more complicated, and generally contain characters such as numbers, letters, symbols, etc., and the input is not simple enough.
因而现有技术还有待改进和提高。Therefore, the prior art has yet to be improved and improved.
技术问题technical problem
本发明实施例提供一种基于移动终端的WIFI热点连接方法及移动终端、存储介质,可以解决现有设备连接WIFI热点需要输入密码,导致连接操作繁琐的问题。The embodiment of the invention provides a WIFI hotspot connection method based on a mobile terminal, a mobile terminal and a storage medium, which can solve the problem that the existing device needs to input a password when connecting to the WIFI hotspot, resulting in a cumbersome connection operation.
技术解决方案Technical solution
为了解决上述技术问题,本发明所采用的技术方案如下:In order to solve the above technical problem, the technical solution adopted by the present invention is as follows:
第一方面,本发明实施例提供一种基于移动终端的WIFI热点连接方法,其包括:In a first aspect, an embodiment of the present invention provides a WIFI hotspot connection method based on a mobile terminal, including:
移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点。When the acknowledgment operation is received, the device is allowed to identify the corresponding terminal device to access the WIFI hotspot.
所述基于移动终端的WIFI热点连接方法,其中,所述将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method, wherein the device identifier is displayed on a display interface for a user to view, and receives an operation of the user identifier, wherein the operation includes a confirmation operation and a rejection The steps of the operation include:
移动终端获取所述请求携带的设备标识以及所述请求的接收时间;Obtaining, by the mobile terminal, a device identifier carried by the request and a receiving time of the request;
根据所述接收时间将所述设备标识加入预设的请求队列中,并将所述请求队列中的设备标识逐一显示于显示界面;Adding the device identifier to a preset request queue according to the receiving time, and displaying the device identifiers in the request queue one by one on the display interface;
接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作。Receiving an operation of the user identification of the device on the display interface, wherein the operation includes a confirmation operation and a rejection operation.
所述基于移动终端的WIFI热点连接方法,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method, wherein the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
所述基于移动终端的WIFI热点连接方法,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method, wherein the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
所述基于移动终端的WIFI热点连接方法,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method, wherein the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作。When the operation of closing the window of the display device identification is received within the preset time, it is determined that the user's rejection operation is accepted.
所述基于移动终端的WIFI热点连接方法,其中,所述在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作的步骤之后,还包括:The mobile terminal-based WIFI hotspot connection method, wherein, after the step of receiving the window for closing the display device identifier in the preset time, the step of determining the rejection operation of the user is further included:
在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
所述基于移动终端的WIFI热点连接方法,其中,所述移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识的步骤之前,还包括:The mobile terminal-based WIFI hotspot connection method, wherein the mobile terminal receives a request for accessing a WIFI hotspot issued by the mobile terminal, where the step of the request carrying the device identifier further includes:
移动终端在预设范围内发布WIFI热点,其中,所述WIFI热点的连接模式包含有密码连接模式和无密码连接模式;The mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
接收终端设备选择的连接模式,并在所述连接模式为无密码连接模式时,执行所述移动终端接收接入其发布的WIFI热点的请求的步骤。Receiving a connection mode selected by the terminal device, and performing the step of the mobile terminal receiving a request to access the WIFI hotspot issued by the mobile terminal when the connection mode is a passwordless connection mode.
所述基于移动终端的WIFI热点连接方法,所述接收终端设备选择的连接模式的步骤之后,还包括:The method for connecting a WIFI hotspot based on a mobile terminal, after the step of receiving the connection mode selected by the terminal device, further includes:
在所述连接模式为有密码连接模式时,接收所述终端设备发送的密码,并通过验证所述密码以使得所述终端设备接入所述WIFI热点。And when the connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
第二方面,本发明实施例提供一种存储介质,其存储有多条指令,所述指令适于由处理器加载并执行如下步骤:In a second aspect, an embodiment of the present invention provides a storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and performing the following steps:
移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点。When the acknowledgment operation is received, the device is allowed to identify the corresponding terminal device to access the WIFI hotspot.
在所述存储介质中,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:In the storage medium, the receiving the user's operation on the device identifier on the display interface, wherein the operation includes the steps of confirming the operation and rejecting the operation, specifically:
在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
在所述存储介质中,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:In the storage medium, the receiving the user's operation on the device identifier on the display interface, wherein the operation includes the steps of confirming the operation and rejecting the operation, specifically:
在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
在所述存储介质中,其中,所述接收用户对显示界面上的设备标识的操作的步骤,具体包括:In the storage medium, the step of receiving the user's operation on the device identifier on the display interface includes:
在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作;When receiving the operation of closing the window of the display device identifier within the preset time, it is determined that the user's rejection operation is accepted;
其中,所述在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作的步骤之后,还包括:When the step of receiving the window for closing the display device identifier is received within the preset time, the step of determining the rejection operation of the user is further included:
在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
第三方面,本发明实施例提供一种移动终端,其包括:In a third aspect, an embodiment of the present invention provides a mobile terminal, including:
处理器,适于实现各指令;以及a processor adapted to implement each instruction;
存储设备,适于存储多条指令,所述指令适于由处理器加载并执行如下步骤:A storage device adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the following steps:
移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点;Receiving, by the device, the corresponding terminal device to access the WIFI hotspot when receiving the confirming operation;
在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
在所述移动终端中,其中,所述将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:In the mobile terminal, wherein the device identifier is displayed on a display interface for viewing by a user, and receiving an operation of the device identifier by the user, wherein the operation includes a step of confirming the operation and rejecting the operation, Specifically include:
移动终端获取所述请求携带的设备标识以及所述请求的接收时间;Obtaining, by the mobile terminal, a device identifier carried by the request and a receiving time of the request;
根据所述接收时间将所述设备标识加入预设的请求队列中,并将所述请求队列中的设备标识逐一显示于显示界面;Adding the device identifier to a preset request queue according to the receiving time, and displaying the device identifiers in the request queue one by one on the display interface;
接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作。Receiving an operation of the user identification of the device on the display interface, wherein the operation includes a confirmation operation and a rejection operation.
在所述移动终端中,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:In the mobile terminal, the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
在所述移动终端中,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:In the mobile terminal, the receiving user performs an operation on the device identifier on the display interface, where the operation includes a step of confirming the operation and rejecting the operation, and specifically includes:
在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
在所述移动终端中,其中,所述接收用户对显示界面上的设备标识的操作的步骤,具体包括:In the mobile terminal, the step of receiving the user's operation on the device identifier on the display interface includes:
在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作。When the operation of closing the window of the display device identification is received within the preset time, it is determined that the user's rejection operation is accepted.
在所述移动终端中,其中,所述将所述设备标识显示于显示界面以供用户查看的步骤,具体包括:In the mobile terminal, the step of displaying the device identifier on the display interface for the user to view includes:
当接收到优先显示的设备发送的请求时,获取所述请求携带的设备标识,在预设的优先显示列表中查找所述设备标识,当查找到所述设备标识时,判定所述设备标识对应的终端设备为优先显示设备,并将所述设备标识直接排列在所述请求队列中的第一位,以优先显示于显示界面,并等待用户确认。When the device sends the request, the device identifier is obtained by the device, and the device identifier is searched for in the preset priority display list. When the device identifier is found, the device identifier is determined to be corresponding. The terminal device is a priority display device, and the device identifier is directly arranged in the first position in the request queue to be preferentially displayed on the display interface, and waits for the user to confirm.
在所述移动终端中,其中,所述移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识的步骤之前,还包括:In the mobile terminal, the mobile terminal receives a request for accessing a WIFI hotspot that is issued by the mobile terminal, where the step of carrying the device identifier before the request further includes:
移动终端在预设范围内发布WIFI热点,其中,所述WIFI热点的连接模式包含有密码连接模式和无密码连接模式;The mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
接收终端设备选择的连接模式,并在所述连接模式为无密码连接模式时,执行所述移动终端接收接入其发布的WIFI热点的请求的步骤。Receiving a connection mode selected by the terminal device, and performing the step of the mobile terminal receiving a request to access the WIFI hotspot issued by the mobile terminal when the connection mode is a passwordless connection mode.
在所述移动终端中,其中,所述接收终端设备选择的连接模式的步骤之后,还包括:In the mobile terminal, after the step of receiving the connection mode selected by the terminal device, the method further includes:
在所述连接模式为有密码连接模式时,接收所述终端设备发送的密码,并通过验证所述密码以使得所述终端设备接入所述WIFI热点。And when the connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
有益效果Beneficial effect
与现有技术相比,本发明提供了一种基于移动终端的WIFI热点连接方法及移动终端、存储介质,所述方法包括:移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点。本发明通过移动终端接收到连接WIFI热点的请求时,显示终端设备的设备标识,并在监听到用户的确认操作时,直接将终端设备接入所述WIFI热点,而无需再输入繁琐的密码,简化了WIFI热点的连接操作。Compared with the prior art, the present invention provides a mobile terminal-based WIFI hotspot connection method, a mobile terminal, and a storage medium, where the method includes: the mobile terminal receives a request to access a WIFI hotspot issued by the mobile terminal, where the Requesting to carry the device identifier; displaying the device identifier on the display interface for the user to view, and receiving the user's operation on the device identifier, wherein the operation includes confirming the operation and rejecting the operation; when receiving the confirmation operation, allowing The terminal device corresponding to the device identifier accesses the WIFI hotspot. When the mobile terminal receives the request for connecting to the WIFI hotspot, the device displays the device identifier of the terminal device, and when the user confirms the operation, directly accesses the terminal device to the WIFI hotspot without inputting a cumbersome password. Simplified connection operation of WIFI hotspots.
附图说明DRAWINGS
图1为本发明实施例提供的基于移动终端的WIFI热点连接方法的流程图。FIG. 1 is a flowchart of a WIFI hotspot connection method based on a mobile terminal according to an embodiment of the present invention.
图2为本发明实施例提供的移动终端的结构原理图。FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
图3是本发明实施例提供的移动终端的具体结构示意图。FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
本发明提供一种基于移动终端的WIFI热点连接方法及移动终端、存储介质,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a WIFI hotspot connection method based on a mobile terminal, a mobile terminal, and a storage medium. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。The singular forms "a", "an", "the" It is to be understood that the phrase "comprise" or "an" Integers, steps, operations, components, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element. Further, "connected" or "coupled" as used herein may include either a wireless connection or a wireless coupling. The phrase "and/or" used herein includes all or any one and all combinations of one or more of the associated listed.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or excessive unless specifically defined as here. The formal meaning is explained.
下面结合附图,通过对实施例的描述,对发明内容作进一步说明。The contents of the invention will be further described by the following description of embodiments with reference to the accompanying drawings.
请参照图1,图1为本发明实施例提供的基于移动终端的WIFI热点连接方法的流程图。所述方法包括:Please refer to FIG. 1. FIG. 1 is a flowchart of a WIFI hotspot connection method based on a mobile terminal according to an embodiment of the present invention. The method includes:
S10、移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;S10. The mobile terminal receives a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier.
具体地,所述WIFI热点指的是移动终端通过AP功能将其接收的GPRS、3G或4G信号转化为wifi信号。终端设备指的是扫描到所述WIFI热点,并请求接入所述WIFI热点的设备。所述请求指的是终端设备发送的用于连接所述WIFI热点的请求信息,其携带有所述终端设备的设备标识。其中,所述设备标识为与所述终端设备唯一对应的标识信息,其可以为所述终端设备的序列码、MAC地址等。因此,所述步骤S10之前还包括一个移动终端发布WIFI热点的过程,其具体包括:Specifically, the WIFI hotspot refers to that the mobile terminal converts the GPRS, 3G or 4G signals it receives into wifi signals through the AP function. The terminal device refers to a device that scans to the WIFI hotspot and requests access to the WIFI hotspot. The request refers to request information sent by the terminal device for connecting to the WIFI hotspot, where the device identifier of the terminal device is carried. The device identifier is the identifier information uniquely corresponding to the terminal device, and may be a sequence code, a MAC address, or the like of the terminal device. Therefore, the step S10 further includes a process for the mobile terminal to issue a WIFI hotspot, which specifically includes:
S01、移动终端在预设范围内发布WIFI热点,其中,所述WIFI热点的连接模式包含有密码连接模式和无密码连接模式;S01: The mobile terminal issues a WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
S02、接收终端设备选择的连接模式,并在所述连接模式为无密码连接模式时,执行接收携带有所述终端设备的设备标识的请求的步骤。S02: Receive a connection mode selected by the terminal device, and perform a step of receiving a request for carrying the device identifier of the terminal device when the connection mode is a passwordless connection mode.
具体来说,在所述步骤S01中,所述预设范围指的是所述WIFI热点的覆盖范围,仅在所述预设范围内的终端设备才能扫描到所述WIFI热点。所述连接模式指的是连接所述WIFI热点的模式,其包括无密码连接和有密码连接。所述无密码连接指的是连接所述WIFI热点无需输入密码,即后续移动终端也无需通过校验密码来验证是否连接所述终端设备。所述有密码连接指的是目前常规的连接方式,即终端设备通过输入所述WIFI热点对应的密码,并发送至所述移动终端,移动终端校验所述密码,并在校验正确时,与终端设备建立连接。因此,当终端设备扫描所述WIFI热点时,根据用户的操作选择对应的连接模式。在所述步骤S02中,当接收到用户选择无密码连接的操作时,终端设备获其自身的设备标识,并生成连接WIFI热点的请求,然后将所述设备标识写入所述请求中,并将所述请求发送至移动终端以请求接入所述WIFI热点。Specifically, in the step S01, the preset range refers to the coverage of the WIFI hotspot, and only the terminal device within the preset range can scan the WIFI hotspot. The connection mode refers to a mode of connecting the WIFI hotspot, including a passwordless connection and a password connection. The passwordless connection means that the password is not required to be connected to the WIFI hotspot, that is, the subsequent mobile terminal does not need to verify the password to verify whether the terminal device is connected. The password connection refers to the current conventional connection mode, that is, the terminal device inputs the password corresponding to the WIFI hotspot and sends the password to the mobile terminal, and the mobile terminal verifies the password, and when the verification is correct, Establish a connection with the terminal device. Therefore, when the terminal device scans the WIFI hotspot, the corresponding connection mode is selected according to the user's operation. In the step S02, when receiving an operation of the user selecting a passwordless connection, the terminal device obtains its own device identifier, generates a request for connecting to the WIFI hotspot, and then writes the device identifier into the request, and The request is sent to the mobile terminal to request access to the WIFI hotspot.
在本发明的一个实施例中,当终端设备接收到选择有密码连接的模式时,执行步骤S03:在所述连接模式为有密码连接模式时,接收所述终端设备发送的密码,并通过验证所述密码以使得所述终端设备接入所述WIFI热点。In an embodiment of the present invention, when the terminal device receives the mode in which the password connection is selected, step S03 is performed: when the connection mode is the password connection mode, the password sent by the terminal device is received and verified. The password is such that the terminal device accesses the WIFI hotspot.
这样,为用户提供了充分的选择自由,使得用户既可以选择便捷的无密码连接方式,同时也可以采用传统的密码验证的连接方式。In this way, the user is provided with sufficient freedom of choice, so that the user can select a convenient passwordless connection method, and can also adopt a traditional password verification connection method.
S20、将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作。S20. Display the device identifier on the display interface for the user to view, and receive an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation.
具体地,所述确认操作指的是移动终端接收到的执行所述请求的操作,即允许发送所述请求的终端设备接入所述WIFI热点;所述拒绝操作指的是移动终端接收到的拒绝所述请求的操作,即不允许发送请求的终端设备接入所述WIFI热点。Specifically, the confirming operation refers to an operation performed by the mobile terminal to perform the request, that is, the terminal device that sends the request is allowed to access the WIFI hotspot; and the reject operation refers to the received by the mobile terminal. The operation of rejecting the request, that is, the terminal device that sends the request is not allowed to access the WIFI hotspot.
在本发明的一个实施例中,由于移动终端可能会接收到多个终端设备发送的连接请求,因此可以根据每个请求的接收时间依次处理每个请求,以免造成混乱。因此,所述将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作具体可以包括:In an embodiment of the present invention, since the mobile terminal may receive a connection request sent by a plurality of terminal devices, each request may be sequentially processed according to the reception time of each request to avoid confusion. Therefore, the device identifier is displayed on the display interface for the user to view, and the operation of the device identifier is received by the user, where the operation includes the confirming operation and the rejecting operation, which may specifically include:
S21、移动终端获取所述请求携带的设备标识以及所述请求的接收时间;S21. The mobile terminal acquires a device identifier carried by the request and a receiving time of the request.
S22、根据所述接收时间将所述设备标识加入预设的请求队列中,并将所述请求队列中的设备标识逐一显示于显示界面;S22, adding the device identifier to a preset request queue according to the receiving time, and displaying the device identifiers in the request queue one by one on the display interface;
S23、接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作。S23. Receive an operation of a user identifier on a display interface, where the operation includes a confirmation operation and a rejection operation.
具体来说,在所述步骤S21中,所述预设的请求队列用于按照预设顺序缓存多个请求携带的设备标识。在本实施例中,将设备标识按照请求的接收时间将请求缓存于所述请求队列中,即按照先进先出,后进后出的原则将请求依次加入所述请求队列中。因此,当接收到请求时,获取所述请求的接收时间,然后根据所述接收时间将所述请求对应的设备标识加入所述请求队列中,以等待显示给用户以使得请求队列中的设备标识逐一显示于显示界面,以供用户确认/拒绝。Specifically, in the step S21, the preset request queue is used to cache device identifiers carried by multiple requests in a preset order. In this embodiment, the device identifier is cached in the request queue according to the requested receiving time, that is, the request is sequentially added to the request queue according to the principle of first in first out, backward in and out. Therefore, when receiving the request, acquiring the receiving time of the request, and then adding the device identifier corresponding to the request to the request queue according to the receiving time, waiting for display to the user to make the device identifier in the request queue Displayed one by one on the display interface for the user to confirm/reject.
进一步,在此基础上还可以设置若干个优先显示的终端设备(设备标识),即当接收到优先显示的设备发送的请求时,获取所述请求携带的设备标识,然后在预设的优先显示列表中查找所述设备标识,当查找到所述设备标识时,判定所述设备标识对应的终端设备为优先显示设备,并将所述设备标识直接排列在所述请求队列中的第一位,以优先显示于显示界面,并等待用户确认。这样,当用户接收到多个连接请求时,可以优先确认优先等级高的终端设备,以节省连接的时间,同时满足用户的个性化需求。Further, on the basis of this, a plurality of preferentially displayed terminal devices (device identifiers) may be set, that is, when the request sent by the device with priority display is received, the device identifier carried by the request is acquired, and then the preset priority display is performed. The device identifier is found in the list, and when the device identifier is found, it is determined that the terminal device corresponding to the device identifier is a priority display device, and the device identifier is directly arranged in the first position in the request queue. Displayed on the display interface with priority, and wait for the user to confirm. In this way, when the user receives multiple connection requests, the terminal device with higher priority can be preferentially confirmed to save the connection time while satisfying the personalized requirements of the user.
在所述步骤S23中,为了方便用户操作,在本实施例中用户可以通过摇晃移动终端或者输入指纹来进行确认。因此,所述确认操作可以为摇晃操作和指纹输入操作。所述摇晃操作指的是用户手持移动终端摇晃的动作。所述指纹输入操作指的是用户通过输入指纹进行确认的操作。这样有利于用户实现盲操作,而无需在移动终端的屏幕上查找相应的操作区域,简便快捷。In the step S23, in order to facilitate the user's operation, in the embodiment, the user can confirm by shaking the mobile terminal or inputting a fingerprint. Therefore, the confirmation operation can be a shaking operation and a fingerprint input operation. The shaking operation refers to an action in which the user holds the mobile terminal to shake. The fingerprint input operation refers to an operation in which a user confirms by inputting a fingerprint. This is advantageous for the user to implement a blind operation without having to find a corresponding operation area on the screen of the mobile terminal, which is simple and quick.
实施例一Embodiment 1
当所述确认操作为摇晃操作时,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作具体包括:When the confirming operation is a shaking operation, the receiving user performs an operation on the device identifier on the display interface, where the operation includes the confirming operation and the rejecting operation, specifically:
S231a、在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;S231a: Acquire an acceleration by using an acceleration sensor configured in the mobile terminal within a preset time, and compare the acquired acceleration with a preset acceleration threshold;
S232a、当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。S232a. When the acceleration is greater than the preset acceleration threshold, determine that the user's confirmation operation is monitored.
具体来说,在所述步骤S231a中,所述预设时间指的是预先设置的用于监听确认操作的时间,例如5S,指的是在5S内监听用户的确认操作,5S过后则显示请求队列中的下一个请求。所述预设加速度阈值指的是预先设置的加速度值,其可以为系统默认设置的,也可以是用户根据自身的使用情况自行设置。当移动终端的显示界面显示所述请求对应的设备标识时,在预设时间内监听加速度值,并将监听到的加速度值与预设加速度阈值进行比较。当所述加速度值大于所述预设加速度阈值时,说明用户查看所述设备标识后进行了摇晃移动终端的操作,即监听到了用户的确认操作。此时执行步骤S30以使得所述设备标识对应的终端设备接入所述WIFI热点,即,所述终端设备可以使用移动终端共享的WIFI网络。当在预设时间内,未监听到大于所述预设加速度阈值的加速度值时,判定未监听到用户的确认操作,此时返回一个连接失败的信息至所述设备标识对应的终端设备,并显示请求队列中的下一个设备标识。Specifically, in the step S231a, the preset time refers to a preset time for monitoring the confirmation operation, for example, 5S, which refers to the confirmation operation of monitoring the user within 5S, and the request is displayed after 5S. The next request in the queue. The preset acceleration threshold refers to a preset acceleration value, which may be set by the system by default, or may be set by the user according to his own usage. When the display interface of the mobile terminal displays the device identifier corresponding to the request, the acceleration value is monitored within a preset time, and the monitored acceleration value is compared with the preset acceleration threshold. When the acceleration value is greater than the preset acceleration threshold, it is indicated that the user performs the operation of shaking the mobile terminal after viewing the device identifier, that is, the user's confirmation operation is monitored. Step S30 is performed to enable the terminal device corresponding to the device identifier to access the WIFI hotspot, that is, the terminal device can use the WIFI network shared by the mobile terminal. When the acceleration value greater than the preset acceleration threshold is not detected in the preset time, it is determined that the user's confirmation operation is not monitored, and a connection failure information is returned to the terminal device corresponding to the device identifier, and Displays the next device ID in the request queue.
实施例二Embodiment 2
当所述确认操作为输入指纹的操作时,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作具体包括:When the confirming operation is an operation of inputting a fingerprint, the receiving user performs an operation on the device identifier on the display interface, where the operation includes the confirming operation and the rejecting operation, and specifically includes:
S231b、在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;S231b: collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
S232b、若比对成功,则判定接收到用户的确认操作。S232b. If the comparison is successful, it is determined that the confirmation operation of the user is received.
具体来说,在预设时间内接收用户输入的指纹数据,即通过移动终端内配置的指纹采集装置获取用户的指纹数据,并将所述指纹数据与预设指纹数据库进行比对。当所述预设指纹数据库中存在所述指纹数据时,判定比对成功,说明此时接收到用户的确认操作。然后执行步骤S30此时同意所述请求,以使得所述设备标识对应的终端设备接入所述WIFI热点,即,所述终端设备可以使用移动终端共享的WIFI网络。当二者不同时,说明输入了错误的指纹,即未接收到用户的确认操作。当然,在实际应用中,还可以采用其他的确认方式,在此不作限制。Specifically, the fingerprint data input by the user is received within a preset time, that is, the fingerprint data of the user is acquired by the fingerprint collection device configured in the mobile terminal, and the fingerprint data is compared with the preset fingerprint database. When the fingerprint data exists in the preset fingerprint database, it is determined that the comparison is successful, indicating that the confirmation operation of the user is received at this time. Then, the step S30 is performed to agree to the request, so that the terminal device corresponding to the device identifier accesses the WIFI hotspot, that is, the terminal device can use the WIFI network shared by the mobile terminal. When the two are different, it means that the wrong fingerprint is input, that is, the confirmation operation of the user is not received. Of course, in the actual application, other confirmation methods can also be adopted, and no limitation is imposed herein.
S233、在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作。S233. When receiving the operation of closing the window of the display device identifier within the preset time, it is determined that the user's rejection operation is accepted.
S234、在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。S234. When receiving the reject operation of the user, discard the request and return the information that the connection fails to the terminal device corresponding to the device identifier.
具体来说,所述关闭显示设备标识的窗口的操作可以是滑动操作,也可以是点击操作。例如将显示设备标识的窗口向上/下/左/右的方向滑动,以关闭显示窗口。当接收到关闭显示设备标识的窗口的操作时,判定接收到用户的拒绝操作,此时丢弃所述请求,并返回连接失败的信息至对应的终端设备。这样,用户可以通过主动发起拒绝操作来阻止其他终端设备接入其共享的WIFI热点。当然,若在预设时间内未接收到用户的确认操作/拒绝操作,则默认为接收到拒绝操作,此时同样丢弃所述连接请求。Specifically, the operation of closing the window of the display device identifier may be a sliding operation or a click operation. For example, the window of the display device identification is swiped up/down/left/right to close the display window. When receiving the operation of closing the window of the display device identifier, it is determined that the user's rejection operation is received, the request is discarded at this time, and the connection failure information is returned to the corresponding terminal device. In this way, the user can prevent other terminal devices from accessing their shared WIFI hotspot by actively initiating a reject operation. Of course, if the user's confirmation operation/rejection operation is not received within the preset time, the default is to receive the rejection operation, and the connection request is also discarded.
S30、在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点。S30. When receiving the confirming operation, allow the terminal device corresponding to the device identifier to access the WIFI hotspot.
具体地,当接收到确认操作时,将所述设备标识对应的终端设备接入所述WIFI热点,以使得所述终端设备可以使用所述WIFI热点进行上网等活动。通过移动终端接收用户的确认操作来与发起连接请求的终端设备建立连接,使得所述终端设备无需输入复杂的密码即可接入移动终端发布的WIFI热点。Specifically, when the acknowledgment operation is received, the terminal device corresponding to the device identifier is accessed by the WIFI hotspot, so that the terminal device can use the WIFI hotspot to perform activities such as surfing the Internet. The mobile terminal receives the confirmation operation of the user to establish a connection with the terminal device that initiates the connection request, so that the terminal device can access the WIFI hotspot issued by the mobile terminal without inputting a complicated password.
本发明还提供了一种存储介质,其存储有多条指令,所述指令适于由处理器加载并执行如上任一所述的基于移动终端的WIFI热点连接方法。The present invention also provides a storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform a mobile terminal based WIFI hotspot connection method as described above.
本发明还提供了一种移动终端,如图2所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。The present invention also provides a mobile terminal, as shown in FIG. 2, which includes at least one processor 20; a display screen 21; and a memory 22, which may further include a communication interface 23 and a bus. twenty four. Among them, the processor 20, the display screen 21, the memory 22, and the communication interface 23 can complete communication with each other through the bus 24. The display screen 21 is set to display a user guidance interface preset in the initial setting mode. The communication interface 23 can transmit information. Processor 20 may invoke logic instructions in memory 22 to perform the methods in the above-described embodiments.
此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 22 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器30通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。The memory 22 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure. The processor 30 performs the functional application and data processing by executing software programs, instructions or modules stored in the memory 22, i.e., implements the methods in the above embodiments.
存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据移动终端的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The memory 22 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the mobile terminal, and the like. Further, the memory 22 may include a high speed random access memory, and may also include a nonvolatile memory. For example, U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM, disk or CD-ROM A variety of media that can store program code, or a transient storage medium.
图3示出了本发明实施例提供的移动终端的具体结构框图,该移动终端可以用于实施上述实施例中提供的基于移动终端的WIFI热点连接方法。该移动终端1200可以为智能手机或平板电脑。FIG. 3 is a block diagram showing a specific structure of a mobile terminal provided by an embodiment of the present invention. The mobile terminal may be used to implement a mobile terminal-based WIFI hotspot connection method provided in the foregoing embodiment. The mobile terminal 1200 can be a smartphone or a tablet.
如图3所示,移动终端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图3中示出的移动终端1200结构并不构成对移动终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:As shown in FIG. 3, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage medium, an input unit 130, and a display unit. 140, sensor 150, audio circuit 160, transmission module 170, including processor 180 having one or more processing cores (only one shown) and power supply 190 and the like. It will be understood by those skilled in the art that the structure of the mobile terminal 1200 shown in FIG. 3 does not constitute a limitation of the mobile terminal 1200, and may include more or less components than those illustrated, or combine some components or different components. Arrangement. among them:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced Data GSM Environment, EDGE),宽带码分多址技术(Wideband Code Division Multiple Access, WCDMA),码分多址技术(Code Division Access, CDMA)、时分多址技术(Time Division Multiple Access, TDMA),无线保真技术(Wireless Fidelity, Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol, VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access, Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like. The RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network. The wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division) Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (such as the Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), VoIP (Voice) Over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
存储器120可用于存储软件程序以及模块,如上述实施例中基于移动终端的WIFI热点连接方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现基于移动终端的WIFI热点连接的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至移动终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 120 can be used to store software programs and modules, such as the program instructions/modules corresponding to the WIFI hotspot connection method of the mobile terminal in the above embodiment, and the processor 180 executes various programs by running software programs and modules stored in the memory 120. Functional application and data processing, that is, the function of implementing WIFI hotspot connection based on mobile terminal. Memory 120 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 120 can further include memory remotely located relative to processor 180, which can be connected to mobile terminal 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input unit 130 can include touch-sensitive surface 131 as well as other input devices 132. Touch-sensitive surface 131, also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 131 can include two portions of 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 180 is provided and can receive commands from the processor 180 and execute them. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 can also include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图3中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used) The display panel 141 is configured in the form of a Crystal Display (LCD) or an OLED (Organic Light-Emitting Diode). Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in FIG. 3, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
移动终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于移动终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Mobile terminal 1200 may also include at least one type of sensor 150, 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 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 1200 moves to the ear. And / or backlight. As a kind of motion sensor, the gravity acceleration 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 terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
音频电路160、扬声器161,传声器162可提供用户与移动终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一移动终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与移动终端1200的通信。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 1200. The audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the mobile terminal 110 via the RF circuit 110, or outputted to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 1200.
移动终端1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了传输模块170,但是可以理解的是,其并不属于移动终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The mobile terminal 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (eg, Wi-Fi module), which provides wireless broadband Internet access to the user. Although FIG. 3 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器180是移动终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is a control center of the mobile terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120. The various functions and processing data of the mobile terminal 1200 are executed to perform overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
移动终端1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The mobile terminal 1200 also includes a power source 190 (such as a battery) that powers the various components. In some embodiments, the power source can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions. Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,移动终端1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,移动终端的显示单元是触摸屏显示器,移动终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:Although not shown, the mobile terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one The above processor executes one or more programs that include instructions for performing the following operations:
移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点;Receiving, by the device, the corresponding terminal device to access the WIFI hotspot when receiving the confirming operation;
在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
其中,所述将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The step of displaying the device identifier on the display interface for the user to view, and receiving the user's operation on the device identifier, where the operation includes the steps of confirming the operation and rejecting the operation, specifically:
移动终端获取所述请求携带的设备标识以及所述请求的接收时间;Obtaining, by the mobile terminal, a device identifier carried by the request and a receiving time of the request;
根据所述接收时间将所述设备标识加入预设的请求队列中,并将所述请求队列中的设备标识逐一显示于显示界面;Adding the device identifier to a preset request queue according to the receiving time, and displaying the device identifiers in the request queue one by one on the display interface;
接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作。Receiving an operation of the user identification of the device on the display interface, wherein the operation includes a confirmation operation and a rejection operation.
其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The step of receiving the user identification of the device on the display interface, where the operation includes the steps of confirming the operation and rejecting the operation, specifically:
在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The step of receiving the user identification of the device on the display interface, where the operation includes the steps of confirming the operation and rejecting the operation, specifically:
在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
其中,所述接收用户对显示界面上的设备标识的操作的步骤,具体包括:The step of receiving the operation of the user on the device identifier on the display interface includes:
在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作。When the operation of closing the window of the display device identification is received within the preset time, it is determined that the user's rejection operation is accepted.
其中,所述将所述设备标识显示于显示界面以供用户查看的步骤,具体包括:The step of displaying the device identifier on the display interface for the user to view includes:
当接收到优先显示的设备发送的请求时,获取所述请求携带的设备标识,在预设的优先显示列表中查找所述设备标识,当查找到所述设备标识时,判定所述设备标识对应的终端设备为优先显示设备,并将所述设备标识直接排列在所述请求队列中的第一位,以优先显示于显示界面,并等待用户确认。When the device sends the request, the device identifier is obtained by the device, and the device identifier is searched for in the preset priority display list. When the device identifier is found, the device identifier is determined to be corresponding. The terminal device is a priority display device, and the device identifier is directly arranged in the first position in the request queue to be preferentially displayed on the display interface, and waits for the user to confirm.
其中,所述移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识的步骤之前,还包括:The mobile terminal receives a request for accessing the WIFI hotspot that is advertised by the mobile terminal, where the step of carrying the device identifier before the request further includes:
移动终端在预设范围内发布WIFI热点,其中,所述WIFI热点的连接模式包含有密码连接模式和无密码连接模式;The mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
接收终端设备选择的连接模式,并在所述连接模式为无密码连接模式时,执行所述移动终端接收接入其发布的WIFI热点的请求的步骤。Receiving a connection mode selected by the terminal device, and performing the step of the mobile terminal receiving a request to access the WIFI hotspot issued by the mobile terminal when the connection mode is a passwordless connection mode.
其中,所述接收终端设备选择的连接模式的步骤之后,还包括:After the step of receiving the connection mode selected by the terminal device, the method further includes:
在所述连接模式为有密码连接模式时,接收所述终端设备发送的密码,并通过验证所述密码以使得所述终端设备接入所述WIFI热点。And when the connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
此外,上述存储介质以及移动终端中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。In addition, the above-described storage medium and the specific processes loaded and executed by the plurality of instruction processors in the mobile terminal have been described in detail in the above methods, and will not be further described herein.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (20)

  1. 一种基于移动终端的WIFI热点连接方法,其中,所述方法包括:A WIFI hotspot connection method based on a mobile terminal, wherein the method includes:
    移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
    将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
    在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点。When the acknowledgment operation is received, the device is allowed to identify the corresponding terminal device to access the WIFI hotspot.
  2. 根据权利要求1所述基于移动终端的WIFI热点连接方法,其中,所述将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method according to claim 1, wherein the device identifier is displayed on a display interface for viewing by a user, and receives an operation of the device identifier by the user, wherein the operation includes Steps to confirm and reject the operation, including:
    移动终端获取所述请求携带的设备标识以及所述请求的接收时间;Obtaining, by the mobile terminal, a device identifier carried by the request and a receiving time of the request;
    根据所述接收时间将所述设备标识加入预设的请求队列中,并将所述请求队列中的设备标识逐一显示于显示界面;Adding the device identifier to a preset request queue according to the receiving time, and displaying the device identifiers in the request queue one by one on the display interface;
    接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作。Receiving an operation of the user identification of the device on the display interface, wherein the operation includes a confirmation operation and a rejection operation.
  3. 根据权利要求2所述基于移动终端的WIFI热点连接方法,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method according to claim 2, wherein the receiving the user's operation on the device identifier on the display interface, wherein the operation comprises the steps of confirming the operation and rejecting the operation, specifically comprising:
    在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
    当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
  4. 根据权利要求2所述基于移动终端的WIFI热点连接方法,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method according to claim 2, wherein the receiving the user's operation on the device identifier on the display interface, wherein the operation comprises the steps of confirming the operation and rejecting the operation, specifically comprising:
    在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
    若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
  5. 根据权利要求2所述基于移动终端的WIFI热点连接方法,其中,所述接收用户对显示界面上的设备标识的操作的步骤,具体包括:The mobile terminal-based WIFI hotspot connection method according to claim 2, wherein the step of receiving the user's operation on the device identifier on the display interface comprises:
    在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作。When the operation of closing the window of the display device identification is received within the preset time, it is determined that the user's rejection operation is accepted.
  6. 根据权利要求5所述基于移动终端的WIFI热点连接方法,其中,所述在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作的步骤之后,还包括:The mobile terminal-based WIFI hotspot connection method according to claim 5, wherein, after the step of receiving the window for closing the display device identifier in the preset time, the step of determining the rejection operation of the user is further included:
    在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  7. 根据权利要求1所述基于移动终端的WIFI热点连接方法,其中,所述移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识的步骤之前,还包括:The mobile terminal-based WIFI hotspot connection method according to claim 1, wherein the mobile terminal receives a request for accessing a WIFI hotspot issued by the mobile terminal, and the step of the request carrying the device identifier further includes:
    移动终端在预设范围内发布WIFI热点,其中,所述WIFI热点的连接模式包含有密码连接模式和无密码连接模式;The mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
    接收终端设备选择的连接模式,并在所述连接模式为无密码连接模式时,执行所述移动终端接收接入其发布的WIFI热点的请求的步骤。Receiving a connection mode selected by the terminal device, and performing the step of the mobile terminal receiving a request to access the WIFI hotspot issued by the mobile terminal when the connection mode is a passwordless connection mode.
  8. 根据权利要求7所述基于移动终端的WIFI热点连接方法,其中,所述接收终端设备选择的连接模式的步骤之后,还包括:The mobile terminal-based WIFI hotspot connection method according to claim 7, wherein the step of receiving the connection mode selected by the terminal device further comprises:
    在所述连接模式为有密码连接模式时,接收所述终端设备发送的密码,并通过验证所述密码以使得所述终端设备接入所述WIFI热点。And when the connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
  9. 一种存储介质,其存储有多条指令,所述指令适于由处理器加载并执行如下步骤:A storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the following steps:
    移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
    将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
    在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点。When the acknowledgment operation is received, the device is allowed to identify the corresponding terminal device to access the WIFI hotspot.
  10. 根据权利要求9所述存储介质,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The storage medium of claim 9, wherein the receiving the user's operation of the device identification on the display interface, wherein the operation comprises the step of confirming the operation and rejecting the operation, specifically comprising:
    在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
    当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
  11. 根据权利要求9所述存储介质,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The storage medium of claim 9, wherein the receiving the user's operation of the device identification on the display interface, wherein the operation comprises the step of confirming the operation and rejecting the operation, specifically comprising:
    在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
    若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
  12. 根据权利要求9所述存储介质,其中,所述接收用户对显示界面上的设备标识的操作的步骤,具体包括:The storage medium of claim 9, wherein the step of receiving an operation of the user on the device identifier on the display interface comprises:
    在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作;When receiving the operation of closing the window of the display device identifier within the preset time, it is determined that the user's rejection operation is accepted;
    其中,所述在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作的步骤之后,还包括:When the step of receiving the window for closing the display device identifier is received within the preset time, the step of determining the rejection operation of the user is further included:
    在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  13. 一种移动终端,其包括:A mobile terminal includes:
    处理器,适于实现各指令;以及a processor adapted to implement each instruction;
    存储设备,适于存储多条指令,所述指令适于由处理器加载并执行如下步骤:A storage device adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the following steps:
    移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识;Receiving, by the mobile terminal, a request for accessing a WIFI hotspot issued by the mobile terminal, where the request carries a device identifier;
    将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作;Displaying the device identifier on the display interface for the user to view, and receiving an operation of the device identifier by the user, where the operation includes a confirm operation and a reject operation;
    在接收到确认操作时,允许所述设备标识对应的终端设备接入所述WIFI热点;Receiving, by the device, the corresponding terminal device to access the WIFI hotspot when receiving the confirming operation;
    在接收到用户的拒绝操作时,丢弃所述请求并返回连接失败的信息至所述设备标识对应的终端设备。Upon receiving the reject operation of the user, the request is discarded and the information of the connection failure is returned to the terminal device corresponding to the device identifier.
  14. 根据权利要求13所述移动终端,其中,所述将所述设备标识显示于显示界面以供用户查看,并接收用户对所述设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal according to claim 13, wherein said displaying said device identification on a display interface for viewing by a user and receiving an operation of said user identification by said user, wherein said operation comprises confirming operation and rejecting operation The steps specifically include:
    移动终端获取所述请求携带的设备标识以及所述请求的接收时间;Obtaining, by the mobile terminal, a device identifier carried by the request and a receiving time of the request;
    根据所述接收时间将所述设备标识加入预设的请求队列中,并将所述请求队列中的设备标识逐一显示于显示界面;Adding the device identifier to a preset request queue according to the receiving time, and displaying the device identifiers in the request queue one by one on the display interface;
    接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作。Receiving an operation of the user identification of the device on the display interface, wherein the operation includes a confirmation operation and a rejection operation.
  15. 根据权利要求13所述移动终端,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal of claim 13, wherein the receiving the user's operation on the device identifier on the display interface, wherein the operation comprises the step of confirming the operation and rejecting the operation, specifically comprising:
    在预设时间内通过移动终端内配置的加速度传感器获取加速度,并将获取到的加速度与预设加速度阈值进行比较;Acceleration is acquired by an acceleration sensor configured in the mobile terminal within a preset time, and the acquired acceleration is compared with a preset acceleration threshold;
    当所述加速度大于所述预设加速度阈值时,判定监听到用户的确认操作。When the acceleration is greater than the preset acceleration threshold, it is determined that the user's confirmation operation is monitored.
  16. 根据权利要求13所述移动终端,其中,所述接收用户对显示界面上的设备标识的操作,其中,所述操作包括确认操作和拒绝操作的步骤,具体包括:The mobile terminal of claim 13, wherein the receiving the user's operation on the device identifier on the display interface, wherein the operation comprises the step of confirming the operation and rejecting the operation, specifically comprising:
    在预设时间内采集用户的指纹数据,并将采集到的指纹数据与预设指纹数据库进行比对;Collecting fingerprint data of the user within a preset time, and comparing the collected fingerprint data with a preset fingerprint database;
    若比对成功,则判定接收到用户的确认操作。If the comparison is successful, it is determined that the confirmation operation of the user is received.
  17. 根据权利要求13所述移动终端,其中,所述接收用户对显示界面上的设备标识的操作的步骤,具体包括:The mobile terminal of claim 13, wherein the step of receiving an operation of the user on the device identifier on the display interface comprises:
    在预设时间内接收到关闭显示设备标识的窗口的操作时,判定接受到用户的拒绝操作。When the operation of closing the window of the display device identification is received within the preset time, it is determined that the user's rejection operation is accepted.
  18. 根据权利要求13所述移动终端,其中,所述将所述设备标识显示于显示界面以供用户查看的步骤,具体包括:The mobile terminal of claim 13, wherein the step of displaying the device identifier on a display interface for viewing by a user comprises:
    当接收到优先显示的设备发送的请求时,获取所述请求携带的设备标识,在预设的优先显示列表中查找所述设备标识,当查找到所述设备标识时,判定所述设备标识对应的终端设备为优先显示设备,并将所述设备标识直接排列在所述请求队列中的第一位,以优先显示于显示界面,并等待用户确认。When the device sends the request, the device identifier is obtained by the device, and the device identifier is searched for in the preset priority display list. When the device identifier is found, the device identifier is determined to be corresponding. The terminal device is a priority display device, and the device identifier is directly arranged in the first position in the request queue to be preferentially displayed on the display interface, and waits for the user to confirm.
  19. 根据权利要求13所述移动终端,其中,所述移动终端接收接入其发布的WIFI热点的请求,其中,所述请求携带设备标识的步骤之前,还包括:The mobile terminal according to claim 13, wherein the mobile terminal receives a request for accessing a WIFI hotspot issued by the mobile terminal, and the step of the request carrying the device identifier further includes:
    移动终端在预设范围内发布WIFI热点,其中,所述WIFI热点的连接模式包含有密码连接模式和无密码连接模式;The mobile terminal releases the WIFI hotspot in a preset range, where the connection mode of the WIFI hotspot includes a password connection mode and a passwordless connection mode;
    接收终端设备选择的连接模式,并在所述连接模式为无密码连接模式时,执行所述移动终端接收接入其发布的WIFI热点的请求的步骤。Receiving a connection mode selected by the terminal device, and performing the step of the mobile terminal receiving a request to access the WIFI hotspot issued by the mobile terminal when the connection mode is a passwordless connection mode.
  20. 根据权利要求19所述移动终端,其中,所述接收终端设备选择的连接模式的步骤之后,还包括:The mobile terminal of claim 19, wherein the step of receiving the connection mode selected by the terminal device further comprises:
    在所述连接模式为有密码连接模式时,接收所述终端设备发送的密码,并通过验证所述密码以使得所述终端设备接入所述WIFI热点。And when the connection mode is the password connection mode, receiving a password sent by the terminal device, and verifying the password to enable the terminal device to access the WIFI hotspot.
PCT/CN2018/106734 2017-09-20 2018-09-20 Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium WO2019057119A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710850944.1A CN107659980B (en) 2017-09-20 2017-09-20 WIFI hotspot connection method based on mobile terminal and mobile terminal
CN201710850944.1 2017-09-20

Publications (1)

Publication Number Publication Date
WO2019057119A1 true WO2019057119A1 (en) 2019-03-28

Family

ID=61129656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106734 WO2019057119A1 (en) 2017-09-20 2018-09-20 Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN107659980B (en)
WO (1) WO2019057119A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659980B (en) * 2017-09-20 2020-08-11 惠州Tcl移动通信有限公司 WIFI hotspot connection method based on mobile terminal and mobile terminal
CN108173886A (en) * 2018-03-28 2018-06-15 深圳市德联讯科技有限公司 A kind of Wi-Fi networked devices quickly accessed using fingerprint recognition matching
CN108647522A (en) * 2018-04-12 2018-10-12 佛山市百里洲科技有限公司 A kind of method of mobile terminal safety access computer network
CN108563943A (en) * 2018-04-12 2018-09-21 佛山市百里洲科技有限公司 It is a kind of can secure accessing mobile terminal computer
CN114422995A (en) * 2022-01-04 2022-04-29 太仓市同维电子有限公司 Method for household automatic networking without awareness

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150063339A1 (en) * 2013-09-03 2015-03-05 Samsung Electronics Co., Ltd. Method and apparatus for configuring wireless communication using device names in electronic device
CN105357734A (en) * 2015-11-20 2016-02-24 小米科技有限责任公司 Method and device used for controlling access to WIFI hot spot
CN105827583A (en) * 2015-09-30 2016-08-03 维沃移动通信有限公司 Method and device for access to mobile data network
CN106162805A (en) * 2016-07-01 2016-11-23 中国联合网络通信集团有限公司 The connection control method of WIFI hot spot service and device
CN107659980A (en) * 2017-09-20 2018-02-02 惠州Tcl移动通信有限公司 A kind of WIFI hot spot connection method and mobile terminal based on mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469896A (en) * 2014-12-01 2015-03-25 深圳如果技术有限公司 Quick access method for wireless network, flow sharing method and flow sharing management method
CN106488448A (en) * 2015-08-28 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of method of attachment of mobile focus and device
CN105813082A (en) * 2016-04-20 2016-07-27 广东欧珀移动通信有限公司 Access method and access apparatus of wireless local area network hotspot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150063339A1 (en) * 2013-09-03 2015-03-05 Samsung Electronics Co., Ltd. Method and apparatus for configuring wireless communication using device names in electronic device
CN105827583A (en) * 2015-09-30 2016-08-03 维沃移动通信有限公司 Method and device for access to mobile data network
CN105357734A (en) * 2015-11-20 2016-02-24 小米科技有限责任公司 Method and device used for controlling access to WIFI hot spot
CN106162805A (en) * 2016-07-01 2016-11-23 中国联合网络通信集团有限公司 The connection control method of WIFI hot spot service and device
CN107659980A (en) * 2017-09-20 2018-02-02 惠州Tcl移动通信有限公司 A kind of WIFI hot spot connection method and mobile terminal based on mobile terminal

Also Published As

Publication number Publication date
CN107659980B (en) 2020-08-11
CN107659980A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
JP6467526B2 (en) Communication message transmission method and wearable device
WO2017140276A1 (en) Network connection method and apparatus, and computer storage medium
US10069818B2 (en) Method, system, device, and terminal for network initialization of multimedia playback device
EP3624404B1 (en) Method and device for establishing wireless communication connection
WO2019057119A1 (en) Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium
TWI520043B (en) Method, device and moving terminal for examining messages
US11277744B2 (en) Wi-Fi hotspot connection method and terminal
US11184754B2 (en) Data sharing method and terminal
WO2017080378A1 (en) Method implementing licensed-assisted access, network equipment, and terminal equipment
US10917792B2 (en) Method for establishing wireless local area network connection, apparatus, and terminal
WO2018049886A1 (en) Hotspot establishment method and terminal device
CN107423238B (en) Screen projection connection method and device and computer readable storage medium
WO2019052551A1 (en) Terminal device interaction method, storage medium and terminal device
WO2016192511A1 (en) Method and apparatus for remotely deleting information
WO2019047973A1 (en) Terminal operating method and terminal, and computer readable storage medium
CN107864086B (en) Information rapid sharing method, mobile terminal and computer readable storage medium
US10764738B2 (en) Wireless communication connection method and terminal
WO2015101302A1 (en) Data sharing method, system, user end and background server
WO2017000495A1 (en) Method and device for adding contacts
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
WO2019011297A1 (en) Fm channel finding and searching method, mobile terminal and storage apparatus
WO2017076279A1 (en) Method of updating forward information base item, and device and system utilizing same
WO2019072193A1 (en) Method and apparatus for intelligently retrieving information, and storage medium
CN109495948B (en) Communication connection method, equipment and computer readable 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: 18859319

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: 18859319

Country of ref document: EP

Kind code of ref document: A1