CN116939660A - Remote WiFi network distribution method for cellular Internet of things equipment based on short message service - Google Patents

Remote WiFi network distribution method for cellular Internet of things equipment based on short message service Download PDF

Info

Publication number
CN116939660A
CN116939660A CN202310567501.7A CN202310567501A CN116939660A CN 116939660 A CN116939660 A CN 116939660A CN 202310567501 A CN202310567501 A CN 202310567501A CN 116939660 A CN116939660 A CN 116939660A
Authority
CN
China
Prior art keywords
short message
wifi
internet
things equipment
things
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310567501.7A
Other languages
Chinese (zh)
Inventor
陈梁
沈阳
蒋晓东
吴保雄
李红建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Xinwang Technology Co ltd
Original Assignee
Sichuan Changhong Xinwang Technology Co ltd
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 Sichuan Changhong Xinwang Technology Co ltd filed Critical Sichuan Changhong Xinwang Technology Co ltd
Priority to CN202310567501.7A priority Critical patent/CN116939660A/en
Publication of CN116939660A publication Critical patent/CN116939660A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Abstract

The invention relates to a device networking technology, and discloses a cellular internet of things device remote WiFi network distribution method based on a short message service, which can efficiently and rapidly realize remote WiFi network distribution of devices under the conditions of better universality and no generation of extra hardware cost. The invention discloses a WiFi distribution network for a cellular internet of things device supporting a short message service, which comprises the following steps: s1, after the Internet of things equipment is started, attempting to read WiFi configuration network information stored in FLASH, if the WiFi configuration network information is successfully read, entering a step S2, otherwise, entering a step S3; s2, the Internet of things equipment is connected with corresponding hotspots according to the read WiFi distribution network information; s3, the Internet of things equipment starts a short message analysis module to monitor whether a WiFi distribution network short message is received, and if so, the WiFi distribution network information is analyzed from the WiFi distribution network short message; and S4, connecting the Internet of things equipment with corresponding hot spots according to the WiFi distribution network information analyzed from the WiFi distribution network short message.

Description

