WO2018010425A1 - Wifi热点信息推送方法、接收方法、装置及存储介质 - Google Patents

Wifi热点信息推送方法、接收方法、装置及存储介质 Download PDF

Info

Publication number
WO2018010425A1
WO2018010425A1 PCT/CN2017/073689 CN2017073689W WO2018010425A1 WO 2018010425 A1 WO2018010425 A1 WO 2018010425A1 CN 2017073689 W CN2017073689 W CN 2017073689W WO 2018010425 A1 WO2018010425 A1 WO 2018010425A1
Authority
WO
WIPO (PCT)
Prior art keywords
hotspot
wifi hotspot
terminal device
wifi
information
Prior art date
Application number
PCT/CN2017/073689
Other languages
English (en)
French (fr)
Inventor
孙琳
邓现伦
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018010425A1 publication Critical patent/WO2018010425A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a WIFI hotspot information push method, a receiving method, a device, and a storage medium.
  • WIFI hotspots wireless local area network
  • the Service Set Identifier (SSID) is used as the name of the local area network. If the WIFI hotspot is known by other people as the SSID and password, the SSID and password may be continuously transmitted to other people, resulting in rapid consumption of traffic. In this case, the user may need to modify the name or password of the WIFI hotspot to prevent the network from being stolen.
  • SSID Service Set Identifier
  • the device connected to the WIFI hotspot After the user changes the SSID and password of the WIFI hotspot, the device connected to the WIFI hotspot will be disconnected from the WIFI connection, and other users connected to the uFi hotspot cannot continue to connect.
  • the embodiment of the present invention provides a WIFI hotspot information pushing method, a receiving method, a device, and a storage medium.
  • the purpose is to solve the problem that when the SSID or password of the WIFI hotspot is modified, the device other than the local device must be manually scanned by the user. Enter the password manually to access the hotspot.
  • an embodiment of the present invention provides a method for pushing a WIFI hotspot information, including:
  • Establishing a second WIFI hotspot accessing the terminal device to be accessed to the second WIFI hotspot, and establishing a second WIFI channel;
  • the hotspot information of the modified first WIFI hotspot is pushed to the to-be-accessed terminal device by using the second WIFI channel.
  • the detecting that the hotspot information of the first WIFI hotspot is modified includes:
  • the service set identifier SSID of the first WIFI hotspot is detected and/or the password corresponding to the SSID of the first WIFI hotspot is modified.
  • the second WIFI hotspot does not set a password.
  • the accessing the terminal device to be accessed by the second WIFI hotspot includes: after detecting the request that the to-be-accessed terminal device accesses the second WIFI hotspot, according to the preset terminal device a list of determining whether to access the terminal device to be accessed.
  • the determining, according to the preset terminal device list, whether to access the to-access terminal device includes:
  • the to-be-accessed terminal device accesses the second WIFI hotspot.
  • the method further includes:
  • the resources of the second WIFI hotspot are released.
  • the preset terminal device list includes: a unique identifier of the terminal device.
  • the method further includes:
  • the hotspot information of the modified first WIFI hotspot is pushed to the current connection via the channel established by the first WIFI hotspot.
  • the method further includes:
  • the unique identifier of the terminal device connected to the first WIFI hotspot is added to the preset terminal device list.
  • the step of pushing the hotspot information of the modified first WIFI hotspot to the to-be-accessed terminal device includes:
  • the hotspot information of the modified first WIFI hotspot is encapsulated into a preset description file supported by the operating system, and The description file is pushed to the terminal device.
  • the embodiment of the present invention further discloses a WIFI hotspot information receiving method, including:
  • the first WIFI hotspot is provided with a password.
  • the hot spot information of the first WIFI hotspot includes:
  • the service set of the first WIFI hotspot identifies the SSID and/or a password corresponding to the SSID of the first WIFI hotspot.
  • the method before the requesting the second WIFI hotspot, the method further includes:
  • the second WIFI hotspot does not set a password.
  • the embodiment of the present invention further discloses a WIFI hotspot information pushing device, where the pushing device includes:
  • the detecting and saving unit is configured to detect that the hot spot information of the first wireless local area network WIFI hotspot is When modifying, save the hotspot information of the modified first WIFI hotspot;
  • the link-building unit is configured to establish a second WIFI hotspot, and access the terminal device to be accessed to the second WIFI hotspot to establish a second WIFI channel;
  • the push unit is configured to push the hotspot information of the modified first WIFI hotspot to the to-be-accessed terminal device via the second WIFI channel.
  • the detection and storage unit includes a detection subunit and a storage subunit, and the detection subunit is configured to detect a service set identifier SSID of the first WIFI hotspot and/or to be related to the SSID of the first WIFI hotspot.
  • the corresponding password is modified.
  • the saving subunit is configured to save the hotspot information of the modified first WIFI hotspot.
  • the second WIFI hotspot does not set a password.
  • the establishing the link unit is further configured to: after detecting the request that the terminal device to be accessed accesses the second WIFI hotspot, determine, according to the preset terminal device list, whether to access the terminal to be accessed device.
  • the chain-building unit includes an acquiring sub-unit and an access sub-unit, and the acquiring sub-unit is configured to acquire the to-be-accessed terminal according to the request that the terminal device to be accessed accesses the second WIFI hotspot The unique identifier of the device;
  • the access sub-unit is configured to access the second WIFI hotspot when the unique identifier of the to-be-accessed terminal device exists in the preset terminal device list.
  • the embodiment of the present invention further discloses a WIFI hotspot information receiving device, where the receiving device includes:
  • the requesting unit is configured to request to access the second WIFI hotspot after detecting the second WIFI hotspot;
  • the receiving unit is configured to receive hotspot information of the first WIFI hotspot via a second WIFI channel established with the second WIFI hotspot;
  • the access unit is configured to disconnect the second WIFI channel established with the second WIFI hotspot. And accessing the first WIFI hotspot according to the hot spot information of the first WIFI hotspot;
  • the first WIFI hotspot is provided with a password.
  • the device further includes a determining unit configured to access the first WIFI hotspot and determine to access the second WIFI hotspot after determining that the access to the first WIFI hotspot fails.
  • a determining unit configured to access the first WIFI hotspot and determine to access the second WIFI hotspot after determining that the access to the first WIFI hotspot fails.
  • the modified hotspot information when detecting that the hotspot information is modified, the modified hotspot information is pushed to the target terminal device through the pre-established message channel or the wide area network, so that the target terminal automatically scans and accesses the WIFI in time after the WIFI hotspot is restarted.
  • Hotspots after the WIFI hotspot is restarted, the user needs to manually scan and manually enter the password to access the hotspot to reduce the user experience.
  • the target terminal device can be subjectively selected by the user to avoid users who are not in the user's choice and join the WIFI hotspot.
  • the user when the WIFI hotspot is restarted according to the modified information, the user does not need to disconnect the user to disconnect the network, thereby improving the user experience; for not allowing the application to operate the WIFI.
  • the terminal device generates a description file supported by the operating system of the terminal device to meet the diversified usage requirements of the user.
  • the embodiment of the present invention solves the problem that the device other than the local device must be manually manually after the SSID or password of the WIFI hotspot is modified. Scan and manually enter the password to access the hotspot .
  • FIG. 1 is a flowchart of basic steps of a WIFI hotspot information pushing method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of basic steps of a WIFI hotspot information receiving method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a WIFI hotspot information pushing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an application scenario of an embodiment of the present invention.
  • FIG. 5 is a flowchart of a first access to a first WIFI hotspot by a terminal device according to an embodiment of the present invention
  • FIG. 6 is a flowchart of modifying a WIFI hotspot SSID or password according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a WIFI hotspot information pushing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a WIFI hotspot information receiving apparatus according to an embodiment of the present invention.
  • the embodiment of the invention provides a WIFI hotspot information pushing method and device for the existing problems.
  • an embodiment of the present invention provides a WIFI hotspot information pushing method, including:
  • Step S11 When detecting that the hotspot information of the WIFI hotspot of the first wireless local area network is modified, save the hotspot information of the modified first WIFI hotspot;
  • detecting that the hotspot information of the first WIFI hotspot is modified includes: detecting that the service set identifier SSID of the first WIFI hotspot and/or the password corresponding to the SSID is modified.
  • the SSID and password are just examples and do not check for other hotspot information.
  • Step S12 Establish a second WIFI hotspot, and connect the to-be-accessed terminal device to the second WIFI hotspot to establish a second WIFI channel;
  • the second WIFI hotspot does not set a password.
  • Step S13 Push the hotspot information of the modified first WIFI hotspot to the to-be-accessed terminal device via the second WIFI channel.
  • the WIFI hotspot information pushing method may further include: releasing resources of the second WIFI hotspot, such as releasing the occupied broadband resource and the user access number resource.
  • an embodiment of the present invention provides a WIFI hotspot information receiving method, which includes include:
  • Step S21 After detecting the second WIFI hotspot, request to access the second WIFI hotspot;
  • the second WIFI hotspot may be specifically a second SSID open hotspot.
  • Step S22 Receive hotspot information of the first WIFI hotspot via a second WIFI channel established with the second WIFI hotspot;
  • Step S23 disconnecting the second WIFI channel established with the second WIFI hotspot, and accessing the first WIFI hotspot according to the hotspot information of the first WIFI hotspot;
  • the first WIFI hotspot includes a service set identifier SSID and/or a password corresponding to the SSID of the first WIFI hotspot.
  • the SSID and password are just examples and do not check for other hotspot information.
  • the first WIFI hotspot is provided with a password.
  • the method before the requesting the second SSID open hotspot (that is, the second WIFI hotspot), the method further includes:
  • the second WIFI hotspot does not set a password.
  • the embodiment of the present invention may further include: when detecting that the terminal device to be accessed is connected to the first WIFI hotspot and the input password is incorrect or the password input error exceeds a preset number of times, attempting to access the second WIFI hotspot.
  • a first embodiment of the present invention provides a WIFI hotspot information pushing method, including:
  • Step 301 When detecting that the hotspot information of the first WIFI hotspot is modified, detecting the terminal device that accesses the first WIFI hotspot, and determining the first target terminal device;
  • the first target terminal device that is determined is the terminal device to be accessed.
  • the terminal devices connected to the first WIFI hotspot are all the first target terminal devices;
  • the first target terminal device may also be defined, and is selected according to a preset terminal device list of the WIFI hotspot, that is, when the hot spot information of the first WIFI hotspot is modified, the connection is performed. And determining, by the terminal device of the first WIFI hotspot, that the device in the terminal device list is the first target terminal device.
  • the hot spot information detecting the wireless local area network WIFI hotspot is modified to include at least one of the service set identifier SSID of the WIFI hotspot and the password corresponding to the SSID being modified.
  • SSID For an SSID, its modification includes the name and/or password being modified; that is, when the SSID and/or the password corresponding to the SSID is changed, the user needs to rescan and enter the password.
  • the preset terminal device list when the hot spot information of the WIFI hotspot is modified is obtained, and the target terminal device that needs to push the modified information is determined.
  • the terminal device list includes: a unique identifier of the terminal device that accesses the WIFI hotspot.
  • the unique identifier is used to identify the user identity.
  • the unique identifier may be the international mobile device identifier IMEI code of the device; for the ios device, the unique identifier may be the device ID of the device; the terminal name may be the device self Name information of the belt, generally including the brand and model; IP address is a unified address format provided by the IP protocol, which assigns a logical address to each network and each host on the Internet, thereby shielding the physical address. difference.
  • Step 302 Push the hotspot information of the modified first WIFI hotspot to the first target terminal device.
  • the hotspot information of the modified first WIFI hotspot is pushed to the first target terminal device according to the preset push mode, so that the target terminal device will be modified.
  • the hotspot information of the first WIFI hotspot is saved locally and is timely connected to the network according to the hotspot information pushed.
  • Step 303 Establish a second WIFI hotspot, and connect the first target terminal device to the second WIFI hotspot to establish a second WIFI channel.
  • the second WIFI hotspot is an open hotspot.
  • the second WIFI hotspot does not set a password.
  • the second hotspot may also have a password that is agreed with the terminal device, which is not limited by the embodiment of the present invention.
  • the step of connecting the to-be-accessed terminal device (that is, the first target terminal device) to the second WIFI hotspot, and establishing the second WIFI channel includes:
  • determining, according to the preset terminal device list, whether to access the to-access terminal device includes:
  • the to-be-accessed terminal device accesses the second WIFI hotspot.
  • the second WIFI hotspot only pushes the hotspot information of the first WIFI hotspot to the terminal device included in the terminal device list to ensure security.
  • Step 304 Push the hotspot information of the modified first WIFI hotspot to the first target terminal device via the second WIFI channel.
  • the method further includes:
  • Step 305 Release an access resource of the second WIFI hotspot.
  • the access resources include broadband resources and the number of allowed access users.
  • step 305 or step 304 the method further includes:
  • the first WIFI hotspot is restarted according to the modified hotspot information; the modified hotspot information will take effect after the first WIFI hotspot is restarted.
  • step 301 includes:
  • the terminal name in the terminal device list prompts the user to select the first target terminal device, in order to determine the first target terminal device according to the subjective selection of the user. For example, when the user modifies the SSID and the password to prevent some terminal devices from accessing, the embodiment of the present invention implements pushing a new SSID and password to the designated terminal device to meet the diversified usage requirements of the user; The name is added to the forbidden list and the connection to the terminal device of the forbidden list is disconnected.
  • the WIFI hotspot is a single SSID hotspot, and restarting the WIFI hotspot includes:
  • the WIFI hotspot is restarted according to the modified hotspot information.
  • the WIFI hotspot When the WIFI hotspot is a single SSID hotspot, in order to avoid a short-term disconnection of the terminal device, the WIFI hotspot no longer has any terminal device access or receives a restart command, such as a user manual. When restarting, restart the WIFI hotspot and validate the new SSID name or password to improve the user experience.
  • a restart command such as a user manual.
  • the modified hotspot information is encapsulated into a description file supported by the preset operating system, and the description file is pushed. To the target terminal device.
  • the modified hotspot information needs to be encapsulated into a description file and sent to the target terminal device.
  • the method includes:
  • the unique identifier of the terminal device is added to the terminal device list.
  • the modified hotspot information is pushed to the terminal device, so that the target terminal automatically scans and accesses the WIFI hotspot after the WIFI hotspot restarts, so as to avoid the WIFI hotspot after the restart.
  • the user needs to manually scan and manually enter the password to access the hotspot to reduce the user experience.
  • the target terminal device can be subjectively selected by the user to prevent users who are not in the range of the user from joining the WIFI hotspot and waste traffic; and in the embodiment of the present invention, When the WIFI hotspot is restarted according to the modified information, the user does not need to disconnect from the user to cause the user to disconnect the network, thereby improving the user experience; and for the terminal device that does not allow the application to operate the WIFI, the operation of the terminal device is generated.
  • the system supports the description file to meet the diversified usage requirements of the user.
  • the embodiment of the present invention solves the problem that when the SSID or password of the WIFI hotspot is modified, the device other than the local device must manually scan and manually input the password to access the device. Hot issues.
  • FIG. 4 is a schematic diagram of an application scenario of the embodiment of the present invention.
  • the preset rule is The connected terminal device pushes the modified hotspot information; and pushes the hotspot information of the first WIFI hotspot to the terminal device that has not successfully connected to the first WIFI hotspot through the newly created second WIFI hotspot.
  • the second WIFI hotspot is a temporary open hotspot, it is only used as a hotspot information for pushing the modified first WIFI hotspot.
  • Step 501 The terminal device accesses the first WIFI hotspot.
  • Step 502 The first WIFI hotspot determines whether the terminal device is the first access.
  • the method of determining is that if the unique identifier of the terminal device does not exist in the preset terminal device list, it is determined to be the first access, otherwise it is not the first access.
  • Step 503 If it is the first access, the hot spot records and stores the terminal device unique identifier in the terminal device list.
  • the IP address of the terminal device can also be recorded at the same time, and the message channel is prepared to be established with it.
  • Step 504 Establish a channel with the terminal device according to an IP address of the terminal device. Each access terminal device has its corresponding channel.
  • step 601 the user selects to modify the SSID or password of the first WIFI hotspot.
  • Step 602 Push the terminal device list previously saved in the hotspot to the user, so that the user selects which terminal device to push the modified first WIFI SSID and password to.
  • Step 603 After the user selects the terminal device list to be pushed, the hotspot searches for the unique identifier of the device according to the selected terminal device list, and prepares to push the SSID and password of the first WIFI hotspot by each terminal device.
  • Step 604 because some of the previously accessed terminal devices may not be connected to the hotspot when the user changes the password, the hotspot needs to determine whether the terminal device to push the message exists to be connected to the hotspot.
  • Step 605 If the terminal device to be pushed is connected to the hotspot, the hotspot directly pushes a new SSID and password to the channel established by the first WIFI hotspot according to the previously established message channel.
  • Step 606 After receiving the hot-spot push message, the terminal device parses the SSID and the password, saves it locally, and starts scanning the hotspot. After the scan succeeds, the terminal can access according to the SSID and the password.
  • Step 607 If the terminal device to be pushed is not connected to the hotspot at this time, establish a second WIFI hotspot.
  • the second WIFI hotspot is an open hotspot. If no password is set, such as a predetermined SSID or password.
  • the step further includes: after receiving the access request of the terminal device, the terminal device accesses the terminal device to the second WIFI hotspot if it is in the terminal device list;
  • Step 608 Push the SSID and password of the first WIFI hotspot to the terminal device by using the second WIFI.
  • Step 609 After receiving the password of the first WIFI hotspot, the terminal device disconnects the second WIFI hotspot and accesses the first WIFI hotspot through the password.
  • the iOS system since the iOS system has strict security requirements, the iOS user cannot connect to the WIFI through the WPS, and the WIFI module cannot be directly connected by the application, and the description file specified by iOS must be installed.
  • the hotspot If the iOS terminal device to be pushed is connected to the hotspot, the hotspot generates an iOS-defined description file according to the new SSID and password, and directly pushes the generated description file to the WIFI through the previously established message channel.
  • the hotspot pushes the new SSID and password to the terminal device through the second WIFI hotspot according to the unique identifier of the terminal device.
  • the iOS terminal device After the iOS terminal device receives the description file that the hotspot pushes through the WIFI, the description file is installed in the iOS system, and the system automatically starts scanning and connecting the hotspot.
  • the iOS terminal device After the iOS terminal device receives the SSID and password of the first WIFI hotspot or the second WIFI hotspot, the iOS terminal device generates an iOS specified description file according to the SSID and the password, and installs it in the system, and the subsequent terminal device only needs to turn on the WIFI, and the system The scan will automatically start and connect to the hotspot.
  • a description file that can be supported by the iOS is generated, and the description file includes information such as a hotspot SSID and a password. After the iOS system is installed, the hotspot can be automatically searched and connected according to the configuration of the description file.
  • the description file format generated in iOS push is an XML file that can be recognized by the iOS system.
  • the file allows developers to post configuration information.
  • the description file can be configured according to its own needs for multiple settings such as WIFI.
  • FIG. 4 shows an XML description file for configuring WIFI information.
  • the iOS system can recognize the description file in XML format, and the general file suffix is named .mobileconfig.
  • the XML file contains multiple fields of WIFI information, and these fields contain WIFI SSID and password information, etc., and the user can connect to the WIFI after installation, as shown in the following table:
  • the hotspot will generate a corresponding description file according to the iOS description file protocol before receiving the modification command and taking effect, and push it to other iOS access through WIFI. Terminal Equipment.
  • the terminal device After receiving the description file of the hotspot push, the terminal device saves it locally and installs it, and then the iOS system can start scanning and accessing the WIFI hotspot after the password is changed.
  • the new SSID and password are based on the previously stored unique identifier of the iOS terminal device device.
  • the terminal device After the WAN system sends the corresponding description file to the SSID and the password, the terminal device generates the corresponding description file in the protocol specified by the description file, saves it locally and installs it, and then the iOS system can start scanning and accessing the modified password. WIFI hotspot.
  • the embodiment of the present invention is not limited to the iOS system. If the system requires the installation of the required file to connect to the WIFI, the embodiment of the present invention may also generate a file of the corresponding format according to the format required by the embodiment.
  • the modified hotspot information when detecting that the hotspot information is modified, the modified hotspot information is pushed to the target terminal device through the pre-established message channel or the wide area network, so that the target terminal automatically scans and accesses the WIFI in time after the WIFI hotspot is restarted.
  • Hotspots after the WIFI hotspot is restarted, the user needs to manually scan and manually enter the password to access the hotspot to reduce the user experience.
  • the target terminal device can be subjectively selected by the user to avoid users who are not in the user's choice and join the WIFI hotspot.
  • the user when the WIFI hotspot is restarted according to the modified information, the user does not need to disconnect the user to disconnect the network, thereby improving the user experience; for not allowing the application to operate the WIFI.
  • the terminal device generates a description file supported by the operating system of the terminal device to meet the diversified usage requirements of the user.
  • the embodiment of the present invention solves the problem that the device other than the local device must be manually manually after the SSID or password of the WIFI hotspot is modified. Scan and manually enter the password to access the hotspot .
  • the embodiment of the present invention further describes a first type of computer storage medium, wherein the first type of computer storage medium stores a computer program, and the computer program is used to execute the WIFI hotspot information pushing method described above in the embodiment of the present invention.
  • the embodiment of the present invention further describes a second type of computer storage medium.
  • the second type of computer storage medium stores a computer program for performing the WIFI hotspot information receiving method described above in the embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a WIFI hotspot information pushing apparatus according to an embodiment of the present invention.
  • the pushing device shown in Figure 7 includes:
  • the detecting and saving unit 11 is configured to: when detecting that the hotspot information of the WIFI hotspot of the first wireless local area network is modified, save the hotspot information of the modified first WIFI hotspot; optionally, detecting the hotspot information of the first WIFI hotspot is modified, including detecting The service set identifier SSID of the first WIFI hotspot and/or the password corresponding to the SSID of the first WIFI hotspot is modified.
  • the chain-building unit 12 is configured to establish a second SSID open hotspot (that is, a second WIFI hotspot), and connect the target terminal device to the second SSID open hotspot to establish a second WIFI channel;
  • the pushing unit 13 is configured to push the hotspot information of the modified first WIFI hotspot to the target terminal device via the second WIFI channel.
  • the detecting and holding unit 11 includes a detecting subunit and a saving subunit, and the detecting subunit is configured to detect a service set identifier SSID of the first WIFI hotspot and/or a password corresponding to the SSID of the first WIFI hotspot is
  • the save subunit is configured to save the hotspot information of the modified first WIFI hotspot.
  • the second SSID open hotspot does not set a password.
  • the link establishing unit 12 is further configured to: after detecting the request that the target terminal device accesses the second SSID open hotspot, determine whether to access the target terminal according to the preset terminal device list. device.
  • the request for accessing the second SSID open hotspot according to the terminal device to be accessed is obtained. Taking the unique identifier of the target terminal device; when the target terminal device unique identifier exists in the preset terminal device list, the target terminal device is accessed to the second SSID open hotspot.
  • the establishing unit 12 includes an obtaining subunit and an access subunit, where the obtaining subunit is configured to acquire the target terminal device according to the request that the target terminal device accesses the second SSID open hotspot And the accessing unit is configured to access the second SSID open hotspot when the unique identifier of the target terminal device exists in the preset terminal device list.
  • the pushing device further includes a releasing unit configured to release the resource of the second SSID open hotspot after the hotspot information of the modified first WIFI hotspot is pushed to the target terminal device.
  • a releasing unit configured to release the resource of the second SSID open hotspot after the hotspot information of the modified first WIFI hotspot is pushed to the target terminal device.
  • the pushing device further includes a pushing unit 13 configured to: when detecting that the first WIFI hotspot currently has a connected terminal device, use the first hot spot information of the modified first WIFI hotspot via the first WIFI The channel established by the hotspot is pushed to the connected terminal device.
  • a pushing unit 13 configured to: when detecting that the first WIFI hotspot currently has a connected terminal device, use the first hot spot information of the modified first WIFI hotspot via the first WIFI The channel established by the hotspot is pushed to the connected terminal device.
  • the pushing device may further include an adding unit, configured to add a unique identifier of the terminal device to the terminal device list when detecting that a terminal device is connected to the first WIFI hotspot.
  • an adding unit configured to add a unique identifier of the terminal device to the terminal device list when detecting that a terminal device is connected to the first WIFI hotspot.
  • the pushing unit 13 is further configured to: when detecting that the operating system of the target terminal device does not allow the application to operate the WIFI, the modified hotspot information is encapsulated into a preset description file supported by the operating system, and the description is The file is pushed to the terminal device.
  • the detection and storage unit 11, the chain-building unit 12 and the pushing unit 13 can all run on the WIFI hotspot information pushing device, and can be a central processing unit (CPU) or a microprocessor (MPU) located on the WIFI hotspot information pushing device. Or digital signal processor (DSP), or programmable gate array (FPGA) implementation.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA programmable gate array
  • FIG. 8 is a schematic structural diagram of a WIFI hotspot information receiving apparatus according to an embodiment of the present invention.
  • the receiving device shown in FIG. 8 includes:
  • the requesting unit 21 is configured to request to access the second WIFI hotspot after detecting the second WIFI hotspot;
  • the receiving unit 22 is configured to receive hotspot information of the first WIFI hotspot via a second WIFI channel established with the second WIFI hotspot;
  • the access unit 23 is configured to disconnect the second WIFI channel established with the second WIFI hotspot, and access the first WIFI hotspot according to the hotspot information of the first WIFI hotspot;
  • the first WIFI hotspot is provided with a password.
  • the receiving device further includes a determining unit configured to access the first WIFI hotspot and determine to access the second WIFI hotspot after determining that the access to the first WIFI hotspot fails.
  • the detection request unit 21, the receiving unit 22, and the access unit 23 can all run on the WIFI hotspot information receiving device, and can be a central processing unit (CPU) or a microprocessor (MPU) located on the WIFI hotspot information receiving device. Or digital signal processor (DSP), or programmable gate array (FPGA) implementation.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA programmable gate array
  • the modified hotspot information is pushed to the target terminal device through the pre-established message channel or the wide area network, so that the target terminal automatically scans and connects in time after the WIFI hotspot is restarted.
  • the user needs to manually scan and manually enter the password to access the hotspot to reduce the user experience.
  • the target terminal device can be subjectively selected by the user, so that users who are not in the range selected by the user can join the WIFI hotspot and waste traffic; and the present invention
  • the WIFI hotspot is restarted according to the modified information, the user is disconnected from the user without disconnecting the user, and the user experience is improved; and the terminal device that does not allow the application to operate the WIFI is generated.
  • the description file of the operating system supported by the terminal device meets the diversified usage requirements of the user.
  • the embodiment of the present invention solves the problem that the device other than the local device must manually scan and manually input the password after the SSID or password of the WIFI hotspot is modified. To access the hotspot issue.
  • the embodiment of the present invention pushes the modified hotspot information to the target terminal device through the pre-established message channel or the wide area network, so that the target terminal automatically scans and accesses the WIFI hotspot in time after the WIFI hotspot restarts, avoiding After the WIFI hotspot is restarted, the user needs to manually scan and manually enter the password to access the hotspot to reduce the user experience.
  • the target terminal device can be subjectively selected by the user to prevent users who are not in the range selected by the user from joining the WIFI hotspot and wasting traffic;
  • the WIFI hotspot when the WIFI hotspot is restarted according to the modified information, the user does not need to disconnect the user to disconnect the network, thereby improving the user experience; for the terminal device that does not allow the application to operate the WIFI, generate The description file of the operating system supported by the terminal device meets the diversified usage requirements of the user.
  • the embodiment of the present invention solves that after the SSID or password of the WIFI hotspot is modified, devices other than the local device must be manually scanned and manually input by the user. The password can be accessed to access the hotspot.

