CN110324790A - A kind of method for connecting network, node device, network system and storage medium - Google Patents

A kind of method for connecting network, node device, network system and storage medium Download PDF

Info

Publication number
CN110324790A
CN110324790A CN201910596048.6A CN201910596048A CN110324790A CN 110324790 A CN110324790 A CN 110324790A CN 201910596048 A CN201910596048 A CN 201910596048A CN 110324790 A CN110324790 A CN 110324790A
Authority
CN
China
Prior art keywords
distribution information
node device
network
mould group
network communication
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.)
Granted
Application number
CN201910596048.6A
Other languages
Chinese (zh)
Other versions
CN110324790B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201910596048.6A priority Critical patent/CN110324790B/en
Publication of CN110324790A publication Critical patent/CN110324790A/en
Application granted granted Critical
Publication of CN110324790B publication Critical patent/CN110324790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

This application discloses a kind of method for connecting network, node device, network system and storage medium, which includes: to obtain the distribution information that mobile terminal is sent using short-range communication mould group;Wireless routing device is connected based on distribution information, to realize network connection;And broadcasted distribution information using network communication mould group, so that the second class node device obtains distribution information using network communication mould group, and connects wireless routing device based on distribution information, to realize network connection.By the above-mentioned means, on the one hand can be avoided some node devices network modules version it is lower, can not be got by network modules mobile terminal transmission distribution information the problem of;On the other hand great deal of nodes equipment can be made to get distribution information rapidly to connect network.

Description

