CN113055449A - Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment - Google Patents

Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment Download PDF

Info

Publication number
CN113055449A
CN113055449A CN202110228689.3A CN202110228689A CN113055449A CN 113055449 A CN113055449 A CN 113055449A CN 202110228689 A CN202110228689 A CN 202110228689A CN 113055449 A CN113055449 A CN 113055449A
Authority
CN
China
Prior art keywords
sensors
internet
things
registration
wireless
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
CN202110228689.3A
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.)
Fujian Yuchen Microelectronics Co ltd
Original Assignee
Fujian Yuchen Microelectronics 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 Fujian Yuchen Microelectronics Co ltd filed Critical Fujian Yuchen Microelectronics Co ltd
Priority to CN202110228689.3A priority Critical patent/CN113055449A/en
Publication of CN113055449A publication Critical patent/CN113055449A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Abstract

The invention discloses a wireless autonomous networking method, a wireless autonomous networking system and computer equipment for a sensor based on the Internet of things. Wherein the method comprises the following steps: after the Internet of things enters a multi-type sensor registration mode, multi-type sensors lift registration requests to the Internet of things in a wireless mode, the registration requests lifted by the multi-type sensors are respectively subjected to identity registration through a two-way wireless handshake mode with the Internet of things, the multi-type sensors are networked in a wireless network coverage range of the Internet of things after being respectively subjected to identity registration, and data transmission is carried out on the multi-type sensors through a wireless network of the Internet of things after being networked. Through the mode, the wireless autonomous networking of various sensors can be realized.

Description

Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment
Technical Field
The invention relates to the technical field of sensors, in particular to a wireless autonomous networking method, a wireless autonomous networking system and computer equipment of a sensor based on the Internet of things.
Background
The sensor is a detection device which can sense the measured information and convert the sensed information into an electric signal or other information in a required form according to a certain rule to output so as to meet the requirements of information transmission, processing, storage, display, recording, control and the like.
However, the existing sensor is a device with a frequency of 433MHz (Mega Hertz ) in an ISP (Internet Service Provider) frequency band, and has no general gateway, so that it is not possible to implement wireless autonomous networking of various types of sensors.
Disclosure of Invention
In view of this, the present invention provides a wireless autonomous networking method, system and computer device for sensors based on the internet of things, which can implement wireless autonomous networking for various types of sensors.
According to one aspect of the invention, a sensor wireless autonomous networking method based on the Internet of things is provided, which comprises the following steps: after the Internet of things enters a registration mode of various sensors, the various sensors lift registration requests to the Internet of things in a wireless mode; the Internet of things respectively performs identity identification registration on registration requests lifted by the various types of sensors in a bidirectional wireless handshaking mode; after the various sensors are respectively registered with the identity identifications, networking is carried out in the wireless network coverage range of the Internet of things; and the various sensors perform data transmission through the wireless network of the Internet of things after networking.
After the internet of things enters the registration modes of the various types of sensors, the various types of sensors lift registration requests to the internet of things in a wireless mode, and the registration requests comprise: after the Internet of things enters a registration mode of various sensors, the various sensors adopt a hardware input/output combination state to carry out type identification, and the various sensors after type identification lift registration requests to the Internet of things in a wireless mode.
Wherein, the thing networking is to the registration request that multiple type sensor mentioned carries out the identification registration respectively through two-way wireless mode of shaking hands, include: the Internet of things temporarily changes a wireless receiving address into a broadcast address, if a registration request lifted by various types of sensors is received, identity identifiers are respectively distributed to the various types of sensors corresponding to the registration request, and if the registration request lifted by the various types of sensors is not received, no response is made; and the various sensors send out registration requests by long pressing registration keys through the broadcast address, change the wireless receiving address into a new address, and respectively store the distributed identity identifications and respectively reply to the confirmation of the Internet of things if the response of the Internet of things is received; the Internet of things receives the confirmation packets which are respectively replied to be confirmed, sets the registration state, stores the identity identifications and the registration state of the multiple types of sensors, replies the multiple types of sensors with new identity identifications, waits for the multiple types of sensors to respond, if the multiple types of sensors respond, registers successfully corresponding to the registration request and replies the confirmation of the multiple types of sensors, and if no response exists, registers unsuccessfully corresponding to the registration request; and if the various sensors receive the confirmation packet for replying to-be-confirmed, the registration corresponding to the registration request is successful, and the registration mode is exited, and if the confirmation packet for replying to-be-confirmed is not received, the registration request is lifted to the Internet of things in a wireless mode again.
After the various sensors are respectively registered with the identity identifications, networking is carried out within the wireless network coverage range of the Internet of things; wherein, after carrying out data transmission through the wireless network of the thing networking after the multiple types of sensors pass through the networking, still include: and the Internet of things asynchronously deletes the identity identification registration of the sensors of the plurality of types after networking.
The asynchronous identity deletion registration of the various types of sensors after networking by the internet of things comprises the following steps: and the Internet of things carries out identity identification deletion registration and registration position removal on the various sensors after networking, and when receiving messages of the various sensors after identity identification deletion and registration position removal in the future, an identification reply packet prompts that the identity identifications of the various sensors after identity identification deletion and registration position removal are deleted.
According to another aspect of the present invention, there is provided an internet of things-based sensor wireless autonomous networking system, including: the internet of things and various types of sensors; the Internet of things is wirelessly connected with the sensors of various types; the sensors of various types are used for lifting registration requests to the Internet of things in a wireless mode after the Internet of things enters a sensor registration mode of various types; the Internet of things is used for respectively carrying out identity identification registration on registration requests lifted by the various types of sensors in a bidirectional wireless handshaking mode; the sensors of various types are also used for networking in the wireless network coverage range of the Internet of things after being respectively registered with the identity identifiers, and data transmission is carried out through the wireless network of the Internet of things after being networked.
Wherein the plurality of types of sensors are specifically configured to: after the Internet of things enters various sensor registration modes, type identification is carried out by adopting a hardware input/output combination state, and after passing through the type identification, a registration request is lifted to the Internet of things in a wireless mode.
Wherein the internet of things is specifically configured to temporarily change a wireless receiving address to a broadcast address, respectively allocate an identity to the multiple types of sensors corresponding to a registration request if the registration request lifted by the multiple types of sensors is received, do not respond if the registration request lifted by the multiple types of sensors is not received, specifically, the multiple types of sensors are configured to long-press a registration key, send out the registration request through the broadcast address, change the wireless receiving address to a new address, respectively store the allocated identity and respectively reply a confirmation of the internet of things if the response of the internet of things is received, specifically, the internet of things is configured to receive the confirmation packets respectively reply the confirmation of the confirmation, set a registration state, store the identity and the registration state of the multiple types of sensors, and reply the multiple types of sensors with the new identity, and waiting for responses of the various types of sensors, if the responses exist, successfully registering corresponding to the registration request and replying to the confirmation of the various types of sensors, if no responses exist, unsuccessfully registering corresponding to the registration request, specifically, the various types of sensors are used for successfully registering corresponding to the registration request and exiting the registration mode if receiving a confirmation packet replying to be confirmed, and if the confirmation packet replying to be confirmed is not received, re-lifting the registration request to the Internet of things in a wireless mode.
Wherein, the wireless autonomous networking system of sensor based on thing networking still includes: an asynchronous deleter; and the asynchronous deleter is arranged in the Internet of things and is used for asynchronously deleting the identity identification registration of the sensors after networking.
Wherein, the asynchronous deleter is specifically configured to: and deleting the ID registration and clearing the registration position of the plurality of types of sensors after networking, and when receiving the messages of the plurality of types of sensors after deleting the ID notes and clearing the registration position later, marking a reply packet to prompt that the IDs of the plurality of types of sensors after deleting the ID notes and clearing the registration position are deleted.
According to yet another aspect of the present invention, there is provided a computer apparatus comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of Internet of things based sensor wireless autonomous networking of any of the above.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the internet of things based sensor wireless autonomous networking method as described in any one of the above.
It can be found that, according to the above scheme, after the internet of things enters a registration mode of multiple types of sensors, the multiple types of sensors lift registration requests to the internet of things in a wireless mode, and the internet of things can respectively perform identity registration on the registration requests lifted by the multiple types of sensors through a two-way wireless handshake mode, and the multiple types of sensors can perform networking within a wireless network coverage range of the internet of things after respectively performing identity registration, wherein the multiple types of sensors perform data transmission through a wireless network of the internet of things after the networking, and thus the multiple types of sensors can perform wireless autonomous networking.
Furthermore, according to the scheme, after the Internet of things enters the registration modes of the sensors of various types, the sensors of various types adopt the hardware input/output combination state for type identification, and the sensors of various types after the type identification lift the registration request to the Internet of things in a wireless mode.
Further, in the above solution, the internet of things may temporarily change the wireless receiving address to a broadcast address, if a registration request lifted by the sensors of multiple types is received, the sensors of multiple types corresponding to the registration request are respectively assigned with the identification, if a registration request lifted by the sensors of multiple types is not received, no response is made, and the sensors of multiple types press the registration key for a long time, the registration request is sent out through the broadcast address, the wireless receiving address is changed to a new address, if a response of the internet of things is received, the assigned identification is respectively saved and the confirmation waiting for the confirmation of the internet of things is respectively replied, and the confirmation packet replied respectively waiting for the confirmation is received by the internet of things, the registration state is set, the identification and the registration state of the sensors of multiple types are saved, and the sensors of multiple types are replied with the new identification, and waiting for responses of the various sensors, if the responses exist, successfully registering corresponding to the registration request and replying to wait for the confirmation of the various sensors, if no response exists, unsuccessfully registering corresponding to the registration request, if the various sensors receive a confirmation packet replying to wait confirmation, successfully registering corresponding to the registration request and exiting the registration mode, and if the confirmation packet replying to wait confirmation is not received, re-lifting the registration request to the Internet of things in a wireless mode.
Further, according to the scheme, the Internet of things can asynchronously delete the identity identifier registration of the sensors of various types after networking, and the advantage is that the situations of software consumption and interference can be avoided.
Further, according to the scheme, the internet of things can delete the identity mark registration and clear the registration position of the various sensors after networking, and when the messages of the various sensors after deleting the identity mark and clearing the registration position are received later, the identity reply packet is identified to prompt that the identity marks of the various sensors after deleting the identity mark and clearing the registration position are deleted, so that the advantages that software consumption and interference can be avoided are achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an embodiment of a wireless autonomous networking method for a sensor based on the internet of things according to the present invention;
fig. 2 is a schematic flow chart of another embodiment of the wireless autonomous networking method for a sensor based on the internet of things according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a sensor wireless autonomous networking system based on the Internet of things according to the present invention;
fig. 4 is a schematic structural diagram of another embodiment of the wireless autonomous networking system of the sensor based on the internet of things according to the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of the computer apparatus of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be noted that the following examples are only illustrative of the present invention, and do not limit the scope of the present invention. Similarly, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive work are within the scope of the present invention.
The invention provides a wireless autonomous networking method of a sensor based on the Internet of things, which can realize wireless autonomous networking of various sensors.
Referring to fig. 1, fig. 1 is a schematic flowchart of an embodiment of a wireless autonomous networking method for a sensor based on the internet of things according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
s101: after IOT (Internet of Things) enters a registration mode of various sensors, the various sensors lift registration requests to the Internet of Things in a wireless mode.
Wherein, should enter into behind the registration mode of polytype sensor at the thing networking, polytype sensor mentions the registration request to this thing networking through wireless mode, can include:
after the Internet of things enters a registration mode of various sensors, the various sensors adopt a hardware I/O (IN/OUT, input/output) combination state to carry OUT type identification, and the various sensors after the type identification lift registration requests to the Internet of things IN a wireless mode.
In this embodiment, after the internet of things enters various sensor registration modes, a sensor with a key can lift a registration request to the internet of things in a wireless manner by pressing the key for a long time, a door sensor can lift a registration request to the internet of things in a wireless manner by approaching a magnet to one side of the sensor, and the like, an SOS (System of Systems) sensor can lift a registration request to the internet of things in a wireless manner by pressing the magnet for a short time and pressing the magnet for a long time, and a tire pressure sensor can lift a registration request to the internet of things in a wireless manner by detecting an increase in air pressure, and the like, which is not limited in the.
In this embodiment, only the internet of things after entering the registration mode of the multiple types of sensors can receive the registration request lifted by the multiple types of sensors in a wireless manner, which has the advantage of avoiding the occurrence of the false registration.
S102: the internet of things respectively performs ID (Identity) registration on registration requests lifted by the various types of sensors in a bidirectional wireless handshaking mode.
Wherein, this thing networking carries out the identification registration respectively to the registration request that this multiple type sensor mentioned through two-way wireless mode of shaking hands, can include:
the Internet of things temporarily changes a wireless receiving address into a broadcast address, if a registration request lifted by various sensors is received, identity identifiers are respectively distributed to the various sensors corresponding to the registration request, and if the registration request lifted by the various sensors is not received, no response is made;
and the various sensors send out registration requests by long pressing registration keys through the broadcast address, change the wireless receiving address into a new address, and respectively store the allocated identity identifications and respectively reply to wait for the confirmation of the Internet of things if the response of the Internet of things is received;
the Internet of things receives the confirmation packets respectively replied for confirmation, sets the registration state, stores the identity identifiers and the registration state of the various sensors, replies the various sensors with new identity identifiers, waits for the responses of the various sensors, if the responses exist, registers successfully corresponding to the registration request and replies for confirmation of the various sensors, and if no responses exist, registers unsuccessfully corresponding to the registration request;
if the various sensors receive the confirmation packet of the reply waiting confirmation, the registration corresponding to the registration request is successful and exits the registration mode, and if the confirmation packet of the reply waiting confirmation is not received, the registration request is lifted to the Internet of things in a wireless mode;
the method has the advantage that the accuracy of identity registration of the Internet of things on registration requests lifted by the various types of sensors can be realized.
In this embodiment, the internet of things may respectively allocate the identity identifiers to the multiple types of sensors corresponding to the registration request when receiving the registration request lifted by the multiple types of sensors, or quit registration after a preset time, for example, one minute, arrives after not answering when receiving the registration request lifted by the multiple types of sensors, and restore the broadcast address to the wireless receiving address.
S103: after the various sensors are respectively registered with the identity identifications, networking is carried out in the wireless network coverage range of the Internet of things; and the various types of sensors perform data transmission through the wireless network of the Internet of things after being networked.
After the various sensors are respectively registered with the identity identifications, networking is carried out within the wireless network coverage range of the Internet of things; wherein, after the various types of sensors perform data transmission through the wireless network of the internet of things after the networking, the method can further include:
the Internet of things asynchronously deletes the identity identifier for registration of the sensors of the plurality of types after networking, so that the method has the advantage that the situations of software consumption and interference can be avoided.
It can be found that, in this embodiment, after the internet of things enters into the registration mode of the various sensors, the various sensors lift the registration request to the internet of things in a wireless manner, and the internet of things can respectively perform the identity registration to the registration request lifted by the various sensors through a two-way wireless handshake manner, and the various sensors can perform networking within the wireless network coverage range of the internet of things after respectively performing the identity registration, wherein the various sensors perform data transmission through the wireless network of the internet of things after the networking, and thus the various sensors can perform wireless autonomous networking.
Further, in this embodiment, after the internet of things enters the registration mode of the sensors of multiple types, the sensors of multiple types adopt a hardware input/output combination state to perform type identification, and the sensors of multiple types after the type identification lift the registration request to the internet of things in a wireless manner.
Further, in this embodiment, the internet of things may temporarily change the wireless receiving address to a broadcast address, if a registration request lifted by the sensors of multiple types is received, allocate the identities to the sensors of multiple types corresponding to the registration request, if a registration request lifted by the sensors of multiple types is not received, do not respond, and the sensors of multiple types press the registration key for a long time, send out the registration request through the broadcast address, change the wireless receiving address to a new address, if a response of the internet of things is received, respectively store the allocated identities and respectively reply to wait for the confirmation of the internet of things, and the internet of things receives the confirmation packets respectively reply to wait for the confirmation, set the registration state, store the identities and the registration state of the sensors of multiple types, and reply to the sensors of multiple types with the new identities, and waiting for responses of the various sensors, if the responses exist, successfully registering corresponding to the registration request and replying to wait for the confirmation of the various sensors, if no response exists, unsuccessfully registering corresponding to the registration request, if the various sensors receive a confirmation packet replying to wait confirmation, successfully registering corresponding to the registration request and exiting the registration mode, and if the confirmation packet replying to wait confirmation is not received, re-lifting the registration request to the Internet of things in a wireless mode.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another embodiment of a wireless autonomous networking method for a sensor based on the internet of things according to the present invention. In this embodiment, the method includes the steps of:
s201: after the Internet of things enters a registration mode of various sensors, the various sensors lift registration requests to the Internet of things in a wireless mode.
As described above in S101, further description is omitted here.
S202: the Internet of things respectively performs identity identification registration on registration requests lifted by the various types of sensors in a bidirectional wireless handshaking mode.
As described above in S102, further description is omitted here.
S203: after the various sensors are respectively registered with the identity identifications, networking is carried out in the wireless network coverage range of the Internet of things; and the various types of sensors perform data transmission through the wireless network of the Internet of things after being networked.
As described above in S103, which is not described herein.
S204: and the Internet of things asynchronously deletes the identity identification registration of the sensors of the plurality of types after the networking.
Wherein, this thing networking is carried out asynchronous deletion identity registration to this multi-type sensor after this network deployment, can include:
the Internet of things deletes the identity mark for registration and clears the registration position of the various sensors after networking, and when the messages of the various sensors after deleting the identity mark for registration and clearing the registration position are received later, the identity reply packet prompts that the identity marks of the various sensors after deleting the identity mark for registration and clearing the registration position are deleted.
It can be found that, in this embodiment, the internet of things can perform asynchronous deletion of the identity registration on the multiple types of sensors after the networking, which has the advantage of avoiding software consumption and interference.
Further, in this embodiment, the internet of things may perform identity deletion registration and registration position removal on the multiple types of sensors after the networking, and when receiving messages of the multiple types of sensors after the identity deletion registration and the registration position removal in the future, identify a reply packet to prompt that the identities of the multiple types of sensors after the identity deletion registration and the registration position removal have been deleted, which is beneficial to avoiding software consumption and interference.
The invention also provides a sensor wireless autonomous networking system based on the Internet of things, which can realize wireless autonomous networking of various sensors.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of a sensor wireless autonomous networking system based on the internet of things according to the present invention. In this embodiment, the wireless autonomous networking system 30 based on the sensor of the internet of things includes the internet of things 31 and various types of sensors 32.
The internet of things 31 is wirelessly connected with the various types of sensors 32.
The multiple types of sensors 32 are configured to lift a registration request to the internet of things 31 in a wireless manner after the internet of things 31 enters a registration mode of the multiple types of sensors 32.
The internet of things 31 is configured to perform identity registration on registration requests lifted by the multiple types of sensors 32 in a bidirectional wireless handshaking manner.
The multiple types of sensors 32 are also configured to perform networking within the coverage area of the internet of things 31 after being respectively registered with the identification identifiers, and perform data transmission through the wireless network of the internet of things 31 after being networked.
Alternatively, the various types of sensors 32 may be specifically configured to:
after the internet of things 31 enters the registration mode of the sensors 32 of various types, the type identification is carried out by adopting a hardware input/output combination state, and after the type identification, a registration request is lifted to the internet of things 31 in a wireless mode.
Optionally, the internet of things 31 may be specifically configured to temporarily change a wireless receiving address to a broadcast address, if a registration request lifted by the multiple types of sensors 32 is received, allocate an identity to each of the multiple types of sensors 32 corresponding to the registration request, if a registration request lifted by the multiple types of sensors 32 is not received, do not respond, the multiple types of sensors 32 may be specifically configured to press a registration key for a long time, send a registration request through the broadcast address, change the wireless receiving address to a new address, if a response of the internet of things 31 is received, store the allocated identity and respectively respond to the confirmation of the internet of things 31, the internet of things 31 may be specifically configured to receive the confirmation packet that respectively responds to the confirmation of the waiting for confirmation, set a registration state, store the identity and the registration state of the multiple types of sensors 32, and respond to the multiple types of sensors 32 with the new identity, and waiting for the responses of the multiple types of sensors 32, if there is a response, the registration corresponding to the registration request is successful, and the response is waited for the confirmation of the multiple types of sensors 32, if there is no response, the registration corresponding to the registration request is unsuccessful, the multiple types of sensors 32 may be specifically configured to, if a confirmation packet of the response waiting confirmation is received, successfully register the corresponding registration request and exit the registration mode, and if the confirmation packet of the response waiting confirmation is not received, re-lift the registration request to the internet of things 31 in a wireless manner.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another embodiment of the wireless autonomous networking system based on the internet of things according to the present invention. Different from the previous embodiment, the wireless autonomous networking system 40 based on the internet of things according to the present embodiment further includes an asynchronous remover 41.
The asynchronous deleter 41 is disposed in the internet of things 31, and is configured to perform asynchronous deletion identity registration on the multiple types of sensors 32 after the networking.
Optionally, the asynchronous remover 41 may be specifically configured to:
and deleting the ID registration and the registration position of the sensors after the networking is carried out, and when the messages of the sensors after the ID registration and the registration position are deleted are received later, an identification reply packet is used for prompting that the IDs of the sensors after the ID registration and the registration position are deleted.
Each unit module of the wireless autonomous networking system 30/40 based on the internet of things can respectively execute the corresponding steps in the above method embodiments, and therefore, the details of each unit module are not repeated here, and please refer to the description of the corresponding steps above in detail.
The present invention further provides a computer device, as shown in fig. 5, comprising: at least one processor 51; and a memory 52 communicatively coupled to the at least one processor 51; the memory 52 stores instructions executable by the at least one processor 51, and the instructions are executed by the at least one processor 51 to enable the at least one processor 51 to execute the above-mentioned wireless ad hoc networking method based on the sensor of the internet of things.
Wherein the memory 52 and the processor 51 are coupled in a bus, which may comprise any number of interconnected buses and bridges, which couple one or more of the various circuits of the processor 51 and the memory 52 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 51 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 51.
The processor 51 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 52 may be used to store data used by the processor 51 in performing operations.
The present invention further provides a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
It can be found that, according to the above scheme, after the internet of things enters a registration mode of multiple types of sensors, the multiple types of sensors lift registration requests to the internet of things in a wireless mode, and the internet of things can respectively perform identity registration on the registration requests lifted by the multiple types of sensors through a two-way wireless handshake mode, and the multiple types of sensors can perform networking within a wireless network coverage range of the internet of things after respectively performing identity registration, wherein the multiple types of sensors perform data transmission through a wireless network of the internet of things after the networking, and thus the multiple types of sensors can perform wireless autonomous networking.
Furthermore, according to the scheme, after the Internet of things enters the registration modes of the sensors of various types, the sensors of various types adopt the hardware input/output combination state for type identification, and the sensors of various types after the type identification lift the registration request to the Internet of things in a wireless mode.
Further, in the above solution, the internet of things may temporarily change the wireless receiving address to a broadcast address, if a registration request lifted by the sensors of multiple types is received, the sensors of multiple types corresponding to the registration request are respectively assigned with the identification, if a registration request lifted by the sensors of multiple types is not received, no response is made, and the sensors of multiple types press the registration key for a long time, the registration request is sent out through the broadcast address, the wireless receiving address is changed to a new address, if a response of the internet of things is received, the assigned identification is respectively saved and the confirmation waiting for the confirmation of the internet of things is respectively replied, and the confirmation packet replied respectively waiting for the confirmation is received by the internet of things, the registration state is set, the identification and the registration state of the sensors of multiple types are saved, and the sensors of multiple types are replied with the new identification, and waiting for responses of the various sensors, if the responses exist, successfully registering corresponding to the registration request and replying to wait for the confirmation of the various sensors, if no response exists, unsuccessfully registering corresponding to the registration request, if the various sensors receive a confirmation packet replying to wait confirmation, successfully registering corresponding to the registration request and exiting the registration mode, and if the confirmation packet replying to wait confirmation is not received, re-lifting the registration request to the Internet of things in a wireless mode.
Further, according to the scheme, the Internet of things can asynchronously delete the identity identifier registration of the sensors of various types after networking, and the advantage is that the situations of software consumption and interference can be avoided.
Further, according to the scheme, the internet of things can delete the identity mark registration and clear the registration position of the various sensors after networking, and when the messages of the various sensors after deleting the identity mark and clearing the registration position are received later, the identity reply packet is identified to prompt that the identity marks of the various sensors after deleting the identity mark and clearing the registration position are deleted, so that the advantages that software consumption and interference can be avoided are achieved.
In the several embodiments provided in the present invention, 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, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or 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.
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 place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention 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 invention may be substantially or partially implemented in the form of a software product stored in a storage medium and including 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 invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A wireless autonomous networking method of a sensor based on the Internet of things is characterized by comprising the following steps:
after the Internet of things enters a registration mode of various sensors, the various sensors lift registration requests to the Internet of things in a wireless mode;
the Internet of things respectively performs identity identification registration on registration requests lifted by the various types of sensors in a bidirectional wireless handshaking mode;
after the various sensors are respectively registered with the identity identifications, networking is carried out in the wireless network coverage range of the Internet of things; and the various sensors perform data transmission through the wireless network of the Internet of things after networking.
2. The wireless autonomous networking method of sensors based on the internet of things according to claim 1, wherein after the internet of things enters a registration mode of sensors of multiple types, the sensors of multiple types lift registration requests to the internet of things in a wireless manner, and the method comprises the following steps:
after the Internet of things enters a registration mode of various sensors, the various sensors adopt a hardware input/output combination state to carry out type identification, and the various sensors after type identification lift registration requests to the Internet of things in a wireless mode.
3. The wireless autonomous networking method for the sensors based on the internet of things according to claim 1, wherein the internet of things respectively performs identity registration on registration requests lifted by the multiple types of sensors in a two-way wireless handshaking manner, and the method comprises the following steps:
the Internet of things temporarily changes a wireless receiving address into a broadcast address, if a registration request lifted by various types of sensors is received, identity identifiers are respectively distributed to the various types of sensors corresponding to the registration request, and if the registration request lifted by the various types of sensors is not received, no response is made;
and the various sensors send out registration requests by long pressing registration keys through the broadcast address, change the wireless receiving address into a new address, and respectively store the distributed identity identifications and respectively reply to the confirmation of the Internet of things if the response of the Internet of things is received;
the Internet of things receives the confirmation packets which are respectively replied to be confirmed, sets the registration state, stores the identity identifications and the registration state of the multiple types of sensors, replies the multiple types of sensors with new identity identifications, waits for the multiple types of sensors to respond, if the multiple types of sensors respond, registers successfully corresponding to the registration request and replies the confirmation of the multiple types of sensors, and if no response exists, registers unsuccessfully corresponding to the registration request;
and if the various sensors receive the confirmation packet for replying to-be-confirmed, the registration corresponding to the registration request is successful, and the registration mode is exited, and if the confirmation packet for replying to-be-confirmed is not received, the registration request is lifted to the Internet of things in a wireless mode again.
4. The wireless autonomous networking method of sensors based on the internet of things according to claim 1, wherein after the sensors of the plurality of types are respectively registered with the identity identifiers, networking is performed within a wireless network coverage range of the internet of things; wherein, after carrying out data transmission through the wireless network of the thing networking after the multiple types of sensors pass through the networking, still include:
and the Internet of things asynchronously deletes the identity identification registration of the sensors of the plurality of types after networking.
5. The wireless autonomous networking method of sensors based on the internet of things according to claim 4, wherein the asynchronous deletion of the identity identifier registration of the networked sensors by the internet of things comprises:
and the Internet of things carries out identity identification deletion registration and registration position removal on the various sensors after networking, and when receiving messages of the various sensors after identity identification deletion and registration position removal in the future, an identification reply packet prompts that the identity identifications of the various sensors after identity identification deletion and registration position removal are deleted.
6. The utility model provides a wireless autonomic networking system of sensor based on thing networking which characterized in that includes:
the internet of things and various types of sensors;
the Internet of things is wirelessly connected with the sensors of various types;
the sensors of various types are used for lifting registration requests to the Internet of things in a wireless mode after the Internet of things enters a sensor registration mode of various types;
the Internet of things is used for respectively carrying out identity identification registration on registration requests lifted by the various types of sensors in a bidirectional wireless handshaking mode;
the sensors of various types are also used for networking in the wireless network coverage range of the Internet of things after being respectively registered with the identity identifiers, and data transmission is carried out through the wireless network of the Internet of things after being networked.
7. The internet-of-things-based sensor wireless autonomous networking system of claim 6, wherein the multiple types of sensors are specifically configured to:
after the Internet of things enters various sensor registration modes, type identification is carried out by adopting a hardware input/output combination state, and after passing through the type identification, a registration request is lifted to the Internet of things in a wireless mode.
8. The wireless sensor autonomous networking system according to claim 6, wherein the IOT is specifically configured to change a wireless receiving address to a broadcast address temporarily, if a registration request raised by the plurality of types of sensors is received, allocate identifiers to the plurality of types of sensors corresponding to the registration request respectively, if a registration request raised by the plurality of types of sensors is not received, do not respond, the plurality of types of sensors are specifically configured to press a registration key for a long time, send out a registration request through the broadcast address, change a wireless receiving address to a new address, if a response of the IOT is received, store the allocated identifiers respectively and reply to the IOT for confirmation respectively, the IOT is specifically configured to receive the confirmation packets respectively replied to the IOT for confirmation, set a registration state, the method comprises the steps of storing the identity identifications and the registration states of the various sensors, replying the various sensors with new identity identifications, waiting for the various sensors to respond, if the multiple sensors respond, successfully registering corresponding to a registration request and replying to the various sensors for confirmation, if the multiple sensors do not respond, unsuccessfully registering corresponding to the registration request, specifically, the various sensors are used for successfully registering corresponding to the registration request and exiting a registration mode if receiving a confirmation packet replying to the confirmation, and if the confirmation packet replying to the confirmation is not received, re-lifting the registration request to the Internet of things in a wireless mode.
9. The internet-of-things-based sensor wireless autonomous networking system of claim 6, further comprising:
an asynchronous deleter;
and the asynchronous deleter is arranged in the Internet of things and is used for asynchronously deleting the identity identification registration of the sensors after networking.
10. The internet-of-things-based sensor wireless autonomous networking system of claim 9, wherein the asynchronous deleter is specifically configured to:
and deleting the ID registration and clearing the registration position of the plurality of types of sensors after networking, and when receiving the messages of the plurality of types of sensors after deleting the ID notes and clearing the registration position later, marking a reply packet to prompt that the IDs of the plurality of types of sensors after deleting the ID notes and clearing the registration position are deleted.
CN202110228689.3A 2021-03-02 2021-03-02 Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment Pending CN113055449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110228689.3A CN113055449A (en) 2021-03-02 2021-03-02 Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110228689.3A CN113055449A (en) 2021-03-02 2021-03-02 Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment

Publications (1)

Publication Number Publication Date
CN113055449A true CN113055449A (en) 2021-06-29

Family

ID=76509487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110228689.3A Pending CN113055449A (en) 2021-03-02 2021-03-02 Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment

Country Status (1)

Country Link
CN (1) CN113055449A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150063765A (en) * 2013-12-02 2015-06-10 주식회사 핸디소프트 Multiple sensor hub based sensing information sharing system
CN105721422A (en) * 2014-12-18 2016-06-29 三星电子株式会社 Method And Apparatus For Supporting Facility Control Of Terminal
US20170202037A1 (en) * 2016-01-12 2017-07-13 Samsung Electronics Co., Ltd. Apparatus and method for installing electronic device in wireless communication system
CN107147743A (en) * 2017-06-29 2017-09-08 深圳市劳沃智能科技有限公司 Communication means based on the Internet of things system for simplifying Internet of Things communication protocol
WO2017219184A1 (en) * 2016-06-20 2017-12-28 易晓阳 Method for controlling internet of things device based on wide area network
CN107734634A (en) * 2016-08-12 2018-02-23 北京小米移动软件有限公司 Sensor register method, apparatus and system
CN108512870A (en) * 2017-02-27 2018-09-07 华为技术有限公司 Access method, platform of internet of things and the internet of things equipment of platform of internet of things
CN108881347A (en) * 2017-05-15 2018-11-23 广州隽智智能科技有限公司 Concurrent full-automatic wireless network-building method and system for multinode things system
CN109474716A (en) * 2018-12-05 2019-03-15 张洋 Sensor Accreditation System, method and apparatus based on universal serial bus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150063765A (en) * 2013-12-02 2015-06-10 주식회사 핸디소프트 Multiple sensor hub based sensing information sharing system
CN105721422A (en) * 2014-12-18 2016-06-29 三星电子株式会社 Method And Apparatus For Supporting Facility Control Of Terminal
US20170202037A1 (en) * 2016-01-12 2017-07-13 Samsung Electronics Co., Ltd. Apparatus and method for installing electronic device in wireless communication system
WO2017219184A1 (en) * 2016-06-20 2017-12-28 易晓阳 Method for controlling internet of things device based on wide area network
CN107734634A (en) * 2016-08-12 2018-02-23 北京小米移动软件有限公司 Sensor register method, apparatus and system
CN108512870A (en) * 2017-02-27 2018-09-07 华为技术有限公司 Access method, platform of internet of things and the internet of things equipment of platform of internet of things
CN108881347A (en) * 2017-05-15 2018-11-23 广州隽智智能科技有限公司 Concurrent full-automatic wireless network-building method and system for multinode things system
CN107147743A (en) * 2017-06-29 2017-09-08 深圳市劳沃智能科技有限公司 Communication means based on the Internet of things system for simplifying Internet of Things communication protocol
CN109474716A (en) * 2018-12-05 2019-03-15 张洋 Sensor Accreditation System, method and apparatus based on universal serial bus

