WO2018000834A1 - 一种wifi热点信息修改方法及装置 - Google Patents

一种wifi热点信息修改方法及装置 Download PDF

Info

Publication number
WO2018000834A1
WO2018000834A1 PCT/CN2017/074145 CN2017074145W WO2018000834A1 WO 2018000834 A1 WO2018000834 A1 WO 2018000834A1 CN 2017074145 W CN2017074145 W CN 2017074145W WO 2018000834 A1 WO2018000834 A1 WO 2018000834A1
Authority
WO
WIPO (PCT)
Prior art keywords
ssid
terminal device
modified
hotspot
wifi hotspot
Prior art date
Application number
PCT/CN2017/074145
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 WO2018000834A1 publication Critical patent/WO2018000834A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • This paper deals with the technical field of WIFI hotspot information modification, and in particular relates to a WIFI hotspot information modification method and device.
  • WIFI hotspots wireless local area network
  • the service set identifier SSID
  • 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.
  • the user After modifying the SSID and password of the WIFI hotspot, the user will disconnect all WIFI hotspots from the WIFI hotspot. You must manually enter the WIFI hotspot by re-entering the password or using other methods.
  • the WIFI hotspot device can only ensure that the machine can automatically scan and connect the WIFI after the password is changed.
  • Other devices that access the WIFI hotspot must manually input the new SSID and password or pass the WIFI.
  • the protection setting (WPS) can be accessed.
  • WPS protection setting
  • the present invention provides a WIFI hotspot information modification method and device, so as to solve 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 hotspot.
  • a method for modifying WIFI hotspot information includes:
  • the target terminal device Determining, according to the preset terminal device list of the WIFI hotspot, the target terminal device, where the hotspot information includes the service set identifier SSID of the WIFI hotspot and a password corresponding to the SSID;
  • the step of detecting that hotspot information of the wireless local area network WIFI hotspot is modified includes:
  • the service set identifier SSID of the wireless local area network WIFI hotspot and/or the password corresponding to the SSID are modified.
  • the method further includes:
  • the terminal device list includes: a unique identifier of the terminal device having a connection relationship with the WIFI hotspot, a terminal name, and an internet protocol IP address.
  • the step of determining the target terminal device according to the preset terminal device list of the WIFI hotspot includes:
  • the unselected terminal name is added to the forbidden list, and the connection of the terminal corresponding to the unselected terminal name is disconnected.
  • the method further includes:
  • the WIFI hotspot is a single SSID hotspot
  • the step of restarting the WIFI hotspot according to the modified hotspot information includes:
  • the WIFI hotspot is restarted according to the modified hotspot information.
  • the WIFI hotspot is a multiple SSID hotspot
  • the step of restarting the WIFI hotspot according to the modified hotspot information includes:
  • the primary SSID of the WIFI hotspot When the primary SSID of the WIFI hotspot is to be modified to the target SSID, modify the secondary SSID of the WIFI hotspot to the first target SSID according to the target SSID, and connect the terminal device connected to the primary SSID to the a first target SSID; when the primary SSID is successfully modified to the target SSID according to the target SSID, according to the unique identifier of the terminal device connected to the primary SSID, the primary SSID Connecting the terminal device to the target SSID and restoring the first target SSID to the secondary SSID; or
  • the terminal device connected to the first SSID to the second SSID of the WIFI hotspot When the first SSID of the WIFI hotspot is to be modified to the target SSID, connect the terminal device connected to the first SSID to the second SSID of the WIFI hotspot; the first SSID is successfully modified to the target SSID And connecting, according to the unique identifier of the terminal device connected to the first SSID, the terminal device connected to the first SSID to the target SSID.
  • the step of pushing the modified hotspot information to the target terminal device includes:
  • the modified hotspot information is pushed to the target terminal device via a pre-established message channel;
  • the modified hotspot information is pushed to the target terminal device through the wide area network according to the unique identifier of the terminal device.
  • the step of pushing the modified hotspot information to the target terminal device by using a wide identifier of the terminal device according to the unique identifier of the terminal device includes:
  • the modified SSID and the The password corresponding to the modified SSID is entered according to a preset encryption method. Line encryption, encapsulating the encrypted ciphertext into a new SSID, and pushing the new SSID to the target terminal device.
  • the method includes:
  • the step of pushing the modified hotspot information to the target terminal device includes:
  • the modified hotspot information is encapsulated into a preset description file supported by the operating system, and the description file is pushed to the Target terminal device.
  • a WIFI hotspot information modification device includes a determination module and a push module, wherein:
  • the determining module is configured to: when detecting that the hotspot information of the WIFI hotspot of the wireless local area network is modified, determine the target terminal device according to the preset terminal device list of the WIFI hotspot; wherein the hotspot information includes the WIFI hotspot Service set identifier SSID and a password corresponding to the SSID;
  • the pushing module is configured to: push the modified hotspot information to the target terminal device.
  • the device further includes a restart module, wherein
  • the restarting module is configured to: restart the WIFI hotspot according to the modified hotspot information.
  • the terminal device list includes: a unique identifier of the terminal device having a connection relationship with the WIFI hotspot, a terminal name, and an internet protocol IP address.
  • the determining module includes a display submodule, a determining submodule, and a prohibiting submodule, wherein
  • the display sub-module is configured to: display a terminal name in the terminal device list of the preset WIFI hotspot, and prompt to select a target terminal device from the terminal name;
  • the determining submodule is configured to: determine the terminal device corresponding to the selected terminal name as The target terminal device;
  • the prohibition sub-module is configured to: add the unselected terminal name to the forbidden list, and disconnect the terminal corresponding to the terminal name that is not selected by the user.
  • the WIFI hotspot is a single SSID hotspot
  • the restart module includes a first restart word module, wherein
  • the first restart word module is configured to restart the WIFI hotspot according to the modified hotspot information when detecting that the target terminal device connected to the WIFI hotspot does not currently exist or receiving a restart instruction. .
  • the WIFI hotspot is a multiple SSID hotspot
  • the restart module includes a second restart word module and a third restart word module, wherein
  • the second restart word module is configured to: when the primary SSID of the WIFI hotspot is to be modified to the target SSID, modify the secondary SSID of the WIFI hotspot to the first target SSID according to the target SSID, and the a terminal device connected to the primary SSID is connected to the first target SSID; when the primary SSID is successfully modified to the target SSID according to the target SSID, according to the unique identifier of the terminal device connected to the primary SSID And connecting the terminal device connected to the primary SSID to the target SSID, and restoring the first target SSID to the secondary SSID; or
  • the third restart word module is configured to: when the first SSID of the WIFI hotspot is to be modified to the target SSID, connect the terminal device connected to the first SSID to the second SSID of the WIFI hotspot; When the first SSID is successfully modified to the target SSID, the terminal device connected to the first SSID is connected to the target SSID according to the unique identifier of the terminal device connected to the first SSID. .
  • the push module includes a channel push submodule and a wide area network push submodule, wherein
  • the channel pushing sub-module is configured to: when the target terminal device and the WIFI hotspot are currently in a connected state, push the modified hotspot information to the target terminal device via a pre-established message channel;
  • the WAN push sub-module is configured to: when the target terminal device and the WIFI hotspot are not currently connected, send the modified hotspot information to the local area through the wide area network according to the unique identifier of the terminal device The target terminal device.
  • the WAN push submodule includes a first push unit and a second push unit, where in
  • the first pushing unit is configured to: when the sum of the modified SSID of the WIFI hotspot and the character length of the password corresponding to the modified SSID is greater than a maximum character length of the preset SSID, according to the a unique identifier of the terminal device, and the modified SSID and the password corresponding to the modified SSID are pushed to the target terminal device by using a wide area network;
  • the second pushing unit is configured to: when the sum of the modified SSID of the WIFI hotspot and the character length of the password corresponding to the modified SSID is less than or equal to the maximum character length of the preset SSID,
  • the modified SSID and the password corresponding to the modified SSID are encrypted according to a preset encryption manner, and the encrypted ciphertext is encapsulated into a new SSID, and the new SSID is pushed to the target. Terminal Equipment.
  • the WIFI hotspot information modification method and device provided by the technical solution of the present invention, when detecting that the hotspot information is modified, push 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 is restarted after the WIFI hotspot is restarted. Automatically scan and access the WIFI hotspot. 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 being out of the user's choice.
  • the traffic is wasted; 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 the user to cause the user to disconnect the network, thereby improving the user experience;
  • the application device is allowed to operate the terminal device of the WIFI, and the description file supported by the operating system of the terminal device is generated to meet the diversified usage requirements of the user.
  • the invention solves the problem that the device other than the device is used when the SSID or password of the WIFI hotspot is modified. Password must be manually scanned and manually entered by the user Problems can access the hotspot.
  • FIG. 1 is a flow chart showing the basic steps of a WIFI hotspot information modification method according to a first embodiment of the present invention
  • FIG. 2 is a block diagram showing a WIFI hotspot information modification apparatus according to a second embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing the connection between a WIFI hotspot and a terminal device according to a third embodiment of the present invention.
  • FIG. 4 is a flowchart showing a process for a terminal device to access a WIFI hotspot for the first time according to the third embodiment of the present invention
  • FIG. 5 is a flowchart showing a push process of a message after a user modifies a WIFI hotspot SSID or a password according to a third embodiment of the present invention
  • FIG. 6 is a flowchart showing a process of automatically accessing a terminal device after scanning a hotspot according to a third embodiment of the present invention.
  • FIG. 7 shows a flow of pushing a message to an iOS terminal device after the user modifies the WIFI hotspot SSID or password according to the third embodiment of the present invention.
  • the technical solution of the present invention provides a method and device for modifying WIFI hotspot information according to the related art.
  • a first embodiment of the present invention provides a method for modifying WIFI hotspot information, including:
  • Step 101 When detecting that the hotspot information of the wireless local area network WIFI hotspot is modified, determining the target terminal device according to the preset terminal device list of the WIFI hotspot; the hotspot information includes the service set identifier SSID of the WIFI hotspot and the password corresponding to the SSID. .
  • Each WIFI hotspot may include one or more SSIDs.
  • the SSID technology may divide a wireless local area network into several sub-networks that require different authentication. Each sub-network needs independent authentication, and only authenticated users. You can enter the corresponding subnet to prevent unauthorized users from entering the network.
  • step 101 includes:
  • the service set identifier SSID of the wireless local area network WIFI hotspot and/or the password corresponding to the SSID are 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 having a connection relationship with the WIFI hotspot, a terminal name, and an internet protocol IP address.
  • 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
  • the built-in name information generally includes the brand and model.
  • the IP address is a unified address format provided by the IP protocol. It assigns a logical address to each network and each host on the Internet to shield the physical address. The difference.
  • Step 102 Push the modified hotspot information to the target terminal device.
  • the modified hotspot information is pushed to the terminal device, so that the terminal device saves the modified hotspot information locally and starts scanning the hotspot according to the pushed hotspot information, and scans the modified SSID according to the modified SSID.
  • SSID and password access are examples of the modified hotspot information.
  • the method further includes:
  • the WIFI hotspot is restarted according to the modified hotspot information; the modified hotspot information will take effect after the WIFI hotspot is restarted.
  • step 101 includes:
  • the terminal name in the terminal device list that has been connected to the WIFI hotspot is displayed and the user is prompted to select the target terminal device, so as to determine the target terminal device according to the subjective selection of the user. For example, when the user changes the SSID and password is In order to avoid the access of some terminal devices, the present invention implements pushing a new SSID and password to a specified terminal device to meet the diversified usage requirements of the user; and adding the name of the terminal that the user has not selected to the forbidden list, and disconnecting The connection of the terminal devices of the list is prohibited.
  • the method includes:
  • the terminal device in the forbidden list cannot be connected to the hotspot, so the forbidden list can be emptied.
  • the WIFI hotspot is a single SSID hotspot, and correspondingly, according to the modified hotspot information, the steps of restarting the WIFI hotspot include:
  • 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 step of restarting the WIFI hotspot includes:
  • the secondary SSID of the WIFI hotspot is modified to the first target SSID according to the target SSID, and the terminal device connected to the primary SSID is connected to the first target SSID;
  • the terminal device connected to the primary SSID is connected to the target SSID according to the unique identifier of the terminal device connected to the primary SSID, and the first target SSID is restored to the secondary SSID.
  • the secondary SSID of the WIFI hotspot is first modified to the first target SSID, and the terminal device connected with the primary SSID is connected to the first target SSID; when the primary SSID is modified Reconnecting the terminal device connected to the original primary SSID to the new primary SSID and restoring the first target SSID to the secondary SSID; since the WIFI hotspot needs to modify the SSID name and password for a certain period of time, the above method can allow the user to access the WIFI hotspot. Terminal insurance Hold the connection state without disconnecting.
  • the WIFI hotspot includes two hotspot names, the primary SSIDA and the secondary SSIDB.
  • the user modifies the name or password of the primary SSIDA, it is recorded as SSIDC; the secondary SSIDB is first modified to SSIDC by the hotspot, and all users on the primary SSIDA are connected to the secondary after successful.
  • SSIDB also modifies the primary SSIDA to SSIDC.
  • the secondary SSIB is restored to its original name and password. Since the terminal devices normally connected to the secondary SSID are all unimportant terminal devices, it is not necessary to consider whether the terminal devices connected to the secondary SSID are disconnected.
  • the step of restarting the WIFI hotspot includes:
  • the terminal device connected to the first SSID is connected to the target SSID according to the unique identifier of the terminal device connected to the first SSID.
  • the terminal device connected to the first SSID is directly connected to the second SSID of the WIFI hotspot, and after the modification of the first SSID is completed, the device connected to the original first SSID is connected back. .
  • hotspots that support multiple SSIDs
  • SSIDA primary SSID
  • SSIDB sub-SSID
  • the hotspot first changes SSIB to SSIDC. Disconnect all users on SSIDA and modify them to SSIDC. After successful, restore SSIDB to its original name and password.
  • the above method can allow the terminal that the user accesses the WiFi hotspot to remain connected without disconnecting.
  • step 102 includes:
  • the modified hotspot information is pushed to the target terminal device via a pre-established message channel.
  • the modified hotspot information is pushed to the target terminal device through a pre-established message channel.
  • the modified hotspot information is pushed to the target terminal device through the WAN according to the unique identifier of the terminal device.
  • the modified hotspot information needs to be pushed to the target terminal device through the WAN.
  • the second step above includes:
  • the modified SSID of the WIFI hotspot and the character length of the password corresponding to the modified SSID are greater than the maximum character length of the preset SSID
  • the modified SSID is modified by the WAN according to the unique identifier of the terminal device.
  • the password corresponding to the modified SSID is pushed to the target terminal device.
  • the WIFI hotspot is modified. After it takes effect, the new SSID and password are pushed to the non-accessed terminal through the WAN according to the previously stored unique identifier of the terminal device. After receiving the SSID and password, the terminal saves the SSID and password locally, and starts scanning and accessing the modified password. After the WIFI hotspot.
  • the second step above includes:
  • the modified SSID of the WIFI hotspot and the character length of the password corresponding to the modified SSID are less than or equal to the maximum character length of the preset SSID
  • the modified SSID and the modified SSID are corresponding to the modified SSID.
  • the password is encrypted according to a preset encryption method, and the encrypted ciphertext is encapsulated into a new SSID, and the new SSID is pushed to the target terminal device.
  • the preset is adopted.
  • the encryption method encapsulates the encrypted ciphertext into a new SSID and pushes the new SSID to the target terminal device, that is, the modified SSID name and password are encoded in a preset manner and hidden in the SSID name.
  • the operation of encoding the modified SSID name and password in a preset manner and hiding it in the SSID name mainly includes the following steps:
  • the modified SSID name and password may be encoded by using the character after the character instead of the character, SSID The name and password are separated by a colon.
  • the SSID name is Test
  • the password is 12345678
  • the encryption is: Test: 12345678
  • the colon can be represented by ASCII code 3A
  • the predetermined characters are shifted backward by one.
  • the code is Uftu3A23456789.
  • the present invention is not limited to encryption by character replacement, and other more complicated methods such as flipping characters, Base64 encryption, AES encryption, etc. may be employed.
  • the terminal device After scanning the WIFI hotspot, the terminal device decodes according to the preset encryption mode, and attempts to connect to the WIFI hotspot, and the WIFI hotspot determines whether the terminal device is in the user selection list; if it is, the access is allowed, otherwise the access is not allowed. . After the terminal device successfully accesses, the decoded ssid and password are saved locally.
  • the hotspot After the user equipment selected by the user successfully decodes and accesses the hotspot, the hotspot changes the SSID to plaintext, that is, Test. Since the previous access terminal devices decode and save the SSID name, the hotspot is modified into plaintext, and the user list is modified. The terminal device in the device can still be accessed normally.
  • step 102 includes:
  • 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.
  • 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 the iOS system can recognize, which allows developers to post configuration information.
  • the description file can be configured according to its own needs for multiple settings such as WIFI. See the table below.
  • the table below shows the 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 present invention is not limited to the iOS system. If other systems need to perform the installation required files before connecting to the WIFI, the present invention can also generate a file of the corresponding format according to the format required by the present invention.
  • the method includes:
  • the unique identifier of the new terminal device, the terminal name, and the Internet Protocol IP address are added to the terminal device list, and the new terminal device is established and new according to the IP address of the new terminal device.
  • the unique identifier of the new terminal device, the terminal name, and the Internet Protocol IP address are added to the terminal device list to complete the data. And establish a message channel with the new terminal device according to the IP address of the new terminal device, which is convenient for message push.
  • 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 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 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 invention solves the problem that when the SSID or the password of the WIFI hotspot is modified, the device other than the local device must manually scan and Enter the password manually to access the hotspot.
  • a second embodiment of the present invention provides a WIFI hotspot information modification apparatus, including:
  • the determining module 301 is configured to: when detecting that the hotspot information of the wireless local area network WIFI hotspot is modified, determine the target terminal device according to the preset terminal device list of the WIFI hotspot; the hotspot information includes the service set identifier SSID of the WIFI hotspot and the SSID Corresponding password.
  • the pushing module 302 is configured to: push the modified hotspot information to the target terminal device.
  • the determining module 301 is configured to:
  • the service set identifier SSID of the wireless local area network WIFI hotspot and/or the password corresponding to the SSID are modified.
  • the device further includes:
  • the terminal device list includes: a unique identifier of the terminal device having a connection relationship with the WIFI hotspot, a terminal name, and an internet protocol IP address.
  • the determining module 301 includes:
  • the display submodule is configured to: display a terminal name in the terminal device list of the preset WIFI hotspot, and prompt the user to select a target terminal device from the terminal name;
  • Determining a sub-module configured to: determine the target terminal device according to the terminal name selected by the user;
  • the sub-module is disabled, and is set to: add the terminal name that the user has not selected to the forbidden list, and disconnect the terminal name that is not selected by the user.
  • the device comprises:
  • the list clearing module is set to: after the restarting module restarts the WIFI hotspot according to the modified hotspot information,
  • the WIFI hotspot is a single SSID hotspot
  • the restarting module includes:
  • the first restart word module is configured to: when detecting that there is no target terminal device connected to the WIFI hotspot or receiving a restart instruction, restart the WIFI hotspot according to the modified hotspot information.
  • the restarting module includes:
  • the second restart word module is configured to: when the primary SSID of the WIFI hotspot is to be modified to the target SSID, modify the secondary SSID of the WIFI hotspot to the first target SSID according to the target SSID, and connect the terminal device connected to the primary SSID to the first a target SSID;
  • the terminal device connected to the primary SSID is connected to the target SSID according to the unique identifier of the terminal device connected to the primary SSID, and the first target SSID is restored to the secondary SSID.
  • the third restart word module is configured to: when the first SSID of the WIFI hotspot is to be modified to the target SSID, connect the terminal device connected to the first SSID to the second SSID of the WIFI hotspot;
  • the pushing module 302 includes:
  • the channel pushing sub-module is configured to: when the target terminal device and the WIFI hotspot are currently in a connected state, push the modified hotspot information to the target terminal device via a pre-established message channel;
  • the WAN push sub-module is configured to: when the target terminal device and the WIFI hotspot are not currently connected, the modified hotspot information is pushed to the target terminal device through the WAN according to the unique identifier of the terminal device.
  • the WAN push submodule includes:
  • the first pushing unit is configured to: when the modified SSID of the WIFI hotspot and the character length of the password corresponding to the modified SSID are greater than the maximum character length of the preset SSID, according to the unique identifier of the terminal device, Transmitting the modified SSID and the password corresponding to the modified SSID to the target terminal device through the WAN;
  • the second pushing unit is configured to: when the modified SSID of the WIFI hotspot and the character length of the password corresponding to the modified SSID are less than or equal to the maximum character length of the preset SSID, the modified SSID and The password corresponding to the modified SSID is encrypted according to a preset encryption method, and the encrypted ciphertext is encapsulated into a new SSID, and the new SSID is pushed to the target terminal device.
  • the device comprises:
  • the update module is configured to: when detecting that a new terminal device is connected to the WIFI hotspot, add the unique identifier of the new terminal device, the terminal name, and the Internet Protocol IP address to the terminal device list, and according to the new terminal device The IP address establishes a message channel with the new terminal device.
  • the pushing module 302 includes:
  • the package sub-module is 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 description file supported by the preset operating system, and the description file is pushed to the target terminal device. .
  • 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 is in the After the WIFI hotspot is restarted, it automatically scans and accesses the WIFI hotspot 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 to avoid being absent.
  • the traffic is wasted; and in the embodiment of the present invention, when the WIFI hotspot is restarted according to the modified information, the user is disconnected from the user without disconnecting the user, and the user is upgraded.
  • the use of the experience for the terminal device that does not allow the application to operate the WIFI, generates a description file supported by the operating system of the terminal device to meet the diversified use requirements of the user; the invention solves the problem that when the SSID or password of the WIFI hotspot is modified, Devices outside the machine must be manually scanned and manually entered to access the hotspot.
  • FIG. 3 is a schematic diagram of connection between a WIFI hotspot and a terminal device.
  • a WIFI hotspot can access multiple terminal devices P1, P2, P3, ... Pi.
  • the processing procedure for the terminal device to access the WIFI hotspot for the first time Referring to FIG. 4, the processing procedure for the terminal device to access the WIFI hotspot for the first time.
  • Step 501 A terminal device accesses a WIFI hotspot.
  • Step 502 Determine, by the hotspot, whether the terminal device is the first access.
  • the judging method is that if the unique identifier list of the accessed device has not included the unique identifier of the terminal device, the first access is determined, otherwise the non-first access is performed.
  • Step 503 If it is the first access, the hot spot records and stores the unique identifier of the terminal device in the list of unique identifiers of the accessed devices; and records its IP address, and prepares to establish a message channel with it.
  • Step 504 The hotspot establishes a message channel with the access terminal according to the IP address of the access terminal device. Each access terminal device has its corresponding message channel.
  • the push process of the message after the user modifies the WIFI hotspot SSID or password.
  • step 601 the user selects to modify the SSID or password of the WIFI hotspot.
  • Step 602 The hotspot pushes the list of access terminal device names previously saved in the hotspot to the user, so that the user selects which terminal devices to push the new SSID and password to.
  • Step 603 after the user selects the terminal device list to be pushed, the hot spot searches for the unique identifier of the device according to the selected terminal device list, and prepares to push the new SSID by each terminal device. And password.
  • 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 the new SSID and password to the 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, it is determined whether the modified SSID name and password of the hotspot are greater than the maximum length of the SSID name.
  • Step 608 If the modified SSID name and password of the hotspot are greater than the maximum length of the SSID name, the hotspot pushes a new SSID and password to the hotspot according to the unique identifier of the terminal device.
  • step 609 the SSID name and password modified by the hotspot are smaller than the maximum length of the SSID name, and the SSID and the password are encrypted according to a preset encoding manner, and the modified encrypted string is modified as a new SSID name.
  • Figure 6 shows the process of automatic access after the terminal device scans the hotspot.
  • step 701 the terminal device starts scanning the surrounding WIFI hotspot.
  • Step 702 The terminal device attempts to decode the swept SSID name according to a preset encoding manner.
  • Step 703 The terminal device determines whether the hotspot name is successfully decoded.
  • Step 704 after the decoding is successful, the terminal device connects the SSID according to the decoded password.
  • Step 705 The hotspot determines whether the terminal device to be accessed is in the user selection list.
  • Step 706 If the terminal device to be accessed is in the user selection list, the hotspot allows the terminal device to access, and the terminal device saves the decoded SSID and password.
  • Step 707 The terminal device to be accessed is not in the user selection list, and the hotspot denies the terminal device access.
  • Step 708 The hotspot determines whether all the terminal devices selected by the user access the hotspot.
  • Step 709 If all the terminal devices selected by the user are in the hot spot, the hotspot changes the SSID to the plaintext SSID, because the previously accessed terminal device has saved the plaintext. SSID, so the connected terminal devices can be accessed normally.
  • FIG. 7 is a flow chart of pushing a message to an iOS terminal device after the user modifies the WIFI hotspot SSID or password. Due to the strict security requirements of the iOS system, iOS users cannot connect to WIFI through WPS, and cannot directly connect the WIFI module by the application. The description file specified by iOS must be installed.
  • step 801 the user selects to modify the SSID or password of the WIFI hotspot.
  • the hotspot pushes the list of the accessed iOS terminal device names previously saved in the hotspot to the user, so that the user selects which iOS terminal devices to push the new SSID and password to.
  • Step 803 After the user selects the list of iOS terminal devices to be pushed, the hotspot searches for the device unique identifier according to the selected terminal device list, and prepares to push messages by each iOS terminal device.
  • Step 804 because some of the previously accessed iOS terminal devices may not be connected to the hotspot when the user changes the password, the hotspot needs to determine whether the iOS terminal device to push the message exists to be connected to the hotspot.
  • Step 805 If the iOS terminal device to be pushed is connected to the hotspot, the hotspot generates a description file of the iOS according to the new SSID and the password, and directly pushes the generated description file to the WIFI through the previously established message channel.
  • Step 806 If the iOS terminal device to be pushed is connected to the hotspot at this time, the hotspot pushes a new SSID and password to the hotspot according to the unique identifier of the terminal device.
  • Step 807 After receiving the description file that the hotspot pushes through the WIFI, the iOS terminal device installs the description file in the iOS system, and the system automatically starts scanning and connecting the hotspot.
  • Step 808 after the iOS terminal device receives the SSID and password pushed by the hotspot through the WAN, the iOS terminal device generates the iOS specified description file according to the new SSID and 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.
  • 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 range selected by the user.
  • the hotspot is a waste of traffic; and in the embodiment of the present invention, when the WIFI hotspot is restarted according to the modified information, the user is disconnected from the network without disconnecting the user, thereby improving the user experience;
  • the terminal device that operates the WIFI generates a description file supported by the operating system of the terminal device to meet the diversified usage requirements of the user.
  • the invention solves the problem that the device other than the local device must pass the user after the SSID or password of the WIFI hotspot is modified. Manual scanning and manual entry of a password are required to access the hotspot.
  • the WIFI hotspot information modification apparatus provided by the embodiment of the present invention is a device applying the foregoing method, that is, all the embodiments of the foregoing methods are applicable to the apparatus, and all of the same or similar beneficial effects can be achieved.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, which, when executed by the terminal, enable the terminal to perform any of the above WIFI hotspot information modification methods.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the WIFI hotspot information modification method and device provided by the technical solution of the present invention, when detecting that the hotspot information is modified, push 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 is restarted after the WIFI hotspot is restarted. Automatically scan and access the WIFI hotspot. 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 being out of the user's choice.
  • the WIFI hotspot When the user joins the WIFI hotspot, the traffic is wasted; 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 the user to cause the user to disconnect the network, thereby improving the user experience;
  • the application device is allowed to operate the terminal device of the WIFI, and the description file supported by the operating system of the terminal device is generated to meet the diversified usage requirements of the user.
  • the invention solves the problem that the device other than the device is used when the SSID or password of the WIFI hotspot is modified. Password must be manually scanned and manually entered by the user Problems can access the hotspot. Therefore, the present invention has strong industrial applicability.