Abstract

本发明实施例提供了一种WIFI热点信息推送方法、接收方法、装置及存储介质,所述推送方法包括:检测到第一无线局域网WIFI热点的热点信息被修改时,保存修改后的第一WIFI热点的热点信息;建立第二WIFI热点,将待接入终端设备接入所述第二WIFI热点,建立第二WIFI通道;经由所述第二WIFI通道向所述待接入终端设备推送修改后的第一WIFI热点的热点信息。本发明实施例解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。

Description

WIFI热点信息推送方法、接收方法、装置及存储介质 技术领域
本发明涉及通信技术领域,特别涉及一种WIFI热点信息推送方法、接收方法、装置及存储介质。
背景技术
在移动互联网快速发展的情况下,人们越来越依赖于手机、平板电脑等移动设备访问互联网,对无线局域网(WIFI)热点的使用也越来越多。服务集标识(Service Set Identifier,SSID)作为局域网的名称,如果WIFI热点被其他人知晓SSID和密码后,可能会将SSID和密码不断传播给其他人,造成流量的快速消耗。这种情况下,用户可能需要修改WIFI热点的名称或者密码,以防止网络被盗用。
用户在修改WIFI热点的SSID和密码后,会导致与WIFI热点连接的设备全部断网WIFI连接,,会导致其他连接过此uFi热点的用户无法继续连接。
发明内容
本发明实施例提供了一种WIFI热点信息推送方法、接收方法、装置及存储介质,其目的是为了解决当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
一方面,本发明的实施例提供了一种WIFI热点信息推送方法,包括:
检测到第一无线局域网WIFI热点的热点信息被修改时,保存修改后的第一WIFI热点的热点信息;
建立第二WIFI热点,将待接入终端设备接入所述第二WIFI热点,建立第二WIFI通道;
经由所述第二WIFI通道向所述待接入终端设备推送修改后的第一WIFI热点的热点信息。
可选的,所述检测到第一WIFI热点的热点信息被修改包括:
检测到第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码被修改。
可选的,所述第二WIFI热点不设置密码。
可选的,所述将待接入终端设备接入所述第二WIFI热点,包括:检测到所述待接入终端设备接入所述第二WIFI热点的请求后,根据预设的终端设备列表,确定是否接入所述待接入终端设备。
可选的,所述根据预设的终端设备列表,确定是否接入所述待接入终端设备包括:
根据待接入终端设备接入所述第二WIFI热点的请求,获取待接入终端设备的唯一标识;
所述待接入终端设备的唯一标识存在于所述预设的终端设备列表中时,将所述待接入终端设备接入所述第二WIFI热点。
可选的,向所述待接入终端设备推送修改后的第一WIFI热点的热点信息之后,所述方法还包括:
释放所述第二WIFI热点的资源。
可选的,所述预设的终端设备列表包括:终端设备的唯一标识。
可选的,所述保存修改后的第一WIFI热点的热点信息之后,所述方法还包括:
当检测到所述第一WIFI热点当前连接有终端设备时,将所述修改后的第一WIFI热点的热点信息经由第一WIFI热点建立的通道推送给当前连接 有的终端设备。
可选的,所述方法还包括:
当检测到存在终端设备连接到所述第一WIFI热点时,将连接到所述第一WIFI热点的终端设备的唯一标识添加到预设的终端设备列表中。
可选的,所述向所述待接入终端设备推送修改后的第一WIFI热点的热点信息的步骤,包括:
当检测到所述待接入终端设备的操作系统不允许应用程序操作WIFI时,将所述修改后的第一WIFI热点的热点信息封装成预设的所述操作系统支持的描述文件,并将所述描述文件推送至所述终端设备。
第二方面,本发明实施例还公开了一种WIFI热点信息接收方法,包括:
检测到第二WIFI热点后,请求接入所述第二WIFI热点;
经由与所述第二WIFI热点建立的第二WIFI通道接收第一WIFI热点的热点信息;
断开与所述第二WIFI热点建立的第二WIFI通道,并根据所述第一WIFI热点的热点信息接入所述第一WIFI热点;
其中,所述第一WIFI热点设置有密码。
可选的,所述第一WIFI热点的热点信息包括:
第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码。
可选的,所述请求接入所述第二WIFI热点之前,所述方法还包括:
接入第一WIFI热点,且判定接入所述第一WIFI热点失败。
可选的,所述第二WIFI热点不设置密码。
第三方面,本发明实施例还公开了一种WIFI热点信息推送装置,所述推送装置包括:
检测保存单元,配置为检测到第一无线局域网WIFI热点的热点信息被 修改时,保存修改后的第一WIFI热点的热点信息;
建链单元,配置为建立第二WIFI热点,将待接入终端设备接入所述第二WIFI热点,建立第二WIFI通道;
推送单元,配置为经由所述第二WIFI通道向所述待接入终端设备推送修改后的第一WIFI热点的热点信息。
可选的,所述检测保存单元包括检测子单元和保存子单元,所述检测子单元,配置为检测到第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码被修改;对应地,所述保存子单元,配置为保存修改后的第一WIFI热点的热点信息。
可选的,所述第二WIFI热点不设置密码。
可选的,所述建链单元,还配置为检测到待接入终端设备接入所述第二WIFI热点的请求后,根据预设的终端设备列表,确定是否接入所述待接入终端设备。
可选的,所述建链单元包括获取子单元和接入子单元;所述获取子单元,配置为根据待接入终端设备接入所述第二WIFI热点的请求获取所述待接入终端设备的唯一标识;
接入子单元,配置为所述待接入终端设备的唯一标识存在于所述预设的终端设备列表中时,将所述待接入终端设备接入所述第二WIFI热点。
第四方面,本发明实施例还公开了.一种WIFI热点信息接收装置,所述接收装置包括:
请求单元,配置为检测到第二WIFI热点后,请求接入所述第二WIFI热点;
接收单元,配置为经由与所述第二WIFI热点建立的第二WIFI通道接收第一WIFI热点的热点信息;
接入单元,配置为断开与所述第二WIFI热点建立的第二WIFI通道, 并所述根据所述第一WIFI热点的热点信息接入所述第一WIFI热点;
其中,所述第一WIFI热点设置有密码。
可选的,所述装置还包括判断单元,配置为接入第一WIFI热点,且判定接入所述第一WIFI热点失败后,触发请求接入所述第二WIFI热点。
本发明实施例的上述方案至少包括以下有益效果:
本发明的上述实施例中,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明实施例解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
附图说明
图1是本发明一实施例提供的WIFI热点信息推送方法的基本步骤流程图;
图2是本发明一实施例提供的WIFI热点信息接收方法的基本步骤流程图;
图3是本发明一实施例提供的WIFI热点信息推送方法流程图;
图4是本发明实施例应用场景示意图;
图5是本发明一实施例的终端设备首次接入第一WIFI热点流程图;
图6表示本发明实施例修改WIFI热点SSID或密码后流程图;
图7表示本发明一实施例WIFI热点信息推送装置结构示意图;
图8表示本发明一实施例WIFI热点信息接收装置结构示意图。
具体实施方式
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
本发明实施例针对现有的问题,提供了一种WIFI热点信息推送方法及装置。
第一实施例
参见图1,本发明的一实施例提供了一种WIFI热点信息推送方法,包括:
步骤S11、检测到第一无线局域网WIFI热点的热点信息被修改时,保存修改后的第一WIFI热点的热点信息;
可选的,检测到第一WIFI热点的热点信息被修改包括:检测到第一WIFI热点的服务集标识SSID和/或与所述SSID相对应的密码被修改。SSID和密码仅仅是举的例子,并不排查其他热点信息。
步骤S12、建立第二WIFI热点,将待接入终端设备接入所述第二WIFI热点,建立第二WIFI通道;
可选的,所述第二WIFI热点不设置密码。
步骤S13、经由所述第二WIFI通道向所述待接入终端设备推送修改后的第一WIFI热点的热点信息。可选的,本发明的所有实施例中,WIFI热点信息推送方法还可以包括:释放第二WIFI热点的资源,比如释放占用的宽带资源和用户接入数资源。
第二实施例
参见图2,本发明的一实施例提供了一种WIFI热点信息接收方法,包 括:
步骤S21、检测到第二WIFI热点后,请求接入所述第二WIFI热点;
在实际应用中,所述第二WIFI热点可以具体为第二SSID开放热点。
步骤S22、经由与所述第二WIFI热点建立的第二WIFI通道接收第一WIFI热点的热点信息;
步骤S23、断开与所述第二WIFI热点建立的第二WIFI通道,并根据所述第一WIFI热点的热点信息接入所述第一WIFI热点;
可选的,第一WIFI热点包括服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码。SSID和密码仅仅是举的例子,并不排查其他热点信息。
可选的,所述第一WIFI热点设置有密码。
可选的,所述请求接入所述第二SSID开放热点(也即第二WIFI热点)之前,所述方法还包括:
接入第一WIFI热点,且判定接入所述第一WIFI热点失败。
可选的,所述第二WIFI热点不设置密码。
可选的,本发明实施例还可以包括,检测到待接入终端设备连接第一WIFI热点且输入密码错误或者密码输入错误超过预设次数时,尝试接入第二WIFI热点。
第三实施例
参见图3,本发明的第一实施例提供了一种WIFI热点信息推送方法,包括:
步骤301,当检测到第一WIFI热点的热点信息被修改时,检测接入到所述第一WIFI热点的终端设备,确定第一目标终端设备;
本实施例中,确定出的所述第一目标终端设备即为待接入终端设备。
在本发明的所有实施例中,可选的,只要所述第一WIFI热点的热点信 息被修改时,连接到所述第一WIFI热点的终端设备都是第一目标终端设备;
在本发明的所有实施例中,可选的,第一目标终端设备还可以做限定,需根据预设的WIFI热点的终端设备列表中选择,即第一WIFI热点的热点信息被修改时,连接到所述第一WIFI热点的终端设备,并且还存在与所述终端设备列表中的设备才确定为第一目标终端设备。
在本发明的所有实施例中,检测到无线局域网WIFI热点的热点信息被修改包括WIFI热点的服务集标识SSID和SSID相对应的密码至少一项被修改。
对于一个SSID,其修改包括名称和/或密码被修改;也就是说,当SSID和/或与该SSID相对应的密码被改变时,用户都需要重新扫描并输入密码。
当检测到WIFI热点的热点信息被修改时,获取预设的该WIFI热点的热点信息被修改时的终端设备列表,并确定需要推送修改后的信息的目标终端设备。
本发明所有实施例中,终端设备列表包括:接入WIFI热点的终端设备的唯一标识。
其中,唯一标识用来标识用户身份,对于android设备,唯一标识符可以是该设备的国际移动设备标识IMEI码;对于ios设备,唯一标识符可以是该设备的设备ID;终端名称可以是设备自带的名称信息,一般包括品牌和型号;IP地址是IP协议提供的一种统一的地址格式,它为互联网上的每一个网络和每一台主机分配一个逻辑地址,以此来屏蔽物理地址的差异。
步骤302,向所述第一目标终端设备推送修改后的第一WIFI热点的热点信息。
其中,当确定目标终端设备以后,根据预设的推送方式,向第一目标终端设备推送修改后的第一WIFI热点的热点信息,使目标终端设备将修改 后的第一WIFI热点的热点信息保存于本地并及时根据推送的热点信息入网。
步骤303,建立第二WIFI热点,将第一目标终端设备接入所述第二WIFI热点,建立第二WIFI通道;
第二WIFI热点为开放热点,可选的,所述第二WIFI热点不设置密码。
所述第二热点也可以有和终端设备约定好的密码,本发明实施例对此并不做限制。
可选的,将待接入终端设备(也即第一目标终端设备)接入所述第二WIFI热点,建立第二WIFI通道的步骤包括:
检测到待接入终端设备接入所述第二WIFI热点的请求后,根据预设的终端设备列表,确定是否接入所述待接入终端设备。
可选的,根据所述预设的终端设备列表,确定是否接入所述待接入终端设备包括:
根据待接入终端设备接入所述第二WIFI热点的请求,获取所述待接入终端设备的唯一标识;
所述待接入终端设备的唯一标识存在于所述预设的终端设备列表中时,将所述待接入终端设备接入所述第二WIFI热点。
本发明实施例中,第二WIFI热点仅仅向包含在终端设备列表中的终端设备推送第一WIFI热点的热点信息,保证安全性。
步骤304、经由所述第二WIFI通道向所述第一目标终端设备推送修改后的第一WIFI热点的热点信息。
可选地,步骤304之后,该方法还包括:
步骤305、释放第二WIFI热点的接入资源。
可选的,接入资源包括宽带资源和允许接入用户数。
可选地,步骤305或步骤304之后,该方法还包括:
根据修改后的热点信息,重新启动第一WIFI热点。
其中,当完成推送修改后的热点信息至第一目标终端设备后,根据修改后的热点信息,重启第一WIFI热点;修改后的热点信息将在第一WIFI热点重启后生效。
可选地,步骤301包括:
显示预设的WIFI热点的终端设备列表中的终端名称,并提示用户选择从终端名称中选择第一目标终端设备;
根据用户所选择的终端名称,确定为第一目标终端设备;
将用户未选择的终端名称加入禁止列表,并断开与户未选择的终端名称的连接。
其中,当检测到第一WIFI热点的热点信息被修改时,终端设备列表中的终端名称并提示用户选择第一目标终端设备,目的是为了根据用户主观选择,确定第一目标终端设备。比如当用户修改SSID和密码是为了避免有些终端设备接入时,通过本发明实施例实现向指定的终端设备推送新的SSID和密码,满足用户多元化的使用需求;且将用户没有选择的终端的名称加入禁止列表,并断开与禁止列表的终端设备的连接。
可选地,WIFI热点为单SSID热点,重启所述WIFI热点包括:
当检测到当前不存在与WIFI热点连接的目标终端设备或接收到重启指令时,根据修改后的热点信息,重新启动WIFI热点。
其中,当WIFI热点为单SSID热点时,为了避免热点重启使终端设备出现短暂的断网现象,需要当某一时刻WIFI热点不再有任何终端设备接入或者由接收到重启指令,比如用户手动重启时,使WIFI热点重新启动并将新的SSID名称或密码生效,提升用户的使用体验。
当检测到目标终端设备的操作系统不允许应用程序操作WIFI时,将修改后的热点信息封装成预设的操作系统支持的描述文件,将描述文件推送 至目标终端设备。
其中,由于有些操作系统不支持应用程序操作WIFI时,需要将修改后的热点信息封装成描述文件,发送至目标终端设备。
可选地,步骤301之前,该方法包括:
当检测到有终端设备连接到WIFI热点时,将终端设备的唯一标识添加到终端设备列表中。
本发明的上述实施例中,检测到热点信息被修改时,向终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明实施例解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
图4是本发明实施例应用场景示意图,如图4所示的应用尝尽,当第一WIFI热点的热点修改被修改后,如果有终端设备正在连接第一WIFI热点,则按照预设规则想连接的终端设备推送修改后的热点信息;通过新建的第二WIFI热点向未成功连接第一WIFI热点的终端设备推送第一WIFI热点的热点信息。因为第二WIFI热点是临时的开放热点,仅仅作为推送修改后的第一WIFI热点的热点信息。
参见图5,终端设备首次接入第一WIFI热点的处理流程。
步骤501,终端设备接入第一WIFI热点。
步骤502,第一WIFI热点判断该终端设备是否为首次接入。
判断方法为,若该终端设备的唯一标识不存在预设的终端设备列表中,则判断为首次接入,否则为非首次接入。
步骤503,若为首次接入,热点将该终端设备唯一标识符记录并保存于所述终端设备列表中;
该步骤中,还可以同时记录终端设备的IP地址,准备与其建立消息通道。
步骤504,根据终端设备的IP地址,与所述终端设备建立通道。每个接入终端设备都有其对应的通道。
参见图6,WIFI热点消息的推送流程。
步骤601,用户选择修改第一WIFI热点的SSID或者密码。
步骤602,将之前保存在热点中的终端设备列表推送给用户,以便用户选择将修改后的第一WIFI的SSID和密码推送给哪些终端设备。
步骤603,用户选择完要推送的终端设备列表后,热点根据选择的终端设备列表,查找其设备唯一标识符,准备逐一项各个终端设备推送第一WIFI热点的SSID和密码。
步骤604,由于某些之前接入的终端设备,在用户改密码时可能并未接入热点中,故热点需要判断要推送消息的终端设备是否存在连接在热点上。
步骤605,如果要推送的终端设备连接在热点上,则热点根据之前建立的消息通道,通过第一WIFI热点建立的通道直接向其推送新的SSID和密码。
步骤606,终端设备收到热点推送的消息后,解析SSID和密码,保存在本地,并开始扫描热点,扫描成功后,根据SSID和密码接入即可。
步骤607,如果要推送的终端设备此时并未连接在该热点,建立第二WIFI热点,
其中,所述第二WIFI热点为开放热点,如不设置密码,如约定好的SSID或密码。
该步骤还包括:接收到终端设备的接入请求后,该终端设备如果在所述终端设备列表中,将终端设备接入到第二WIFI热点;
步骤608,通过第二WIFI向终端设备推送第一WIFI热点的SSID和密码。
步骤609、终端设备接收到第一WIFI热点的密码后,断开第二WIFI热点的连接,通过该密码接入第一WIFI热点。
可选的,由于iOS系统对安全性要求严格,iOS用户无法通过WPS连接WIFI,也无法直接由应用程序操作WIFI模块进行连接,必须安装iOS规定的描述文件。
如果要推送的iOS终端设备连接在热点上,热点根据新的SSID和密码生成iOS规定的描述文件,通过之前建立的消息通道,通过WIFI直接向其推送生成的描述文件。
如果要推送的iOS终端设备此时并为连接在热点,则热点根据该终端设备唯一标识符,通过第二WIFI热点向终端设备推送新的SSID和密码。
iOS终端设备收到热点通过WIFI推送的描述文件后,将描述文件安装于iOS系统中,系统就会自动开始扫描并连接热点。
iOS终端设备收到第一WIFI热点或第二WIFI热点的SSID和密码后,iOS终端设备根据SSID和密码生成iOS规定的描述文件,将其安装在系统中,后续终端设备只要打开WIFI,系统就会自动开始扫描并连接热点。
作为第二示例,对于iOS用户,需要在生成一个iOS可以支持的描述文件,该描述文件包含热点SSID和密码等信息,iOS系统安装后即可根据描述文件的配置自动搜寻并连接热点。
iOS推送中生成的描述文件格式为一个iOS系统可以识别的XML文 件,该文件允许开发者发布配置信息。描述文件可以根据自身需求对WIFI等多项设置进行配置。参见图4,图4所示为配置WIFI信息的XML描述文件。
其中,iOS系统可以识别XML格式的描述文件,一般文件后缀命名为.mobileconfig。该XML文件包含WIFI信息的多个字段,这些字段中包含有WIFI的SSID和密码等信息,用户安装后即可连接到该WIFI,具体如下表所示:
表1:
Figure PCTCN2017073689-appb-000001
根据如上iOS系统要求,用户在修改完密码后,热点在收到修改指令并生效之前,先把新的SSID和密码根据iOS描述文件协议,生成对应的描述文件,通过WIFI推送给其他iOS接入终端设备。终端设备收到热点推送的描述文件后将其保存于本地并安装,随后iOS系统即可开始扫描和接入修改密码后的WIFI热点。
如果用户修改SSID和密码时,有某些之前连接到热点的iOS终端设备未接入热点,则热点在修改生效后,根据之前保存的该iOS终端设备设备唯一标识符,将新的SSID和密码通过广域网推送给未接入的终端设备,终端设备接收到之后将SSID和密码以描述文件规定的协议生成对应描述文件,保存于本地并安装,随后iOS系统即可开始扫描和接入修改密码后的WIFI热点。
本发明实施例不限于iOS系统,若其它系统也需要进行安装要求的文件后才能连接WIFI,本发明实施例也可根据其要求的格式,生成对应格式的文件。
本发明的上述实施例中,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明实施例解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
本发明实施例还记载了第一种计算机存储介质,所述第一种计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例以上所述的WIFI热点信息推送方法。
本发明实施例还记载了第二种计算机存储介质,所述第二种计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例以上所述的WIFI热点信息接收方法。
图7表示本发明一实施例WIFI热点信息推送装置结构示意图;
如图7所示的推送装置包括:
检测保存单元11,配置为检测到第一无线局域网WIFI热点的热点信息被修改时,保存修改后的第一WIFI热点的热点信息;可选的检测第一WIFI热点的热点信息被修改包括检测到第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码被修改。
建链单元12,配置为建立第二SSID开放热点(也即第二WIFI热点),将目标终端设备接入所述第二SSID开放热点,建立第二WIFI通道;
推送单元13,配置为经由所述第二WIFI通道向所述目标终端设备推送修改后的第一WIFI热点的热点信息。
所述检测保存单元11包括检测子单元和保存子单元,所述检测子单元配置为检测到第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码被修改,所述保存子单元配置为保存修改后的第一WIFI热点的热点信息。
这里,所述第二SSID开放热点不设置密码。
在一具体实施例中,建链单元12还配置为检测到目标终端设备接入所述第二SSID开放热点的请求后,根据所述预设的终端设备列表,确定是否接入所述目标终端设备。
可选的,根据待接入的终端设备接入所述第二SSID开放热点的请求获 取所述目标终端设备的唯一标识;所述目标终端设备唯一标识存在于所述预设的终端设备列表中时,将所述目标终端设备接入所述第二SSID开放热点。
可选的,建链单元12包括获取子单元和接入子单元,其中,所述获取子单元配置为根据目标终端设备接入所述第二SSID开放热点的请求,获取所述目标终端设备的唯一标识;接入子单元配置为所述目标终端设备的唯一标识存在于所述预设的终端设备列表中时,将所述目标终端设备接入所述第二SSID开放热点。
可选的,所述推送装置还包括释放单元,配置为向所述目标终端设备推送修改后的第一WIFI热点的热点信息之后,释放所述第二SSID开放热点的资源。
可选的,所述推送装置还包括推送单元13,配置为当检测到所述第一WIFI热点当前有连接的终端设备时,将所述修改后的第一WIFI热点的热点信息经由第一WIFI热点建立的通道推送给所述有连接的终端设备。
可选的,所述推送装置还可以包括添加单元,配置为当检测到有终端设备连接到所述第一WIFI热点时,将所述终端设备的唯一标识添加到所述终端设备列表中。
推送单元13具体还配置为当检测到目标终端设备的操作系统不允许应用程序操作WIFI时,将所述修改后的热点信息封装成预设的所述操作系统支持的描述文件,将所述描述文件推送至所述终端设备。
所述检测保存单元11、建链单元12以及推送单元13均可以运行于WIFI热点信息推送装置上,可由位于WIFI热点信息推送装置上的中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现。
这里需要指出的是:以上推送装置实施例的描述,与上述推送方法实 施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本发明装置实施例中未披露的技术细节,请参照本发明推送方法实施例的描述而理解,为节约篇幅,因此不再赘述。
图8表示本发明一实施例WIFI热点信息接收装置结构示意图。
如图8所示的接收装置包括:
请求单元21,配置为检测到第二WIFI热点后,请求接入所述第二WIFI热点;
接收单元22,配置为经由与所述第二WIFI热点建立的第二WIFI通道接收第一WIFI热点的热点信息;
接入单元23,配置为断开与所述第二WIFI热点建立的第二WIFI通道,并所述根据所述第一WIFI热点的热点信息接入所述第一WIFI热点;
其中,所述第一WIFI热点设置有密码。
该接收装置还包括判断单元,配置为接入第一WIFI热点,且判定接入所述第一WIFI热点失败后,触发请求接入所述第二WIFI热点。
所述检测请求单元21、接收单元22以及接入单元23均可以运行于WIFI热点信息接收装置上,可由位于WIFI热点信息接收装置上的中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现。
这里需要指出的是:以上接收装置实施例的描述,与上述接收方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本发明装置实施例中未披露的技术细节,请参照本发明接收方法实施例的描述而理解,为节约篇幅,因此不再赘述。
这样,本发明的上述实施例中,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI 热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明实施例解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
工业实用性
本发明实施例检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明实施例解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。