Remote WiFi network distribution method for cellular Internet of things equipment based on short message service
Technical Field
The invention relates to a device networking technology, in particular to a cellular internet of things device remote WiFi network distribution method based on a short message service.
Background
For Wi-Fi equipment of the Internet of things, wi-Fi configuration is needed before networking, and the current mainstream Wi-Fi networking modes comprise the following modes:
(1) Quick connection mode distribution network:
the network distribution is carried out by using UDP broadcast air messages, and the disadvantage is that the network distribution depends on patents and schemes of chip manufacturers, the actual experience is not good, and the current use occasions are less and less.
(2) AP hot spot mode distribution network:
firstly, the equipment of the Internet of things enters an AP mode, a mobile terminal is added to an AP of the equipment to form a temporary local area network environment, and communication between the mobile terminal and the equipment is achieved. Then, the mobile terminal app sends the SSID and the password to the internet of things device, and the device switches to a Station mode to complete the distribution network.
The scheme has the defects that the equipment of the Internet of things is required to support an AP mode, and because the platforms of the mobile terminals have differences, the App cannot be guaranteed to have permission to automatically switch the AP hot spot, so that on the mobile terminals adopting certain platforms (such as an iOS operating system and a small part of android operating systems) with strict permission management, users are required to manually switch the AP hot spot, the operation is complicated, and the user experience is reduced.
(3) Bluetooth auxiliary distribution network:
the Bluetooth module of the equipment is used, the mobile terminal is connected with the Bluetooth of the equipment terminal, and the SSID and the password are sent to the equipment terminal.
In addition, the scheme also requires that the equipment and the mobile terminal are in a close-range environment, and a remote WiFi distribution network cannot be realized.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the remote WiFi network distribution method for the cellular Internet of things equipment based on the short message service is good in universality and capable of efficiently and quickly realizing the remote WiFi network distribution of the equipment under the condition that no extra hardware cost is generated.
The technical scheme adopted for solving the technical problems is as follows:
a remote WiFi network distribution method of a cellular Internet of things device based on a short message service is used for supporting the WiFi network distribution of the cellular Internet of things device of the short message service, and comprises the following steps:
s1, after the Internet of things equipment is started, attempting to read WiFi configuration network information stored in FLASH, if the WiFi configuration network information is successfully read, entering a step S2, otherwise, entering a step S3;
s2, the Internet of things equipment is connected with corresponding hotspots according to the read WiFi distribution network information;
s3, the Internet of things equipment starts a short message analysis module to monitor whether a WiFi distribution network short message is received, and if so, the WiFi distribution network information is analyzed from the WiFi distribution network short message;
and S4, connecting the Internet of things equipment with corresponding hot spots according to the WiFi distribution network information analyzed from the WiFi distribution network short message.
Further, the WiFi configuration network information includes an SSID and a password of a WiFi hotspot.
Further, step S2 further includes: if the connection of the corresponding hot spot is successful, the internet of things equipment normally operates, and if the connection is unsuccessful within a certain time or exceeds a certain number of times, the step S3 is entered.
Further, step S2 further includes: and if the Internet of things equipment receives the WiFi configuration network short message after the corresponding hot spot is successfully connected, the short message is ignored.
Further, step S3 further includes: and after analyzing the WiFi distribution network information, the Internet of things equipment closes the short message analysis module.
Further, step S4 further includes: if the connection of the Internet of things equipment is successful, the Internet of things equipment normally operates, and the analyzed WiFi configuration network information is stored in the FLASH.
Further, step S4 further includes: and if the Internet of things equipment is not successfully connected within a certain time or is not successfully connected for more than a certain number of times, returning to the step S3.
Further, the WiFi distribution network short message is edited by the user at the mobile terminal and is sent to the Internet of things equipment to be subjected to WiFi distribution network through the short message.
Further, in step S3, the internet of things device monitors all received short messages through the short message analysis module, and if the characteristics of the short messages conform to the characteristics of the WiFi distribution network short messages, determines that the WiFi distribution network short messages are received; the WiFi distribution network short message feature includes, but is not limited to, a specific prefix or suffix.
Further, the WiFi distribution network short message is encrypted before being sent, and in step S3, the internet of things device further decrypts the short message after receiving the encrypted WiFi distribution network short message.
The beneficial effects of the invention are as follows:
according to the method, the network distribution information is sent to the Internet of things equipment by means of the short message service, remote network distribution is realized, the type of a platform or a chip is not depended, a WiFi module is not required to support a quick connection or an AP mode, and the universality is good; in addition, other communication chips such as Bluetooth and the like are not required to be additionally added to the internet of things equipment, so that the hardware cost is saved.
Drawings
Fig. 1 is a flowchart of a method for remote WiFi distribution of a cellular internet of things device according to an embodiment of the present invention.
Detailed Description
The invention aims to provide a remote WiFi network configuration method for a cellular Internet of things device based on a short message service, which can efficiently and rapidly realize the remote WiFi network configuration of the device under the conditions of better universality and no generation of extra hardware cost. The method and the device are used for supporting the WiFi distribution network of the cellular Internet of things equipment with the short message service, when the equipment is started, whether WiFi distribution network information exists or not is detected, if so, wiFi hot spots are directly connected, and WiFi distribution network short messages are ignored. If the equipment does not store the WiFi distribution network information, after receiving the WiFi distribution network short message, analyzing the SSID and the password in the short message, completing the WiFi distribution network, and storing the WiFi distribution network information.
For a better understanding of the present invention, the technical terms that may be involved in the present invention are explained first below:
the internet of things (IoT) is an information carrier such as the internet and a traditional telecommunication network, so that all common objects capable of performing independent functions can realize interconnection and intercommunication.
WiFi, also known as "Mobile hotspot" in Chinese, is a brand authentication of Wi-Fi alliance manufacturers as a product, and is a wireless local area network technology created in the IEEE802.11 standard.
The short message service SMS (ShortMessagingService) is the earliest short message service, and is also the most popular short message service, through which mobile phones can send and receive short messages to and from each other, and the content is mainly text, digital or binary non-text data, and the length of the short message is limited to 140 bytes.
Examples:
as shown in fig. 1, the method for remote WiFi network configuration of a cellular internet of things device based on short message service in this embodiment includes the following implementation procedures:
s1, after the Internet of things equipment is started, attempting to read WiFi configuration network information stored in FLASH, if the WiFi configuration network information is successfully read, entering a step S2, otherwise, entering a step S3;
in this step, the WiFi configuration network information mainly includes SSID and password information for connecting to a specified hotspot, after the internet of things device is started, the information is first tried to be read from the FLASH, if the reading is successful, the specified hotspot can be directly connected according to the information, and if the reading is failed, the configuration network information in the configuration network short message needs to be obtained through monitoring the configuration network short message.
S2, the Internet of things equipment is connected with corresponding hotspots according to the read WiFi distribution network information;
in the step, if the equipment of the internet of things reads the WiFi configuration network information, the appointed hot spot can be directly connected according to the information, the equipment enters a normal running state after the connection is successful, and the equipment can communicate with the cloud end through WiFi later; if the connection to the designated hotspot still cannot be performed within a certain period of time (for example, 30 seconds) or a certain number of times (for example, 5 times), it is indicated that the read WiFi network information is invalid due to the fact that the internet of things device is currently moved out of the original designated hotspot range, or the original designated hotspot network device (router) is turned off or the SSID/password is modified, and then step S3 is needed to be performed to acquire new network information again.
S3, the Internet of things equipment starts a short message analysis module to monitor whether a WiFi distribution network short message is received, and if so, the WiFi distribution network information is analyzed from the WiFi distribution network short message;
in this step, the internet of things device starts a short message analysis module to monitor all the short messages, the user only needs to edit the telephone number (the telephone number corresponding to the SIM card inserted by the device supporting the short message service) of the internet of things device by using the mobile phone terminal to send the short message of the distribution network to the internet of things device, the short message analysis module of the internet of things device judges whether the short message is the short message of the distribution network by judging whether the monitored characteristics of the short message conform to the characteristics (such as a specific prefix or suffix) of the WiFi short message of the distribution network, and if the short message is the short message of the distribution network, the SSID and the password information in the short message are analyzed to be used as the current information of the distribution network. In addition, in order to improve the security of the distribution network information, the distribution network short message can be encrypted, so that the internet of things equipment needs to perform corresponding decryption and then analysis after receiving the distribution network short message. The encryption and decryption means can adopt common symmetric encryption and decryption, such as an AES algorithm and the like.
S4, the Internet of things equipment is connected with the corresponding hot spot according to the WiFi distribution network information analyzed from the WiFi distribution network short message;
in the step, after the WiFi distribution network information is analyzed from the WiFi distribution network short message, the Internet of things equipment can be connected with a designated hot spot according to the analyzed WiFi distribution network information, the equipment enters a normal operation state after being connected successfully, the equipment can communicate with a cloud end through WiFi later, the analyzed WiFi distribution network information is stored in a FLASH, and the information can be directly read from the FLASH after being started next time; if the connection is unsuccessful within a certain time or more than a certain number of times, returning to the step S3 again.
Finally, it should be noted that the above examples are only preferred embodiments and are not intended to limit the invention. It should be noted that modifications, equivalents, improvements and others may be made by those skilled in the art without departing from the spirit of the invention and the scope of the claims, and are intended to be included within the scope of the invention.

