CN112822688B - Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal - Google Patents

Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal Download PDF

Info

Publication number
CN112822688B
CN112822688B CN202110063842.1A CN202110063842A CN112822688B CN 112822688 B CN112822688 B CN 112822688B CN 202110063842 A CN202110063842 A CN 202110063842A CN 112822688 B CN112822688 B CN 112822688B
Authority
CN
China
Prior art keywords
wifi network
wifi
sensor
terminal
information
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.)
Active
Application number
CN202110063842.1A
Other languages
Chinese (zh)
Other versions
CN112822688A (en
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.)
Shenzhen Jinghong Technology Co ltd
Original Assignee
Shenzhen Jinghong 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 Shenzhen Jinghong Technology Co ltd filed Critical Shenzhen Jinghong Technology Co ltd
Priority to CN202110063842.1A priority Critical patent/CN112822688B/en
Publication of CN112822688A publication Critical patent/CN112822688A/en
Application granted granted Critical
Publication of CN112822688B publication Critical patent/CN112822688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method, a system and an intelligent terminal for automatically connecting an Internet of things device sensor under WIFI (wireless fidelity). A plurality of terminal identification information and a plurality of WIFI networks in one-to-one correspondence with the terminal identification information are preset; naming each WIFI network according to a preset naming rule of the WIFI network and generating a WIFI network name; presetting a WIFI network initial password; presetting sensor identification information; the sensor is connected with a corresponding WIFI network according to the WIFI network name; and the sensor generates and feeds back external environment information according to the external environment. The invention has the effect of improving the use convenience.