A kind of method for connecting network, node device, network system and storage medium
Technical field
This application involves network technique field, more particularly to a kind of method for connecting network, node device, network system with And storage medium.
Background technique
Intelligent internet of things equipment is applied more more and more universal in scenes such as family, markets.Realize the crucial mould of object object connection Block is exactly these wireless network modules such as WIFI, bluetooth, these wireless modules are generally all embedded in internet of things equipment.
The existing WIFI module for being much built in internet of things equipment is all single antenna, maximum support 802.11n mode.But That the routing device of user's family installation, the mobile phone that uses are really more and more high-end, routing device be essentially all multiple antennas, Support 802.11n, ac even ax (being wirelessly input to standard).The assembled scheme meeting of these middle and high end mobile phones and multiple antennas routing device Cause the WIFI module inside internet of things equipment that can not listen to the multicast message of cell phone application sending, then these smart machines It all cannot normal use.
Summary of the invention
To solve the above problems, this application provides a kind of method for connecting network, node device, network system and storages Medium, the network modules version that on the one hand can be avoided some node devices is lower, can not get movement by network modules The problem of distribution information that terminal is sent;On the other hand great deal of nodes equipment can be made to get distribution information rapidly to connect net Network.
The technical solution that the application uses is: a kind of method for connecting network is provided, this method comprises: using closely Communications module obtains the distribution information that mobile terminal is sent;Wireless routing device is connected based on distribution information, to realize that network connects It connects;And broadcasted distribution information using network communication mould group, so that the second class node device utilizes network communication mould group Distribution information is obtained, and wireless routing device is connected based on distribution information, to realize network connection.
Wherein, distribution information is carried out broadcast using network communication mould group includes: by distribution Information encapsulation to probe requests thereby Frame;
Probe request is broadcasted.
Wherein, to probe request carry out broadcast include: in the set time period, with setpoint frequency to probe request into Row broadcast.
Wherein, network communication mould group is WIFI communications module, and distribution information is WIFI distribution information.
Wherein, WIFI distribution information includes the service set and password of wireless routing device.
Another technical solution that the application uses is: a kind of node device is provided, the node device include processor with And memory connected to the processor, short-range communication mould group, network communication mould group;Wherein, memory is for storing program number According to processor is for executing program data to realize such as above-mentioned method.
Another technical solution that the application uses is: providing a kind of node device, which sets for first node Standby, first node equipment includes: proximity communication module, for obtaining the distribution information of mobile terminal transmission;Network communication mould Block, for connecting wireless routing device based on distribution information, to realize network connection;Network communication module is also used to believe distribution Breath is broadcasted, so that the second class node device obtains distribution information, and wireless routing device is connected based on distribution information, with reality Now it is connected to the network.
Another technical solution that the application uses is: a kind of method for connecting network is provided, this method comprises: utilizing network Communications module obtains the distribution information that first kind node device is sent;Wherein, distribution information is passed through close by first kind node device Distance communication mould group is broadcasted from acquisition for mobile terminal, and by first kind node device by network communication mould group;Based on matching Net information connects wireless routing device, to realize network connection;And broadcasted distribution information using network communication mould group, So that the second class node device of surrounding obtains distribution information using network communication mould group, and connects wireless routing based on distribution information Equipment, to realize network connection.
Another technical solution that the application uses is: a kind of node device is provided, the node device include processor with And memory connected to the processor, network communication mould group;Wherein, memory is for storing program data, and processor is for holding Line program data are to realize such as above-mentioned method.
Another technical solution that the application uses is: providing a kind of node device, which sets for second node Standby, second node equipment includes: network communication module, for obtaining the distribution information of first kind node device transmission;Wherein, match Net information is passed through by proximity communication module from acquisition for mobile terminal, and by first kind node device by first kind node device Network communication module is broadcasted;Network communication module is also used to connect wireless routing device based on distribution information, to realize net Network connection;Network communication module is also used to broadcast distribution information, so that the second class node device of surrounding is logical using network Believe that module obtains distribution information, and wireless routing device is connected based on distribution information, to realize network connection.
Another technical solution that the application uses is: providing a kind of network system, which is characterized in that network system includes Mobile terminal, at least one first kind node device and at least one second class node device;Wherein, first kind node is set It is such as above-mentioned node device for being such as above-mentioned node device or the second class node device.
Another technical solution that the application uses is: providing a kind of computer storage medium, the computer storage medium For storing program data, program data is when being executed by processor, for realizing such as above-mentioned method.
Method for connecting network provided by the present application includes: to obtain the distribution that mobile terminal is sent using short-range communication mould group Information;Wireless routing device is connected based on distribution information, to realize network connection;And distribution is believed using network communication mould group Breath is broadcasted, so that the second class node device obtains distribution information using network communication mould group, and is connected based on distribution information Wireless routing device, to realize network connection.By the above-mentioned means, a part in node device is embedded short-range communication mould Then distribution information is broadcasted by network modules to receive the distribution information of mobile terminal, can be avoided some nodes and set by group The problem of standby network modules version is lower, and the distribution information of mobile terminal transmission can not be got by network modules;In addition, Since the transmission range of Bluetooth signal is short, through-wall performance is bad, is broadcasted between node device by network communication mould group, energy Enough be conducive to the broadcast of distribution information, get distribution information all convenient for all node devices to connect network.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.Wherein:
Fig. 1 is the structural schematic diagram of network system provided by the embodiments of the present application;
Fig. 2 is the first pass schematic diagram of method for connecting network provided by the embodiments of the present application;
Fig. 3 is the second procedure schematic diagram of method for connecting network provided by the embodiments of the present application;
Fig. 4 is the third flow diagram of method for connecting network provided by the embodiments of the present application;
Fig. 5 is the first structure diagram of node device provided by the embodiments of the present application;
Fig. 6 is the second structural schematic diagram of node device provided by the embodiments of the present application;
Fig. 7 is the third structural schematic diagram of node device provided by the embodiments of the present application;
Fig. 8 is the 4th structural schematic diagram of node device provided by the embodiments of the present application;
Fig. 9 is the 4th flow diagram of method for connecting network provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Figure 11 is the structural schematic diagram of computer storage medium provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.It is understood that specific embodiment described herein is only used for explaining the application, rather than to the limit of the application It is fixed.It also should be noted that illustrating only part relevant to the application for ease of description, in attached drawing and not all knot Structure.Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall in the protection scope of this application.
Term " first ", " second " in the application etc. be for distinguishing different objects, rather than it is specific suitable for describing Sequence.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as comprising The process, method, system, product or equipment of a series of steps or units are not limited to listed step or unit, and It is optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, product or equipment Intrinsic other step or units.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Refering to fig. 1, Fig. 1 is the structural schematic diagram of network system provided by the embodiments of the present application, which includes Wireless routing device 11, mobile terminal 12, first kind node device 13 and the second class node device 14.Wherein, first kind node Equipment 13 and the quantity of the second class node device 14 can be it is multiple, here with no restriction.
Wireless routing device 10 is for user's online, the routing device with wireless coverage function.Wireless routing device 10 are considered as a transponder, and broadband network signal is transmitted to neighbouring Wireless Communication Equipment (notebook electricity by antenna Brain, mobile phone, plate and all equipment with WIFI function for supporting WIFI).
Mobile terminal 12 can be mobile phone, tablet computer, intelligent wearable device etc..
First kind node device 13 and the second class node device 14 can be Internet of Things (Internet of Things, IoT) equipment, Internet of Things are the information carriers such as internet, conventional telecommunications net, allow all common objects that can exercise standalone feature Realize the network to interconnect.Wherein, first kind node device 13 and the second class node device 14 can be web camera (IPC, IP Camera), intelligent door lock, sweeping robot, intelligent sound box etc..
By taking web camera as an example, web camera is a kind of generated new in conjunction with network technology by traditional cameras Generation video camera.Web camera is composed of network code module and analog video camera.Network code module takes the photograph simulation The collected analog video signal coding of camera is compressed into digital signal, sets so as to be directly accessed network exchange and routing It is standby.
It is illustrated separately below from the working principle at 14 both ends of first node equipment 13 and second node equipment.
Referring to Fig.2, Fig. 2 is the first pass schematic diagram of method for connecting network provided by the embodiments of the present application, this method is answered For first node equipment 13, this method comprises:
Step 21: obtaining the distribution information that mobile terminal is sent using short-range communication mould group.
Short-range communication mould group is embedded in node device in the present embodiment, which can be bluetooth Mould group, NFC (Near Field Communication, near-field communication) mould group or infrared communication mould group etc..It is with bluetooth mould group Example, bluetooth mould group is a kind of PCBA (Printed Circuit Board+Assembly) plate of integrated Bluetooth function, for short Apart from wireless telecommunications, it is divided into blue-teeth data mould group and blue tooth voice mould group by function, can mainly uses bluetooth in the present embodiment Data mould group, is used for transmission data.
Wherein, which is Mei Ge broadcasting out in such a way that mobile terminal (such as mobile phone) is by bluetooth Node device within the scope of certain distance can receive the distribution information by way of bluetooth.Wherein, node device can To connect wireless routing device using the distribution information, to realize network connection.
Optionally, which is WIFI distribution information, which may include wireless routing device SSID (Service Set Identifier, service set) and password.
By taking bluetooth as an example, detailed process is as follows for step 21: the bluetooth mould group of node device is in normally open, is connecting When bluetooth, mobile terminal 12 starts bluetooth, and the bluetooth equipment near searching for, when searching first node equipment 13, with the One node device 13 establishes bluetooth connection.
Step 22: wireless routing device being connected based on distribution information, to realize network connection.
Wherein, by taking WIFI distribution information as an example, it includes following for carrying out WIFI network connection mainly using WIFI distribution information Several processes:
It scans (Scanning): searching for the Wi-Fi hotspot on periphery.A wireless network is added, it is necessary to find its Network name, i.e. SSID.This SSID is the parameter that access point (Access Point) responds work station scanning when institute band in fact, There are also other network parameters, including BSSID (MAC Address that can be regarded as access point), signal strength, encryption and authentication mode Deng.
Scan type is divided to two kinds, and one is active scan (active scanning), and another kind is drive sweep (passivescanning).Active scan is actively to find network, and drive sweep, work station can be in channel lists Constantly switch between each channel listed by (channel list), and waits for peacefully the arrival of Beacon frame.
It authenticates (Authentication): inputting the link of password.After finding Wi-Fi hotspot, the wireless network is added Network just will pop up the window of an input password.Certainly, the node device in the present embodiment carries out defeated manually without pop-up window Enter, but carries out password authentification automatically.
It can be related to a cipher mode in verification process, the WiFi module of mainstream is more likely to WPA/WPA2 encryption at present Mode.
Association (Association): if user wants to access wireless network by AP (Access Point), user is necessary It is associated with specific AP.When user selects wireless network by specified SSID, and after being authenticated by AP, so that it may send pass to AP Join claim frame.User information is added to database by AP, replys associated response to user.User may only be associated with one every time On AP, and it is associated with and is always initiated by user.
The operating mode of WiFi module: WiFi module operating mode is AP and STA respectively there are two types of operating mode, and AP is exactly Hot spot that is it as ap mode itself can give off a wireless wifi network road, STA is exactly station mode, client Mode, that is, as our computer connection wireless routing devices, it is equivalent to the role of computer.
Step 23: being broadcasted distribution information using network communication mould group, so that the second class node device utilizes network Communications module obtains distribution information, and connects wireless routing device based on distribution information, to realize network connection.
It is to be appreciated that due to including multiple node devices in a network system 10, first kind node device 13 After networking, further WIFI distribution information can be broadcasted, so that other the second class node devices 14 are got WIFI distribution information.
Further, the WIFI mould group that current mobile terminal (such as mobile phone) 12 uses all is multiple antennas, support 802.11n, Ac even ax, and the WIFI mould group used in node device is single antenna mostly.Therefore, mobile terminal 12 can not directly pass through WIFI mould group broadcasts distribution information to node device.In the present embodiment, it is set by the first kind node in node device Bluetooth mould group is embedded in standby 13, and data interaction is then carried out by bluetooth between mobile terminal 12 and first kind node device 13, I.e. distribution information is sent to first kind node device 13 by bluetooth by mobile terminal 12, then first kind node device 13 and The WIFI mould group of single antenna is all embedded on two class node devices 14, first kind node device 13 is believed distribution by WIFI mould group Breath is broadcasted, and other second class node devices 14 can receive distribution information by WIFI mould group to which connection is wireless Routing device 11 realizes network connection.
Optionally, in one embodiment, can be by the probe request frame (probe request) of low rate, it can be with Easily through metope, transmission range is wide.Specifically, first kind node device 13 is by WIFI distribution Information encapsulation to probe In the privately owned IE field of request frame, then probe request is broadcasted.
Furthermore it is possible to create a timer, in the set time period, probe request is carried out with setpoint frequency wide It broadcasts.For example, every five seconds broadcast is primary in 1 minutes.
It is to be appreciated that the execution sequence of above-mentioned step 22 and step 23 does not limit, also may be performed simultaneously.
It is different from the prior art, method for connecting network provided in this embodiment includes: to be obtained using short-range communication mould group The distribution information that mobile terminal is sent;Wireless routing device is connected based on distribution information, to realize network connection;And utilize net Network communications module broadcasts distribution information, so that the second class node device obtains distribution information using network communication mould group, And wireless routing device is connected based on distribution information, to realize network connection.By the above-mentioned means, by one in node device Divide embedded short-range communication mould group to receive the distribution information of mobile terminal, then broadcasted distribution information by network modules, The network modules version that can be avoided some node devices is lower, and matching for mobile terminal transmission can not be got by network modules The problem of net information;In addition, the transmission range due to Bluetooth signal is short, through-wall performance is bad, passes through network between node device Communications module is broadcasted, and the broadcast of distribution information can be conducive to, convenient for all node devices all get distribution information with Connect network.
It is the second procedure schematic diagram of method for connecting network provided by the embodiments of the present application refering to Fig. 3, Fig. 3, this method is answered For second node equipment 14, this method comprises:
Step 31: obtaining the distribution information that first kind node device is sent using network communication mould group;Wherein, distribution information Led to from acquisition for mobile terminal, and by first kind node device by network by first kind node device by short-range communication mould group Letter mould group is broadcasted.
Optionally, by taking WIFI network as an example, first kind node device 13 is by WIFI distribution Information encapsulation to probe In the privately owned IE field of request frame, then probe request is broadcasted.Second class node device 14 is communicated by WIFI Mould group receives probe request and is parsed, to obtain distribution information.
Step 32: wireless routing device being connected based on distribution information, to realize network connection.
The method that the second class equipment 14 connects wireless routing device by distribution information in this step, sets with the above-mentioned first kind Standby 13 is similar by the method for distribution information connection wireless routing device, and which is not described herein again.
Step 33: being broadcasted distribution information using network communication mould group, so that the second class node device of surrounding utilizes Network communication mould group obtains distribution information, and connects wireless routing device based on distribution information, to realize network connection.
It is to be appreciated that by taking WIFI network as an example, due to including multiple second class node devices 14 in network system 10, because This, a second class node device 14 can further broadcast WIFI distribution information after networking, so that other The second class node device 14 get WIFI distribution information, and then the second all class node devices 14 is made to get WIFI Distribution information.
Optionally, in one embodiment, can be by the probe request frame of low rate, it can be easily through wall Face, transmission range are wide.Specifically, the second class node device 14 is by WIFI distribution Information encapsulation to the private of probe request frame Have in IE field, then probe request is broadcasted.
Furthermore it is possible to create a timer, in the set time period, probe request is carried out with setpoint frequency wide It broadcasts.For example, every five seconds broadcast is primary in 1 minutes.
It is the third flow diagram of method for connecting network provided by the embodiments of the present application refering to Fig. 4, Fig. 4, this method is answered For first kind node device 13 or the second class node device 14, this method comprises:
Step 41: control WIFI mould group enters monitor mode, if node device is embedded with bluetooth mould group, opens indigo plant Tooth mould group.
Listener mode (monitor mode) refers to that wireless network card can receive the work of all data flows by it Mode, corresponding to other modes of 802.11 network interface card of IEEE, such as Master (wireless routing device), Managed (common mould The network interface card of formula), Ad-hoc etc..Listener mode does not distinguish the destination-mac address of received data packet, this point and promiscuous mode class Seemingly.However, with promiscuous mode unlike, listener mode do not need and wireless access point (AP) or Ad-hoc network are established Connection.Listening mode is the distinctive special pattern of wireless network card, and promiscuous mode is applied to wired network adapter and wireless network card.
Step 42: whether detection node equipment supports Bluetooth function.
For example, processor, which can issue a bluetooth, opens control instruction, if receiving the feedback of bluetooth mould group, it is determined that should Node device is equipped with bluetooth mould group, Bluetooth function is supported, if not receiving feedback, it is determined that the node device does not install bluetooth mould Group does not support Bluetooth function.
Step 43: opening bluetooth mould group.
Step 44: whether detection WIFI mould group or bluetooth mould group obtain WIFI distribution information.
It is to be appreciated that in the present embodiment, obtaining WIFI distribution information together using WIFI mould group and bluetooth mould group.Its In, if getting WIFI distribution information, which may be that mobile terminal 12 is sent by bluetooth mould group, can also It can be that other node devices are sent by bluetooth mould group, it is also possible to which other node devices are sent by WIFI mould group.
Step 45: carrying out WIFI network connection using WIFI distribution information.
Step 46: by WIFI distribution Information encapsulation to probe request.
Step 47: probe request is broadcasted.
Step 48: whether detection number of broadcast times reaches setting number.
If detection number of broadcast times reaches setting number, terminate, if not reaching setting number, can continue wide It broadcasts.
It in a specific embodiment, include a first kind node device 13 and multiple second class sections in network system 10 Point device 14.Specifically, mobile terminal 12 is by bluetooth connection first kind node device 13, and passes through bluetooth to first kind node Equipment 13 sends WIFI distribution information.First kind node device 13 receives WIFI distribution information by bluetooth, and utilizes the WIFI Distribution information is connected to wireless routing device, to realize network connection;Meanwhile first kind node device 13 will by WIFI mould group The WIFI distribution information is broadcasted.Second class node device 14 receives first kind node device 13 by WIFI mould group and broadcasts WIFI distribution information, and wireless routing device is connected to using the WIFI distribution information, to realize network connection;Meanwhile the The WIFI distribution information is continued to broadcast by two class node devices 14 by WIFI mould group, so as to other the second class node devices 14 receive the distribution information.
It is the first structure diagram of node device provided by the embodiments of the present application refering to Fig. 5, Fig. 5, which sets Standby 13 include processor 51 and the memory 52 connecting with processor 51, short-range communication mould group 53, network communication mould group 54.
Wherein, short-range communication mould group 53 is used to carry out data interaction with mobile terminal, which can To be bluetooth mould group;Network communication mould group 54 is for being connected to router, to realize network connection, and for setting with second node Standby 14 carry out data interaction, which can be WIFI mould group.
Wherein, program data is stored in memory 52, processor 51 is following to realize for executing the program data Method: first kind node device obtains the distribution information that mobile terminal is sent using short-range communication mould group;Based on distribution information Wireless routing device is connected, to realize network connection;And broadcasted distribution information using network communication mould group, so that the Two class node devices obtain distribution information using network communication mould group, and connect wireless routing device based on distribution information, with reality Now it is connected to the network.
In one specifically embodiment, which can be web camera, and web camera is a kind of By traditional cameras in conjunction with network technology it is generated a new generation video camera.Web camera is by network code module and simulation Camera chain forms.The collected analog video signal coding of analog video camera is compressed into digital letter by network code module Number, so as to be directly accessed network exchange and routing device.
It is the second structural schematic diagram of node device provided by the embodiments of the present application refering to Fig. 6, Fig. 6, which sets Standby 13 include proximity communication module 61 and network communication module 62, wherein proximity communication module 61 is mobile whole for obtaining Hold the distribution information sent;Network communication module 62 is used to connect wireless routing device based on distribution information, to realize that network connects It connects;Network communication module 62 is also used to broadcast distribution information, so that the second class node device obtains distribution information, and base Wireless routing device is connected in distribution information, to realize network connection.
It is the third structural schematic diagram of node device provided by the embodiments of the present application refering to Fig. 7, Fig. 7, which sets Standby 14 include processor 71 and the memory 72 connecting with processor 71, network communication mould group 73.
Wherein, network communication mould group 73 is for being connected to router, to realize network connection, and is used for and others second Node device 14 carries out data interaction, which can be WIFI mould group.
Wherein, program data is stored in memory 72, processor 71 is following to realize for executing the program data Method: current second class node device obtains the distribution information that first kind node device is sent using network communication mould group;Wherein, Distribution information is led to by short-range communication mould group from acquisition for mobile terminal, and by first kind node device by first kind node device Network communication mould group is crossed to be broadcasted;Wireless routing device is connected based on distribution information, to realize network connection;And utilize net Network communications module broadcasts distribution information, believes so that the second class node device of surrounding obtains distribution using network communication mould group Breath, and wireless routing device is connected based on distribution information, to realize network connection.
In one specifically embodiment, which can be web camera, and web camera is a kind of By traditional cameras in conjunction with network technology it is generated a new generation video camera.Web camera is by network code module and simulation Camera chain forms.The collected analog video signal coding of analog video camera is compressed into digital letter by network code module Number, so as to be directly accessed network exchange and routing device.
It is the 4th structural schematic diagram of node device provided by the embodiments of the present application refering to Fig. 8, Fig. 8, which sets Standby 14 include network communication module 81, wherein network communication module 81, for obtaining the distribution letter of first kind node device transmission Breath;Wherein, distribution information passes through proximity communication module from acquisition for mobile terminal by first kind node device, and by first kind section Point device is broadcasted by network communication module;Network communication module 81 is also used to set based on distribution information connection wireless routing It is standby, to realize network connection;Network communication module 81 is also used to broadcast distribution information, so that the second class node of surrounding is set It is standby to obtain distribution information using network communication module, and wireless routing device is connected based on distribution information, to realize network connection.
It is the 4th flow diagram of method for connecting network provided by the embodiments of the present application refering to Fig. 9, Fig. 9, this method is answered For mobile terminal, this method comprises:
Step 91: obtaining the distribution information of user's input.
Wherein, which can be mobile phone, tablet computer, intelligent wearable device etc..Specifically, mobile whole End, the function of this implementation can be realized especially by the mode of an application program (APP), is provided in the operation interface of APP Input of the input field of one distribution information to receive user.
Optionally, which is WIFI distribution information, which may include wireless routing device SSID (Service Set Identifier, service set) and password.
Step 92: distribution information being broadcasted by short-range communication mould group, so that first kind node device is got Distribution information realizes network connection, and first kind node device is made to pass through nothing to connect wireless routing device using distribution information Line communications module broadcasts distribution information, so that the second class node device gets distribution information, to utilize distribution information Wireless routing device is connected, realizes network connection.
0, Figure 10 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application refering to fig. 1, the mobile terminal 12 packet Include processor 101 and the memory 102 connecting with the processor 101, short-range communication mould group 103.
Wherein, which can be bluetooth mould group for carrying out data with first kind node device 13 Interaction, is sent to first kind node device 13 for distribution information.
Wherein, program data is stored in memory 102, processor 101 is following to realize for executing the program data Method: obtain user input distribution information;Distribution information is broadcasted by short-range communication mould group, so that the first kind Node device gets distribution information, to connect wireless routing device using distribution information, realizes network connection, and make the first kind Mould group broadcasts distribution information to node device by wireless communication, so that the second class node device gets distribution information, To connect wireless routing device using distribution information, network connection is realized.
1, Figure 11 is the structural schematic diagram of computer storage medium provided by the embodiments of the present application, the computer refering to fig. 1 Program data 111 is stored in storage medium 110.
Optionally, which can be applied to mobile terminal 12, first kind node device 13 or the second Class node device 14, the program data 111 is when being executed by processor, to realize such as above-mentioned mobile terminal 12, the first kind Method and step performed by node device 13 or the second class node device 14, which is not described herein again.
In several embodiments provided herein, it should be understood that disclosed method and equipment, Ke Yitong Other modes are crossed to realize.For example, equipment embodiment described above is only schematical, for example, the module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize present embodiment scheme according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the application can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit in above-mentioned other embodiments is realized in the form of SFU software functional unit and as independence Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the application Technical solution substantially all or part of the part that contributes to existing technology or the technical solution can be in other words It is expressed in the form of software products, which is stored in a storage medium, including some instructions are used So that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) all or part of the steps of each embodiment the method for the application is executed.And storage medium packet above-mentioned It includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as magnetic or disk.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all according to this Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field similarly includes in the scope of patent protection of the application.