Claims (23)

  1. 一种WIFI热点信息推送方法,包括:
    检测到第一无线局域网WIFI热点的热点信息被修改时,保存修改后的第一WIFI热点的热点信息;
    建立第二WIFI热点,将待接入终端设备接入所述第二WIFI热点,建立第二WIFI通道;
    经由所述第二WIFI通道向所述待接入终端设备推送修改后的第一WIFI热点的热点信息。
  2. 根据权利要求1所述的方法,其中,所述检测到第一WIFI热点的热点信息被修改包括:
    检测到第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码被修改。
  3. 根据权利要求1所述的方法,其中,所述第二WIFI热点不设置密码。
  4. 根据权利要求1所述的方法,其中,所述将待接入终端设备接入所述第二WIFI热点,包括:检测到所述待接入终端设备接入所述第二WIFI热点的请求后,根据预设的终端设备列表,确定是否接入所述待接入终端设备。
  5. 根据权利要求4所述的方法,其中,所述根据预设的终端设备列表,确定是否接入所述待接入终端设备,包括:
    根据待接入终端设备接入所述第二WIFI热点的请求,获取待接入终端设备的唯一标识;
    所述待接入终端设备的唯一标识存在于所述预设的终端设备列表中时,将所述待接入终端设备接入所述第二WIFI热点。
  6. 根据权利要求1所述的方法,其中,向所述待接入终端设备推送修改后的第一WIFI热点的热点信息之后,所述方法还包括:
    释放所述第二WIFI热点的资源。
  7. 根据权利要求4所述的方法,其中,所述预设的终端设备列表包括:终端设备的唯一标识。
  8. 根据权利要求4所述的方法,其中,所述保存修改后的第一WIFI热点的热点信息之后,所述方法还包括:
    当检测到所述第一WIFI热点当前连接有终端设备时,将所述修改后的第一WIFI热点的热点信息经由第一WIFI热点建立的通道推送给当前连接有的终端设备。
  9. 根据权利要求1或4或5或7或8所述的方法,其中,所述方法还包括:
    当检测到存在终端设备连接到所述第一WIFI热点时,将连接到所述第一WIFI热点的终端设备的唯一标识添加到预设的终端设备列表中。
  10. 根据权利要求9所述的方法,其中,所述向所述待接入终端设备推送修改后的第一WIFI热点的热点信息的步骤,包括:
    当检测到所述待接入终端设备的操作系统不允许应用程序操作WIFI时,将所述修改后的第一WIFI热点的热点信息封装成预设的所述操作系统支持的描述文件,并将所述描述文件推送至所述待接入终端设备。
  11. 一种WIFI热点信息接收方法,包括:
    检测到第二WIFI热点后,请求接入所述第二WIFI热点;
    经由与所述第二WIFI热点建立的第二WIFI通道接收第一WIFI热点的热点信息;
    断开与所述第二WIFI热点建立的第二WIFI通道,并根据所述第一WIFI热点的热点信息接入所述第一WIFI热点;
    其中,所述第一WIFI热点设置有密码。
  12. 根据权利要求11所述的接收方法,其中,所述第一WIFI热点的热点信息包括:
    第一WIFI热点的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码。
  13. 根据权利要求11所述的接收方法,其中,所述请求接入所述第二WIFI热点之前,所述方法还包括:
    接入第一WIFI热点,且判定接入所述第一WIFI热点失败。
  14. 根据权利要求11所述的接收方法,其中,所述第二WIFI热点不设置密码。
  15. 一种WIFI热点信息推送装置,其中,所述推送装置包括:
    检测保存单元,配置为检测到第一无线局域网WIFI热点的热点信息被修改时,保存修改后的第一WIFI热点的热点信息;
    建链单元,配置为建立第二WIFI热点,将待接入终端设备接入所述第二WIFI热点,建立第二WIFI通道;
    推送单元,配置为经由所述第二WIFI通道向所述待接入终端设备推送修改后的第一WIFI热点的热点信息。
  16. 根据权利要求15所述的推送装置,其中,所述检测保存单元包括检测子单元和保存子单元,所述检测子单元,配置为检测到第一WIFI热点 的服务集标识SSID和/或与所述第一WIFI热点的SSID相对应的密码被修改;对应地,所述保存子单元,配置为保存修改后的第一WIFI热点的热点信息。
  17. 根据权利要求15所述的推送装置,其中,所述第二WIFI热点不设置密码。
  18. 根据权利要求15所述的推送装置,其中,所述建链单元,还配置为检测到待接入终端设备接入所述第二WIFI热点的请求后,根据预设的终端设备列表,确定是否接入所述待接入终端设备。
  19. 根据权利要求15所述的推送装置,其中,所述建链单元包括获取子单元和接入子单元;所述获取子单元,配置为根据待接入终端设备接入所述第二WIFI热点的请求获取所述待接入终端设备的唯一标识;
    接入子单元,配置为所述待接入终端设备的唯一标识存在于所述预设的终端设备列表中时,将所述待接入终端设备接入所述第二WIFI热点。
  20. 一种WIFI热点信息接收装置,其中,所述接收装置包括:
    请求单元,配置为检测到第二WIFI热点后,请求接入所述第二WIFI热点;
    接收单元,配置为经由与所述第二WIFI热点建立的第二WIFI通道接收第一WIFI热点的热点信息;
    接入单元,配置为断开与所述第二WIFI热点建立的第二WIFI通道,并根据所述第一WIFI热点的热点信息接入所述第一WIFI热点;
    其中,所述第一WIFI热点设置有密码。
  21. 根据权利要求20所述的接收装置,其中,所述装置还包括判断单元;所述判断单元,配置为接入第一WIFI热点,且判定接入所述第一WIFI 热点失败后,触发请求接入所述第二WIFI热点。
  22. 第一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行前述权利要求1至10任一项所述的WIFI热点信息推送方法。
  23. 第二种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行前述权利要求11至14任一项所述的WIFI热点信息接收方法。