Description

Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal
Technical Field
The invention relates to the technical field of Internet of things hardware, in particular to a method and a system for automatically connecting an Internet of things device sensor under WIFI, and an intelligent terminal.
Background
With the development of science and technology and social progress of China, china has entered a new information era, and the Internet of things is an important component of the information era. The internet of things can be generally explained as networking between things, the essence of the internet of things is still that communication is carried out through the internet, the internet of things converts communication between users into communication between things, and the use experience of the users can be greatly improved in life.
In the existing internet of things terminal, a sensor is the most common mode for acquiring external information, and different types of sensors can convert different types of external information into electric signals to complete information transmission. The existing connection mode between the sensor and the terminal generally includes directly placing in the main board of the terminal, connecting through USB, connecting through serial port, connecting through bluetooth or connecting through ethernet port.
The above prior art solutions have the following drawbacks: in the connection modes of the sensors listed above, each connection mode has different defects, and when the sensors and the terminals are required to be located at different positions during connection through the main board, the method cannot be used; when the connection is performed by using a USB, a serial port and an Ethernet mode, the sensor and the terminal need to be connected through wires, so that the convenience is poor; when the connection is performed in a bluetooth manner, the connection distance of the bluetooth itself is limited, which also affects the convenience of the connection between the sensor and the terminal.
Disclosure of Invention
The invention aims to provide a method for automatically connecting a sensor of an Internet of things device under WIFI, and the method has the characteristic of improving the connection convenience between the sensor and a terminal.
The above object of the present invention is achieved by the following technical solutions:
a method for automatically connecting Internet of things equipment sensors under WIFI comprises the following steps:
presetting a plurality of terminal identification information and a plurality of WIFI networks which are in one-to-one correspondence with the plurality of terminal identification information;
naming each WIFI network according to a preset naming rule of the WIFI network and generating a WIFI network name;
presetting a WIFI network initial password;
presetting sensor identification information;
the sensor is connected with a corresponding WIFI network according to the WIFI network name;
and the sensor generates and feeds back external environment information according to the external environment.
By adopting the technical scheme, a plurality of pieces of terminal identification information and a plurality of WIFI networks which correspond to the plurality of pieces of terminal identification information one by one are set, each WIFI network is named according to a preset WIFI network naming rule to form a plurality of WIFI network names, and an initial WIFI network password is set for the WIFI network; and then the sensor is connected with a corresponding WIFI network according to the set WIFI network name, so that the sensor is connected into a terminal matched with the sensor, the sensor detects the external environment in detail, generates corresponding external environment information according to the external environment condition, and transmits the external environment information to the terminal equipment connected with the sensor through the WIFI network.
The present invention in a preferred example may be further configured to: the method for generating the WIFI network name according to the naming rule of the WIFI network comprises the following steps:
the terminal identification information comprises a unique terminal name field and a unique terminal number field;
the WIFI network name comprises a terminal name field, a connector and a terminal number field.
By adopting the technical scheme, the WIFI network name comprises the terminal name field, the connector and the terminal number field, the WIFI network search rule matched with the naming rule of the WIFI network is preset in the sensor, the sensor can search the WIFI network in the range according to the WIFI network search rule, and the WIFI network search rule is connected according to the preset WIFI network naming rule and the WIFI network search rule.
The present invention in a preferred example may be further configured to: the method for setting the WIFI network initial password comprises the following steps:
adopting a high-strength WPA encryption mode, and setting all WIFI network initial passwords as uniform and fixed WIFI network initial passwords;
and storing the WIFI network initial password into the sensor identification information, and defining the WIFI network initial password as WIFI network password information.
By adopting the technical scheme, the initial password of the WIFI network is encrypted in a high-strength WPA encryption mode, so that the safety of the WIFI network formed by the terminal is improved, the initial password of the WIFI network is set to be the same and fixed initial password of the WIFI network, the initial password of the WIFI network is stored in the sensor identification information and is defined as the password information of the WIFI network, when the sensor finds the WIFI network matched with the WIFI network naming rule, the WIFI network can be directly connected with the WIFI network formed by the terminal through the initial password of the WIFI network, and the use convenience is improved.
The present invention in a preferred example may be further configured to: the method for connecting with the corresponding WIFI network according to the WIFI network name comprises the following steps:
presetting a WIFI searching rule matched with the WIFI network naming rule;
screening and matching the received WIFI network according to a WIFI searching rule;
when the number of the WIFI networks which accord with the WIFI searching rule is one, connecting the WIFI networks;
and when the number of the WIFI networks which accord with the WIFI searching rule is more than one, the WIFI networks are connected with the WIFI network with the highest signal intensity in the WIFI networks which accord with the WIFI searching rule and are stored.
By adopting the technical scheme, when the sensor searches the WIFI network in the area range and is connected with the corresponding WIFI network, if the number of the searched WIFI networks meeting the WIFI searching rule is one, the sensor is directly connected with the WIFI network through the WIFI network initial password; if the number of the WIFI networks which accord with the WIFI searching rule is larger than one, the sensors test and sort the signal intensity of the WIFI networks which can be searched and accord with the WIFI searching rule, and are connected with the WIFI network with the highest signal intensity, so that the sensors and the terminals are conveniently connected, and the use convenience is improved.
The invention in a preferred example may be further configured to: the method for connecting with the WIFI network with the highest signal strength in the WIFI networks according with the WIFI searching rule comprises the following steps:
arranging the WIFI networks which accord with the WIFI searching rule according to the strength of the signal strength in a descending order and generating a signal strength sequence;
matching the WIFI network initial password in the sensor identification information with the password of the first ranked WIFI network in the signal intensity sequence;
and if the matching is successful, connecting with the WIFI network ranked first in the signal intensity sequence.
By adopting the technical scheme, the WIFI networks which accord with the WIFI searching rule are sorted according to the strength of the signal strength and generate the signal strength sequence, then the initial passwords of the WIFI networks in the sensor identification information are matched with the passwords of the WIFI networks with the first ranking in the signal strength sequence, if the matching is successful, the initial passwords are connected with the WIFI networks and stored, if the matching is failed, the initial passwords are matched with the passwords of the WIFI networks with the second ranking in the signal strength sequence, and the like in sequence, so that the sensor can be connected to the terminal with the strongest signal strength, and the use convenience is improved.
The invention in a preferred example may be further configured to: the method for connecting with the corresponding WIFI network according to the WIFI network name further comprises the following steps:
after the WIFI network is connected, inputting a new WIFI network password by using an external input mode through a terminal and defining the password as the existing password information;
updating the WIFI network password information into the existing password information;
and updating the password of the WIFI network into the existing password information.
By adopting the technical scheme, after the sensor is connected with the WIFI network formed by the terminal, a user can input a new WIFI network password on the terminal in an external input mode, the later input WIFI network password is defined as the existing password information, after the new WIFI network password is input, the terminal transmits the existing password information to the sensor connected with the terminal through the WIFI network, the WIFI network password information of the sensor is updated to the existing password information, then the password of the WIFI network is updated to the existing password information, the passwords of the sensor and the WIFI network are both modified, only the sensor connected with the WIFI network in the prior art can communicate with the terminal, and the connection safety between the sensor and the terminal is improved.
The present invention in a preferred example may be further configured to: also includes;
sending trigger information;
the sensor receives the trigger information and initializes the WIFI network password information into a WIFI network initial password.
By adopting the technical scheme, when the data of the sensor needs to be reset, the trigger information is sent, the sensor receives the trigger information, and the WIFI network password information is initialized to be the WIFI network password after the sensor receives the trigger information, so that the sensor can search and connect the WIFI network again, and the use convenience is improved.
The present invention in a preferred example may be further configured to: the method for connecting with the corresponding WIFI network according to the WIFI network name further comprises the following steps;
the sensor identification information further includes sensor device information;
the terminal identification information also comprises terminal equipment information;
presetting a first corresponding relation of one-to-one correspondence of sensor equipment information and terminal equipment information;
the sensor is matched with the terminal equipment information according to the first corresponding relation;
and if the matching is unsuccessful, disconnecting the connection with the WIFI network, and reconnecting according to the WIFI network name.
By adopting the technical scheme, after the sensor is successfully connected with the WIFI network, the sensor matches the self sensor equipment information with the terminal equipment information according to the preset first corresponding relation, if the matching is successful, the sensor-connected WIFI network is a WIFI network formed by terminals matched with the sensor in model, if the matching is failed, the terminal connected with the sensor is not the terminal matched with the sensor, the sensor is required to be reconnected after being disconnected, and the fault tolerance rate of the sensor when being connected with the terminal is improved.
The invention also aims to provide a system for automatically connecting the Internet of things equipment sensor under WIFI, and the system has the characteristic of improving the use convenience.
The second aim of the invention is realized by the following technical scheme:
a system for automatically connecting Internet of things equipment sensors under WIFI comprises,
the sensor module is used for detecting the external environment and generating external environment information;
the terminal module is used for generating a WIFI network and receiving the external environment information generated by the sensor module;
and the processing module is used for processing the information of the sensor module and the terminal module.
By adopting the technical scheme, a plurality of pieces of terminal identification information and a plurality of WIFI networks which are in one-to-one correspondence with the plurality of pieces of terminal identification information are set, each WIFI network is named according to a preset WIFI network naming rule to form a plurality of WIFI network names, and an initial WIFI network initial password is set for the WIFI network; and then the sensor is connected with a corresponding WIFI network according to the set WIFI network name, so that the sensor is connected into a terminal matched with the sensor, the sensor detects the external environment in detail, generates corresponding external environment information according to the external environment condition, and transmits the external environment information to the terminal equipment connected with the sensor through the WIFI network.
The third purpose of the invention is to provide an intelligent terminal which has the characteristic of improving the use convenience.
The third object of the invention is realized by the following technical scheme:
an intelligent terminal comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and can execute the method.
By adopting the technical scheme, a plurality of pieces of terminal identification information and a plurality of WIFI networks which are in one-to-one correspondence with the plurality of pieces of terminal identification information are set, each WIFI network is named according to a preset WIFI network naming rule to form a plurality of WIFI network names, and a WIFI network initial password is set for the WIFI network; and then the sensor is connected with a corresponding WIFI network according to the set WIFI network name, so that the sensor is connected into a terminal matched with the sensor, the sensor detects the external environment in detail, generates corresponding external environment information according to the external environment condition, and transmits the external environment information to the terminal equipment connected with the sensor through the WIFI network.
In summary, the invention includes at least one of the following beneficial technical effects:
1. by setting a plurality of terminal identification information and a plurality of WIFI networks corresponding to the terminal identification information, the sensor is connected with the WIFI networks according to a certain rule, and the use convenience is improved;
2. after the sensor is connected with the terminal through the WIFI network, the password of the WIFI network is modified, so that the connection safety between the sensor and the terminal is improved;
3. through making the sensor receive triggering information and reset WIFI network password information, convenience of use has been improved.
Drawings
FIG. 1 is a schematic overall flow chart of one embodiment of the present invention.
FIG. 2 is a block diagram of modules of one embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The present embodiment is only for explaining the present invention, and it is not limited to the present invention, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present invention.
The embodiment of the invention provides a method for automatically connecting an Internet of things device sensor under WIFI, which comprises the following steps: presetting a plurality of terminal identification information and a plurality of WIFI networks which are in one-to-one correspondence with the plurality of terminal identification information; naming each WIFI network according to a preset naming rule of the WIFI network and generating a WIFI network name; presetting a WIFI network initial password; presetting sensor identification information; the sensor is connected with a corresponding WIFI network according to the WIFI network name; and the sensor generates and feeds back external environment information according to the external environment.
In the embodiment of the invention, a plurality of terminal identification information and a plurality of WIFI networks which are in one-to-one correspondence with the plurality of terminal identification information are set, each WIFI network is named according to a preset WIFI network naming rule to form a plurality of WIFI network names, and a WIFI network initial password is set for the WIFI network; and then the sensor is connected with a corresponding WIFI network according to the set WIFI network name, so that the sensor is connected into a terminal matched with the sensor, the sensor detects the external environment in detail, generates corresponding external environment information according to the external environment condition, and transmits the external environment information to the terminal equipment connected with the sensor through the WIFI network.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
The embodiment of the invention provides a method for automatically connecting an Internet of things device sensor under WIFI, and the main flow of the method is described as follows.
As shown in fig. 1:
step 1000: presetting a plurality of terminal identification information and a plurality of WIFI networks corresponding to the terminal identification information one by one.
When the surrounding environment needs to be detected, a sensor needs to be used for detection. The output part of the sensor belongs to a standard source type measuring instrument or a part thereof, and the range from a material measuring tool with single function (such as a measuring block, a weight, a national standard substance and the like) to a signal generator with adjustable signal amplitude, frequency and modulation format belongs to the standard source or output part, and the output part comprises a digital-to-analog conversion module, a signal generation/synthesis/modulation module, a power amplification module, an output conversion and matching module and the like, and the simple degree or the complexity degree of the output part is different in different measuring instruments. Single function material gauges belong to the special case of standard sources or output components. The input component belongs to a standard meter type measuring instrument or a part thereof, and represents different simple or complex degrees in different measuring instruments from a measuring meter with single function (such as an indicating meter, a pointer pressure gauge, a universal caliper and the like) to a measuring receiver with a measuring range, a frequency bandwidth, a modulation format and amplitude and the like. The input component or standard meter generally includes an input conversion/demodulation and matching module, a measuring module (including various measuring sensors), a sampling/holding module, an analog-to-digital conversion module, and the like. The single-function measuring meter belongs to a special case of a standard meter or an input component.
Data formed by sensor detection needs to be transmitted to terminals for collection and analysis, a plurality of terminals can be connected with sensors corresponding to the terminals, each terminal is provided with terminal identification information, each terminal generates a WIFI network within a certain range by taking the terminal as a center, and one terminal identification information corresponds to one WIFI network in a one-to-one mode.
Step 2000: and naming each WIFI network according to a preset naming rule of the WIFI network and generating the WIFI network name.
Step 2100: the terminal identification information comprises a unique terminal name field and a unique terminal number field;
the WIFI network name comprises a terminal name field, a connector and a terminal number field.
In the embodiment, the terminal name field is a fixed terminal capable of identifying a user and is randomly composed of six letters, such as nexfbox, the connector is in an underline form, the terminal number field represents a special identifier of equipment, the terminal number field is generated by random combination of letters and/or numbers, such as 2a08, and the name of the WIFI network generated by the terminal is nexfbox _2a08.
Step 3000: and presetting an initial password of the WIFI network.
Step 3100: and a high-strength WPA encryption mode is adopted, and the initial passwords of all the WIFI networks are set to be uniform and fixed WIFI network initial passwords.
WPA is named Wi-FiProtecteddAccess in all, has two standards of WPA and WPA2, is a system for protecting the security of a wireless computer network (Wi-Fi), and is generated by several serious weaknesses found by researchers in the prior generation of system Wired Equivalent Privacy (WEP). WPA implements most of the ieee802.11i standard, being a transitional scheme to replace WEP before 802.11i is complete.
Step 4000: and presetting sensor identification information.
Step 4100: and storing the WIFI network initial password into the sensor identification information, and defining the WIFI network initial password as WIFI network password information.
The sensor identification information comprises a category number and a permutation number of the sensor identification information, the WIFI network initial password is set to be a permutation combination of simpler numbers and/or letters, for example, the WIFI network initial password is set to be 123456, and then the WIFI network initial password is defined as the WIFI network password information and is stored in the sensor identification information.
Step 5000: and the sensor is connected with the corresponding WIFI network according to the WIFI network name.
Step 5100: and presetting a WIFI searching rule matched with the WIFI network naming rule.
And presetting a WIFI searching rule in a chip of the sensor according to the WIFI network naming rule, searching the WIFI network generated by the terminal according to the WIFI searching rule after the sensor is started, thereby obtaining the WIFI network according with the WIFI searching rule, namely each WIFI network generated by the terminal according to the WIFI naming rule.
Step 5200: and screening and matching the received WIFI network according to the WIFI searching rule.
Step 5210: when the number of the WIFI networks which accord with the WIFI searching rule is one, connecting the WIFI networks;
step 5220: and when the number of the WIFI networks according with the WIFI searching rule is more than one, the WIFI networks with the highest signal intensity in the WIFI networks according with the WIFI searching rule are connected and stored.
The method for connecting with the WIFI network with the highest signal strength in the WIFI networks according with the WIFI searching rule comprises the following steps:
step 5221: arranging the WIFI networks which accord with the WIFI searching rule according to the strength of the signal strength in a descending order and generating a signal strength sequence;
step 5222: matching the WIFI network initial password in the sensor identification information with the password of the first ranked WIFI network in the signal intensity sequence;
step 5223: and if the matching is successful, connecting with a first WIFI network arranged in the signal intensity sequence.
When the sensor finds the plurality of WIFI networks according to the WIFI searching rule, the sensor is connected with the WIFI network with the strongest WIFI network strength, which can be detected by the sensor, through detecting the strength of the plurality of WIFI networks, so that the possibility of low data transmission speed is reduced.
Step 5300: the sensor identification information further includes sensor device information;
step 5400: the terminal identification information also comprises terminal equipment information;
step 5500: presetting a first corresponding relation of one-to-one correspondence of sensor equipment information and terminal equipment information;
step 5600: the sensor is matched with the terminal equipment information according to the first corresponding relation;
and if the matching is unsuccessful, disconnecting the WIFI network, and reconnecting the WIFI network according to the WIFI network name and the WIFI network searching rule.
After the sensor is successfully connected with the WIFI network, the sensor and the terminal check the matching degree between the sensor and the terminal through the first corresponding relation, when the sensor equipment information is matched with the terminal equipment information, the sensor is connected to the terminal which can read the data of the sensor and is matched with the sensor, and the sensor can collect the surrounding environment data and transmit the data to the terminal.
Step 5700: after the WIFI network is connected, inputting a new WIFI network password by using an external input mode through a terminal and defining the password as the existing password information;
the external input may be performed by means of a keyboard for external input or other external input.
Step 5800: updating the WIFI network password information into the existing password information;
step 5900: and updating the password of the WIFI network into the existing password information.
After the sensor is connected with the terminal, the WIFI password generated by the terminal needs to be changed in an external input mode, and the password of the WIFI network is transmitted to the sensor, so that the sensor identification information contains the existing password information, only the sensor can be connected with the terminal after the sensor is connected with the terminal, and the safety of connection between the terminal and the sensor is improved.
Step 6000: and the sensor generates and feeds back external environment information according to the external environment.
The sensor detects external environment and generates external environment information, transmits the external environment information to the terminal through the connected WIFI network.
Step 7000: and sending the trigger information.
The sensor is externally provided with a trigger button which can be triggered by pressing, and after the trigger button is pressed, the existing password information in the sensor is reset to be the WIFI network initial password, so that the sensor can be connected with the terminal again.
Based on the same inventive concept, an embodiment of the present invention provides a system, including: a processor to load and execute a set of instructions.
Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including: a processor to load and execute a set of instructions.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art should also appreciate that they can easily conceive of various changes and substitutions within the technical scope of the present disclosure.