Claims (12)

1. a kind of method for connecting network, which is characterized in that the described method includes:
The distribution information that mobile terminal is sent is obtained using short-range communication mould group;
Wireless routing device is connected based on the distribution information, to realize network connection;And
The distribution information is broadcasted using network communication mould group, so that the second class node device utilizes network communication mould group The distribution information is obtained, and wireless routing device is connected based on the distribution information, to realize network connection.
2. the method according to claim 1, wherein
It is described using network communication mould group by the distribution information carry out broadcast include:
By the distribution Information encapsulation to probe request;
The probe request is broadcasted.
3. according to the method described in claim 2, it is characterized in that,
It is described to the probe request carry out broadcast include:
In the set time period, the probe request is broadcasted with setpoint frequency.
4. method according to claim 1-3, which is characterized in that
The network communication mould group is WIFI communications module, and the distribution information is WIFI distribution information.
5. according to the method described in claim 4, it is characterized in that,
The WIFI distribution information includes the service set and password of wireless routing device.
6. a kind of node device, which is characterized in that the node device includes processor and what is be connected to the processor deposit Reservoir, short-range communication mould group, network communication mould group;
Wherein, the memory is realized for executing described program data for storing program data, the processor such as power Benefit requires the described in any item methods of 1-5.
7. a kind of node device, which is characterized in that the node device is first node equipment, the first node equipment packet It includes:
Proximity communication module, for obtaining the distribution information of mobile terminal transmission;
Network communication module, for connecting wireless routing device based on the distribution information, to realize network connection;
The network communication module is also used to broadcast the distribution information, so as to match described in the acquisition of the second class node device Net information, and wireless routing device is connected based on the distribution information, to realize network connection.
8. a kind of method for connecting network, which is characterized in that the described method includes:
The distribution information that first kind node device is sent is obtained using network communication mould group;Wherein, the distribution information is by described First kind node device passes through network from acquisition for mobile terminal, and by the first kind node device by short-range communication mould group Communications module is broadcasted;
Wireless routing device is connected based on the distribution information, to realize network connection;And
The distribution information is broadcasted using network communication mould group, so that the second class node device of surrounding utilizes network communication Mould group obtains the distribution information, and connects wireless routing device based on the distribution information, to realize network connection.
9. a kind of node device, which is characterized in that the node device includes processor and what is be connected to the processor deposit Reservoir, network communication mould group;
Wherein, the memory is realized for executing described program data for storing program data, the processor such as power Benefit require 8 described in method.
10. a kind of node device, which is characterized in that the node device is second node equipment, the second node equipment packet It includes:
Network communication module, for obtaining the distribution information of first kind node device transmission;Wherein, the distribution information is by described First kind node device passes through network from acquisition for mobile terminal, and by the first kind node device by proximity communication module Communication module is broadcasted;
The network communication module is also used to connect wireless routing device based on the distribution information, to realize network connection;
The network communication module is also used to broadcast the distribution information, so that the second class node device of surrounding utilizes net Network communication module obtains the distribution information, and connects wireless routing device based on the distribution information, to realize network connection.
11. a kind of network system, which is characterized in that the network system includes that mobile terminal, at least one first kind node are set Standby and at least one second class node device;
Wherein, the first kind node device is node device as claimed in claim 6 or the second class node device is Node device as claimed in claim 9.
12. a kind of computer storage medium, which is characterized in that the computer storage medium is described for storing program data Program data is when being executed by processor, for realizing such as described in any item methods of claim 1-5 or 8.
CN201910596048.6A 2019-07-03 2019-07-03 Network connection method, node device, network system and storage medium Active CN110324790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910596048.6A CN110324790B (en) 2019-07-03 2019-07-03 Network connection method, node device, network system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910596048.6A CN110324790B (en) 2019-07-03 2019-07-03 Network connection method, node device, network system and storage medium