Abstract

一种WIFI热点信息修改方法及装置,该方法包括:当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的WIFI热点的终端设备列表,确定目标终端设备;其中,所述热点信息包括WIFI热点的服务集标识SSID以及与SSID相对应的密码;向目标终端设备推送修改后的热点信息。本发明技术方案解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。

Description

一种WIFI热点信息修改方法及装置 技术领域
本文涉及WIFI热点信息修改技术领域,特别涉及一种WIFI热点信息修改方法及装置。
背景技术
在移动互联网快速发展的情况下,人们越来越依赖于手机、平板电脑等移动设备访问互联网,对无线局域网(WIFI)热点的使用也越来越多。服务集标识(SSID)作为局域网的名称,如果WIFI热点被其他人知晓SSID和密码后,可能会将SSID和密码不断传播给其他人,造成流量的快速消耗。这种情况下,用户可能需要修改WIFI热点的名称或者密码,以防止网络被盗用。
用户在修改WIFI热点的SSID和密码后,会导致与WIFI热点连接的设备全部断网WIFI连接,必须通过重新输入密码或者采用其他方式手动接入到WIFI热点。
目前一般WIFI热点设备在修改SSID和密码后,只能保证本机可以自动扫描和连接修改密码后的WIFI,其他之前接入该WIFI热点的的设备则必须手动输入新的SSID和密码或者通过WIFI保护设置(WPS)才能接入,这样导致的问题就是某一用户修改WIFI的SSID或密码后,其他用户必须手动扫描,手动输入密码或者通过WPS重新接入。然而,对于iOS用户来讲,iOS不支持WPS且不允许app操作WIFI,其他用户必须重新手动扫描和手动输入密码才能接入WIFI。
发明内容
本发明将提供一种WIFI热点信息修改方法及装置,以解决当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
为了达到上述目的,采用如下技术方案:
一种WIFI热点信息修改方法,包括:
当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的所述WIFI热点的终端设备列表,确定目标终端设备;其中,所述热点信息包括所述WIFI热点的服务集标识SSID以及与所述SSID相对应的密码;
向所述目标终端设备推送修改后的热点信息。
可选地,所述检测到无线局域网WIFI热点的热点信息被修改的步骤,包括:
检测到所述无线局域网WIFI热点的服务集标识SSID和/或与所述SSID相对应的密码被修改。
可选地,所述向所述目标终端设备推送修改后的热点信息的步骤之后,该方法还包括:
根据所述修改后的热点信息,重新启动所述WIFI热点。
可选地,所述终端设备列表包括:与所述WIFI热点具有连接关系的终端设备的唯一标识符、终端名称以及互联网协议IP地址。
可选地,所述根据预设的所述WIFI热点的终端设备列表,确定目标终端设备的步骤,包括:
显示所述预设的所述WIFI热点的终端设备列表中的终端名称,并提示从所述终端名称中选择目标终端设备;
将所选择的终端名称所对应的终端设备,确定所述目标终端设备;
将未选择的终端名称加入禁止列表,并断开与未选择的终端名称对应的终端的连接。
可选地,所述根据所述修改后的热点信息,重新启动所述WIFI热点的步骤之后,该方法还包括:
清空所述禁止列表。
可选地,所述WIFI热点为单SSID热点;
相应地,所述根据所述修改后的热点信息,重新启动所述WIFI热点的步骤,包括:
当检测到当前不存在与所述WIFI热点连接的所述目标终端设备或接收 到重启指令时,根据所述修改后的热点信息,重新启动所述WIFI热点。
可选地,所述WIFI热点为多SSID热点;
相应地,所述根据所述修改后的热点信息,重新启动所述WIFI热点的步骤,包括:
当所述WIFI热点的主SSID待修改为目标SSID时,根据所述目标SSID,将所述WIFI热点的副SSID修改成第一目标SSID,将与所述主SSID连接的终端设备连接至所述第一目标SSID;当根据所述目标SSID,所述主SSID成功修改为所述目标SSID时,根据所述与所述主SSID连接的终端设备的唯一标志符,将所述与所述主SSID连接的终端设备连接到所述目标SSID,并将所述第一目标SSID恢复为所述副SSID;或
当所述WIFI热点的第一SSID待修改为目标SSID时,将与所述第一SSID连接的终端设备连接至所述WIFI热点的第二SSID;所述第一SSID成功修改为所述目标SSID时,根据所述与所述第一SSID连接的终端设备的唯一标志符,将所述与所述第一SSID连接的终端设备连接到所述目标SSID。
可选地,所述向所述目标终端设备推送修改后的热点信息的步骤,包括:
当所述目标终端设备与所述WIFI热点当前处于连接状态时,将所述修改后的热点信息经由预先建立的消息通道,推送给所述目标终端设备;
当所述目标终端设备与所述WIFI热点当前未处于连接状态时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的热点信息推送给所述目标终端设备。
可选地,所述根据所述终端设备的唯一标识符,通过广域网将所述修改后的热点信息推送给所述目标终端设备的步骤,包括:
当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和大于预设的SSID的最大字符长度时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的SSID以及与所述修改后的SSID相对应的密码推送给所述目标终端设备;
当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和小于或等于预设的SSID的最大字符长度时,将所述修改后的SSID以及与所述修改后的SSID相对应的密码按照预设的加密方式进 行加密,将加密后的密文封装成新的SSID,将所述新的SSID推送给所述目标终端设备。
可选地,所述当检测到无线局域网WIFI热点的热点信息被修改之前,该方法包括:
当检测到有新的终端设备连接到所述WIFI热点时,将所述新的终端设备的唯一标识符、终端名称以及互联网协议IP地址添加到所述终端设备列表中,并根据新的终端设备的IP地址建立与所述新的终端设备之间的消息通道。
可选地,所述向所述目标终端设备推送修改后的热点信息的步骤,包括:
当检测到所述目标终端设备的操作系统不允许应用程序操作WIFI时,将所述修改后的热点信息封装成预设的所述操作系统支持的描述文件,将所述描述文件推送至所述目标终端设备。
一种WIFI热点信息修改装置,包括确定模块和推送模块,其中:
所述确定模块设置成:当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的所述WIFI热点的终端设备列表,确定目标终端设备;其中,所述热点信息包括所述WIFI热点的服务集标识SSID以及与所述SSID相对应的密码;
所述推送模块设置成:向所述目标终端设备推送修改后的热点信息。
可选地,该装置还包括重启模块,其中
所述重启模块设置成:根据所述修改后的热点信息,重新启动所述WIFI热点。
可选地,所述终端设备列表包括:与所述WIFI热点具有连接关系的终端设备的唯一标识符、终端名称以及互联网协议IP地址。
可选地,所述确定模块包括显示子模块、确定子模块和禁止子模块,其中
所述显示子模块设置成:显示所述预设的所述WIFI热点的终端设备列表中的终端名称,并提示从所述终端名称中选择目标终端设备;
所述确定子模块设置成:将所选择的终端名称对应的终端设备,确定为 所述目标终端设备;
所述禁止子模块设置成:将未选择的终端名称加入禁止列表,并断开与所述户未选择的终端名称对应的终端的连接。
可选地,所述WIFI热点为单SSID热点;
相应地,所述重启模块包括第一重启字模块,其中
所述第一重启字模块设置成:当检测到当前不存在与所述WIFI热点连接的所述目标终端设备或接收到重启指令时,根据所述修改后的热点信息,重新启动所述WIFI热点。
可选地,所述WIFI热点为多SSID热点时;
相应地,所述重启模块包括第二重启字模块和第三重启字模块,其中
所述第二重启字模块设置成:当所述WIFI热点的主SSID待修改为目标SSID时,根据所述目标SSID,将所述WIFI热点的副SSID修改成第一目标SSID,将与所述主SSID连接的终端设备连接至所述第一目标SSID;当根据所述目标SSID,所述主SSID成功修改为所述目标SSID时,根据所述与所述主SSID连接的终端设备的唯一标志符,将所述与所述主SSID连接的终端设备连接到所述目标SSID,并将所述第一目标SSID恢复为所述副SSID;或
所述第三重启字模块,设置成:当所述WIFI热点的第一SSID待修改为目标SSID时,将与所述第一SSID连接的终端设备连接至所述WIFI热点的第二SSID;所述第一SSID成功修改为所述目标SSID时,根据所述与所述第一SSID连接的终端设备的唯一标志符,将所述与所述第一SSID连接的终端设备连接到所述目标SSID。
可选地,所述推送模块包括通道推送子模块和广域网推送子模块,其中
所述通道推送子模块设置成:当所述目标终端设备与所述WIFI热点当前处于连接状态时,将所述修改后的热点信息经由预先建立的消息通道,推送给所述目标终端设备;
所述广域网推送子模块设置成:当所述目标终端设备与所述WIFI热点当前未处于连接状态时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的热点信息推送给所述目标终端设备。
可选地,所述广域网推送子模块包括第一推送单元和第二推送单元,其 中
所述第一推送单元设置成:当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和大于预设的SSID的最大字符长度时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的SSID以及与所述修改后的SSID相对应的密码推送给所述目标终端设备;
所述第二推送单元设置成:当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和小于或等于预设的SSID的最大字符长度时,将所述修改后的SSID以及与所述修改后的SSID相对应的密码按照预设的加密方式进行加密,将加密后的密文封装成新的SSID,将所述新的SSID推送给所述目标终端设备。
本发明的上述方案至少包括以下有益效果:
本发明技术方案提供的WIFI热点信息修改方法及装置,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
附图概述
图1表示本发明的第一实施例提供的WIFI热点信息修改方法的基本步骤流程图;
图2表示本发明的第二实施例提供的WIFI热点信息修改装置的框图;
图3表示本发明的第三实施例提供的WIFI热点与终端设备的连接示意图;
图4表示本发明的第三实施例的终端设备首次接入WIFI热点的处理流程;
图5表示本发明的第三实施例的用户修改WIFI热点SSID或密码后消息的推送流程;
图6表示本发明的第三实施例的终端设备扫描热点后自动接入的流程;
图7表示本发明的第三实施例的用户修改WIFI热点SSID或密码后向iOS终端设备推送消息的流程。
详述
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
本发明技术方案针对相关技术的问题,提供了一种WIFI热点信息修改方法及装置。
第一实施例
参见图1,本发明的第一实施例提供了一种WIFI热点信息修改方法,包括:
步骤101,当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的WIFI热点的终端设备列表,确定目标终端设备;热点信息包括WIFI热点的服务集标识SSID以及与SSID相对应的密码。
其中,每个WIFI热点可以包括一个或多个SSID,SSID技术可以将一个无线局域网分为几个需要不同身份验证的子网络,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络,防止未被授权的用户进入本网络。
具体地,步骤101包括:
检测到无线局域网WIFI热点的服务集标识SSID和/或与SSID相对应的密码被修改。
对于一个SSID,其修改包括名称和/或密码被修改;也就是说,当SSID和/或与该SSID相对应的密码被改变时,用户都需要重新扫描并输入密码。
当检测到WIFI热点的热点信息被修改时,获取预设的该WIFI热点的热点信息被修改时的终端设备列表,并确定需要推送修改后的信息的目标终端设备。
可选地,终端设备列表包括:与WIFI热点具有连接关系的终端设备的唯一标识符、终端名称以及互联网协议IP地址。
其中,唯一标识符用来标识用户身份,对于android设备,唯一标识符可以是该设备的国际移动设备标识IMEI码;对于ios设备,唯一标识符可以是该设备的设备ID;终端名称可以是设备自带的名称信息,一般包括品牌和型号;IP地址是IP协议提供的一种统一的地址格式,它为互联网上的每一个网络和每一台主机分配一个逻辑地址,以此来屏蔽物理地址的差异。
步骤102,向目标终端设备推送修改后的热点信息。
其中,当确定目标终端设备以后,向终端设备推送修改后的热点信息,使终端设备将修改后的热点信息保存于本地并及时根据推送的热点信息开始扫描热点,扫描到修改后的SSID,根据SSID和密码接入。
可选地,步骤102之后,该方法还包括:
根据修改后的热点信息,重新启动WIFI热点。
其中,当完成推送修改后的热点信息至目标终端设备后,根据修改后的热点信息,重启WIFI热点;修改后的热点信息将在WIFI热点重启后生效。
可选地,步骤101包括:
显示预设的WIFI热点的终端设备列表中的终端名称,并提示用户选择从终端名称中选择目标终端设备;
根据用户所选择的终端名称,确定为目标终端设备;
将用户未选择的终端名称加入禁止列表,并断开与用户未选择的终端名称对应的终端的连接。
其中,当检测到WIFI热点的热点信息被修改时,显示已连接过WIFI热点的终端设备列表中的终端名称并提示用户选择目标终端设备,目的是为了根据用户主观选择,确定目标终端设备。比如当用户修改SSID和密码是 为了避免有些终端设备接入时,通过本发明实现向指定的终端设备推送新的SSID和密码,满足用户多元化的使用需求;且将用户没有选择的终端的名称加入禁止列表,并断开与禁止列表的终端设备的连接。
可选地,根据修改后的热点信息,重新启动WIFI热点的步骤之后,该方法包括:
清空禁止列表。
其中,当WIFI热点完成重启之后,禁止列表中的终端设备便无法与该热点相连,因此可清空禁止列表。
可选地,WIFI热点为单SSID热点,相应地,根据修改后的热点信息,重新启动WIFI热点的步骤包括:
当检测到当前不存在与WIFI热点连接的目标终端设备或接收到重启指令时,根据修改后的热点信息,重新启动WIFI热点。
其中,当WIFI热点为单SSID热点时,为了避免热点重启使终端设备出现短暂的断网现象,需要当某一时刻WIFI热点不再有任何终端设备接入或者由接收到重启指令,比如用户手动重启时,使WIFI热点重新启动并将新的SSID名称或密码生效,提升用户的使用体验。
可选地,当WIFI热点为多SSID热点时,相应地,根据修改后的热点信息,重新启动WIFI热点的步骤包括:
当WIFI热点的主SSID待修改为目标SSID时,根据目标SSID,将WIFI热点的副SSID修改成第一目标SSID,将与主SSID连接的终端设备连接至第一目标SSID;
当根据目标SSID,主SSID成功修改为目标SSID时,根据与主SSID连接的终端设备的唯一标志符,将与主SSID连接的终端设备连接到目标SSID,并将第一目标SSID恢复为副SSID。
其中,当多SSID热点的主热点即将修改为目标SSID时,先将WIFI热点的副SSID修改成第一目标SSID,将与主SSID连接的终端设备连接至第一目标SSID;当主SSID完成修改后,将与原主SSID连接的终端设备再连接至新主SSID,并将第一目标SSID恢复为副SSID;由于WIFI热点修改SSID名称和密码需要一定时间,上述方法可以让用户接入到WIFI热点的终端保 持连接状态而不需要断开。
比如,WIFI热点包含主SSIDA和副SSIDB两个热点名称,用户修改主SSIDA的名称或密码后,记为SSIDC;由热点先将副SSIDB修改为SSIDC,成功后将主SSIDA上所有用户连接至副SSIDB并修改主SSIDA为SSIDC,成功后,再将副SSIB恢复为原有名称和密码。由于通常与副SSID相连的终端设备都是不重要的终端设备,因此,无需考虑与副SSID相连的终端设备是否断开连接。
可选地,当WIFI热点为多SSID热点时,相应地,根据修改后的热点信息,重新启动WIFI热点的步骤,包括:
当WIFI热点的第一SSID待修改为目标SSID时,将与第一SSID连接的终端设备连接至WIFI热点的第二SSID;
第一SSID成功修改为目标SSID时,根据与第一SSID连接的终端设备的唯一标志符,将与第一SSID连接的终端设备连接到目标SSID。
其中,当多SSID不分主副时,直接将与第一SSID连接的终端设备连接至WIFI热点的第二SSID,待第一SSID修改完成后,再将与原第一SSID连接的设备接回。
对于支持多SSID的热点,如热点包含SSIDA(主SSID)和SSIDB(副SSID)两个热点名称,用户修改SSIDA的名称或密码后,记为SSIDC,由热点先将SSIB修改为SSIDC,成功后将SSIDA上所有用户断开并修改为SSIDC,成功后,再将SSIDB恢复为原有名称和密码。
由于热点修改SSID名称和密码需要一定时间,如上方法可以让用户接入到WiFi热点的终端保持连接状态而不需要断开。
可选地,步骤102包括:
第一步,当目标终端设备与WIFI热点当前处于连接状态时,将修改后的热点信息经由预先建立的消息通道,推送给目标终端设备。
其中,当目标终端设备与WIFI热点当前处于连接状态时,通过预先建立的消息通道,将修改后的热点信息推送给目标终端设备即可。
第二步,当目标终端设备与WIFI热点当前未处于连接状态时,根据终端设备的唯一标识符,通过广域网将修改后的热点信息推送给目标终端设备。
其中,当目标终端设备与WIFI热点当前未处于连接状态时,则需要通过广域网将修改后的热点信息推送给目标终端设备。
可选地,上述第二步包括:
当WIFI热点的修改后的SSID以及与修改后的SSID相对应的密码的字符长度之和大于预设的SSID的最大字符长度时,根据终端设备的唯一标识符,通过广域网将修改后的SSID以及与修改后的SSID相对应的密码推送给目标终端设备。
其中,当有某些之前连接到WIFI热点的终端设备未接入热点,且修改后的热点SSID名称和密码较长,两者长度相加大于SSID名称能表示的最大长度,则WIFI热点在修改生效后,根据之前保存的该终端设备唯一标识符,将新的SSID和密码通过广域网推送给未接入的终端,终端接收到之后将SSID和密码保存于本地,并开始扫描和接入修改密码后的WIFI热点。
可选地,上述第二步包括:
当WIFI热点的修改后的SSID以及与修改后的SSID相对应的密码的字符长度之和小于或等于预设的SSID的最大字符长度时,将修改后的SSID以及与修改后的SSID相对应的密码按照预设的加密方式进行加密,将加密后的密文封装成新的SSID,将新的SSID推送给目标终端设备。
其中,当有某些之前连接到WIFI热点的终端设备未接入热点,且修改后的热点SSID名称和密码较短,两者长度相加小于SSID名称能表示的最大长度,则采用预先设定的加密方式,将加密后的密文封装成新的SSID,将新的SSID推送给目标终端设备,也就是说将修改后的SSID名称和密码以预置方式编码并隐藏于SSID名称中。
作为第一示例,将修改后的SSID名称和密码以预置方式编码并隐藏于SSID名称的操作过程,主要包括以下步骤:
1.预先设定一种加密方式以及数据格式,用于加密修改后的SSID名称和密码,比如可以采用使用字符后一字符来代替本字符的方法对修改后的SSID名称和密码进行编码,SSID名称和密码中间以冒号隔开。
例如,SSID名称为Test,密码为12345678,那么加密之前为:Test:12345678,冒号可以使用ASCII码3A表示,预定各个字符向后移位一 个,则编码后为Uftu3A23456789。本发明不限于采用字符替换的方式加密,也可采用其他更为复杂的方式,如翻转字符后移位,Base64加密,AES加密等。
2.将WIFI热点的SSID名称修改为编码后的字符串:Uftu3A23456789,密码采用修改后的密码:12345678。
3.终端设备在扫描WIFI热点后,根据预置加密方式进行解码,并尝试连接WIFI热点,WIFI热点判断该终端设备是否在用户选择列表中;如果在,则允许接入,否则不允许接入。终端设备在成功接入后,将解码后的ssid和密码保存于本地。
4.在用户选择的终端设备均成功解码并接入热点后,热点修改SSID为明文,即Test,由于之前的接入终端设备均以解码并保存有SSID名称,热点修改为明文后,用户列表中的终端设备仍可正常接入。
可选地,步骤102包括:
当检测到目标终端设备的操作系统不允许应用程序操作WIFI时,将修改后的热点信息封装成预设的操作系统支持的描述文件,将描述文件推送至目标终端设备。
其中,由于有些操作系统不支持应用程序操作WIFI时,需要将修改后的热点信息封装成描述文件,发送至目标终端设备。
作为第二示例,对于iOS用户,需要在生成一个iOS可以支持的描述文件,该描述文件包含热点SSID和密码等信息,iOS系统安装后即可根据描述文件的配置自动搜寻并连接热点。
iOS推送中生成的描述文件格式为一个iOS系统可以识别的XML文件,该文件允许开发者发布配置信息。描述文件可以根据自身需求对WIFI等多项设置进行配置。参见下表,下表所示为配置WIFI信息的XML描述文件。
Figure PCTCN2017074145-appb-000001
其中,iOS系统可以识别XML格式的描述文件,一般文件后缀命名为.mobileconfig。该XML文件包含WIFI信息的多个字段,这些字段中包含有WIFI的SSID和密码等信息,用户安装后即可连接到该WIFI,具体如下表所示:
表1:
Figure PCTCN2017074145-appb-000002
Figure PCTCN2017074145-appb-000003
根据如上iOS系统要求,用户在修改完密码后,热点在收到修改指令并生效之前,先把新的SSID和密码根据iOS描述文件协议,生成对应的描述文件,通过WIFI推送给其他iOS接入终端设备。终端设备收到热点推送的描述文件后将其保存于本地并安装,随后iOS系统即可开始扫描和接入修改密码后的WIFI热点。
如果用户修改SSID和密码时,有某些之前连接到热点的iOS终端设备未接入热点,则热点在修改生效后,根据之前保存的该iOS终端设备设备唯一标识符,将新的SSID和密码通过广域网推送给未接入的终端设备,终端设备接收到之后将SSID和密码以描述文件规定的协议生成对应描述文件,保存于本地并安装,随后iOS系统即可开始扫描和接入修改密码后的WIFI热点。
本发明不限于iOS系统,若其它系统也需要进行安装要求的文件后才能连接WIFI,本发明也可根据其要求的格式,生成对应格式的文件。
可选地,步骤101之前,该方法包括:
当检测到有新的终端设备连接到WIFI热点时,将新的终端设备的唯一标识符、终端名称以及互联网协议IP地址添加到终端设备列表中,并根据新的终端设备的IP地址建立与新的终端设备之间的消息通道。
其中,当在热点信息被修改之前,检测到有新的终端设备连接到WIFI热点时,获取新的终端设备的唯一标识符、终端名称以及互联网协议IP地址添加到终端设备列表中,以完善数据;并根据新的终端设备的IP地址建立与新的终端设备之间的消息通道,便于进行消息推送。
本发明的上述实施例中,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
第二实施例
参见图2,本发明的第二实施例提供了一种WIFI热点信息修改装置,包括:
确定模块301,设置成:当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的WIFI热点的终端设备列表,确定目标终端设备;热点信息包括WIFI热点的服务集标识SSID以及与SSID相对应的密码。
推送模块302,设置成:向目标终端设备推送修改后的热点信息。
可选地,确定模块301设置成:
检测到无线局域网WIFI热点的服务集标识SSID和/或与SSID相对应的密码被修改。
可选地,该装置还包括:
重启模块,设置成:根据修改后的热点信息,重新启动WIFI热点。
可选地,终端设备列表包括:与WIFI热点具有连接关系的终端设备的唯一标识符、终端名称以及互联网协议IP地址。
可选地,确定模块301包括:
显示子模块,设置成:显示预设的WIFI热点的终端设备列表中的终端名称,并提示用户选择从终端名称中选择目标终端设备;
确定子模块,设置成:根据用户所选择的终端名称,确定为目标终端设备;
禁止子模块,设置成:将用户未选择的终端名称加入禁止列表,并断开与户未选择的终端名称的连接。
可选地,该装置包括:
列表清空模块,设置成:在重启模块根据修改后的热点信息,重新启动WIFI热点之后,
清空禁止列表。
可选地,WIFI热点为单SSID热点,相应地,重启模块包括:
第一重启字模块,设置成:当检测到当前不存在与WIFI热点连接的目标终端设备或接收到重启指令时,根据修改后的热点信息,重新启动WIFI热点。
可选地,WIFI热点为多SSID热点时,相应地,重启模块包括:
第二重启字模块,设置成:当WIFI热点的主SSID待修改为目标SSID时,根据目标SSID,将WIFI热点的副SSID修改成第一目标SSID,将与主SSID连接的终端设备连接至第一目标SSID;
当根据目标SSID,主SSID成功修改为目标SSID时,根据与主SSID连接的终端设备的唯一标志符,将与主SSID连接的终端设备连接到目标SSID,并将第一目标SSID恢复为副SSID;或
第三重启字模块,设置成:当WIFI热点的第一SSID待修改为目标SSID时,将与第一SSID连接的终端设备连接至WIFI热点的第二SSID;
第一SSID成功修改为目标SSID时,根据与第一SSID连接的终端设备 的唯一标志符,将与第一SSID连接的终端设备连接到目标SSID。
可选地,推送模块302包括:
通道推送子模块,设置成:当目标终端设备与WIFI热点当前处于连接状态时,将修改后的热点信息经由预先建立的消息通道,推送给目标终端设备;
广域网推送子模块,设置成:当目标终端设备与WIFI热点当前未处于连接状态时,根据终端设备的唯一标识符,通过广域网将修改后的热点信息推送给目标终端设备。
可选地,广域网推送子模块包括:
第一推送单元,设置成:当WIFI热点的修改后的SSID以及与修改后的SSID相对应的密码的字符长度之和大于预设的SSID的最大字符长度时,根据终端设备的唯一标识符,通过广域网将修改后的SSID以及与修改后的SSID相对应的密码推送给目标终端设备;
第二推送单元,设置成:当WIFI热点的修改后的SSID以及与修改后的SSID相对应的密码的字符长度之和小于或等于预设的SSID的最大字符长度时,将修改后的SSID以及与修改后的SSID相对应的密码按照预设的加密方式进行加密,将加密后的密文封装成新的SSID,将新的SSID推送给目标终端设备。
可选地,该装置包括:
更新模块,设置成:当检测到有新的终端设备连接到WIFI热点时,将新的终端设备的唯一标识符、终端名称以及互联网协议IP地址添加到终端设备列表中,并根据新的终端设备的IP地址建立与新的终端设备之间的消息通道。
可选地,推送模块302包括:
封装子模块,设置成:当检测到目标终端设备的操作系统不允许应用程序操作WIFI时,将修改后的热点信息封装成预设的操作系统支持的描述文件,将描述文件推送至目标终端设备。
本发明的上述实施例中,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在 WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
第三实施例
第三实施例以一个具体实施例介绍本发明提供的WIFI热点信息修改方法。参见图3,图3所示的WIFI热点与终端设备的连接示意图。一个WIFI热点可以接入多个终端设备P1,P2,P3……Pi。
参见图4,终端设备首次接入WIFI热点的处理流程。
步骤501,某一终端设备接入WIFI热点。
步骤502,由热点判断该终端设备是否为首次接入。
判断方法为,若热点记录的已接入过的设备唯一标识符列表中不包含该终端设备的唯一标识符,则判断为首次接入,否则则为非首次接入。
步骤503,若为首次接入,热点将该终端设备唯一标识符记录并保存于已接入过的设备唯一标识符列表中;同时记录其IP地址,准备与其建立消息通道。
步骤504,热点根据接入终端设备的IP地址,与其建立消息通道。每个接入终端设备都有其对应的消息通道。
参见图5,用户修改WIFI热点SSID或密码后消息的推送流程。
步骤601,用户选择修改WIFI热点的SSID或者密码。
步骤602,热点将之前保存在热点中的接入终端设备名称列表推送给用户,以便用户选择将新的SSID和密码推送给哪些终端设备。
步骤603,用户选择完要推送的终端设备列表后,热点根据选择的终端设备列表,查找其设备唯一标识符,准备逐一项各个终端设备推送新的SSID 和密码。
步骤604,由于某些之前接入的终端设备,在用户改密码时可能并未接入热点中,故热点需要判断要推送消息的终端设备是否存在连接在热点上。
步骤605,如果要推送的终端设备连接在热点上,则热点根据之前建立的消息通道,通过WIFI直接向其推送新的SSID和密码。
步骤606,终端设备收到热点推送的消息后,解析SSID和密码,保存在本地,并开始扫描热点,扫描成功后,根据SSID和密码接入即可。
步骤607,如果要推送的终端设备此时并未连接在该热点,则判断热点修改后的SSID名称和密码是否大于SSID名称最大能表示的长度。
步骤608,如果热点修改后的SSID名称和密码大于SSID名称最大能表示的长度,则热点根据该终端设备唯一标识符,通过广域网向其推送新的SSID和密码。
步骤609,热点修改后的SSID名称和密码小于SSID名称最大能表示的长度,则根据预先设定的编码方式对SSID和密码进行加密并将修改后的加密字符串作为新的SSID名称修改生效。
图6为终端设备扫描热点后自动接入的流程。
步骤701,终端设备开始扫描周围WIFI热点。
步骤702,终端设备根据预置的编码方式,尝试对扫到的SSID名称进行解码。
步骤703,终端设备判断热点名称是否解码成功。
步骤704,解码成功后,终端设备根据解码的密码连接该SSID。
步骤705,热点判断要接入的终端设备是否在用户选择列表中。
步骤706,如果要接入的终端设备在用户选择列表中,则热点允许终端设备接入,并且终端设备保存解码后的SSID和密码。
步骤707,要接入的终端设备不在用户选择列表中,则热点拒绝终端设备接入。
步骤708,热点判断用户选择的所有终端设备是否均以接入过热点。
步骤709,如果用户选择的所有终端设备是否均以接入过热点,则热点将SSID修改为明文的SSID,由于之前接入的终端设备均已经保存过该明文 SSID,故已接入的终端设备均可正常接入。
参见图7,图7为用户修改WIFI热点SSID或密码后向iOS终端设备推送消息的流程。由于iOS系统对安全性要求严格,iOS用户无法通过WPS连接WIFI,也无法直接由应用程序操作WIFI模块进行连接,必须安装iOS规定的描述文件。
步骤801,用户选择修改WIFI热点的SSID或者密码。
步骤802,热点将之前保存在热点中的接入的iOS终端设备名称列表推送给用户,以便用户选择将新的SSID和密码推送给哪些iOS终端设备。
步骤803,用户选择完要推送的iOS终端设备列表后,热点根据选择的终端设备列表,查找其设备唯一标识符,准备逐一项各个iOS终端设备推送消息。
步骤804,由于某些之前接入的iOS终端设备,在用户改密码时可能并未接入热点中,故热点需要判断要推送消息的iOS终端设备是否存在连接在热点上。
步骤805,如果要推送的iOS终端设备连接在热点上,热点根据新的SSID和密码生成iOS规定的描述文件,通过之前建立的消息通道,通过WIFI直接向其推送生成的描述文件。
步骤806,如果要推送的iOS终端设备此时并为连接在热点,则热点根据该终端设备唯一标识符,通过广域网向其推送新的SSID和密码。
步骤807,iOS终端设备收到热点通过WIFI推送的描述文件后,将描述文件安装于iOS系统中,系统就会自动开始扫描并连接热点。
步骤808,iOS终端设备收到热点通过广域网推送的SSID和密码后,iOS终端设备根据新的SSID和密码生成iOS规定的描述文件,将其安装在系统中,后续终端设备只要打开WIFI,系统就会自动开始扫描并连接热点。
本发明的上述实施例中,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI 热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。
需要说明的是,本发明实施例提供的WIFI热点信息修改装置是应用上述方法的装置,即上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的WIFI热点信息修改方法。
本发明实施例还公开了一种载有所述的计算机程序的载体。
在阅读并理解了附图和详细描述后,可以明白其他方面。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。
工业实用性
本发明技术方案提供的WIFI热点信息修改方法及装置,检测到热点信息被修改时,通过预先建立的消息通道或者广域网向目标终端设备推送修改后的热点信息,使目标终端在WIFI热点重启后及时自动扫描并接入WIFI热点,避免在WIFI热点重启后,用户需要手动扫描和手动输入密码才能接入该热点,降低用户的使用体验;目标终端设备可由用户主观选择,避免不在用户选择范围内的用户加入WIFI热点,浪费流量;且本发明的实施例中,在WIFI热点根据修改后的信息重启时,无需断开与用户的连接使用户出现断网的情况,提升用户的使用体验;对于不允许应用程序操作WIFI的终端设备,生成该终端设备的操作系统支持的描述文件,满足用户多元化的使用需求;本发明解决了当WIFI热点的SSID或密码被修改后,除本机以外的设备必须通过用户手动扫描和手动输入密码才能接入该热点的问题。因此本发明具有很强的工业实用性。

