Wi-Fi access method, terminal device, and storage medium
Patent Information
- Application Number
- JP2023568552
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-06-16
- Filing Date
- 2022-03-31
- Publication Date
- 2025-02-20
- Estimated Expiration
- 2042-03-31
Smart Images

Figure 0007634113000001 
Figure 0007634113000002 
Figure 0007634113000003
Abstract
Description
[Technical field]
[0001] This application is filed based on a Chinese patent application bearing application number 202110668251.7 and filing date June 16, 2021, and claims priority to the Chinese patent application, the entire contents of which are hereby incorporated by reference into this application.
[0002] TECHNICAL FIELD The present application relates to the field of mobile communications, and in particular to a Wi-Fi access method, a terminal device, and a storage medium. [Background technology]
[0003] The current construction of wireless cities and smart cities requires the deployment of a large number of public Wi-Fi (Wireless Fidelity) networks, allowing terminal devices to more conveniently access the Internet through Wi-Fi. However, there is currently no corresponding security technology or system to determine whether the accessible Wi-Fi networks are trustworthy and secure.
[0004] In order to allow terminal devices to access reliable and secure Wi-Fi networks, the currently used Wi-Fi access method is as follows: the terminal device scans nearby available Wi-Fi to obtain multiple Wi-Fi's service set identifiers (SSIDs), basic service set identifiers (BSSIDs), signal strength, encryption / authentication methods, etc., and then connects to the target Wi-Fi based on the corresponding encryption / authentication methods and whether the above Wi-Fi setting information is saved. This method ensures to a certain extent that the Wi-Fi network accessed by the user is reliable and secure, but fraudsters, based on the technical vulnerability of scanning terminal devices to obtain available Wi-Fi, set up free fake Wi-Fi with similar names to nearby stores in crowded places such as public places to induce users to access these illegal Wi-Fi networks with their terminal devices.
[0005] Most users lack security awareness when connecting to the Internet via Wi-Fi, and it is difficult to distinguish whether these available Wi-Fi networks are genuine or not. Therefore, when terminal devices access illegal Wi-Fi networks, users' privacy is exposed to criminals without limit, and they are at risk of having their information stolen.
[0006] Furthermore, even if the available Wi-Fi pushed to the user is reliable and secure, the above method cannot ensure the network quality of the Wi-Fi selected by the user. Summary of the Invention [Problem to be solved by the invention]
[0007] In view of the above, an objective of the embodiments of the present application is to provide a Wi-Fi access method, a terminal device, and a storage medium. [Means for solving the problem]
[0008] An embodiment of the present application provides a Wi-Fi access method applied to a terminal device. The Wi-Fi access method terminal device includes: receiving a Wi-Fi measurement control command transmitted from a network side via the mobile network while accessing the mobile network, acquiring descriptive information of a trusted Wi-Fi included in the Wi-Fi measurement control command; detecting a network quality of a channel corresponding to the trusted Wi-Fi based on description information of the trusted Wi-Fi, and obtaining an index value for evaluating the network quality of the channel; determining an accessible target Wi-Fi based on the trusted Wi-Fi and the indicator value corresponding to the trusted Wi-Fi, and accessing the target Wi-Fi.
[0009] An embodiment of the present application also provides a terminal device, the terminal device comprising: At least one processor; a memory communicatively connected to the at least one processor; The memory stores instructions that are executable by the at least one processor to cause the at least one processor to perform the Wi-Fi access method described above.
[0010] An embodiment of the present application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, realizes the above Wi-Fi access method.
[0011] One or more embodiments are illustrated by way of example, and not by way of limitation, in the accompanying drawing figures which correspond thereto. [Brief description of the drawings]
[0012] [Figure 1]2 is a flowchart of a Wi-Fi access method according to an embodiment of the present application; [Diagram 2] 2 is a flowchart for a terminal device to determine a target Wi-Fi as described in step 103 of the Wi-Fi access method shown in FIG. 1; [Diagram 3] 2 is a flowchart for a network side to determine a target Wi-Fi described in step 103 of the Wi-Fi access method shown in FIG. 1; [Figure 4] 4 is yet another flowchart of a Wi-Fi access method according to an embodiment of the present application. [Diagram 5] FIG. 2 is a structural schematic diagram of a terminal device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] The term "and / or" in the embodiments of the present application describes the related relationship of related objects, and means that three relationships may exist, for example, A and / or B may represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0014] In the present application, the term "plurality" means two or more, and other counters have similar meanings.
[0015] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the drawings. However, in various embodiments of the present application, many technical details are proposed to allow the reader to better understand the present specification. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed for protection in the present application can be realized. The division of the various embodiments below is made for the convenience of explanation, and the specific embodiments of the present application do not constitute any limitations, and the various embodiments may be combined with each other and cited with each other unless inconsistent.
[0016] Referring to Figure 1, Figure 1 is a flow diagram of a Wi-Fi access method according to an embodiment of the present application. In this embodiment, the method is mainly applied to a terminal device with the ability to access a mobile network and a Wi-Fi network, such as a smart phone equipped with a Subscriber Identity Module (SIM card).
[0017] For convenience of explanation, in this embodiment, a smartphone equipped with a SIM card is taken as an example to explain the Wi-Fi access method according to this embodiment with reference to FIG.
[0018] As shown in FIG. 1, the Wi-Fi access method according to the present embodiment includes steps 101 to 103.
[0019] Step 101: While accessing a mobile network, when a Wi-Fi measurement control command transmitted from a network side via the mobile network is received, descriptive information of trusted Wi-Fi contained in the Wi-Fi measurement control command is obtained.
[0020] In order to ensure that the terminal device is in a state of accessing the mobile network, before executing the Wi-Fi access method according to the present embodiment, it is necessary to make the terminal device access the mobile network. After starting up the terminal device, it is recognized whether a usable SIM card is installed in the device. If it is installed, it registers the SIM card in the mobile network to ensure that the terminal device can communicate with the network side via the mobile network.
[0021] Furthermore, in the access traffic steering, switching, and splitting (ATSSS) technology introduced in version R16 of the 3rd Generation Partnership Project (3GPP (registered trademark)), it is described that when ATSSS can be applied to a terminal device, the terminal device can support multi-access traffic route priority (network selection optimum), seamless switching, and multi-path concurrent functions. Therefore, in order to ensure that the terminal device can realize automatic switching between different types of networks, such as 5G mobile networks and Wi-Fi networks, both the terminal device and the network side in this embodiment need to support the ATSSS function.
[0022] As an example of a method for determining whether or not the network side supports the ATSSS function, when a terminal device registers a SIM card to a mobile network, it determines whether or not the network side supports the ATSSS function based on a field value corresponding to the ast_ind field in a Registration Accept message sent from the network side via the mobile network.
[0023] According to this method, to determine whether the network side supports the ATSSS function, the following operations are performed:
[0024] First, the terminal device receives a Registration Accept message sent from the network side via the mobile network. Then, the terminal device analyzes the Registration Accept message to extract the ats_ind field in the Registration Accept message. Finally, the terminal device determines whether the network side supports the ATSSS function based on the field value corresponding to the ats_ind field.
[0025] Regarding determining whether or not the network side supports the ATSSS function based on the field value corresponding to the ats_ind field, in one example, a comparison may be made to determine whether or not the field value corresponding to the ats_ind field matches a predetermined threshold, and if the field value corresponding to the ats_ind field matches the predetermined threshold, it may be determined that the network side supports the ATSSS function.
[0026] For example, if the preset threshold is determined to be 1, then if ats_ind=1, it is determined that the network side supports the ATSSS function, and if not, it is determined that it does not support it.
[0027] To better understand how the network side determines whether the ATSSS feature is supported based on the Registration Accept message, a portion of the Registration Accept message is shown below. 15:03:10.219 0xB80A NR5G NAS MM5G Plain OTA Incoming Msg -- Registration accept nwk_feature_supp_inc = 1 (0x1) nwk_feature_supported length = 2 (0x2) emf = 1 (0x1) (Emergency srv fallback supported in NR connected to 5GCN only) emc = 0 (0x0) (Emergency srv not supported) …… ats_ind = 1 (0x1)
[0028] This enables the operation of determining whether or not the network side supports the ATSSS function.
[0029] Furthermore, when a terminal device initiates a Multi-Access (MA) Protocol Data Unit (PDU) session request (hereinafter referred to as MA PDU session request) to the network side, the terminal device notifies the network side whether or not it supports the ATSSS function by the atsss_st field of the MA PDU session request. Therefore, when initiating a MA PDU session request to the network side, the terminal device needs to detect whether or not it supports the ATSSS function.
[0030] The method of determining whether the terminal device supports the ATSSS function using the MA PDU session request is as follows: First, the terminal device obtains an MA PDU session request that needs to be initiated from the network side; Second, the terminal device analyzes the multi-access PDU session request to extract the atsss_st field in the multi-access PDU session request; Finally, the terminal device determines whether the terminal device supports the ATSSS function based on the field value corresponding to the atsss_st field.
[0031] Regarding determining whether or not a terminal device supports the ATSSS function based on a field value corresponding to the atsss_st field, in one example, a comparison may be made to determine whether or not the field value corresponding to the atsss_st field matches a predetermined threshold, and if the field value corresponding to the atsss_st field matches the predetermined threshold, it may be determined that the terminal device supports the ATSSS function.
[0032] For example, if the preset threshold is determined to be 1, then if atsss_st=1, it is determined that the terminal device supports the ATSSS function, and if not, it is determined that it does not support the function.
[0033] To better understand whether the terminal equipment supports the ATSSS function based on the MA PDU session request, a portion of the MA PDU session request is shown below. 15:03:11.643 0xB801 NR5G NAS SM5G Plain OTA Outgoing Msg -- PDU session establishment req nr5g_smm_msg pdu_session_estab_req _5gsm_cap atsss_st = 1 (0x1)
[0034] This realizes an operation for determining whether or not the terminal device supports the ATSSS function.
[0035] In addition, when it is confirmed that both the network side and the terminal device support ATSSS, it is also necessary to determine whether the terminal device supports Wi-Fi functionality in order to ensure that the terminal device can work with the network side to realize the Wi-Fi access method of this embodiment.
[0036] Regarding the determination of whether the terminal device supports the Wi-Fi function, in one example, the terminal device identifies itself when registering the SIM card to the mobile network, and further notifies the network side that the terminal device supports the Wi-Fi function. In another example, when the terminal device determines that it supports the ATSSS function, it may also identify its own Wi-Fi function, and thereafter, if it supports the ATSSS function, it may notify the network side that it supports the ATSSS function and also notify the network side that it supports the Wi-Fi function.
[0037] The aforementioned Wi-Fi capabilities include, but are not limited to, protocol version, frequency band, whether dual Wi-Fi is supported, etc.
[0038] Furthermore, the above network side may be, for example, a base station, a server, related network element equipment, etc., but not all of them are necessarily listed here, and the present embodiment is not limited to this.
[0039] Step 102: Based on the description information of the trusted Wi-Fi, perform network quality detection of a channel corresponding to the trusted Wi-Fi, and obtain an index value for evaluating the network quality of the channel.
[0040] In this embodiment, the description information of the trusted Wi-Fi in the Wi-Fi measurement control command transmitted from the network side via the mobile network includes, but is not limited to, the SSID, BSSID, frequency band, channel number, measurement parameters, measurement time interval, escalation event threshold, Wi-Fi access threshold, and trusted Wi-Fi identifier.
[0041] Regarding detecting the network quality of a channel corresponding to the trusted Wi-Fi based on the above description information of the trusted Wi-Fi, in one example, based on the channel number in the description information of the trusted Wi-Fi, jump to the channel corresponding to the trusted Wi-Fi, and then measure the channel based on the measurement time interval and measurement parameters to obtain an index value for evaluating the network quality of the channel.
[0042] In this embodiment, the index value includes a signal strength index value and a link quality index value, but is not limited to these.
[0043] Step 103: Determine an accessible target Wi-Fi based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi, and access the target Wi-Fi.
[0044] When multiple trusted Wi-Fis are transmitted from the network side, after obtaining the index value corresponding to each trusted Wi-Fi using the above method, the network quality of each trusted Wi-Fi can be determined based on the index value evaluating the network quality of the channel corresponding to the trusted Wi-Fi, and the trusted Wi-Fi can be selected as an accessible target Wi-Fi according to preset traffic needs.
[0045] A pre-condition for determining accessible target Wi-Fis may be, in one example, selecting an optimal network quality therefrom.
[0046] Furthermore, in another example, a trusted Wi-Fi whose network quality meets a certain preset value and whose load condition meets another preset value may be selected as the target Wi-Fi.
[0047] The above examples are merely given for a better understanding of the technical solutions of the present embodiment, and are not the only limitations to the present embodiment.
[0048] Furthermore, the premise for triggering the network side to send a Wi-Fi measurement control command to the terminal device through the mobile network is that when the terminal device needs to initiate an MA PDU session request to the network side, it notifies the network side through the mobile network that it supports the ATSSS function. Therefore, after the terminal device accesses the determined target Wi-Fi, the above MA-PDU session request that needs to be initiated by the network side device is sent to the network side device through the Wi-Fi network corresponding to the accessed target Wi-Fi.
[0049] Furthermore, in one example, after the terminal device accesses the target Wi-Fi, a pre-configured trusted Wi-Fi identifier may be displayed on a user interface of the terminal device so that a user using the terminal device can easily, intuitively, and clearly know that the terminal device is accessing a trusted and secure Wi-Fi.
[0050] The above-mentioned trusted Wi-Fi identifier may be, in one example, transmitted by the network side.
[0051] Furthermore, the trusted Wi-Fi identifier displayed in the user interface may be pre-set characters or may be pre-set icons or images, etc., but not all of these will be listed here, and this embodiment is not limited to these.
[0052] Furthermore, in practical applications, a user may not want to access any Wi-Fi network, so in order to avoid affecting the user's experience, a switch option for "smart access to trusted Wi-Fi" may be provided in the user interface of the terminal device, and the function may be set to off by default. That is, the Wi-Fi access method according to this embodiment is executed only when the user turns on this function.
[0053] In this way, the Wi-Fi access method according to the present embodiment is configured such that the network side transmits a Wi-Fi measurement control command including description information of the trusted Wi-Fi determined by the network side to the terminal device accessing the mobile network via the mobile network, thereby ensuring that all currently available Wi-Fi acquired by the terminal device in a state of accessing the mobile network is a reliable and secure Wi-Fi authenticated and confirmed by the network side. As a result, even if the user operates the terminal device to access any Wi-Fi transmitted from the network side, the user can access a reliable and secure Wi-Fi. In this way, the terminal device can be effectively prevented from accessing an unauthorized network, and the user's privacy can be guaranteed.
[0054] Furthermore, in the Wi-Fi access method according to the present embodiment, when the terminal device receives a Wi-Fi measurement control command including description information of the trusted Wi-Fi transmitted from the network side, the terminal device performs network quality detection of the channel of the trusted Wi-Fi determined by the network side based on the description information of the trusted Wi-Fi, and further obtains an index value for evaluating the network quality of the channel for each trusted Wi-Fi. Finally, based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi, the terminal device determines a target Wi-Fi that can be finally accessed, and accesses the determined target Wi-Fi. This ensures that the Wi-Fi that the terminal device accesses is reliable and safe while ensuring the network quality of the Wi-Fi that the terminal device finally accesses, thereby achieving both network quality and safety.
[0055] Referring to Figure 2, Figure 2 is a flow chart of a Wi-Fi access method according to an embodiment of the present application. In this embodiment, the method is mainly applied to a terminal device having the ability to access a mobile network and a Wi-Fi network, such as a smart phone equipped with a Subscriber Identity Module (SIM card).
[0056] As shown in FIG. 2, the Wi-Fi access method according to this embodiment includes steps 201 to 205.
[0057] Step 201: While accessing a mobile network, when a Wi-Fi measurement control command transmitted from a network side via the mobile network is received, the trusted Wi-Fi description information included in the Wi-Fi measurement control command is obtained.
[0058] Step 202: Based on the description information of the trusted Wi-Fi, perform network quality detection of a channel corresponding to the trusted Wi-Fi, and obtain an index value for evaluating the network quality of the channel.
[0059] Steps 201 and 202 in this embodiment are substantially the same as steps 101 and 102 in the embodiment shown in FIG. 1, and will not be described in detail here.
[0060] Step 203: Generate an accessible Wi-Fi candidate list based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi.
[0061] In this embodiment, the operation of determining the target Wi-Fi is performed locally in the terminal device. Therefore, the terminal device obtains an index value corresponding to each trusted Wi-Fi, and then determines the network quality of the corresponding trusted Wi-Fi based on the index value. Then, the trusted Wi-Fi whose network quality meets a preset condition, such as the signal strength is greater than a preset threshold, and / or the link quality is greater than a preset threshold, and / or the load situation is less than a preset threshold, is set as an accessible Wi-Fi, and these screened accessible Wi-Fis are added to a unified list. This finally obtains an accessible Wi-Fi candidate list that needs to be presented to the user.
[0062] Furthermore, with regard to the accessible Wi-Fi candidate list obtained above, in one example, it may be presented to the user as a pop-up box that overlays a layer of a layout for displaying the accessible Wi-Fi candidate list on top of the user interface that the user is currently operating.
[0063] In yet another example, a user may jump from a currently operated user interface to a new interface and display a list of Wi-Fi candidates accessible to the new interface.
[0064] The above examples are provided for a better understanding of the technical solutions of the present embodiment, and are not the only limitations to the present embodiment.
[0065] Step 204: It is monitored whether there is a user selection command for any of the accessible Wi-Fis in the accessible Wi-Fi candidate list.
[0066] In one example, monitoring a user's selection operation on an accessible Wi-Fi in the accessible Wi-Fi candidate list may be performed by monitoring an area in which each accessible Wi-Fi in the accessible Wi-Fi candidate list presented in a user interface is located, or by monitoring whether a selection box is selected by a user (by touching, clicking, etc.), and if these are monitored, it may be determined that a user's selection command on any accessible Wi-Fi in the accessible Wi-Fi candidate list has been monitored.
[0067] Additionally, in another example, visual tracking techniques may be used to monitor a user's selection actions on accessible Wi-Fis in a list of accessible Wi-Fi candidates, thereby allowing the user to select a target Wi-Fi to which access is required without manual action.
[0068] The above examples are provided for a better understanding of the technical solutions of the present embodiment, and are not the only limitations to the present embodiment.
[0069] If a user selection command for any accessible Wi-Fi in the accessible Wi-Fi candidate list is monitored, proceed to step 205 and perform the operation of step 205; otherwise, continue with the operation of step 204.
[0070] In addition, in practical applications, a monitoring time may be set, that is, the operation of step 204 is continued only if a user's selection command for any accessible Wi-Fi in the accessible Wi-Fi candidate list is not monitored within the monitoring time, otherwise, the current Wi-Fi access flow is terminated, and a MA PDU session request is directly initiated to the network side using the mobile network.
[0071] In addition, in another example, the accessible Wi-Fi candidate list may be provided with an operation button for exiting the list. If the user does not select any accessible Wi-Fi in the accessible Wi-Fi candidate list and triggers the operation button for exiting the list, the current Wi-Fi access flow may be terminated directly, and a MA-PDU session request may be initiated to the network side by directly using the mobile network.
[0072] The above examples are provided for a better understanding of the technical solutions of the present embodiment, and are not the only limitations to the present embodiment.
[0073] Step 205: Determine the accessible Wi-Fi selected by the user as the accessible target Wi-Fi, and access the target Wi-Fi.
[0074] Therefore, in the Wi-Fi access method according to the present embodiment, the terminal device locally determines an accessible Wi-Fi that is reliable, secure, and meets the network quality requirements according to the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi, presents the accessible Wi-Fi that meets these requirements to the user in the form of a list, and the user selects one of them as a target Wi-Fi to access the determined target Wi-Fi. This realizes the terminal device switching from a mobile network state to a Wi-Fi network state so that the terminal device can initiate an MA PDU session request to the network side according to the Wi-Fi network. This ensures the communication speed between the terminal device and the network side, and avoids excessive consumption of mobile traffic of the terminal device, thereby reducing the user's expenditure.
[0075] Referring to Figure 3, Figure 3 is a flow chart of a Wi-Fi access method according to an embodiment of the present application. In this embodiment, the method is mainly applied to a terminal device having the ability to access a mobile network and a Wi-Fi network, such as a smart phone equipped with a Subscriber Identity Module (SIM card).
[0076] As shown in FIG. 3, the Wi-Fi access method according to this embodiment includes steps 301 to 305.
[0077] Step 301: While accessing a mobile network, when a Wi-Fi measurement control command transmitted from a network side via the mobile network is received, descriptive information of trusted Wi-Fi included in the Wi-Fi measurement control command is obtained.
[0078] Step 302: Based on the description information of the trusted Wi-Fi, perform network quality detection of a channel corresponding to the trusted Wi-Fi, and obtain an index value for evaluating the network quality of the channel.
[0079] Steps 301 and 302 in this embodiment are substantially the same as steps 101 and 102 in the embodiment shown in FIG. 1, and will not be described in detail here.
[0080] Step 303: Send the indicator values corresponding to the trusted Wi-Fis to the network side via the mobile network, so that the network side identifies one of the trusted Wi-Fis as the accessible target Wi-Fi based on the indicator values corresponding to the trusted Wi-Fis.
[0081] Step 304: Receive a target Wi-Fi access command originating from the network side via the mobile network.
[0082] Step 305: Parse the target Wi-Fi access command to obtain the accessible target Wi-Fi, and access the target Wi-Fi.
[0083] Furthermore, in practical applications, after analyzing the accessible target Wi-Fi determined by the network side from the target Wi-Fi access command, before performing the access operation to the target Wi-Fi, the determined target Wi-Fi may be similarly presented to the user in a visualized display, and the user may be determined to currently access the target Wi-Fi, such as by monitoring whether there is a user selection command for the target Wi-Fi.
[0084] If a user's selection command for the target Wi-Fi is monitored, an operation of accessing the target Wi-Fi is performed, and the terminal device is switched from a mobile network state to a Wi-Fi network transition, and then a MA PDU session request is sent to the network side by the Wi-Fi network corresponding to the target Wi-Fi. Otherwise, the terminal device continues to be maintained in a mobile network state, and sends a MA PDU session request to the network side through the mobile network state.
[0085] In the Wi-Fi access method according to the present embodiment, the operation of determining the target Wi-Fi is performed by the network side. Therefore, when the terminal device obtains an index value corresponding to each trusted Wi-Fi, the terminal device transmits the obtained index value to the network side through the mobile network. The network side determines the network quality corresponding to the trusted Wi-Fi based on the index value, and refers to reference factors such as the current actual network environment and load status to select, for example, the optimal trusted Wi-Fi whose performance meets the preset condition as an accessible target Wi-Fi, and further transmits a target Wi-Fi access command including description information of the target Wi-Fi to the terminal device via the mobile network. The terminal device accesses the target Wi-Fi determined by the network side according to the target Wi-Fi access command. In this method, the terminal device does not need to perform a processing operation for determining the network quality of the channel of the trusted Wi-Fi, so the requirements for the performance of the terminal device are reduced, and the Wi-Fi access method according to the present embodiment can be applied to more terminal devices, providing the terminal device with a competitive edge.
[0086] Referring to Figure 4, Figure 4 is a flow chart of a Wi-Fi access method according to an embodiment of the present application. In this embodiment, the method is mainly applied to a terminal device having the ability to access a mobile network and a Wi-Fi network, such as a smart phone equipped with a Subscriber Identity Module (SIM card).
[0087] As shown in FIG. 4, the Wi-Fi access method according to this embodiment includes steps 401 to 408.
[0088] Step 401: While accessing a mobile network, when a Wi-Fi measurement control command transmitted from a network side via the mobile network is received, the trusted Wi-Fi description information included in the Wi-Fi measurement control command is obtained.
[0089] Step 402: Based on description information of the trusted Wi-Fi, perform network quality detection of a channel corresponding to the trusted Wi-Fi, and obtain an index value for evaluating the network quality of the channel.
[0090] Steps 401 and 402 in this embodiment are substantially the same as steps 101 and 102 in the embodiment shown in FIG. 1, and will not be described in detail here.
[0091] Step 403: Determine an accessible target Wi-Fi based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi.
[0092] The method of determining an accessible target Wi-Fi based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi may be a method of determining locally by a terminal device as described in the embodiment shown in Fig. 2, or a method of determining by a network side as in the embodiment shown in Fig. 3, but this embodiment is not limited thereto. A specific determination method is described in detail in the embodiment shown in Fig. 2 and the embodiment shown in Fig. 3, and will not be described in detail here.
[0093] Step 404: Detect whether a Wi-Fi network is currently being accessed.
[0094] In practical applications, before the terminal device receives the target Wi-Fi access command sent from the network side, the user may manually operate the terminal device to access the Wi-Fi network, so in order to avoid the terminal device from frequently switching the Wi-Fi network, it is necessary to check whether the terminal device is currently accessing a Wi-Fi network before accessing the target Wi-Fi.
[0095] If a Wi-Fi network is accessed, proceed to step 405 and perform the operation of step 405; otherwise, proceed to step 407 and perform the operation of accessing the target Wi-Fi.
[0096] Step 405: Identify whether the currently accessed Wi-Fi network is a Wi-Fi network corresponding to the target Wi-Fi.
[0097] When determining that the terminal device is currently accessing a Wi-Fi network, the terminal device may identify whether the currently accessed Wi-Fi network is a Wi-Fi network corresponding to the target Wi-Fi, so as to ensure that the Wi-Fi network accessed by the terminal device is reliable and secure.
[0098] If so, proceed to step 408 and perform the operation of step 408; otherwise, proceed to step 406.
[0099] Furthermore, in practical applications, if the currently accessed Wi-Fi network is not a Wi-Fi network corresponding to the target Wi-Fi, it may be determined whether the currently accessed Wi-Fi network is in the accessible Wi-Fi candidate list locally determined by the terminal device, or is a Wi-Fi network corresponding to the trusted Wi-Fi issued by the network side.
[0100] If so, instead of performing the operation of step 406, the method may proceed to step 408 and inform the user that the currently accessed Wi-Fi network is trustworthy and secure.
[0101] Step 406: Disconnect from the currently accessed Wi-Fi network.
[0102] In practical applications, before disconnecting the currently accessed Wi-Fi network, the target Wi-Fi may be set as the primary Wi-Fi, the Wi-Fi corresponding to the currently accessed Wi-Fi network may be set as the secondary Wi-Fi, and the access priority of the primary Wi-Fi may be set higher than the access priority of the secondary Wi-Fi. In this way, if an abnormality occurs in the primary Wi-Fi network after the terminal device accesses the primary Wi-Fi, the terminal device and the network side can automatically switch the terminal device from the primary Wi-Fi to the secondary Wi-Fi based on the ATSSS function. This ensures that the terminal device can continue to use the Wi-Fi network.
[0103] With this method, it is necessary to determine that the Wi-Fi corresponding to the currently accessed Wi-Fi network is a reliable and secure Wi-Fi before setting it as the secondary Wi-Fi, thereby achieving both continuous business operations and security.
[0104] Step 407: Access the target Wi-Fi.
[0105] Step 408: Display the pre-configured trusted Wi-Fi identifiers on the user interface.
[0106] Thus, in the Wi-Fi access method according to the present embodiment, before accessing the determined target Wi-Fi, the terminal device detects whether it is currently accessing a Wi-Fi network, and determines based on the detection result whether to execute an operation to access the target Wi-Fi, or to disconnect the Wi-Fi of the currently accessed Wi-Fi network and access the target Wi-Fi, or to leave the currently accessed Wi-Fi network as it is and directly set a trusted identifier to the Wi-Fi network. This effectively ensures that the Wi-Fi accessed by the terminal device is reliable and safe while minimizing frequent switching of the Wi-Fi network accessed by the terminal device, and therefore the Wi-Fi access method according to the present embodiment can be more suitably applied to actual usage scenarios.
[0107] In addition, the division of the steps of the above various methods is merely for clarity, and as long as they contain the same logical relationship, they may be integrated into one step or some steps may be divided into multiple steps, all of which are within the scope of protection of this patent. Making insignificant modifications to the algorithm or flow, or introducing insignificant designs, but not changing the core design of the algorithm and flow, are all within the scope of protection of this patent.
[0108] Please refer to FIG. 5, which is a structural schematic diagram of a terminal device according to an embodiment of the present application.
[0109] As shown in FIG. 5, the terminal device according to this embodiment includes at least one processor 501 and a memory 502 communicatively connected to the at least one processor 501 .
[0110] Here, the memory 502 stores instructions executable by the at least one processor 501 which, when executed by the at least one processor 501, cause the at least one processor 501 to perform the Wi-Fi access method described in the above method embodiment.
[0111] Here, the memory 502 and the processor 501 are connected in a bus manner. The bus may include any number of interconnected buses and bridges and connects various circuits of one or more processors 501 and memories 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators and power management circuits, etc., all of which are known to those skilled in the art and will not be described in detail herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or multiple elements such as multiple receivers and transmitters, providing a unit configured to communicate with various other devices over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium via an antenna. The antenna also receives data and transmits data to the processor 501.
[0112] The processor 501 may manage the bus and general processing and provide various functions including timing, peripheral interfaces, voltage regulation, power management and other control functions, while the memory 502 may be configured to store data used by the processor 501 in performing operations.
[0113] An embodiment of the present application also relates to a computer readable storage medium storing a computer program which, when executed by a processor, implements the Wi-Fi access method according to the above method embodiment.
[0114] In the Wi-Fi access method, terminal device, and storage medium proposed in the embodiments of the present application, the network side is configured to transmit, via the mobile network, a Wi-Fi measurement control command including description information of the trusted Wi-Fi determined by the network side to the terminal device accessing the mobile network, thereby ensuring that all currently available Wi-Fi acquired by the terminal device in a state of accessing the mobile network is a reliable and secure Wi-Fi authenticated and confirmed by the network side. As a result, even if a user operates the terminal device to access any Wi-Fi transmitted from the network side, the user can access a reliable and secure Wi-Fi, effectively preventing the terminal device from accessing an unauthorized network and ensuring the user's privacy.
[0115] Furthermore, in the Wi-Fi access form according to this embodiment, when the terminal device receives a Wi-Fi measurement control command including description information of the trusted Wi-Fi transmitted from the network side, the terminal device performs network quality detection of the channel of the trusted Wi-Fi determined by the network side based on the description information of the trusted Wi-Fi, and further obtains an index value for evaluating the network quality of the channel for each trusted Wi-Fi. Finally, based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi, the terminal device determines a target Wi-Fi that can be finally accessed, and accesses the determined target Wi-Fi. This ensures that the Wi-Fi that the terminal device accesses is reliable and safe while ensuring the network quality of the Wi-Fi that the terminal device finally accesses, thereby achieving both network quality and safety.
[0116] That is, all or part of the steps in the methods of the above embodiments can be achieved by a program instructing related hardware. The program is stored in a storage medium and includes several instructions for causing an apparatus (which may be a microcontroller, chip, etc.) or a processor to execute all or part of the steps of the methods in various embodiments of the present application. Meanwhile, the storage medium includes various media capable of storing program code, such as a USB memory, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0117] The above embodiments are specific examples for implementing the present application, and various changes in form and detail may be made in actual applications without departing from the spirit and scope of the present application.
Claims
1. A Wi-Fi access method applied to a terminal device, comprising: receiving a Wi-Fi measurement control command transmitted from a network side via the mobile network while accessing the mobile network, acquiring descriptive information of trusted Wi-Fi included in the Wi-Fi measurement control command; detecting a network quality of a channel corresponding to the trusted Wi-Fi based on description information of the trusted Wi-Fi, and obtaining an index value for evaluating the network quality of the channel; determining an accessible target Wi-Fi based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi, and accessing the target Wi-Fi; When receiving a Wi-Fi measurement control command transmitted from a network side via the mobile network, before the step of acquiring descriptive information of a trusted Wi-Fi included in the Wi-Fi measurement control command, The Wi-Fi access method further includes a step of determining that the network side supports an ATSSS function.
2. The step of determining an accessible target Wi-Fi based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi includes: generating an accessible Wi-Fi candidate list based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi; monitoring whether there is a user selection command for any of the accessible Wi-Fis in the accessible Wi-Fi candidate list; and when a user's selection command for any accessible Wi-Fi in the accessible Wi-Fi candidate list is monitored, determining the accessible Wi-Fi selected by the user as the accessible target Wi-Fi, and accessing the target Wi-Fi.
3. The step of determining an accessible target Wi-Fi based on the trusted Wi-Fi and the index value corresponding to the trusted Wi-Fi includes: sending the indicator values corresponding to the trusted Wi-Fis to the network side via the mobile network, such that the network side identifies one of the trusted Wi-Fis as the accessible target Wi-Fi based on the indicator values corresponding to the trusted Wi-Fis; receiving a target Wi-Fi access command originating from the network side via the mobile network; and analyzing the target Wi-Fi access command to obtain the target Wi-Fi that is accessible, and accessing the target Wi-Fi.
4. Before the step of analyzing the target Wi-Fi access command to obtain the accessible target Wi-Fi and accessing the target Wi-Fi, monitoring whether there is a user selection command for the target Wi-Fi; 4. The Wi-Fi access method of claim 3, further comprising: performing the step of accessing the target Wi-Fi when a selection command of the user for the target Wi-Fi is monitored.
5. Prior to the step of accessing the target Wi-Fi, detecting whether a Wi-Fi network is currently being accessed; otherwise, performing the step of accessing the target Wi-Fi; If so, identifying whether the currently accessed Wi-Fi network is a Wi-Fi network corresponding to the target Wi-Fi, and if not, disconnecting the currently accessed Wi-Fi network and performing the step of accessing the target Wi-Fi.
6. before performing the step of disconnecting the currently accessed Wi-Fi network and accessing the target Wi-Fi network; The Wi-Fi access method of claim 5, further comprising the step of setting the target Wi-Fi as a primary Wi-Fi and a Wi-Fi corresponding to the currently accessed Wi-Fi network as a secondary Wi-Fi, wherein an access priority of the primary Wi-Fi is higher than an access priority of the secondary Wi-Fi.
7. When receiving a Wi-Fi measurement control command transmitted from a network side via the mobile network, before the step of acquiring descriptive information of a trusted Wi-Fi included in the Wi-Fi measurement control command, When the mobile network is accessed and a multi-access protocol data unit (PDU) session request needs to be initiated to the network side, detecting whether the mobile network supports access traffic steering, switching, split ATSSS function and Wi-Fi function; The Wi-Fi access method of claim 1, further comprising: if supported, notifying the network side via the mobile network that the device supports the ATSSS function and the Wi-Fi function, and triggering the network side to transmit the Wi-Fi measurement control command via the mobile network.
8. At least one processor; a memory communicatively connected to the at least one processor; A terminal device, wherein the memory stores instructions that, when executed by the at least one processor, cause the at least one processor to perform a Wi-Fi access method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a computer program which, when executed by a processor, realizes the Wi-Fi access method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Wireless network system
JP2007142859A
Communication device, method in communication device, base station and method in base station
JP2020017990A
Multipath Transmission Control Protocol Proxy Use in a Cellular Network
US20190306068A1
Cited By
System and method for constructing a mobile WIFI network and supporting WIFI service access to provide high-quality WIFI service to public transportation
KR102888208B1