PCT/CN2017/073689 2016-07-12 2017-02-15 Wifi热点信息推送方法、接收方法、装置及存储介质 WO2018010425A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610546582.2A CN107613471A (zh) 2016-07-12 2016-07-12 一种wifi热点信息推送方法、接收方法及装置
CN201610546582.2 2016-07-12

Publications (1)

Publication Number Publication Date
WO2018010425A1 true WO2018010425A1 (zh) 2018-01-18

Family

ID=60952790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073689 WO2018010425A1 (zh) 2016-07-12 2017-02-15 Wifi热点信息推送方法、接收方法、装置及存储介质

Country Status (2)

Country Link
CN (1) CN107613471A (zh)
WO (1) WO2018010425A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188593A (zh) * 2020-09-30 2021-01-05 海尔优家智能科技(北京)有限公司 无线配置方法及装置、存储介质、电子装置
CN113170371A (zh) * 2019-11-27 2021-07-23 集黑科技(深圳)有限公司 通过智能设备的应用程序控制dsp设备的方法和系统
EP3748928A4 (en) * 2018-01-31 2022-01-19 Alibaba Group Holding Limited METHOD AND SYSTEM FOR DEVICES WAITING FOR NETWORK CONFIGURATION TO ACCESS HOT-SPOT NETWORK DEVICE

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491297B (zh) * 2019-01-25 2021-08-13 华为技术有限公司 一种控制智能家居设备连网的方法及设备
WO2021138896A1 (en) * 2020-01-10 2021-07-15 Arris Enterprises Llc System, method, and computer-readable recording medium of a mechanism for updating client device communication with electronic device within a network
CN111629421B (zh) * 2020-05-20 2022-06-07 上海连尚网络科技有限公司 一种用于管理无线接入点的方法与设备
CN112040484A (zh) * 2020-08-13 2020-12-04 海尔优家智能科技(北京)有限公司 密码更新方法及装置、存储介质、电子装置
CN116684942A (zh) * 2022-09-09 2023-09-01 荣耀终端有限公司 接入网络的方法、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015069552A1 (en) * 2013-11-05 2015-05-14 Microsoft Technology Licensing, Llc Community wi-fi network joined access point configuration
CN104902532A (zh) * 2014-03-06 2015-09-09 张永杰 一种自动接入无线局域网的方法和系统
CN105430714A (zh) * 2015-10-29 2016-03-23 中铁工程装备集团有限公司 一种终端和路由器密码修改同步方法
CN105657857A (zh) * 2014-11-12 2016-06-08 深圳市腾讯计算机系统有限公司 无线网络连接方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015069552A1 (en) * 2013-11-05 2015-05-14 Microsoft Technology Licensing, Llc Community wi-fi network joined access point configuration
CN104902532A (zh) * 2014-03-06 2015-09-09 张永杰 一种自动接入无线局域网的方法和系统
CN105657857A (zh) * 2014-11-12 2016-06-08 深圳市腾讯计算机系统有限公司 无线网络连接方法及装置
CN105430714A (zh) * 2015-10-29 2016-03-23 中铁工程装备集团有限公司 一种终端和路由器密码修改同步方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3748928A4 (en) * 2018-01-31 2022-01-19 Alibaba Group Holding Limited METHOD AND SYSTEM FOR DEVICES WAITING FOR NETWORK CONFIGURATION TO ACCESS HOT-SPOT NETWORK DEVICE
CN113170371A (zh) * 2019-11-27 2021-07-23 集黑科技(深圳)有限公司 通过智能设备的应用程序控制dsp设备的方法和系统
CN112188593A (zh) * 2020-09-30 2021-01-05 海尔优家智能科技(北京)有限公司 无线配置方法及装置、存储介质、电子装置
CN112188593B (zh) * 2020-09-30 2023-06-16 海尔优家智能科技(北京)有限公司 无线配置方法及装置、存储介质、电子装置