Claims (20)

  1. 一种WIFI热点信息修改方法,包括:
    当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的所述WIFI热点的终端设备列表,确定目标终端设备;其中,所述热点信息包括所述WIFI热点的服务集标识SSID以及与所述SSID相对应的密码;
    向所述目标终端设备推送修改后的热点信息。
  2. 根据权利要求1所述的WIFI热点信息修改方法,其中,所述检测到无线局域网WIFI热点的热点信息被修改的步骤,包括:
    检测到所述无线局域网WIFI热点的服务集标识SSID和/或与所述SSID相对应的密码被修改。
  3. 根据权利要求1所述的WIFI热点信息修改方法,其中,所述向所述目标终端设备推送修改后的热点信息的步骤之后,该方法还包括:
    根据所述修改后的热点信息,重新启动所述WIFI热点。
  4. 根据权利要求3所述的WIFI热点信息修改方法,其中,所述终端设备列表包括:与所述WIFI热点具有连接关系的终端设备的唯一标识符、终端名称以及互联网协议IP地址。
  5. 根据权利要求4所述的WIFI热点信息修改方法,其中,所述根据预设的所述WIFI热点的终端设备列表,确定目标终端设备的步骤,包括:
    显示所述预设的所述WIFI热点的终端设备列表中的终端名称,并提示从所述终端名称中选择目标终端设备;
    将所选择的终端名称所对应的终端设备,确定所述目标终端设备;
    将未选择的终端名称加入禁止列表,并断开与未选择的终端名称对应的终端的连接。
  6. 根据权利要求5所述的WIFI热点信息修改方法,其中,所述根据所述修改后的热点信息,重新启动所述WIFI热点的步骤之后,该方法还包括:
    清空所述禁止列表。
  7. 根据权利要求4所述的WIFI热点信息修改方法,其中
    所述WIFI热点为单SSID热点;
    相应地,所述根据所述修改后的热点信息,重新启动所述WIFI热点的步骤,包括:
    当检测到当前不存在与所述WIFI热点连接的所述目标终端设备或接收到重启指令时,根据所述修改后的热点信息,重新启动所述WIFI热点。
  8. 根据权利要求4所述的WIFI热点信息修改方法,其中
    所述WIFI热点为多SSID热点;
    相应地,所述根据所述修改后的热点信息,重新启动所述WIFI热点的步骤,包括:
    当所述WIFI热点的主SSID待修改为目标SSID时,根据所述目标SSID,将所述WIFI热点的副SSID修改成第一目标SSID,将与所述主SSID连接的终端设备连接至所述第一目标SSID;当根据所述目标SSID,所述主SSID成功修改为所述目标SSID时,根据所述与所述主SSID连接的终端设备的唯一标志符,将所述与所述主SSID连接的终端设备连接到所述目标SSID,并将所述第一目标SSID恢复为所述副SSID;或
    当所述WIFI热点的第一SSID待修改为目标SSID时,将与所述第一SSID连接的终端设备连接至所述WIFI热点的第二SSID;所述第一SSID成功修改为所述目标SSID时,根据所述与所述第一SSID连接的终端设备的唯一标志符,将所述与所述第一SSID连接的终端设备连接到所述目标SSID。
  9. 根据权利要求4所述的WIFI热点信息修改方法,其中,所述向所述目标终端设备推送修改后的热点信息的步骤,包括:
    当所述目标终端设备与所述WIFI热点当前处于连接状态时,将所述修改后的热点信息经由预先建立的消息通道,推送给所述目标终端设备;
    当所述目标终端设备与所述WIFI热点当前未处于连接状态时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的热点信息推送给所述目标终端设备。
  10. 根据权利要求9所述的WIFI热点信息修改方法,其中,所述根据所述终端设备的唯一标识符,通过广域网将所述修改后的热点信息推送给所述目标终端设备的步骤,包括:
    当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的 密码的字符长度之和大于预设的SSID的最大字符长度时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的SSID以及与所述修改后的SSID相对应的密码推送给所述目标终端设备;
    当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和小于或等于预设的SSID的最大字符长度时,将所述修改后的SSID以及与所述修改后的SSID相对应的密码按照预设的加密方式进行加密,将加密后的密文封装成新的SSID,将所述新的SSID推送给所述目标终端设备。
  11. 根据权利要求9所述的WIFI热点信息修改方法,其中,所述当检测到无线局域网WIFI热点的热点信息被修改之前,该方法包括:
    当检测到有新的终端设备连接到所述WIFI热点时,将所述新的终端设备的唯一标识符、终端名称以及互联网协议IP地址添加到所述终端设备列表中,并根据新的终端设备的IP地址建立与所述新的终端设备之间的消息通道。
  12. 根据权利要求1所述的WIFI热点信息修改方法,其中,所述向所述目标终端设备推送修改后的热点信息的步骤,包括:
    当检测到所述目标终端设备的操作系统不允许应用程序操作WIFI时,将所述修改后的热点信息封装成预设的所述操作系统支持的描述文件,将所述描述文件推送至所述目标终端设备。
  13. 一种WIFI热点信息修改装置,包括确定模块和推送模块,其中:
    所述确定模块设置成:当检测到无线局域网WIFI热点的热点信息被修改时,根据预设的所述WIFI热点的终端设备列表,确定目标终端设备;其中,所述热点信息包括所述WIFI热点的服务集标识SSID以及与所述SSID相对应的密码;
    所述推送模块设置成:向所述目标终端设备推送修改后的热点信息。
  14. 根据权利要求13所述的装置,该装置还包括重启模块,其中
    所述重启模块设置成:根据所述修改后的热点信息,重新启动所述WIFI热点。
  15. 根据权利要求14所述的装置,其中,所述终端设备列表包括:与所 述WIFI热点具有连接关系的终端设备的唯一标识符、终端名称以及互联网协议IP地址。
  16. 根据权利要求15所述的装置,其中,所述确定模块包括显示子模块、确定子模块和禁止子模块,其中
    所述显示子模块设置成:显示所述预设的所述WIFI热点的终端设备列表中的终端名称,并提示从所述终端名称中选择目标终端设备;
    所述确定子模块设置成:将所选择的终端名称对应的终端设备,确定为所述目标终端设备;
    所述禁止子模块设置成:将未选择的终端名称加入禁止列表,并断开与所述户未选择的终端名称对应的终端的连接。
  17. 根据权利要求15所述的装置,其中
    所述WIFI热点为单SSID热点;
    相应地,所述重启模块包括第一重启字模块,其中
    所述第一重启字模块设置成:当检测到当前不存在与所述WIFI热点连接的所述目标终端设备或接收到重启指令时,根据所述修改后的热点信息,重新启动所述WIFI热点。
  18. 根据权利要求15所述的装置,其中,所述WIFI热点为多SSID热点时;
    相应地,所述重启模块包括第二重启字模块和第三重启字模块,其中
    所述第二重启字模块设置成:当所述WIFI热点的主SSID待修改为目标SSID时,根据所述目标SSID,将所述WIFI热点的副SSID修改成第一目标SSID,将与所述主SSID连接的终端设备连接至所述第一目标SSID;当根据所述目标SSID,所述主SSID成功修改为所述目标SSID时,根据所述与所述主SSID连接的终端设备的唯一标志符,将所述与所述主SSID连接的终端设备连接到所述目标SSID,并将所述第一目标SSID恢复为所述副SSID;或
    所述第三重启字模块,设置成:当所述WIFI热点的第一SSID待修改为目标SSID时,将与所述第一SSID连接的终端设备连接至所述WIFI热点的第二SSID;所述第一SSID成功修改为所述目标SSID时,根据所述与所述第一SSID连接的终端设备的唯一标志符,将所述与所述第一SSID连接的终 端设备连接到所述目标SSID。
  19. 根据权利要求15所述的装置,其中,所述推送模块包括通道推送子模块和广域网推送子模块,其中
    所述通道推送子模块设置成:当所述目标终端设备与所述WIFI热点当前处于连接状态时,将所述修改后的热点信息经由预先建立的消息通道,推送给所述目标终端设备;
    所述广域网推送子模块设置成:当所述目标终端设备与所述WIFI热点当前未处于连接状态时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的热点信息推送给所述目标终端设备。
  20. 根据权利要求19所述的装置,其中,所述广域网推送子模块包括第一推送单元和第二推送单元,其中
    所述第一推送单元设置成:当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和大于预设的SSID的最大字符长度时,根据所述终端设备的唯一标识符,通过广域网将所述修改后的SSID以及与所述修改后的SSID相对应的密码推送给所述目标终端设备;
    所述第二推送单元设置成:当所述WIFI热点的修改后的SSID以及与所述修改后的SSID相对应的密码的字符长度之和小于或等于预设的SSID的最大字符长度时,将所述修改后的SSID以及与所述修改后的SSID相对应的密码按照预设的加密方式进行加密,将加密后的密文封装成新的SSID,将所述新的SSID推送给所述目标终端设备。
PCT/CN2017/074145 2016-07-01 2017-02-20 一种wifi热点信息修改方法及装置 WO2018000834A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610511316.6A CN107567072A (zh) 2016-07-01 2016-07-01 一种wifi热点信息修改方法及装置
CN201610511316.6 2016-07-01

Publications (1)

Publication Number Publication Date
WO2018000834A1 true WO2018000834A1 (zh) 2018-01-04

Family

ID=60785737

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074145 WO2018000834A1 (zh) 2016-07-01 2017-02-20 一种wifi热点信息修改方法及装置

Country Status (2)

Country Link
CN (1) CN107567072A (zh)
WO (1) WO2018000834A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834197A (zh) * 2018-05-29 2018-11-16 四川斐讯全智信息技术有限公司 一种自动同步无线局域网名称和密码的系统及方法
CN111586891A (zh) * 2020-04-30 2020-08-25 上海连尚网络科技有限公司 网络连接的方法、装置、电子设备及介质
CN111770556A (zh) * 2020-06-24 2020-10-13 上海连尚网络科技有限公司 网络连接的方法、装置、电子设备及介质
CN113556797A (zh) * 2021-06-29 2021-10-26 深圳市闪联信息技术有限公司 一种移动设备与大屏设备快速建立连接的方法及系统
CN114727287A (zh) * 2022-03-17 2022-07-08 深圳市欧瑞博科技股份有限公司 一种无线网络的连接方法、控制中心及设备
WO2023105290A1 (en) 2021-12-10 2023-06-15 Insightec, Ltd. Short-pulse sonodynamic treatment apparatus

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587665B (zh) * 2018-11-20 2023-06-06 陕西师范大学 无SSID广播的WiFi组网方法和装置
CN110113753A (zh) * 2019-05-14 2019-08-09 苏州霞客说导览科技有限公司 一种beacon基站的防蹭用方法
CN111010455B (zh) * 2019-11-08 2022-06-10 维沃移动通信有限公司 热点名称的修改方法及电子设备
CN110830305B (zh) * 2019-11-14 2023-08-04 深圳绿米联创科技有限公司 无线设备接入wifi网络的方法、装置、电子设备及存储介质
CN111629421B (zh) * 2020-05-20 2022-06-07 上海连尚网络科技有限公司 一种用于管理无线接入点的方法与设备
CN112040484A (zh) * 2020-08-13 2020-12-04 海尔优家智能科技(北京)有限公司 密码更新方法及装置、存储介质、电子装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711110A (zh) * 2012-05-24 2012-10-03 中兴通讯股份有限公司 一种管理Wi-Fi网络的方法和无线路由器
US9119076B1 (en) * 2009-12-11 2015-08-25 Emc Corporation System and method for authentication using a mobile communication device
CN104994118A (zh) * 2015-08-11 2015-10-21 吴培希 一种基于动态密码的WiFi认证系统及方法
CN105630823A (zh) * 2014-11-04 2016-06-01 阿里巴巴集团控股有限公司 基于分布式系统的缓存数据的监控方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9119076B1 (en) * 2009-12-11 2015-08-25 Emc Corporation System and method for authentication using a mobile communication device
CN102711110A (zh) * 2012-05-24 2012-10-03 中兴通讯股份有限公司 一种管理Wi-Fi网络的方法和无线路由器
CN105630823A (zh) * 2014-11-04 2016-06-01 阿里巴巴集团控股有限公司 基于分布式系统的缓存数据的监控方法、装置和系统
CN104994118A (zh) * 2015-08-11 2015-10-21 吴培希 一种基于动态密码的WiFi认证系统及方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834197A (zh) * 2018-05-29 2018-11-16 四川斐讯全智信息技术有限公司 一种自动同步无线局域网名称和密码的系统及方法
CN111586891A (zh) * 2020-04-30 2020-08-25 上海连尚网络科技有限公司 网络连接的方法、装置、电子设备及介质
CN111770556A (zh) * 2020-06-24 2020-10-13 上海连尚网络科技有限公司 网络连接的方法、装置、电子设备及介质
CN113556797A (zh) * 2021-06-29 2021-10-26 深圳市闪联信息技术有限公司 一种移动设备与大屏设备快速建立连接的方法及系统
WO2023105290A1 (en) 2021-12-10 2023-06-15 Insightec, Ltd. Short-pulse sonodynamic treatment apparatus
CN114727287A (zh) * 2022-03-17 2022-07-08 深圳市欧瑞博科技股份有限公司 一种无线网络的连接方法、控制中心及设备