Claims (7)

1. A method for automatically connecting an Internet of things device sensor under WIFI (wireless fidelity) is characterized by comprising the following steps,
presetting a plurality of terminal identification information and a plurality of WIFI networks which are in one-to-one correspondence with the plurality of terminal identification information;
naming each WIFI network according to a preset naming rule of the WIFI network and generating a WIFI network name;
presetting a WIFI network initial password;
presetting sensor identification information;
the sensor is connected with a corresponding WIFI network according to the WIFI network name;
the sensor generates and feeds back external environment information according to the external environment;
the method for presetting the initial password of the WIFI network comprises the following steps:
adopting a high-strength WPA encryption mode, and setting all WIFI network initial passwords as uniform and fixed WIFI network initial passwords;
storing the WIFI network initial password into sensor identification information, and defining the WIFI network initial password as WIFI network password information;
the method for connecting with the corresponding WIFI network according to the WIFI network name comprises the following steps:
presetting a WIFI searching rule matched with the WIFI network naming rule;
screening and matching the received WIFI network according to a WIFI searching rule;
when the number of the WIFI networks which accord with the WIFI searching rule is one, connecting the WIFI networks;
when the number of the WIFI networks in accordance with the WIFI searching rule is more than one, the WIFI networks are connected with and stored in the WIFI networks with the highest signal intensity in the WIFI networks in accordance with the WIFI searching rule;
the method for connecting with the WIFI network with the highest signal strength in the WIFI networks according with the WIFI searching rule comprises the following steps:
arranging the WIFI networks which accord with the WIFI searching rule according to the strength of the signal strength in a descending order, and generating a signal strength sequence;
matching the WIFI network initial password in the sensor identification information with the password of the first ranked WIFI network in the signal intensity sequence;
and if the matching is successful, connecting with the WIFI network ranked first in the signal intensity sequence.
2. The method of claim 1, wherein the method for generating the WIFI network name according to the naming rule of the WIFI network comprises:
the terminal identification information comprises a unique terminal name field and a unique terminal number field;
the WIFI network name comprises a terminal name field, a connector and a terminal number field.
3. The method of claim 1, wherein the method of connecting to the corresponding WIFI network according to the WIFI network name further comprises:
after the WIFI network is connected, inputting a new WIFI network password by using an external input mode through a terminal and defining the password as the existing password information;
updating the WIFI network password information into the existing password information;
and updating the password of the WIFI network into the existing password information.
4. The method of claim 3, further comprising;
sending trigger information;
the sensor receives the trigger information and initializes the WIFI network password information into a WIFI network initial password.
5. The method of claim 3, wherein the method of connecting to the respective WIFI network according to the WIFI network name further comprises;
the sensor identification information further includes sensor device information;
the terminal identification information also comprises terminal equipment information;
presetting a first corresponding relation of one-to-one correspondence of sensor equipment information and terminal equipment information;
the sensor is matched with the terminal equipment information according to the first corresponding relation;
and if the matching is unsuccessful, disconnecting the connection with the WIFI network, and reconnecting according to the WIFI network name.
6. A system for automatically connecting Internet of things device sensors under WIFI, based on the method of claim 1, is characterized by comprising,
the sensor module is used for detecting the external environment and generating external environment information;
the terminal module is used for generating a WIFI network and receiving external environment information generated by the sensor module;
and the processing module is used for processing the information of the sensor module and the terminal module.
7. An intelligent terminal, comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and that executes the method according to any one of claims 1 to 5.
CN202110063842.1A 2021-01-18 2021-01-18 Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal Active CN112822688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110063842.1A CN112822688B (en) 2021-01-18 2021-01-18 Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110063842.1A CN112822688B (en) 2021-01-18 2021-01-18 Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal

Publications (2)

Publication Number Publication Date
CN112822688A CN112822688A (en) 2021-05-18
CN112822688B true CN112822688B (en) 2023-03-21

Family

ID=75869665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110063842.1A Active CN112822688B (en) 2021-01-18 2021-01-18 Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal

Country Status (1)

Country Link
CN (1) CN112822688B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595839B (en) * 2021-07-19 2022-09-13 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104680213A (en) * 2015-02-12 2015-06-03 无锡识凌科技有限公司 Control method of rapid connection and data transmission among devices
CN106332085A (en) * 2016-09-08 2017-01-11 珠海全志科技股份有限公司 Internet of things WIFI network configuration method, Internet of things terminal and routing terminal
CN107889056A (en) * 2017-09-20 2018-04-06 百度在线网络技术(北京)有限公司 Acquisition method, equipment and the computer-readable recording medium of the indoor location data of tier building
CN108882339A (en) * 2018-07-03 2018-11-23 天津璧合信息技术有限公司 intelligent hardware networking method, intelligent terminal and intelligent hardware
WO2019220216A1 (en) * 2018-05-14 2019-11-21 Terrence Keith Ashwin A wireless communication identification sensor
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10267661B2 (en) * 2015-03-23 2019-04-23 Incoming Pty Ltd Energy efficient mobile context collection
CN106535092A (en) * 2016-11-01 2017-03-22 惠州Tcl移动通信有限公司 Network sharing method, network accessing method and system
US10985978B2 (en) * 2018-11-08 2021-04-20 Arris Enterprises Llc System and method for first time automatic on-boarding of Wi-Fi access point

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104680213A (en) * 2015-02-12 2015-06-03 无锡识凌科技有限公司 Control method of rapid connection and data transmission among devices
CN106332085A (en) * 2016-09-08 2017-01-11 珠海全志科技股份有限公司 Internet of things WIFI network configuration method, Internet of things terminal and routing terminal
CN107889056A (en) * 2017-09-20 2018-04-06 百度在线网络技术(北京)有限公司 Acquisition method, equipment and the computer-readable recording medium of the indoor location data of tier building
WO2019220216A1 (en) * 2018-05-14 2019-11-21 Terrence Keith Ashwin A wireless communication identification sensor
CN108882339A (en) * 2018-07-03 2018-11-23 天津璧合信息技术有限公司 intelligent hardware networking method, intelligent terminal and intelligent hardware
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于物联网网关的传感器接入方案设计;王丽红等;《信息通信》;20150115(第01期);全文 *

Also Published As

Publication number Publication date
CN112822688A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN103263294A (en) Health indicator parameter detection instrument, device and system
KR102275720B1 (en) Bluetooth communication method and bluetooth communication device
WO2018015990A1 (en) Sensor system and data collection method
CN110959269A (en) Data transmission device, data reception device, method, and program
CN104598815B (en) Recognition methods, device and the client of malice advertising program
CN112822688B (en) Method and system for automatically connecting Internet of things equipment sensor under WIFI (Wireless Fidelity) and intelligent terminal
CN104935431A (en) Authentication device,authentication system,and authentication method
US10929763B2 (en) Recommender system for heterogeneous log pattern editing operation
KR20130051585A (en) Apparatus and method for setting auto connection of sensor node based on sensor data
CN112462212A (en) Artificial intelligent partial discharge monitoring and distinguishing system and method based on cloud technology
CN105588633A (en) Electronic scale cheating detection system and detection method thereof
CN111370103A (en) Hospital logistics equipment management system based on Internet of things
CN110351261A (en) A kind of method and system based on two-factor authentication management equipment connection security server
CN113824829A (en) Electronic device
CN109976709A (en) Randomness detecting method, device, equipment and computer readable storage medium
US20020050931A1 (en) Surveillance system and method
Zhang et al. Wireless body area network identity authentication protocol based on physical unclonable function
CN111238654A (en) Temperature measurement gun and temperature measurement system
CN112804284A (en) Data chaining device, data verification device and data verification method
CN207782854U (en) A kind of network monitoring system based on cloud computing
CN110138859A (en) A kind of body temperature real-time monitoring system based on Internet of Things body temperature patch
CN114143031B (en) Remote encryption platform based on Web and SSH
US10372462B2 (en) Method and apparatus for device setup
CN108319877B (en) Information reading terminal using coding of external token
CN209821832U (en) Big data safety system with 3D measurement function

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
GR01 Patent grant
GR01 Patent grant