Publications (2)

Publication Number Publication Date
CN110324790A true CN110324790A (en) 2019-10-11
CN110324790B CN110324790B (en) 2022-04-19

Family

ID=68122433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910596048.6A Active CN110324790B (en) 2019-07-03 2019-07-03 Network connection method, node device, network system and storage medium

Country Status (1)

Country Link
CN (1) CN110324790B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479227A (en) * 2020-05-13 2020-07-31 厦门阳光物联科技有限公司 B L E Mesh node state synchronization method
CN111698693A (en) * 2020-06-08 2020-09-22 浙江大华技术股份有限公司 Wireless network distribution method, device and storage medium
CN113903168A (en) * 2021-08-17 2022-01-07 浙江大华技术股份有限公司 Fault detection method, fault detection device, and computer-readable storage medium
CN115396824A (en) * 2022-07-13 2022-11-25 深圳市酷开网络科技股份有限公司 Network configuration method and device based on Bluetooth, computer equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392181A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105785786A (en) * 2016-04-22 2016-07-20 广东格兰仕集团有限公司 NFC control-based intelligent household appliance and distribution network method thereof
CN107276866A (en) * 2017-07-28 2017-10-20 美的智慧家居科技有限公司 Home appliance match somebody with somebody network method, device and home appliance
US20170359724A1 (en) * 2016-06-09 2017-12-14 Canary Connect, Inc. Secure pairing of devices and secure keep-alive
CN107750058A (en) * 2017-10-30 2018-03-02 欧普照明股份有限公司 Method, control terminal and the system of equipment access network based on wifi Beacon frames
EP3461109A1 (en) * 2012-02-24 2019-03-27 Samsung Electronics Co., Ltd. Method and apparatus for allocating ip address in wireless p2p communication network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3461109A1 (en) * 2012-02-24 2019-03-27 Samsung Electronics Co., Ltd. Method and apparatus for allocating ip address in wireless p2p communication network
CN105392181A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105785786A (en) * 2016-04-22 2016-07-20 广东格兰仕集团有限公司 NFC control-based intelligent household appliance and distribution network method thereof
US20170359724A1 (en) * 2016-06-09 2017-12-14 Canary Connect, Inc. Secure pairing of devices and secure keep-alive
CN107276866A (en) * 2017-07-28 2017-10-20 美的智慧家居科技有限公司 Home appliance match somebody with somebody network method, device and home appliance
CN107750058A (en) * 2017-10-30 2018-03-02 欧普照明股份有限公司 Method, control terminal and the system of equipment access network based on wifi Beacon frames

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479227A (en) * 2020-05-13 2020-07-31 厦门阳光物联科技有限公司 B L E Mesh node state synchronization method
CN111698693A (en) * 2020-06-08 2020-09-22 浙江大华技术股份有限公司 Wireless network distribution method, device and storage medium
CN113903168A (en) * 2021-08-17 2022-01-07 浙江大华技术股份有限公司 Fault detection method, fault detection device, and computer-readable storage medium
CN113903168B (en) * 2021-08-17 2022-11-22 浙江大华技术股份有限公司 Fault detection method, fault detection device, and computer-readable storage medium
CN115396824A (en) * 2022-07-13 2022-11-25 深圳市酷开网络科技股份有限公司 Network configuration method and device based on Bluetooth, computer equipment and medium
CN115396824B (en) * 2022-07-13 2023-11-21 深圳市酷开网络科技股份有限公司 Bluetooth-based network configuration method, device, computer equipment and medium