Claims (10)

1. A remote WiFi network distribution method of a cellular Internet of things device based on a short message service is used for supporting the WiFi network distribution of the cellular Internet of things device of the short message service, and is characterized by comprising the following steps:
s1, after the Internet of things equipment is started, attempting to read WiFi configuration network information stored in FLASH, if the WiFi configuration network information is successfully read, entering a step S2, otherwise, entering a step S3;
s2, the Internet of things equipment is connected with corresponding hotspots according to the read WiFi distribution network information;
s3, the Internet of things equipment starts a short message analysis module to monitor whether a WiFi distribution network short message is received, and if so, the WiFi distribution network information is analyzed from the WiFi distribution network short message;
and S4, connecting the Internet of things equipment with corresponding hot spots according to the WiFi distribution network information analyzed from the WiFi distribution network short message.
2. The method for remotely configuring a WiFi network for a cellular internet of things device based on a short message service according to claim 1, wherein the WiFi network information includes an SSID and a password of a WiFi hotspot.
3. The method for remote WiFi network configuration of a cellular internet of things device based on short message service according to claim 1, wherein step S2 further includes: if the connection of the corresponding hot spot is successful, the internet of things equipment normally operates, and if the connection is unsuccessful within a certain time or exceeds a certain number of times, the step S3 is entered.
4. The method for remote WiFi network configuration of a cellular internet of things device based on short message service according to claim 3, wherein step S2 further includes: and if the Internet of things equipment receives the WiFi configuration network short message after the corresponding hot spot is successfully connected, the short message is ignored.
5. The method for remote WiFi network configuration of a cellular internet of things device based on short message service according to claim 1, wherein step S3 further includes: and after analyzing the WiFi distribution network information, the Internet of things equipment closes the short message analysis module.
6. The method for remote WiFi network configuration of a cellular internet of things device based on short message service according to claim 1, wherein step S4 further includes: if the connection of the Internet of things equipment is successful, the Internet of things equipment normally operates, and the analyzed WiFi configuration network information is stored in the FLASH.
7. The method for remote WiFi network configuration of a cellular internet of things device based on short message service according to claim 1, wherein step S4 further includes: and if the Internet of things equipment is not successfully connected within a certain time or is not successfully connected for more than a certain number of times, returning to the step S3.
8. The method for remotely configuring a WiFi network by using a cellular internet of things device based on a short message service according to any one of claims 1 to 7, wherein the WiFi network short message is edited by a user at a mobile terminal and sent to the internet of things device to be configured with the WiFi network through the short message.
9. The method for remotely configuring the WiFi network of the cellular internet of things equipment based on the short message service as set forth in claim 8, wherein in the step S3, the internet of things equipment monitors all received short messages through a short message analysis module, and if the characteristics of the short messages conform to the characteristics of the WiFi network of the cellular internet of things equipment, the receiving of the WiFi network of the cellular internet of things equipment is judged.
10. The method for remotely configuring the WiFi network of the cellular internet of things device based on the short message service according to claim 8, wherein the WiFi network short message is encrypted before being sent, and in step S3, the internet of things device decrypts the short message after receiving the encrypted WiFi network short message.
CN202310567501.7A 2023-05-19 2023-05-19 Remote WiFi network distribution method for cellular Internet of things equipment based on short message service Pending CN116939660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310567501.7A CN116939660A (en) 2023-05-19 2023-05-19 Remote WiFi network distribution method for cellular Internet of things equipment based on short message service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310567501.7A CN116939660A (en) 2023-05-19 2023-05-19 Remote WiFi network distribution method for cellular Internet of things equipment based on short message service