Similar Documents

Publication Publication Date Title
CN101884178B (en) Method and system for communication in near field communication network
EP1897243B1 (en) Rfid optimized capability negotiation
EP2563090B1 (en) Passive RF devices that communicate using a wireless network protocol
CN107889078B (en) Method for communication of a vehicle
US20140321321A1 (en) Method and technical equipment for short range data transmission
CN103222291A (en) Application routing configuration for NFC controller supporting multiple NFC execution environments NFCEE
US9609464B2 (en) Method and technical equipment for short range data transmission
CN102474822A (en) Communication terminal and communication method
WO2016015373A1 (en) Beacon-based broadcast method and beacon device
CN102348294B (en) Building method of self-organized reconfigurable wireless sensor network
CN105556492A (en) Near field communication (NFC) data transfer
CN101932085A (en) Peer negotiation in the wireless network
US10484293B2 (en) Communication device, communication method, and storage medium
CN108011923B (en) Beacon sensor device
CN113055449A (en) Wireless autonomous networking method and system for sensor based on Internet of things, and computer equipment
CN112078634A (en) Uncoupling hook control method and device, electronic equipment and storage medium
US9307068B2 (en) Information processing apparatus and communication processing method thereof
US10103783B2 (en) Radio frequency discovery method, chip, and device
JP3483430B2 (en) Polling method and terminal device
EP2211527A1 (en) Autonomous RFID reader
CN103826022A (en) Information transmitting apparatus and method
CN104798433A (en) Communication terminal, communication system, communication control method, and storage medium
WO2010075149A1 (en) Llrp-based flexible reader system and method
KR101766759B1 (en) NFC-based Vehicle Status Alerts Service System for Phone-number Leakage Protection
CN110856129A (en) Information delivery method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210629

RJ01 Rejection of invention patent application after publication