Also Published As

Publication number Publication date
CN107613471A (zh) 2018-01-19

Similar Documents

Publication Publication Date Title
WO2018010425A1 (zh) Wifi热点信息推送方法、接收方法、装置及存储介质
US11490323B2 (en) Method and device for accessing a network hotspot device by an unconfigured device
EP3557906B1 (en) Session establishing method and device
JP6161076B2 (ja) 無線ネットワーク接続のための拡張可能なフレームワーク
JP5247694B2 (ja) ワイヤレスネットワークアクセス監視のための方法および装置
US11864267B2 (en) Methods and apparatus for efficient transfer of multiple cellular service credentials
JP6386069B2 (ja) 接続管理方法、装置、電子設備、プログラム、及び記録媒体
WO2018000834A1 (zh) 一种wifi热点信息修改方法及装置
RU2645275C2 (ru) Система связи и способ связи, устройство связи и способ управления для них и носитель данных
KR101743195B1 (ko) 정보 제공방법, 장치, 프로그램 및 기록매체
WO2011150782A1 (zh) 一种配置wifi参数的方法、装置及系统
US9544762B2 (en) Method and system for configuring a device for use over a communication network
CN113825121B (zh) 延迟向订阅蜂窝无线服务的辅助移动无线设备传送eSIM
US10356707B2 (en) Wireless local area network connection method, mobile terminal, and storage medium
US11012852B2 (en) Cellular service account transfer error recovery mechanisms
WO2013083026A1 (zh) 无线局域网接入认证的方法及装置
WO2017088795A1 (zh) 一种控制智能电器的方法和装置
US20210127250A1 (en) Device for wireless communication with other devices
WO2017088294A1 (zh) 用于建立无线连接的方法与设备
WO2013178157A2 (zh) 私有云中设备间自动建立基于wifi局域网的方法及装置
WO2013167061A2 (zh) 应用更新方法、装置及系统、用户设备
US11689921B2 (en) Cellular service management for secondary mobile wireless devices
CN113079500B (zh) 一种终端激活方法、装置、存储介质及电子设备
US20240007847A1 (en) eSIM PROFILE MANAGEMENT FOR WIRELESS DEVICES
US20240007848A1 (en) eSIM PROFILE MANAGEMENT FOR WIRELESS DEVICES

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

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

Country of ref document: EP

Kind code of ref document: A1