Publications (1)

Publication Number Publication Date
CN116939660A true CN116939660A (en) 2023-10-24

Family

ID=88385293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310567501.7A Pending CN116939660A (en) 2023-05-19 2023-05-19 Remote WiFi network distribution method for cellular Internet of things equipment based on short message service

Country Status (1)

Country Link
CN (1) CN116939660A (en)

Similar Documents

Publication Publication Date Title
US9220083B2 (en) IP-based paging for DSDS
JP4944118B2 (en) System and method for distributing wireless network access parameters
US7610014B2 (en) System and method for selecting a cellular network on a wireless local area network
EP3061289B1 (en) Method of device-assisted enhanced sim replacement
US7043238B2 (en) CDMA terminal for providing roaming service to GSM service subscriber in CDMA service area
KR20190010882A (en) A method for handover between access points,
US20060098610A1 (en) Method for providing a mobile station with seamless coverage in a 2G/3G communication network and a WLAN
EP3468260B1 (en) Method and device for reducing power consumption of terminal, and smart card
CN111107597A (en) Reliable switching method and device for communication module network
CN107124744B (en) Network switching method and wireless access point
CN100555978C (en) Via GPRS and GSM connection management communication equipment
KR20040101497A (en) Disaster and emergency mode for mobile telephones
US20200359211A1 (en) Device-to-device subscriber identity module sharing method and associated apparatuses
CN116939660A (en) Remote WiFi network distribution method for cellular Internet of things equipment based on short message service
CN102695244A (en) Base station transceiver selection in intersystem 3G/2G handover by exclusion from candidate list
JP6445185B2 (en) Method and chip for detecting damage of at least one setting parameter
CN105848251B (en) Hotspot access method, device and terminal
EP2863669A1 (en) Method for authenticating a device to a short range radio-frequency communication network and corresponding device and server
CN101795452B (en) Method for authenticating client identification module card and terminal
KR102239919B1 (en) Apparatus and method for providing forced roaming service in wireless local area network
KR100823544B1 (en) Apparatus and method for matching protocol version in mobile communication system
KR101184722B1 (en) Terminal Connected to Access Point FMC Service is available
US20190223244A1 (en) Method for avoiding establishing an inefficient wireless connection and a communications apparatus utilizing the same
EP2747480A1 (en) Method for accessing a second data communication network and corresponding device and system
KR20060081244A (en) Data downloading service method and system in mobile telecommunication network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination