WO2020097852A1 - 无线连接方法、装置、存储介质及电子设备 - Google Patents

无线连接方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2020097852A1
WO2020097852A1 PCT/CN2018/115642 CN2018115642W WO2020097852A1 WO 2020097852 A1 WO2020097852 A1 WO 2020097852A1 CN 2018115642 W CN2018115642 W CN 2018115642W WO 2020097852 A1 WO2020097852 A1 WO 2020097852A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch operation
interface
access
wireless
connection
Prior art date
Application number
PCT/CN2018/115642
Other languages
English (en)
French (fr)
Inventor
马玉刚
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/115642 priority Critical patent/WO2020097852A1/zh
Priority to CN201880098266.0A priority patent/CN112806059B/zh
Publication of WO2020097852A1 publication Critical patent/WO2020097852A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements

Definitions

  • the present application belongs to the technical field of wireless communication, and particularly relates to a wireless connection method, device, storage medium, and electronic equipment.
  • users can operate electronic devices (such as mobile phones, tablets, etc.) to access wireless access hotspots (such as Wi-Fi hotspots, Bluetooth hotspots, etc.), and use the network access services provided by wireless access hotspots to access the network and obtain Internet service.
  • wireless access hotspots such as Wi-Fi hotspots, Bluetooth hotspots, etc.
  • the electronic device provides an access interface including a connection entrance of the wireless access hotspot, and the user can directly touch the connection entrance in the access interface To instruct the electronic device to access the corresponding wireless access hotspot.
  • the electronic device updates the connection entry in the access interface in real time, including but not limited to adding / removing the connection entry and adjusting the arrangement order of the connection entry. If the electronic device updates the access interface during the user's selection of the connection entry, it will cause the user to select the "wrong" connection entry, causing the electronic device to access the "wrong” wireless access hotspot.
  • Embodiments of the present application provide a wireless connection method, apparatus, storage medium, and electronic device, which can enable an electronic device to accurately access a wireless access hotspot that a user desires to access.
  • an embodiment of the present application provides a wireless connection method, which is applied to an electronic device and includes:
  • the current access interface includes a connection entry for triggering connection to a wireless access hotspot
  • an embodiment of the present application provides a wireless connection device, which is applied to an electronic device and includes:
  • a receiving module configured to receive a user's touch operation on a current access interface, where the current access interface includes a connection entry for triggering connection to a wireless access hotspot;
  • the judgment module is used to judge whether the touch operation satisfies preset touch conditions
  • a determining module configured to determine the connection entry corresponding to the touch operation in the historical access interface to obtain the target connection entry if the judgment result of the judgment module is yes, and the historical access interface is the current access interface Previous access interface;
  • the connection module is configured to send an access request to the wireless access hotspot indicated by the target connection entry to access the wireless access hotspot.
  • an embodiment of the present application provides a storage medium on which a computer program is stored, wherein, when the computer program is executed on a computer, the computer is caused to execute the wireless connection method provided in the embodiment of the present application. step.
  • an embodiment of the present application provides an electronic device, including a memory and a processor, and the processor is used to execute a computer program stored in the memory by executing:
  • the current access interface includes a connection entry for triggering connection to a wireless access hotspot
  • the electronic device may receive a user's touch operation on the current access interface, where the current access interface includes a connection entry for triggering connection to a wireless access hotspot; determine whether the aforementioned touch operation satisfies preset touch conditions; If yes, determine the corresponding connection entry of the aforementioned touch operation in the historical access interface to obtain the target connection entry, where the historical access interface is the previous access interface of the current access interface; the wireless access indicated to the target connection entry
  • the hotspot sends an access request to access the wireless access hotspot indicated by the target connection entry, so that when the user touches a connection entry in the current access interface of the electronic device and finds that it is not the connection entry he wants, he can Continue to touch so that the touch operation meets the preset touch conditions, thereby instructing the electronic device to determine the corresponding connection entry of the user's touch operation in the history access interface as the target connection entry selected by the user, thereby accessing the target connection entry indication
  • the wireless access hotspot enables electronic devices to accurately access the wireless access hot
  • FIG. 1 is an example diagram of an access interface provided by an electronic device in the related art.
  • FIG. 2 is a schematic flowchart of a wireless connection method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the user selecting the “error” connection entry in the embodiment of the present application.
  • FIG. 4 is another schematic flowchart of a wireless connection method provided by an embodiment of the present application.
  • 5 is a schematic diagram of a confirmation information input interface in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a wireless connection device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 8 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • users can operate electronic devices (such as mobile phones, tablet computers, etc.) to access wireless access hotspots (such as Wi-Fi hotspots, Bluetooth hotspots, etc.) to obtain network access services provided by wireless access hotspots.
  • wireless access hotspots such as Wi-Fi hotspots, Bluetooth hotspots, etc.
  • the electronic device provides an access interface, which includes a connection entrance of the wireless access hotspot within the communication range of the electronic device, so that the user can touch A connection entry is selected in a controlled manner to instruct the electronic device to access the wireless access hotspot corresponding to the connection entry selected by the user.
  • the electronic device when there are multiple wireless access hotspots within the communication range of the electronic device, the electronic device usually displays the connection entrances of these wireless access hotspots according to a certain sorting rule, for example, according to the signal strength of the wireless access hotspots It is shown that the connection entrance with high signal strength is in the front, and the low signal strength is in the back, as shown in Figure 1.
  • the wireless access hotspot within the communication range of the electronic device will also change, such as increasing or decreasing the wireless access hotspot, increasing or decreasing the signal strength of the wireless access hotspot, etc.
  • These changes will allow the electronic device to update the access interface, including but not limited to adding / deleting connection entries and updating the arrangement order of connection entries. If the electronic device updates the access interface during the user's selection of the connection entry, it will cause the user to select the undesired connection entry, causing the electronic device to access the "wrong" wireless access hotspot, which requires the user to operate the electronic device to disconnect Connect to the "wrong" wireless access hotspot, find the connection entrance of the desired wireless access hotspot again, and re-operate. It is a waste of time and a poor user experience. Therefore, a wireless connection method is proposed in the embodiments of the present application, which aims to overcome the defects in the related art.
  • FIG. 2 is a schematic flowchart of a wireless connection method according to an embodiment of the present application.
  • the wireless connection method can be applied to electronic devices.
  • the flow of the wireless connection method may include:
  • a user's touch operation on a current access interface is received, and the current access interface includes a connection entry for triggering connection to a wireless access hotspot.
  • the main purpose of the embodiments of the present application is to enable a user to continue to touch when a connection entry in the current access interface is found, and find that the connection entry is not the one he wants, so that the touch operation satisfies the preset touch conditions. Instructing the electronic device to determine the corresponding connection entry of the user's touch operation in the historical access interface as the target connection entry selected by the user, so as to access the wireless access hotspot indicated by the target connection entry.
  • the current access interface is not used to specifically refer to a certain access interface, but is used to refer to the access interface displayed on the screen of the electronic device at the current moment.
  • the current access interface includes a connection entry for triggering the connection of an electronic device to a wireless access hotspot within the current communication range.
  • the historical access interface is the previous access interface of the current access interface, including its corresponding historical communication range. Connection entrance for wireless access hotspot. Among them, the current communication range and the historical communication range may be the same or different.
  • the screen of the electronic device has a touch control function, and can receive a user's touch operation.
  • the screen of the electronic device includes, but is not limited to, a surface capacitive touch screen and a projected touch screen.
  • the projected touch screen can be divided into a self-capacitance touch screen and a mutual capacitance touch screen.
  • the self-capacitance touch screen is composed of a driving electrode and a receiving electrode.
  • the driving electrode emits a low-voltage high-frequency signal to the receiving electrode to form a stable current.
  • the finger touches the self-capacitance due to the human body grounding
  • the screen forms an equivalent capacitance, and high-frequency signals can flow into the ground through this equivalent capacitance.
  • the amount of charge received by the receiving electrode decreases, and the closer the finger is to the driving electrode, the more the amount of charge decreases. Therefore, the point touched by the user's finger can be determined according to the current intensity received by the receiving electrode, and the user's touch operation can be received.
  • Mutual capacitance touch screen is composed of horizontal electrodes and vertical electrodes. The difference between it and self-capacitance touch screen is that where two sets of electrodes of mutual capacitance touch screen intersect will form a capacitance, that is, these two groups of electrodes form the two poles of the capacitance. .
  • the mutual capacitance sensing module When the user touches the mutual capacitance sensing module with a finger, it will affect the coupling between the two electrodes near the finger touch point, thereby changing the capacitance between the two electrodes.
  • the horizontal electrodes send out excitation signals in sequence, and the vertical electrodes simultaneously receive the signals. In this way, the capacitance value of all intersections of the horizontal electrodes and the vertical electrodes can be obtained, so that the point touched by the user's finger can be determined according to the capacitance change , To receive the user's touch operation.
  • the electronic device determines whether the touch operation satisfies a preset touch condition (or judges the touch according to the touch information of the touch operation (that is, the user's touch operation received on the current access interface)) Whether the operation is a touch operation defined by preset touch conditions).
  • the touch information includes but is not limited to touch duration, touch pressure, etc.
  • the setting of the touch condition is not specifically limited in the embodiments of the present application, and the touch operation defined by the touch condition may be different from the touch operation that triggers the electronic device to access the connection entrance, which is set by a person of ordinary skill in the art according to actual needs .
  • the touch operation that triggers the electronic device to access the connection entry is “touch connection entry for 1 second”
  • the touch operation defined by the touch conditions may be “touch connection entry for 3 seconds”, “touch connection entry for 1.5 seconds”, and so on.
  • the electronic device further determines the corresponding connection entry of the aforementioned touch operation in the history access interface and determines The corresponding connection entry in the interface is recorded as the target connection entry.
  • the electronic device after updating the historical access interface to the current access interface, the electronic device does not immediately delete the corresponding data of the historical access interface, so that the electronic device can determine the foregoing Touch the corresponding connection entry in the history access interface.
  • the historical access interface of the electronic device includes connection entries corresponding to four different wireless access hotspots, which are respectively arranged in order (for example, arranged in descending order of signal strength) “AAA”, “BBB”, “CCC”, and “DDD”, it is assumed that the user wants to operate the electronic device to access the wireless access hotspot corresponding to the connection entrance "BBB", and uses his finger to touch the connection entrance "BBB", however, the user's finger has not yet When the connection entrance "BBB" is touched, the electronic device updates the history access interface and updates the history access interface to the current access interface.
  • the current access interface includes the same connection entrance as the historical access interface, but the order of connection entrances has changed.
  • the connection entrances "AAA” and “BBB” have exchanged positions. It is expected that the connection entry "BBB” is touched, but the connection entry "BBB” and the connection entry "AAA” exchange positions, which causes the user to touch the connection entry "AAA”.
  • the user may continue to perform the touch operation defined by the preset touch conditions, thereby instructing the electronic device to use the connection entry “BBB” corresponding to the touch operation in the history access interface as the target connection entry.
  • an access request is sent to the wireless access hotspot indicated by the target connection entry to access the aforementioned wireless access hotspot.
  • the electronic device after determining the target connection entry, sends an access request to the wireless access hotspot indicated by the target connection entry, and the access request may carry information such as account number and password.
  • the wireless access hotspot After receiving the access request from the electronic device, the wireless access hotspot verifies the account number and password information carried in the access request. If the verification is passed, the electronic device is accessed to provide a network connection for the electronic device Into service.
  • the electronic device can receive the user's touch operation on the current access interface, where the current access interface includes a connection entry for triggering connection to the wireless access hotspot; determine whether the aforementioned touch operation satisfies the pre- Set the touch conditions; if so, determine the corresponding connection entry of the aforementioned touch operation in the historical access interface to obtain the target connection entry, where the historical access interface is the previous access interface of the current access interface;
  • the indicated wireless access hotspot sends an access request to access the wireless access hotspot indicated by the target connection entry, so that the user touches a connection entry in the current access interface of the electronic device and finds that it is not what he wants When connecting to the portal, you can continue to touch, so that the touch operation meets the preset touch conditions, to instruct the electronic device to determine the corresponding connection entrance of the user's touch operation in the historical access interface as the target connection entrance selected by the user, so as to access The wireless access hotspot indicated by the target connection entrance.
  • FIG. 4 is another schematic flowchart of a wireless connection method according to an embodiment of the present application.
  • the wireless connection method can be applied to electronic devices.
  • the flow of the wireless connection method may include:
  • the electronic device obtains device information of the wireless access hotspot within the current communication range.
  • the main purpose of the embodiments of the present application is to enable a user to continue to touch when a connection entry in the current access interface is found, and find that the connection entry is not the one he wants, so that the touch operation satisfies the preset touch conditions. Instructing the electronic device to determine the corresponding connection entry of the user's touch operation in the historical access interface as the target connection entry selected by the user, so as to access the wireless access hotspot indicated by the target connection entry.
  • the embodiments of the present application will start with the electronic device updating the historical access interface to the current access interface.
  • the current access interface refers to the access interface displayed on the screen of the electronic device at the current moment.
  • the current access interface includes a connection entry for triggering the connection of an electronic device to a wireless access hotspot within the current communication range.
  • the historical access interface is the previous access interface of the current access interface, including its corresponding historical communication range. Connection entrance for wireless access hotspot.
  • the current communication range and the historical communication range may be the same or different.
  • the electronic device does not update the access interface in real time, but updates the access interface only when the preset interface update time is reached. It should be noted that the embodiment of the present application does not specifically limit the setting of the interface update time, and can be set by a person of ordinary skill in the art according to actual needs. For example, in a natural day, an interface update time is set every 3 seconds. In this way, the electronic device will update the access interface every 3 seconds.
  • the electronic device obtains device information of wireless access hotspots within the current communication range when the preset interface update time is reached. For example, in order to be discovered by an electronic device, a wireless access hotspot will transmit a broadcast signal carrying its device identification to the electronic device that has received the broadcast signal to declare its existence. Correspondingly, when receiving the broadcast signal sent by the wireless access hotspot within its current communication range, the electronic device extracts the device identification of the wireless access hotspot from the broadcast signal and sends the wireless access point based on the device identification. In addition, the electronic device also obtains the signal strength of the broadcast signal it receives, and uses the signal strength and the device identification as device information of the wireless access hotspot.
  • the electronic device updates the historical access interface according to the acquired device information to obtain the current access interface.
  • the historical access interface includes connection entries of wireless access hotspots within the corresponding historical communication range, and the connection entries are sorted and displayed according to the signal strength of the corresponding wireless access hotspots. For example, display in descending order of signal strength.
  • the electronic device After acquiring the device information of the wireless access hotspot within the current communication range, the electronic device updates the historical access interface according to the acquired device information to obtain the current access interface.
  • the electronic device may delete or add the connection entry in the history access interface according to the device identifier in the device information, and at the same time update the arrangement order of the connection entries according to the signal strength in the device information.
  • connection entries corresponding to 4 different wireless access hotspots respectively arranged in order (for example, in descending order of signal strength) "AAA”, “BBB”, “CCC” and “ DDD "
  • the device information obtained by the electronic device still includes the device identifiers of the wireless access hotspots” AAA “,” BBB “,” CCC “and” DDD ", and the signal strength of these wireless access hotspots is ranked as” BBB “ , "AAA”, “CCC”, “DDD”, in this way, the electronic device will exchange the location of the connection entry "AAA” and "BBB” in the historical access interface to get the current access interface, which is connected to the entrance in the current access interface
  • the order is “BBB”, “AAA”, “CCC”, “DDD”, and the signal strength order of the wireless access hotspots corresponding to these connection entries is consistent.
  • the electronic device receives a user's touch operation on the current access interface.
  • the screen of the electronic device has a touch control function, and can receive a user's touch operation.
  • the screen of the electronic device includes, but is not limited to, a surface capacitive touch screen and a projected touch screen.
  • the projected touch screen can be divided into a self-capacitance touch screen and a mutual capacitance touch screen.
  • the self-capacitance touch screen is composed of a driving electrode and a receiving electrode.
  • the driving electrode emits a low-voltage high-frequency signal to the receiving electrode to form a stable current.
  • the finger touches the self-capacitance due to the human body grounding
  • the screen forms an equivalent capacitance, and high-frequency signals can flow into the ground through this equivalent capacitance.
  • the amount of charge received by the receiving electrode decreases, and the closer the finger is to the driving electrode, the more the amount of charge decreases. Therefore, the point touched by the user's finger can be determined according to the current intensity received by the receiving electrode, and the user's touch operation can be received.
  • Mutual capacitance touch screen is composed of horizontal electrodes and vertical electrodes. The difference between it and self-capacitance touch screen is that where two sets of electrodes of mutual capacitance touch screen intersect will form a capacitance, that is, these two groups of electrodes form the two poles of the capacitance. .
  • a user touches the mutual capacitance sensing module with a finger it will affect the coupling between the two electrodes near the point where the finger touches, thereby changing the capacitance between the two electrodes.
  • the horizontal electrodes sequentially send out excitation signals, and the vertical electrodes simultaneously receive the signals. In this way, the capacitance value of all intersections of the horizontal electrodes and the vertical electrodes can be obtained, so that the point touched by the user's finger can be determined according to the amount of capacitance change , To receive the user's touch operation.
  • the electronic device determines whether the fingerprint information carried in the aforementioned touch operation matches the preset fingerprint information, if yes, go to 205, otherwise go to 208.
  • the electronic device may collect the fingerprint information of the finger of the user performing the touch operation through the off-screen fingerprint recognition module as the fingerprint information carried by the touch operation while receiving the user's touch operation.
  • the electronic device may compare the fingerprint information carried by the aforementioned touch operation with the preset fingerprint information to obtain the similarity between the fingerprint information of the two. Similarity determines whether the fingerprint information carried by the aforementioned touch operation matches the preset fingerprint information (for example, fingerprint information pre-entered by the owner, or fingerprint information entered by other users authorized by the owner, etc.), that is, the current input is determined Whether the user of the aforementioned touch operation has the authority to operate the electronic device.
  • the preset fingerprint information for example, fingerprint information pre-entered by the owner, or fingerprint information entered by other users authorized by the owner, etc.
  • the aforementioned touch operation is determined
  • the carried fingerprint information matches the preset fingerprint information, that is, the user who inputs the aforementioned touch operation has the authority to operate the electronic device, when the similarity between the fingerprint information carried by the aforementioned touch operation and the preset fingerprint information does not reach the preset similarity It is determined that the fingerprint information carried by the foregoing touch operation does not match the preset fingerprint information, that is, the user who inputs the foregoing touch operation does not have the authority to operate the electronic device.
  • the electronic device when it is determined that the fingerprint information carried by the aforementioned touch operation matches the preset fingerprint information, the electronic device proceeds to execution 205, and when it is determined that the fingerprint information carried by the aforementioned touch operation does not match the preset fingerprint information, the electronic device proceeds to execution 208.
  • the electronic device determines whether the aforementioned touch operation satisfies the preset touch condition, if yes, go to 206, otherwise go to 209.
  • the electronic device determines whether the touch operation satisfies the preset touch condition (or judges the touch Whether the operation is a touch operation defined by preset touch conditions).
  • the touch information includes but is not limited to touch duration, touch pressure, etc.
  • the setting of the touch condition is not specifically limited in the embodiments of the present application, and the touch operation defined by the touch condition may be different from the touch operation that triggers the electronic device to access the connection entrance, which is set by a person of ordinary skill in the art according to actual needs .
  • the touch operation that triggers the electronic device to access the connection entry is “touch connection entry for 1 second”
  • the touch operation defined by the touch conditions may be “touch connection entry for 3 seconds”, “touch connection entry for 1.5 seconds”, and so on.
  • the electronic device may execute:
  • the electronic device determines whether the pressure value of the aforementioned touch operation reaches the preset pressure value, and then determines that the aforementioned touch operation satisfies the preset touch condition, otherwise it does not.
  • the preset touch condition is set as follows: the pressure value of the touch operation reaches the preset pressure value.
  • the electronic device determines whether the aforementioned touch operation satisfies the preset touch conditions, it can determine whether the pressure value of the aforementioned touch operation (the electronic device can collect the pressure value of the received touch operation through the pressure sensor) reaches the preset pressure value , It is determined that the foregoing touch operation satisfies the preset touch condition, otherwise it is not satisfied.
  • the value of the preset pressure value is not specifically limited, and can be set by a person of ordinary skill in the art according to actual needs.
  • the preset pressure value can be set to 1 N.
  • the electronic device may execute:
  • the electronic device determines whether the touch duration of the aforementioned touch operation reaches a preset duration, and then determines that the aforementioned touch operation satisfies the preset touch condition, otherwise it is not satisfied.
  • the preset touch condition is set as follows: the touch duration of the touch operation reaches the preset duration. In this way, when the electronic device determines whether the aforementioned touch operation satisfies the preset touch condition, it can determine whether the touch duration of the aforementioned touch operation reaches the preset duration, and it is determined that the aforementioned touch operation satisfies the preset touch condition, otherwise it is not satisfied.
  • the value of the preset duration is not specifically limited, and can be set by a person of ordinary skill in the art according to actual needs.
  • the preset duration can be set to 1 second.
  • the electronic device may execute:
  • the electronic device determines whether the pressure value of the aforementioned touch operation continues to increase within the duration of the touch and reaches a preset pressure value, and then determines that the aforementioned touch operation satisfies the preset touch condition, otherwise it does not.
  • the preset touch condition is set as follows: the pressure value of the touch operation continues to increase during the touch duration and reaches the preset pressure value.
  • the electronic device determines whether the aforementioned touch operation satisfies the preset touch conditions, it can determine whether the pressure value of the aforementioned touch operation (the electronic device can collect the pressure value of the received touch operation through the pressure sensor) continues to increase during the touch duration And the preset pressure value is reached, it is determined that the aforementioned touch operation satisfies the preset touch condition, otherwise it is not satisfied.
  • the preset duration and the value of the preset pressure value are not specifically limited, and can be set by a person of ordinary skill in the art according to actual needs, for example, the preset duration can be set to 1 second , Set the preset pressure value to 1 N.
  • the electronic device determines the corresponding connection entry of the aforementioned touch operation in the history access interface to obtain the target connection entry.
  • the electronic device further determines the corresponding connection entry of the aforementioned touch operation in the history access interface and determines The corresponding connection entry in the interface is recorded as the target connection entry.
  • the electronic device after updating the historical access interface to the current access interface, the electronic device does not immediately delete the corresponding data of the historical access interface, so that the electronic device can determine the foregoing Touch the corresponding connection entry in the history access interface.
  • the historical access interface of the electronic device includes connection entries corresponding to four different wireless access hotspots, which are respectively arranged in order (for example, arranged in descending order of signal strength) “AAA”, “BBB”, “CCC”, and “DDD”, it is assumed that the user wants to operate the electronic device to access the wireless access hotspot corresponding to the connection entrance "BBB", and uses his finger to touch the connection entrance "BBB", however, the user's finger has not yet When the connection entrance "BBB" is touched, the electronic device updates the history access interface and updates the history access interface to the current access interface.
  • the current access interface includes the same connection entrance as the historical access interface, but the order of connection entrances has changed.
  • the connection entrances "AAA” and “BBB” have exchanged positions. It is expected that the connection entry "BBB” is touched, but the connection entry "BBB” and the connection entry "AAA” exchange positions, which causes the user to touch the connection entry "AAA”.
  • the user may continue to perform the touch operation defined by the preset touch conditions, thereby instructing the electronic device to use the connection entry “BBB” corresponding to the touch operation in the history access interface as the target connection entry.
  • the electronic device sends an access request to the wireless access hotspot indicated by the target connection entry to access the aforementioned wireless access hotspot.
  • the electronic device after determining the target connection entry, sends an access request to the wireless access hotspot indicated by the target connection entry, and the access request may carry information such as account number and password.
  • the wireless access hotspot After receiving the access request from the electronic device, the wireless access hotspot verifies the account number and password information carried in the access request. If the verification is passed, the electronic device is accessed to provide a network connection for the electronic device Into service.
  • the electronic device switches the current state to the locked state.
  • the fingerprint information carried by the aforementioned touch operation does not match the preset fingerprint information, it means that the user who entered the aforementioned touch operation does not have the authority to operate the electronic device.
  • the device may be illegally used by the user, and there is a risk of data leakage. Therefore, when the fingerprint information carried by the foregoing touch operation does not match the preset fingerprint information, the electronic device switches the current state to the locked state.
  • the electronic device outputs prompt information for prompting the user to reselect the connection entry.
  • the electronic device when the foregoing touch operation does not satisfy the preset touch conditions, the electronic device outputs a prompt message for prompting the user to re-select the connection entry.
  • the specific content of the prompt message is not specifically limited in this embodiment of the present application It can be set by a person of ordinary skill in the art according to actual needs, for example, it can be set to "please reselect the wireless access hotspot to be accessed".
  • the electronic device may execute:
  • the electronic device obtains in real time the device information of the wireless access hotspot within the communication range;
  • the electronic device While acquiring device information of wireless access hotspots within the current communication range, the electronic device can execute:
  • the interface update period corresponding to the aforementioned interface update time is also a time period between the aforementioned interface update time and the previous interface update time (ie, the interface update time corresponding to the historical access interface).
  • the electronic device acquires and records the device information of the wireless access hotspot within the communication range in real time within the interface update period corresponding to the aforementioned interface update time. In this way, when acquiring the device information of the wireless access hotspot in the current communication range, the electronic device directly uses the device information acquired most recently in the foregoing interface update period as the device information of the wireless access hotspot in the current communication range.
  • the electronic device before sending an access request to the wireless access hotspot indicated by the target connection entry, the electronic device may execute:
  • the target connection entry is the connection entry in the historical access interface
  • the wireless access hotspot indicated by the target connection entry is located in the historical communication range corresponding to the historical access interface
  • the historical communication range may be consistent with the current communication range, or may be inconsistent with the current communication range, which makes the wireless access hotspot indicated by the target connection entry may be within the current communication range, or may be outside the current communication range.
  • the electronic device if the wireless access hotspot indicated by the target connection entrance is outside the current communication range, the electronic device will not be able to access the wireless access hotspot indicated by the target connection entrance.
  • the electronic device does not directly send an access request to the wireless access hotspot indicated by the target connection entry, and It is to determine whether the wireless access hotspot indicated by the target connection entry is within the current communication range. For example, it can be directly determined whether the target connection entry exists in the current access interface. Otherwise, it is determined that the wireless access hotspot indicated by the target connection entry is outside the current communication range.
  • the electronic device sends an access request to the wireless access hotspot indicated by the target connection entrance only if the wireless access hotspot indicated by the target connection entrance is within the current communication range to ensure that the target can be accessed The wireless access hotspot indicated by the connection entrance.
  • the electronic device may execute:
  • the confirmation information input interface is displayed, and the confirmation information input interface includes inquiry information, which is used to ask the user whether to connect the wireless access hotspot indicated by the corresponding connection entry in the current access interface of the aforementioned touch operation;
  • the access request is sent to the wireless access hotspot indicated by the connection entry corresponding to the touch operation in the current access interface.
  • a confirmation information input interface is displayed in the electronic device, and the confirmation information input interface includes query information (the specific content of the query information is not specifically limited in this embodiment of the present application, and can be set by a person of ordinary skill in the art according to actual needs) And a control for entering confirmation information and a control for entering denial information, wherein the inquiry information is used to inquire the user whether to connect the wireless access hotspot indicated by the corresponding connection entry in the current access interface of the aforementioned touch operation.
  • the confirmation information input interface includes a query message "whether to connect to the selected wireless access hotspot", and a "yes” control for entering confirmation information. "No" control for entering denial information.
  • the electronic device may also execute:
  • the electronic device can also restore the display of the historical access interface while determining the corresponding connection entry of the aforementioned touch operation in the historical access interface.
  • FIG. 6 is a schematic structural diagram of a wireless connection device according to an embodiment of the present application.
  • the wireless connection device can be applied to electronic equipment.
  • the wireless connection device 400 may include a receiving module 401, a judgment module 402, a determination module 403, and a connection module 404.
  • the receiving module 401 is configured to receive a user's touch operation on the current access interface, and the current access interface includes a connection entry for triggering connection to a wireless access hotspot;
  • the judgment module 402 is used to judge whether the aforementioned touch operation satisfies the preset touch condition
  • the determination module 403 is used to determine the connection entrance corresponding to the aforementioned touch operation in the historical access interface to obtain the target connection entrance if the judgment result of the judgment module 402 is yes, and the historical access interface is the previous Interface
  • the connection module 404 is configured to send an access request to the wireless access hotspot indicated by the target connection entry to access the aforementioned wireless access hotspot.
  • the wireless connection device further includes an update module for:
  • the receiving module 401 Before the receiving module 401 receives the user's touch operation on the current access interface, if the preset interface update time is reached, the device information of the wireless access hotspot within the current communication range is acquired;
  • the update module before acquiring the device information of the wireless access hotspot within the current communication range, the update module is also used to:
  • the update module is also used to:
  • connection module 404 before sending the access request to the wireless access hotspot indicated by the target connection entry, the connection module 404 is also used to:
  • connection module 404 is further used to:
  • the confirmation information input interface is displayed, and the confirmation information input interface includes inquiry information, which is used to ask the user whether to connect the wireless access hotspot indicated by the corresponding connection entry in the current access interface of the aforementioned touch operation;
  • an access request is sent to the wireless access hotspot indicated by the corresponding connection entry in the current access interface of the aforementioned touch operation.
  • the wireless connection device further includes a display module, which is used to restore the display of the historical access interface while the determination module 403 determines that the aforementioned touch operation corresponds to the connection entry in the historical access interface.
  • the determination module 402 when determining whether the aforementioned touch operation satisfies a preset touch condition, the determination module 402 may be used to:
  • the determination module 402 when determining whether the aforementioned touch operation satisfies a preset touch condition, the determination module 402 may be used to:
  • the determination module 402 when determining whether the aforementioned touch operation satisfies a preset touch condition, the determination module 402 may be used to:
  • the determining module 402 may be used to:
  • the wireless connection device further includes a switching module, which is used to determine whether the fingerprint information carried by the touch operation matches the preset fingerprint information after the judgment module 402 includes:
  • An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the stored computer program is executed on a computer, the computer is caused to perform the steps in the wireless connection method as provided in the embodiments of the present application.
  • An embodiment of the present application also provides an electronic device, including a memory, a processor, and the processor executes the steps in the wireless connection method provided by the embodiment of the present application by calling a computer program stored in the memory.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device may include a screen 601, a memory 602, and a processor 603.
  • Those of ordinary skill in the art may understand that the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device, and may include more or fewer components than those illustrated, or combine certain components, or arrange different components .
  • the screen 601 may display an access interface and receive touch operations input by the user.
  • the memory 602 may be used to store application programs and data.
  • the application program stored in the memory 602 contains executable code.
  • the application program can form various functional modules.
  • the processor 603 executes application programs stored in the memory 602 to execute various functional applications and data processing.
  • the processor 603 is the control center of the electronic device, and uses various interfaces and lines to connect the various parts of the entire electronic device. Various functions and processing data, so as to carry out overall monitoring of electronic equipment.
  • the processor 603 in the electronic device loads the executable code corresponding to the process of one or more audio processing programs into the memory 602 according to the following instructions, and the processor 603 executes the storage The application program in the memory 602, thereby executing:
  • the current access interface includes a connection entry for triggering connection to a wireless access hotspot
  • It is used to send an access request to the wireless access hotspot indicated by the target connection entrance to access the aforementioned wireless access hotspot.
  • FIG. 8 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the difference from the electronic device shown in FIG. 7 is that the electronic device further includes components such as an input unit 604 and an output unit 605.
  • the input unit 604 can be used to receive input numbers, character information, or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
  • user characteristic information such as fingerprints
  • the output unit 605 may be used to output information input by the user or provided to the user, such as a speaker.
  • the processor 603 in the electronic device loads the executable code corresponding to the process of one or more audio processing programs into the memory 602 according to the following instructions, and the processor 603 executes the storage The application program in the memory 602, thereby executing:
  • the current access interface includes a connection entry for triggering connection to a wireless access hotspot
  • It is used to send an access request to the wireless access hotspot indicated by the target connection entrance to access the aforementioned wireless access hotspot.
  • the processor 603 may execute:
  • the device information of the wireless access hotspot within the current communication range is obtained;
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the confirmation information input interface is displayed, and the confirmation information input interface includes inquiry information, which is used to ask the user whether to connect the wireless access hotspot indicated by the corresponding connection entry in the current access interface of the aforementioned touch operation;
  • an access request is sent to the wireless access hotspot indicated by the corresponding connection entry in the current access interface of the aforementioned touch operation.
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the processor 603 may execute:
  • the processor 603 may further execute:
  • the wireless connection device provided by the embodiment of the present application and the wireless connection method in the above embodiments belong to the same concept. Any method provided in the wireless connection method embodiment can be run on the wireless connection device. For the specific implementation process, see the wireless connection The method embodiments are not repeated here.
  • the program may be stored in a computer-readable storage medium, such as stored in a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the wireless connection method.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), etc.
  • each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, magnetic disk, or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

一种无线连接方法,应用于电子设备,使得用户在触摸电子设备的当前接入界面中某个连接入口,并发现不是自己想要的连接入口时,可以继续触摸,使得触摸操作满足预设的触摸条件,以此指示电子设备将用户触摸操作在历史接入界面中对应的连接入口确定为用户选中的连接入口,从而接入该连接入口指示的无线接入热点。

Description

无线连接方法、装置、存储介质及电子设备 技术领域
本申请属于无线通信技术领域,尤其涉及一种无线连接方法、装置、存储介质及电子设备。
背景技术
目前,用户可以操作电子设备(如手机、平板电脑等)接入到无线接入热点(如Wi-Fi热点、蓝牙热点等),利用无线接入热点提供的网络接入服务接入网络,获得网络服务。通常的,如图1所示,电子设备为了方便用户选择需要接入的无线接入热点,提供有包括无线接入热点的连接入口的接入界面,用户可以直接触摸接入界面中的连接入口来指示电子设备接入对应的无线接入热点。然而,在相关技术中,电子设备实时的对接入界面中的连接入口进行更新,包括但不限于增加/删减连接入口以及调整连接入口的排列顺序等。如果电子设备在用户选择连接入口的过程中更新了接入界面,将导致用户选中“错误”的连接入口,使得电子设备接入“错误”的无线接入热点。
发明内容
本申请实施例提供一种无线连接方法、装置、存储介质及电子设备,可以使得电子设备能够准确的接入用户期望接入的无线接入热点。
第一方面,本申请实施例提供一种无线连接方法,应用于电子设备,包括:
接收用户对当前接入界面的触摸操作,所述当前接入界面包括用于触发连接无线接入热点的连接入口;
判断所述触摸操作是否满足预设的触摸条件;
若是,则确定所述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,所述历史接入界面为所述当前接入界面的前一接入界面;
向所述目标连接入口指示的无线接入热点发送接入请求,以接入所述无线接入热点。
第二方面,本申请实施例提供一种无线连接装置,应用于电子设备,包括:
接收模块,用于接收用户对当前接入界面的触摸操作,所述当前接入界面包括用于触发连接无线接入热点的连接入口;
判断模块,用于判断所述触摸操作是否满足预设的触摸条件;
确定模块,用于若判断模块的判断结果为是,则确定所述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,所述历史接入界面为所述当前接入界面的前一接入界面;
连接模块,用于向所述目标连接入口指示的无线接入热点发送接入请求,以接入所述无线接入热点。
第三方面,本申请实施例提供一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在 计算机上执行时,使得所述计算机执行本申请实施例提供的无线连接方法中的步骤。
第四方面,本申请实施例提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行:
接收用户对当前接入界面的触摸操作,所述当前接入界面包括用于触发连接无线接入热点的连接入口;
判断所述触摸操作是否满足预设的触摸条件;
若是,则确定所述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,所述历史接入界面为所述当前接入界面的前一接入界面;
向所述目标连接入口指示的无线接入热点发送接入请求,以接入所述无线接入热点。
申请实施例中,电子设备可以接收用户对当前接入界面的触摸操作,其中,当前接入界面包括用于触发连接无线接入热点的连接入口;判断前述触摸操作是否满足预设的触摸条件;若是,则确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,其中,历史接入界面为当前接入界面的前一接入界面;向目标连接入口指示的无线接入热点发送接入请求,以接入目标连接入口指示的无线接入热点,这样,使得用户在触摸电子设备的当前接入界面中某个连接入口,并发现不是自己想要的连接入口时,可以继续触摸,使得触摸操作满足预设的触摸条件,以此来指示电子设备将用户触摸操作在历史接入界面中对应的连接入口确定为用户选中的目标连接入口,从而接入该目标连接入口指示的无线接入热点,使得电子设备能够准确的接入用户期望接入的无线接入热点。
附图说明
下面结合附图,通过对本发明的具体实施方式详细描述,将使本发明的技术方案及其有益效果显而易见。
图1是相关技术中电子设备提供的接入界面的示例图。
图2是本申请实施例提供的无线连接方法的一流程示意图。
图3是本申请实施例中用户选中“错误”连接入口的示意图。
图4是本申请实施例提供的无线连接方法的另一流程示意图。
图5是本申请实施例中确认信息输入界面的示意图。
图6是本申请实施例提供的无线连接装置的结构示意图。
图7是本申请实施例提供的电子设备的一结构示意图。
图8是本申请实施例提供的电子设备的另一结构示意图。
具体实施方式
请参照图示,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。
目前,用户可以操作电子设备(如手机、平板电脑等)接入到无线接入热点(如Wi-Fi热点、蓝牙热点等),获得无线接入热点提供的网络接入服务。相关技术中,电子设备为了便于用户选择需要接入的无线接入热点,提供有接入界面,该接入界面包括电子设备所处通信范围内的无线接入热点的连接入口,使得用户可以触控的方式选中一连接入口,指示电子设备接入用户选中的连接入口所对应的无线接入热点。其中,当电子设备所处通信范围内存在多个无线接入热点时,电子设备通常会按照一定的排序规则来排序显示这些无线接入热点的连接入口,比如按照无线接入热点的信号强度排序显示,信号强度高的连接入口排在前面,信号强度低的排在后面,如图1所示。
然而,随着电子设备位置的变化,使得电子设备所处通信范围内的无线接入热点也将发生变化,比如增加或减少了无线接入热点,无线接入热点的信号强度增高或降低等,这些变化将使得电子设备更新接入界面,包括但不限于增加\删除连接入口以及更新连接入口的排列顺序等。如果电子设备在用户选择连接入口的过程中更新了接入界面,将导致用户选中非期望的连接入口,使得电子设备接入“错误”的无线接入热点,这样就需要用户操作电子设备断开与“错误”无线接入热点的连接,重新找到期望接入的无线接入热点的连接入口,重新操作。既浪费时间,用户体验也比较差。为此,本申请实施例中提出一种无线连接方法,旨在克服相关技术中的缺陷。
请参照图2,图2是本申请实施例提供的无线连接方法的一流程示意图。该无线连接方法可以应用于电子设备。该无线连接方法的流程可以包括:
在101中,接收用户对当前接入界面的触摸操作,当前接入界面包括用于触发连接无线接入热点的连接入口。
为便于理解本申请实施例所提供的无线连接方法,以下首先对本申请实施例的主旨做简单介绍:
本申请实施例的主旨在于,使得用户在触摸当前接入界面中某个连接入口,并发现不是自己想要的连接入口时,可以继续触摸,使得触摸操作满足预设的触摸条件,以此来指示电子设备将用户触摸操作在历史接入界面中对应的连接入口确定为用户选中的目标连接入口,从而接入该目标连接入口指示的无线接入热点。
应当说明的是,当前接入界面并不用于特指某一接入界面,而是用于代指电子设备的屏幕在当前时刻所显示的接入界面。当前接入界面包括用于触发连接电子设备连接当前通信范围内的无线接入热点的连接入口,历史接入界面为当前接入界面的前一接入界面,包括其对应的历史通信范围内的无线接入热点的连接入口。其中,当前通信范围与历史通信范围可以相同,也可以不同。
本申请实施例中,电子设备的屏幕具有触控功能,可以接收用户的触摸操作。其中,电子设备的屏幕包括但不限于表面式电容触摸屏幕和投射式触摸屏幕等。而投射式触摸屏幕由可以划分为自电容触摸屏幕和互电容触摸屏幕。
自电容触摸屏幕内部由驱动电极与接收电极组成,驱动电极发出低电压高频信号投射到接收电极形 成稳定的电流,当用户使用手指接触自电容触摸屏幕时,由于人体接地,手指与自电容触摸屏幕就形成一个等效电容,而高频信号可以通过这一等效电容流入地线,这样,接收电极所接收的电荷量减小,而当手指越靠近驱动电极时,电荷量减小越明显,从而可根据接收电极所接收的电流强度来确定用户手指所触摸的点,实现对用户触摸操作的接收。
互电容触摸屏幕由横向电极和纵向电极组成,其与自电容触摸屏幕的区别在于,互电容触摸屏幕两组电极交叉的地方将会形成电容,也即是这两组电极分别构成了电容的两极。当用户使用手指触摸互电容感应模组时,将影响手指触摸点附近两个电极之间的耦合,从而改变这两个电极之间的电容量。检测互电容大小时,由横向电极依次发出激励信号,纵向电极同时接收信号,这样可以得到横向电极和纵向电极所有交汇点的电容值大小,从而可根据电容变化量来确定用户手指所触摸的点,实现对用户触摸操作的接收。
在102中,判断前述触摸操作是否满足预设的触摸条件。
本申请实施例中,电子设备根据前述触摸操作(即在当前接入界面所接收到的用户的触摸操作)的触摸信息,判断前述触摸操作是否满足预设的触摸条件(或者说,判断前述触摸操作是否为预设的触摸条件所限定的触摸操作)。
其中,触摸信息包括但不限于触摸时长、触摸压力等。此外,对于触摸条件的设置,本申请实施例中不做具体限制,可以触摸条件限定的触摸操作不同于触发电子设备接入连接入口的触摸操作为约束,由本领域普通技术人员根据实际需要进行设置。
比如,假设触发电子设备接入连接入口的触摸操作为“触摸连接入口1秒”,则触摸条件限定的触摸操作可以为“触摸连接入口3秒”、“触摸连接入口1.5秒”等等。
在103中,若是,则确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,历史接入界面为当前接入界面的前一接入界面。
基于以上描述,本领域普通技术人员可以理解的是,在前述触摸操作满足预设的触摸条件(或者说,前述触摸操作为预设的触摸条件所限定的触摸操作)时,则说明用户期望选中的连接入口并不是前述触摸操作在当前接入界面中所对应连接入口,而是前述触摸操作在历史接入界面中所对应的连接入口。
因此,电子设备在判断前述触摸操作是否满足预设的触摸条件之后,若得到的判断结果为是,进一步确定前述触摸操作在历史接入界面中对应的连接入口,并将前述触摸操作在历史接入界面中对应的连接入口记为目标连接入口。
应当说明的是,在本申请实施例中,电子设备在将历史接入界面更新为当前接入界面之后,并不立即删除历史接入界面所述对应的数据,这样,使得电子设备能够确定前述触摸操作在历史接入界面中对应的连接入口。
比如,请参照图3,在电子设备的历史接入界面中,包括分别对应4个不同无线接入热点的连接入口,分别为依序排列(如按照信号强度高低降序排列)的“AAA”、“BBB”、“CCC”以及“DDD”,假设用户欲操作电子设备接入连接入口“BBB”所对应的无线接入热点,并采用手指去触摸连接入口“BBB”,然而,在用户手指尚未触摸到的连接入口“BBB”时,电子设备更新了历史接入界面,将历 史接入界面更新为了当前接入界面。
如图3所示,当前接入界面包括与历史接入界面相同的连接入口,但连接入口的排列顺序发生了变化,其中,连接入口“AAA”和“BBB”交换了位置,这样,虽然用户预期的是触摸连接入口“BBB”,但连接入口“BBB”和连接入口“AAA”交换了位置,这就使得用户将触摸到连接入口“AAA”。在这种情况下,用户可以继续执行预设的触摸条件所限定的触摸操作,以此来指示电子设备将该触摸操作在历史接入界面中所对应的连接入口“BBB”作为目标连接入口。
在104中,向目标连接入口指示的无线接入热点发送接入请求,以接入前述无线接入热点。
本申请实施例中,一方面,电子设备在确定目标连接入口之后,向目标连接入口指示的无线接入热点发送接入请求,该接入请求可以携带账号和密码等信息。另一方面,无线接入热点在接收到来自电子设备的接入请求之后,对接入请求中携带的账号和密码信息进行验证,若验证通过,则接入电子设备,为电子设备提供网络接入服务。
由上可知,本申请实施例中,电子设备可以接收用户对当前接入界面的触摸操作,其中,当前接入界面包括用于触发连接无线接入热点的连接入口;判断前述触摸操作是否满足预设的触摸条件;若是,则确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,其中,历史接入界面为当前接入界面的前一接入界面;向目标连接入口指示的无线接入热点发送接入请求,以接入目标连接入口指示的无线接入热点,这样,使得用户在触摸电子设备的当前接入界面中某个连接入口,并发现不是自己想要的连接入口时,可以继续触摸,使得触摸操作满足预设的触摸条件,以此来指示电子设备将用户触摸操作在历史接入界面中对应的连接入口确定为用户选中的目标连接入口,从而接入该目标连接入口指示的无线接入热点。
请参照图4,图4为本申请实施例提供的无线连接方法的另一流程示意图。该无线连接方法可以应用于电子设备。该无线连接方法的流程可以包括:
在201中,若到达预设的界面更新时刻,则电子设备获取当前通信范围内的无线接入热点的设备信息。
为便于理解本申请实施例所提供的无线连接方法,以下首先对本申请实施例的主旨做简单介绍:
本申请实施例的主旨在于,使得用户在触摸当前接入界面中某个连接入口,并发现不是自己想要的连接入口时,可以继续触摸,使得触摸操作满足预设的触摸条件,以此来指示电子设备将用户触摸操作在历史接入界面中对应的连接入口确定为用户选中的目标连接入口,从而接入该目标连接入口指示的无线接入热点。
以上将电子设备接收到用户的触摸操作的时刻记为当前时刻。本申请实施例将从电子设备将历史接入界面更新为当前接入界面开始说明。其中,当前接入界面代指电子设备的屏幕在当前时刻所显示的接入界面。当前接入界面包括用于触发连接电子设备连接当前通信范围内的无线接入热点的连接入口,历史接入界面为当前接入界面的前一接入界面,包括其对应的历史通信范围内的无线接入热点的连接入口。其中,当前通信范围与历史通信范围可以相同,也可以不同。
为便于用户操作,在本申请实施例中,电子设备并不实时更新接入界面,而是在到达预设的界面更新时刻时,才进行接入界面的更新。应当说明的是,本申请实施例对于界面更新时刻的设置不做具体限制,可由本领域普通技术人员根据实际需要进行设置,比如,在一自然日中,每间隔3秒设置一个界面更新时刻,这样,电子设备将每3秒更新一次接入界面。
其中,电子设备在到达预设的界面更新时刻时,获取当前通信范围内的无线接入热点的设备信息。比如,无线接入热点为了能够被电子设备发现,会向外发射携带其设备标识的广播信号,以向接收到该广播信号的电子设备声明其存在。相应的,电子设备在接收到其当前通信范围内的无线接入热点所发送的广播信号时,从广播信号中提取出无线接入热点的设备标识,基于该设备标识发送无线接入点。此外,电子设备还获取到其接收到广播信号的信号强度,并将信号强度以及设备标识作为无线接入热点的设备信息。
在202中,电子设备根据获取到的设备信息更新历史接入界面,得到当前接入界面。
本申请实施例中,历史接入界面包括其对应的历史通信范围内的无线接入热点的连接入口,且这些连接入口按照其对应的无线接入热点的信号强度排序显示。比如,按照信号强度的高低降序显示。
电子设备在获取到当前通信范围内的无线接入热点的设备信息之后,根据获取到的设备信息更新历史接入界面,得到当前接入界面。其中,电子设备可以根据设备信息中的设备标识来删减或者增加历史接入界面中的连接入口,同时根据设备信息中的信号强度更新连接入口的排列顺序。
比如,假设历史接入界面中包括分别对应4个不同无线接入热点的连接入口,分别为依序排列(如按照信号强度高低降序排列)的“AAA”、“BBB”、“CCC”以及“DDD”,若电子设备获取到的设备信息仍然包括无线接入热点“AAA”、“BBB”、“CCC”以及“DDD”的设备标识,且这些无线接入热点的信号强度排序为“BBB”、“AAA”、“CCC”、“DDD”,这样,电子设备将交换历史接入界面中连接入口“AAA”和“BBB”的位置,得到当前接入界面,当前接入界面中连接入口的排序为“BBB”、“AAA”、“CCC”、“DDD”,与这些连接入口对应的无线接入热点的信号强度排序一致。
在203中,电子设备接收用户对当前接入界面的触摸操作。
本申请实施例中,电子设备的屏幕具有触控功能,可以接收用户的触摸操作。其中,电子设备的屏幕包括但不限于表面式电容触摸屏幕和投射式触摸屏幕等。而投射式触摸屏幕由可以划分为自电容触摸屏幕和互电容触摸屏幕。
自电容触摸屏幕内部由驱动电极与接收电极组成,驱动电极发出低电压高频信号投射到接收电极形成稳定的电流,当用户使用手指接触自电容触摸屏幕时,由于人体接地,手指与自电容触摸屏幕就形成一个等效电容,而高频信号可以通过这一等效电容流入地线,这样,接收电极所接收的电荷量减小,而当手指越靠近驱动电极时,电荷量减小越明显,从而可根据接收电极所接收的电流强度来确定用户手指所触摸的点,实现对用户触摸操作的接收。
互电容触摸屏幕由横向电极和纵向电极组成,其与自电容触摸屏幕的区别在于,互电容触摸屏幕两组电极交叉的地方将会形成电容,也即是这两组电极分别构成了电容的两极。当用户使用手指触摸互电 容感应模组时,将影响手指触摸点附近两个电极之间的耦合,从而改变这两个电极之间的电容量。检测互电容大小时,由横向电极依次发出激励信号,纵向电极同时接收信号,这样可以得到横向电极和纵向电极所有交汇点的电容值大小,从而可根据电容变化量来确定用户手指所触摸的点,实现对用户触摸操作的接收。
在204中,电子设备判断前述触摸操作携带的指纹信息是否与预设指纹信息匹配,是则转入205,否则转入208。
本申请实施例中,电子设备可以在接收到用户的触摸操作的同时,通过屏下指纹识别模组采集到用户执行触摸操作的手指的指纹信息,作为触摸操作携带的指纹信息。
在判断前述触摸操作携带的指纹信息是否与预设指纹信息匹配时,电子设备可以将前述触摸操作携带的指纹信息与预设指纹信息进行比对,得到两者指纹信息的相似度,从而根据该相似度来确定前述触摸操作携带的指纹信息是否与预设指纹信息(比如,为机主预先录入的指纹信息,或者机主授权的其它用户录入的指纹信息等)匹配,也即是确定当前输入前述触摸操作的用户是否具有操作电子设备的权限。其中,在前述触摸操作携带的指纹信息与预设指纹信息的相似度达到预设相似度(可由本领域普通技术人员根据实际需要进行设置,比如,可以设置为85%)时,确定前述触摸操作携带的指纹信息与预设指纹信息匹配,也即是输入前述触摸操作的用户具有操作电子设备的权限,在前述触摸操作携带的指纹信息与预设指纹信息的相似度未达到预设相似度时,确定前述触摸操作携带的指纹信息与预设指纹信息不匹配,也即是输入前述触摸操作的用户不具有操作电子设备的权限。
其中,在确定前述触摸操作携带的指纹信息与预设指纹信息匹配时,电子设备转入执行205,在确定前述触摸操作携带的指纹信息与预设指纹信息不不匹配时,电子设备转入执行208。
在205中,电子设备判断前述触摸操作是否满足预设的触摸条件,是则转入206,否则转入209。
本申请实施例中,电子设备根据前述触摸操作(即在当前接入界面所接收到的用户的触摸操作)的触摸信息,判断前述触摸操作是否满足预设的触摸条件(或者说,判断前述触摸操作是否为预设的触摸条件所限定的触摸操作)。
其中,触摸信息包括但不限于触摸时长、触摸压力等。此外,对于触摸条件的设置,本申请实施例中不做具体限制,可以触摸条件限定的触摸操作不同于触发电子设备接入连接入口的触摸操作为约束,由本领域普通技术人员根据实际需要进行设置。
比如,假设触发电子设备接入连接入口的触摸操作为“触摸连接入口1秒”,则触摸条件限定的触摸操作可以为“触摸连接入口3秒”、“触摸连接入口1.5秒”等等。
作为一种可选的实施方式,在判断前述触摸操作是否满足预设的触摸条件时,电子设备可以执行:
电子设备判断前述触摸操作的压力值是否达到的预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
其中,预设的触摸条件被设置为:触摸操作的压力值达到预设压力值。这样电子设备在判断前述触摸操作是否满足预设的触摸条件时,可以判断前述触摸操作的压力值(电子设备可以通过压力传感器来采集接收到的触摸操作的压力值)是否达到的预设压力值,是则确定前述触摸操作满足预设的触摸条件, 否则不满足。
应当说明的是,本申请实施例中对于预设压力值的取值不做具体限制,可由本领域普通技术人员根据实际需要进行设置,比如,可以将预设压力值设置为1牛。
作为另一种可选的实施方式,在判断前述触摸操作是否满足预设的触摸条件时,电子设备可以执行:
电子设备判断前述触摸操作的触摸时长是否达到预设时长,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
其中,预设的触摸条件被设置为:触摸操作的触摸时长达到预设时长。这样电子设备在判断前述触摸操作是否满足预设的触摸条件时,可以判断前述触摸操作的触摸时长是否达到的预设时长,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
应当说明的是,本申请实施例中对于预设时长的取值不做具体限制,可由本领域普通技术人员根据实际需要进行设置,比如,可以将预设时长设置为1秒。
作为又一种可选的实施方式,在判断前述触摸操作是否满足预设的触摸条件时,电子设备可以执行:
电子设备判断前述触摸操作的压力值是否在触摸时长内持续增长,且达到预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
其中,预设的触摸条件被设置为:触摸操作的压力值在触摸时长内持续增长,且达到预设压力值。这样电子设备在判断前述触摸操作是否满足预设的触摸条件时,可以判断前述触摸操作的压力值(电子设备可以通过压力传感器来采集接收到的触摸操作的压力值)是否在触摸时长内持续增长,且达到预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
应当说明的是,本申请实施例中对于预设时长以及预设压力值的取值不做具体限制,可由本领域普通技术人员根据实际需要进行设置,比如,可以将预设时长设置为1秒,将预设压力值设置为1牛。
在206中,电子设备确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口。
基于以上描述,本领域普通技术人员可以理解的是,在前述触摸操作满足预设的触摸条件(或者说,前述触摸操作为预设的触摸条件所限定的触摸操作)时,则说明用户期望选中的连接入口并不是前述触摸操作在当前接入界面中所对应连接入口,而是前述触摸操作在历史接入界面中所对应的连接入口。
因此,电子设备在判断前述触摸操作是否满足预设的触摸条件之后,若得到的判断结果为是,进一步确定前述触摸操作在历史接入界面中对应的连接入口,并将前述触摸操作在历史接入界面中对应的连接入口记为目标连接入口。
应当说明的是,在本申请实施例中,电子设备在将历史接入界面更新为当前接入界面之后,并不立即删除历史接入界面所述对应的数据,这样,使得电子设备能够确定前述触摸操作在历史接入界面中对应的连接入口。
比如,请参照图3,在电子设备的历史接入界面中,包括分别对应4个不同无线接入热点的连接入口,分别为依序排列(如按照信号强度高低降序排列)的“AAA”、“BBB”、“CCC”以及“DDD”,假设用户欲操作电子设备接入连接入口“BBB”所对应的无线接入热点,并采用手指去触摸连接入口“BBB”,然而,在用户手指尚未触摸到的连接入口“BBB”时,电子设备更新了历史接入界面,将历 史接入界面更新为了当前接入界面。
如图3所示,当前接入界面包括与历史接入界面相同的连接入口,但连接入口的排列顺序发生了变化,其中,连接入口“AAA”和“BBB”交换了位置,这样,虽然用户预期的是触摸连接入口“BBB”,但连接入口“BBB”和连接入口“AAA”交换了位置,这就使得用户将触摸到连接入口“AAA”。在这种情况下,用户可以继续执行预设的触摸条件所限定的触摸操作,以此来指示电子设备将该触摸操作在历史接入界面中所对应的连接入口“BBB”作为目标连接入口。
在207中,电子设备向目标连接入口指示的无线接入热点发送接入请求,以接入前述无线接入热点。
本申请实施例中,一方面,电子设备在确定目标连接入口之后,向目标连接入口指示的无线接入热点发送接入请求,该接入请求可以携带账号和密码等信息。另一方面,无线接入热点在接收到来自电子设备的接入请求之后,对接入请求中携带的账号和密码信息进行验证,若验证通过,则接入电子设备,为电子设备提供网络接入服务。
在208中,电子设备切换当前状态至锁定状态。
基于以上相关描述,本领域普通技术人员可以理解的是,若前述触摸操作携带的指纹信息与预设指纹信息不匹配,则说明输入前述触摸操作的用户不具有操作电子设备的权限,此时电子设备可能被该用户非法使用,存在数据泄露等风险,因此,电子设备在前述触摸操作携带的指纹信息与预设指纹信息不匹配时,切换当前状态至锁定状态。
在209中,电子设备输出用于提示用户重新选择连接入口的提示信息。
本申请实施例中,电子设备在前述触摸操作不满足预设的触摸条件时,输出用于提示用户重新选择连接入口的提示信息,对于该提示信息的具体内容,本申请实施例不做具体限制,可由本领域普通技术人员根据实际需要进行设置,比如,可以设置为“请重新选择需要接入的无线接入热点”。
在一实施方式中,在获取当前通信范围内的无线接入热点的设备信息之前,电子设备可以执行:
在前述界面更新时刻对应的界面更新周期内,电子设备实时获取所处通信范围内的无线接入热点的设备信息;
而在获取当前通信范围内的无线接入热点的设备信息时,电子设备可以执行:
获取前述界面更新周期内最近一次获取到的设备信息,作为当前通信范围内的无线接入热点的设备信息。
其中,前述界面更新时刻对应的界面更新周期也即是前述界面更新时刻与上一界面更新时刻(即历史接入界面对应的界面更新时刻)之间的时间段。
本申请实施例中,电子设备在前述界面更新时刻对应的界面更新周期内,实时获取所处通信范围内的无线接入热点的设备信息,并记录。这样,电子设备在获取当前通信范围内的无线接入热点的设备信息时,直接将前述界面更新周期内最近一次获取到的设备信息,作为当前通信范围内的无线接入热点的设备信息。
在一实施方式中,在向目标连接入口指示的无线接入热点发送接入请求之前,电子设备可以执行:
判断目标连接入口指示的无线接入热点是否位于当前通信范围内;
若是,则向目标连接入口指示的无线接入热点发送接入请求。
基于以上相关描述,本领域普通技术人员可以理解的是,由于目标连接入口为历史接入界面中的连接入口,则目标连接入口指示的无线接入热点位于历史接入界面对应的历史通信范围之内,但历史通信范围可能与当前通信范围一致,也可能与当前通信范围不一致,这就使得目标连接入口指示的无线接入热点可能位于当前通信范围之内,也可能位于当前通信范围之外。
其中,若目标连接入口指示的无线接入热点位于当前通信范围之外,则电子设备将无法接入目标连接入口指示的无线接入热点。为避免电子设备无法接入目标连接入口指示的无线接入热点,电子设备在确定前述触摸操作对应的目标连接入口之后,并不直接向目标连接入口指示的无线接入热点发送接入请求,而是判断目标连接入口指示的无线接入热点是否位于当前通信范围内,比如,可以直接判断当前接入界面中是否存在目标连接入口,是则确定目标连接入口指示的无线接入热点位于当前通信范围内,否则确定目标连接入口指示的无线接入热点位于当前通信范围外。
本申请实施例中,电子设备在且仅在目标连接入口指示的无线接入热点位于当前通信范围内时,才向目标连接入口指示的无线接入热点发送接入请求,以确保能够接入目标连接入口指示的无线接入热点。
在一实施方式中,在判断目标连接入口指示的无线接入热点是否位于当前通信范围内之后,电子设备可以执行:
若否,则显示确认信息输入界面,确认信息输入界面包括询问信息,询问信息用于询问用户是否连接前述触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点;
若基于确认信息输入界面接收到用户输入的确认信息,则向触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点发送接入请求。
基于以上描述,本领域普通技术人员可以理解的是,若目标连接入口指示的无线接入热点位于当前通信范围外,电子设备将无法接入目标连接入口指示的无线接入热点。此时,电子设备内显示确认信息输入界面,该确认信息输入界面包括询问信息(对于该询问信息的具体内容,本申请实施例不做具体限制,可由本领域普通技术人员根据实际需要进行设置)以及用于输入确认信息的控件、用于输入否认信息的控件,其中,询问信息用于询问用户是否连接前述触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点。
比如,请参照图5,图5中示出了一确认信息输入界面,该确认信息输入界面包括询问信息“是否连接选中的无线接入热点”,以及用于输入确认信息的“是”控件,用于输入否认信息的“否”控件。
在一实施方式中,在确定前述触摸操作在历史接入界面中对应的连接入口的同时,电子设备还可以执行:
恢复显示历史接入界面。
为提升用户体验,电子设备还可以在确定前述触摸操作在历史接入界面中对应的连接入口的同时,恢复显示历史接入界面。
请参照图6,图6为本申请实施例提供的无线连接装置的结构示意图。该无线连接装置可以应用于 电子设备。无线连接装置400可以包括:接收模块401,判断模块402,确定模块403,连接模块404。
接收模块401,用于接收用户对当前接入界面的触摸操作,当前接入界面包括用于触发连接无线接入热点的连接入口;
判断模块402,用于判断前述触摸操作是否满足预设的触摸条件;
确定模块403,用于若判断模块402的判断结果为是,则确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,历史接入界面为当前接入界面的前一接入界面;
连接模块404,用于向目标连接入口指示的无线接入热点发送接入请求,以接入前述无线接入热点。
在一实施方式中,无线连接装置还包括更新模块,用于:
在接收模块401接收用户对当前接入界面的触摸操作之前,若到达预设的界面更新时刻,则获取当前通信范围内的无线接入热点的设备信息;
根据获取到的设备信息更新历史接入界面,得到当前接入界面。
在一实施方式中,在获取当前通信范围内的无线接入热点的设备信息之前,更新模块还用于:
在前述界面更新时刻对应的界面更新周期内,实时获取所处通信范围内的无线接入热点的设备信息;
而在获取当前通信范围内的无线接入热点的设备信息时,更新模块还用于:
获取前述界面更新周期内最近一次获取到的设备信息,作为当前通信范围内的无线接入热点的设备信息。
在一实施方式中,连接模块404在向目标连接入口指示的无线接入热点发送接入请求之前,还用于:
判断目标连接入口指示的无线接入热点是否位于当前通信范围内;
若是,则向目标连接入口指示的无线接入热点发送接入请求。
在一实施方式中,在判断目标连接入口指示的无线接入热点是否位于当前通信范围内之后,连接模块404还用于:
若否,则显示确认信息输入界面,确认信息输入界面包括询问信息,询问信息用于询问用户是否连接前述触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点;
若基于确认信息输入界面接收到用户输入的确认信息,则向前述触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点发送接入请求。
在一实施方式中,无线连接装置还包括显示模块,用于在确定模块403确定前述触摸操作在历史接入界面中对应的连接入口的同时,恢复显示历史接入界面。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件时,判断模块402可以用于:
判断前述触摸操作的压力值是否达到的预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件时,判断模块402可以用于:
判断前述触摸操作的触摸时长是否达到预设时长,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件时,判断模块402可以用于:
判断前述触摸操作的压力值是否在触摸时长内持续增长,且达到预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件之前,判断模块402可以用于:
判断前述触摸操作携带的指纹信息是否与预设指纹信息匹配;
若是,则判断前述触摸操作是否满足预设的触摸条件。
在一实施方式中,无线连接装置还包括切换模块,用于在判断模块402判断触摸操作携带的指纹信息是否与预设指纹信息匹配之后,还包括:
若判断模块402的判断结果为否,则切换当前状态至锁定状态。
本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当其存储的计算机程序在计算机上执行时,使得计算机执行如本申请实施例提供的无线连接方法中的步骤。
本申请实施例还提供一种电子设备,包括存储器,处理器,处理器通过调用存储器中存储的计算机程序,执行本申请实施例提供的无线连接方法中的步骤。
请参照图7,图7为本申请实施例提供的电子设备的结构示意图。该电子设备可以包括屏幕601、存储器602以及处理器603。本领域普通技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
屏幕601可以显示接入界面,并接收用户输入的触摸操作。
存储器602可用于存储应用程序和数据。存储器602存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器603通过运行存储在存储器602的应用程序,从而执行各种功能应用以及数据处理。
处理器603是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器602内的应用程序,以及调用存储在存储器602内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本申请实施例中,电子设备中的处理器603会按照如下的指令,将一个或一个以上的音频处理程序的进程对应的可执行代码加载到存储器602中,并由处理器603来运行存储在存储器602中的应用程序,从而执行:
接收用户对当前接入界面的触摸操作,当前接入界面包括用于触发连接无线接入热点的连接入口;
判断前述触摸操作是否满足预设的触摸条件;
若是,则确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,历史接入界面为当前接入界面的前一接入界面;
用于向目标连接入口指示的无线接入热点发送接入请求,以接入前述无线接入热点。
请参照图8,图8为本申请实施例提供的电子设备的另一结构示意图,与图7所示电子设备的区别在于,电子设备还包括输入单元604和输出单元605等组件。
其中,输入单元604可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入等。
输出单元605可用于输出由用户输入的信息或提供给用户的信息,如扬声器等。
在本申请实施例中,电子设备中的处理器603会按照如下的指令,将一个或一个以上的音频处理程序的进程对应的可执行代码加载到存储器602中,并由处理器603来运行存储在存储器602中的应用程序,从而执行:
接收用户对当前接入界面的触摸操作,当前接入界面包括用于触发连接无线接入热点的连接入口;
判断前述触摸操作是否满足预设的触摸条件;
若是,则确定前述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,历史接入界面为当前接入界面的前一接入界面;
用于向目标连接入口指示的无线接入热点发送接入请求,以接入前述无线接入热点。
在一实施方式中,在接收用户对当前接入界面的触摸操作之前,处理器603可以执行:
若到达预设的界面更新时刻,则获取当前通信范围内的无线接入热点的设备信息;
根据获取到的设备信息更新历史接入界面,得到当前接入界面。
在一实施方式中,在获取当前通信范围内的无线接入热点的设备信息之前,处理器603可以执行:
在前述界面更新时刻对应的界面更新周期内,实时获取所处通信范围内的无线接入热点的设备信息;
而在获取当前通信范围内的无线接入热点的设备信息时,处理器603可以执行:
获取前述界面更新周期内最近一次获取到的设备信息,作为当前通信范围内的无线接入热点的设备信息。
在一实施方式中,在向目标连接入口指示的无线接入热点发送接入请求之前,处理器603可以执行:
判断目标连接入口指示的无线接入热点是否位于当前通信范围内;
若是,则向目标连接入口指示的无线接入热点发送接入请求。
在一实施方式中,在判断目标连接入口指示的无线接入热点是否位于当前通信范围内之后,处理器603可以执行:
若否,则显示确认信息输入界面,确认信息输入界面包括询问信息,询问信息用于询问用户是否连接前述触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点;
若基于确认信息输入界面接收到用户输入的确认信息,则向前述触摸操作在当前接入界面中对应的连接入口所指示的无线接入热点发送接入请求。
在一实施方式中,在确定前述触摸操作在历史接入界面中对应的连接入口的同时,处理器603可以执行:
恢复显示历史接入界面。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件时,处理器603可以执行:
判断前述触摸操作的压力值是否达到的预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件时,处理器603可以执行:
判断前述触摸操作的触摸时长是否达到预设时长,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件时,处理器603可以执行:
判断前述触摸操作的压力值是否在触摸时长内持续增长,且达到预设压力值,是则确定前述触摸操作满足预设的触摸条件,否则不满足。
在一实施方式中,在判断前述触摸操作是否满足预设的触摸条件之前,处理器603可以执行:
判断前述触摸操作携带的指纹信息是否与预设指纹信息匹配;
若是,则判断前述触摸操作是否满足预设的触摸条件。
在一实施方式中,在判断触摸操作携带的指纹信息是否与预设指纹信息匹配之后,处理器603还可以执行:
若否,则切换当前状态至锁定状态。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对无线连接方法的详细描述,此处不再赘述。
本申请实施例提供的无线连接装置与上文实施例中的无线连接方法属于同一构思,在无线连接装置上可以运行无线连接方法实施例中提供的任一方法,其具体实现过程详见无线连接方法实施例,此处不再赘述。
需要说明的是,对本申请实施例无线连接方法而言,本领域普通技术人员可以理解实现本申请实施例无线连接方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如无线连接方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储器(ROM,Read OnlyMemory)、随机存取记忆体(RAM,Random Access Memory)等。
对本申请实施例的无线连接装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种无线连接方法、装置、存储介质以及电子设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种无线连接方法,应用于电子设备,其中,包括:
    接收用户对当前接入界面的触摸操作,所述当前接入界面包括用于触发连接无线接入热点的连接入口;
    判断所述触摸操作是否满足预设的触摸条件;
    若是,则确定所述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,所述历史接入界面为所述当前接入界面的前一接入界面;
    向所述目标连接入口指示的无线接入热点发送接入请求,以接入所述无线接入热点。
  2. 根据权利要求1所述的无线连接方法,其中,所述接收用户对当前接入界面的触摸操作之前,还包括:
    若到达预设的界面更新时刻,则获取当前通信范围内的无线接入热点的设备信息;
    根据所述设备信息更新所述历史接入界面,得到所述当前接入界面。
  3. 如权利要求2所述的无线连接方法,其中,所述获取当前通信范围内的无线接入热点的设备信息之前,还包括:
    在所述界面更新时刻对应的界面更新周期内,实时获取所处通信范围内的无线接入热点的设备信息;
    而所述获取当前通信范围内的无线接入热点的设备信息,包括:
    获取所述界面更新周期内最近一次获取到的设备信息,作为所述当前通信范围内的无线接入热点的设备信息。
  4. 根据权利要求2所述的无线连接方法,其中,向所述目标连接入口指示的无线接入热点发送接入请求之前,还包括:
    判断所述目标连接入口指示的无线接入热点是否位于所述当前通信范围内;
    若是,则向所述目标连接入口指示的无线接入热点发送所述接入请求。
  5. 根据权利要求4所述的无线连接方法,其中,所述判断所述目标连接入口指示的无线接入热点是否位于所述当前通信范围内之后,还包括:
    若否,则显示确认信息输入界面,所述确认信息输入界面包括询问信息,所述询问信息用于询问所述用户是否连接所述触摸操作在所述当前接入界面中对应的连接入口所指示的无线接入热点;
    若基于所述确认信息输入界面接收到用户输入的确认信息,则向所述触摸操作在所述当前接入界面中对应的连接入口所指示的无线接入热点发送接入请求。
  6. 根据权利要求1所述的无线连接方法,其中,所述无线连接方法还包括:
    在确定所述触摸操作在历史接入界面中对应的连接入口的同时,恢复显示所述历史接入界面。
  7. 根据权利要求1所述的无线连接方法,其中,所述判断所述触摸操作是否满足预设的触摸条件,包括:
    判断所述触摸操作的压力值是否达到的预设压力值,是则确定所述触摸操作满足所述触摸条件,否则不满足。
  8. 根据权利要求1所述的无线连接方法,其中,所述判断所述触摸操作是否满足预设的触摸条件,包括:
    判断所述触摸操作的触摸时长是否达到预设时长,是则确定所述触摸操作满足所述触摸条件,否则不满足。
  9. 根据权利要求1所述的无线连接方法,其中,所述判断所述触摸操作是否满足预设的触摸条件之前,还包括:
    判断所述触摸操作携带的指纹信息是否与预设指纹信息匹配;
    若是,则判断所述触摸操作是否满足预设的触摸条件。
  10. 根据权利要求9所述的无线连接方法,其中,所述判断所述触摸操作携带的指纹信息是否与预设指纹信息匹配之后,还包括:
    若否,则切换当前状态至锁定状态。
  11. 一种无线连接装置,应用于电子设备,其中,包括:
    接收模块,用于接收用户对当前接入界面的触摸操作,所述当前接入界面包括用于触发连接无线接入热点的连接入口;
    判断模块,用于判断所述触摸操作是否满足预设的触摸条件;
    确定模块,用于若判断模块的判断结果为是,则确定所述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,所述历史接入界面为所述当前接入界面的前一接入界面;
    连接模块,用于向所述目标连接入口指示的无线接入热点发送接入请求,以接入所述无线接入热点。
  12. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行根据权利要求1至10中任一项所述的无线连接方法。
  13. 一种电子设备,包括存储器,处理器,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行:
    接收用户对当前接入界面的触摸操作,所述当前接入界面包括用于触发连接无线接入热点的连接入口;
    判断所述触摸操作是否满足预设的触摸条件;
    若是,则确定所述触摸操作在历史接入界面中对应的连接入口,得到目标连接入口,所述历史接入 界面为所述当前接入界面的前一接入界面;
    向所述目标连接入口指示的无线接入热点发送接入请求,以接入所述无线接入热点。
  14. 根据权利要求13所述的电子设备,其中,在接收用户对当前接入界面的触摸操作之前,所述处理器用于执行:
    若到达预设的界面更新时刻,则获取当前通信范围内的无线接入热点的设备信息;
    根据所述设备信息更新所述历史接入界面,得到所述当前接入界面。
  15. 根据权利要求14所述的电子设备,其中,获取当前通信范围内的无线接入热点的设备信息之前,所述处理器用于执行:
    在所述界面更新时刻对应的界面更新周期内,实时获取所处通信范围内的无线接入热点的设备信息;
    在获取当前通信范围内的无线接入热点的设备信息时,所述处理器用于执行:
    获取所述界面更新周期内最近一次获取到的设备信息,作为所述当前通信范围内的无线接入热点的设备信息。
  16. 根据权利要求14所述的电子设备,其中,在向所述目标连接入口指示的无线接入热点发送接入请求之前,所述处理器用于执行:
    判断所述目标连接入口指示的无线接入热点是否位于所述当前通信范围内;
    若是,则向所述目标连接入口指示的无线接入热点发送所述接入请求。
  17. 根据权利要求16所述的电子设备,在判断所述目标连接入口指示的无线接入热点是否位于所述当前通信范围内之后,所述处理器用于执行:
    若否,则显示确认信息输入界面,所述确认信息输入界面包括询问信息,所述询问信息用于询问所述用户是否连接前述触摸操作在所述当前接入界面中对应的连接入口所指示的无线接入热点;
    若基于所述确认信息输入界面接收到用户输入的确认信息,则向所述触摸操作在所述当前接入界面中对应的连接入口所指示的无线接入热点发送接入请求。
  18. 根据权利要求13所述的电子设备,其中,在确定所述触摸操作在历史接入界面中对应的连接入口,所述处理器用于执行:
    恢复显示所述历史接入界面。
  19. 根据权利要求13所述的电子设备,其中,在判断所述触摸操作是否满足预设的触摸条件时,所述处理器用于执行:
    判断所述触摸操作的压力值是否达到的预设压力值,是则确定所述触摸操作满足所述触摸条件,否则不满足。
  20. 根据权利要求13所述的电子设备,其中,在判断所述触摸操作是否满足预设的触摸条件时, 所述处理器用于执行:
    判断所述触摸操作的触摸时长是否达到预设时长,是则确定所述触摸操作满足所述触摸条件,否则不满足。
PCT/CN2018/115642 2018-11-15 2018-11-15 无线连接方法、装置、存储介质及电子设备 WO2020097852A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/115642 WO2020097852A1 (zh) 2018-11-15 2018-11-15 无线连接方法、装置、存储介质及电子设备
CN201880098266.0A CN112806059B (zh) 2018-11-15 2018-11-15 无线连接方法、装置、存储介质及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/115642 WO2020097852A1 (zh) 2018-11-15 2018-11-15 无线连接方法、装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2020097852A1 true WO2020097852A1 (zh) 2020-05-22

Family

ID=70730357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115642 WO2020097852A1 (zh) 2018-11-15 2018-11-15 无线连接方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN112806059B (zh)
WO (1) WO2020097852A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110244859A1 (en) * 2010-03-31 2011-10-06 Sony Corporation Communication control apparatus, communication control method, program, terminal equipment and wireless communication system
CN104980975A (zh) * 2015-06-25 2015-10-14 西安理工大学 一种移动终端的wifi切换方法
CN105939530A (zh) * 2016-06-23 2016-09-14 北京小米移动软件有限公司 无线热点接入方法和装置
CN107580336A (zh) * 2017-10-30 2018-01-12 努比亚技术有限公司 一种网络连接方法、终端及计算机可读存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2060970A1 (en) * 2007-11-12 2009-05-20 Research In Motion Limited User interface for touchscreen device
CN106855796A (zh) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 一种数据处理方法、装置和智能终端
CN108733299A (zh) * 2018-05-17 2018-11-02 Oppo广东移动通信有限公司 应用分屏方法、装置、存储介质和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110244859A1 (en) * 2010-03-31 2011-10-06 Sony Corporation Communication control apparatus, communication control method, program, terminal equipment and wireless communication system
CN104980975A (zh) * 2015-06-25 2015-10-14 西安理工大学 一种移动终端的wifi切换方法
CN105939530A (zh) * 2016-06-23 2016-09-14 北京小米移动软件有限公司 无线热点接入方法和装置
CN107580336A (zh) * 2017-10-30 2018-01-12 努比亚技术有限公司 一种网络连接方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN112806059A (zh) 2021-05-14
CN112806059B (zh) 2022-06-14

Similar Documents

Publication Publication Date Title
WO2018098941A1 (zh) 一种通信标识绑定的处理方法及终端
CN107526492B (zh) 一种应用程序的界面显示方法及移动终端
CN111757426B (zh) 漫游入网方法及装置
CN106465249B (zh) 漫游入网方法及装置
WO2018196699A1 (zh) 一种指纹识别区域的显示方法和移动终端
WO2018001293A1 (zh) 一种WiFi密码共享方法及移动终端
WO2018076604A1 (zh) 一种蓝牙配对方法以及终端设备
WO2018082542A1 (zh) 非连续接收参数的配置方法、移动终端及基站
CN104978267B (zh) 网页测试方法、终端及服务器
US10896268B2 (en) Security adjustments in mobile devices
WO2017128032A1 (zh) 一种数据处理方法以及数据处理设备
WO2021143338A1 (zh) 直播间页面的加载方法、装置、终端、服务器及存储介质
WO2018095225A1 (zh) 域名解析方法、装置和系统、存储介质
WO2018209555A1 (zh) 连接蓝牙设备的方法及终端设备
WO2015143701A1 (zh) 漫游入网方法及装置
US20220121767A1 (en) Row-level and column-level policy service
CN106465248B (zh) 漫游入网方法及装置
US20200205001A1 (en) Electronic apparatus and method of executing application program
WO2021017853A1 (zh) 推荐操作序列的方法、终端及计算机可读介质
CN109683739B (zh) 调整操作界面的方法和装置,存储介质和电子设备
US10082904B2 (en) Terminal, and terminal control apparatus and method
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
WO2020134899A1 (zh) 一种搜网列表生成方法、搜网方法及相应装置
CN106201228B (zh) 一种状态栏的布局方法和装置
WO2019019158A1 (zh) 一种应用的操作方法和装置

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18940074

Country of ref document: EP

Kind code of ref document: A1