Also Published As

Publication number Publication date
CN110324790B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN110324790A (en) A kind of method for connecting network, node device, network system and storage medium
US8644220B2 (en) Multi-tier wireless home mesh network with a secure network discovery protocol
US9154935B2 (en) Wireless home mesh network bridging adaptor
US8904177B2 (en) Authentication for a multi-tier wireless home mesh network
CN104053213B (en) Integrated relaying in cordless communication network
CN103891357B (en) System and method for quick initial network link establishing
CN101931954B (en) Method for improving quality of service (QoS) of real-time service in wireless local area network based on service differentiation
CN102461323B (en) Communication method in an ieee 802.11 wireless lan environment
CN106060816B (en) A kind of wireless self-networking method and system
CN105580400A (en) System and method for multihop service discovery with member station proxy service advertisements
US20100189029A1 (en) Distributed ip address assignment protocol for a multi-hop wireless home mesh network with collision detection
CN106165496A (en) The dedicated channel set up for quick initial link circuit in wireless network
US8300578B2 (en) System, apparatus and method for seamless roaming through the use of routing update messages
CN102724666B (en) Terminal data relay method, device thereof and system thereof
CN104012139A (en) Method, apparatus, and computer program product for filtering list in wireless request
CN104349303B (en) Device-to-device connection management method, apparatus and base station
CN104539324B (en) Bluetooth low-power-consumption networking interconnecting method and system
CN102164368B (en) A kind of method accessing WLAN and communication system
CN106165495A (en) Strengthen based on the preliminary sweep of the neighbor report being generated from the neighbor information that its associated stations is reported by access point
CN105828453A (en) Data transmission method and data transmission device for relay communication
CN110290570A (en) Wireless network access method and relevant device, storage device
CN102316453B (en) Wireless access method and device thereof
CN105532028A (en) Systems and methods for fast initial link setup security optimizations for psk and sae security modes
CN100461728C (en) Radio communication method
CN106793178A (en) A kind of software and hardware system construction method of Android regions portable mobile MANET

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