Also Published As

Publication number Publication date
CN107567072A (zh) 2018-01-09

Similar Documents

Publication Publication Date Title
WO2018000834A1 (zh) 一种wifi热点信息修改方法及装置
JP6668544B2 (ja) ポータル認証
JP6386069B2 (ja) 接続管理方法、装置、電子設備、プログラム、及び記録媒体
US20190268155A1 (en) Method for Ensuring Terminal Security and Device
US20170374551A1 (en) Method for connecting network access device to wireless network access point, network access device, and application server
US10349272B2 (en) Virtual SIM card cloud platform
KR101743195B1 (ko) 정보 제공방법, 장치, 프로그램 및 기록매체
WO2016078301A1 (zh) 无线网络接入方法及接入装置、客户端和存储介质
EP2741548A2 (en) Method for changing mno in embedded sim on basis of dynamic key generation and embedded sim and recording medium therefor
US20160119316A1 (en) Wireless network authentication method and wireless network authentication apparatus
CN113055867A (zh) 终端辅助配网的方法和装置、电子设备
CN112492580B (zh) 信息处理方法及装置、通信设备及存储介质
TWI455558B (zh) 通訊網路之認證
JP6401280B2 (ja) サービスにアクセスするための方法及び装置
WO2018010425A1 (zh) Wifi热点信息推送方法、接收方法、装置及存储介质
CN111132305B (zh) 5g用户终端接入5g网络的方法、用户终端设备及介质
US11832348B2 (en) Data downloading method, data management method, and terminal
CN111093196B (zh) 5g用户终端接入5g网络的方法、用户终端设备及介质
WO2017148337A1 (zh) 终端服务的提供、获取方法、装置及终端
CN113507708A (zh) 一种投屏方法以及投屏系统
CN113038464B (zh) 一种信息传输方法及设备
CN108769989B (zh) 一种无线网连接方法、无线接入装置和设备
WO2017210977A1 (zh) 一种管理终端接入Wi-Fi的方法及装置
WO2023130821A1 (zh) 一种网络接入方法及装置
US20220086635A1 (en) Protected pre-association station identification

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

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

Country of ref document: EP

Kind code of ref document: A1