CN118945659A - Equipment network distribution method - Google Patents
Equipment network distribution method Download PDFInfo
- Publication number
- CN118945659A CN118945659A CN202410989982.5A CN202410989982A CN118945659A CN 118945659 A CN118945659 A CN 118945659A CN 202410989982 A CN202410989982 A CN 202410989982A CN 118945659 A CN118945659 A CN 118945659A
- Authority
- CN
- China
- Prior art keywords
- equipment
- network
- distributed
- distribution
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004891 communication Methods 0.000 claims abstract description 15
- 238000012795 verification Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 208000035405 autosomal recessive with axonal neuropathy spinocerebellar ataxia Diseases 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010608 single channel array normalization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
Abstract
The invention provides a device network distribution method, which comprises the following steps: the distribution network equipment periodically scans the surrounding network environment; after the distribution network equipment is electrified, self information is released; the network distribution equipment receives information of the network distribution equipment to be distributed and establishes wireless connection with the network distribution equipment to be distributed; the network distribution equipment sends the service set identification and the password of the appointed wireless network to the network distribution equipment, and the network distribution equipment is connected to the appointed wireless network according to the received information; the equipment to be distributed is communicated with the cloud server after being connected with the wireless network, the validity of the equipment is authenticated, the information of the equipment to be distributed is updated after the cloud server passes authentication, and the information is sent to the user side to control the equipment to be distributed. The invention has the beneficial effects that: through wireless communication and cloud service among intelligent devices, quick and convenient network distribution of the network equipment to be distributed is realized.
Description
Technical Field
The invention belongs to the field of equipment distribution networks, and particularly relates to an equipment distribution network method.
Background
The problems in the prior art mainly include the following aspects: the network distribution process of the intelligent household equipment is completely dependent on the intelligent mobile phone, if the mobile phone is not at the side or does not support a required communication mode (such as BLE and WIFI), network distribution cannot be performed, because intelligent equipment in the market is various in types, users can easily select wrong equipment in the network distribution process, users need to manually input Wi-Fi passwords in the network distribution process, network distribution failure is easily caused by input errors, network distribution steps of some intelligent household equipment are too complicated, users need to perform multiple operations to complete network distribution, network distribution interruption or failure can be caused by various reasons (such as network problems and equipment faults) in the network distribution process, and the problems and the defects limit usability and user experience of the intelligent household equipment and are required to be solved through technical innovation and scheme optimization.
Disclosure of Invention
In view of the foregoing, the present invention is directed to a method for device network allocation, so as to solve at least one of the above-mentioned technical problems.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
A method for equipment network allocation, comprising the steps of:
step one, periodically scanning a surrounding network environment by distribution network equipment;
Step two, after the network equipment to be distributed is electrified, self information is released;
step three, the network distribution equipment receives information of the network distribution equipment to be distributed and establishes wireless connection with the network distribution equipment to be distributed;
step four, the network distribution equipment sends the service set identification and the password of the appointed wireless network to the network distribution equipment, and the network distribution equipment is connected to the appointed wireless network according to the received information;
And fifthly, the equipment to be distributed is communicated with the cloud server after being connected with the wireless network, the validity of the equipment is authenticated, the information of the equipment to be distributed is updated after the cloud server passes the authentication, and the information is sent to the user side to control the equipment to be distributed.
Further, the specific process of the first step includes:
And taking the intelligent equipment with the network as network distribution equipment, and scanning the surrounding network environment at regular time by the network distribution equipment, wherein the scanning mode comprises BLE scanning, wi-Fi scanning and two-dimensional code scanning.
Further, the specific process of the second step includes:
After the network equipment to be distributed is accessed to an external circuit and electrified, the network equipment to be distributed enters a network state to be distributed, and self information is released through at least one of BLE broadcasting, wi-Fi broadcasting and two-dimensional codes;
After the network distribution equipment finds out the network distribution equipment to be distributed in the scanning process, the network distribution equipment records the related information of the network distribution equipment to be distributed and prepares for connection.
Further, the specific process of the third step includes:
the distribution network equipment selects a corresponding communication protocol according to release information of the equipment to be distributed and establishes wireless connection with the equipment to be distributed, wherein the communication protocol comprises BLE and Wi-Fi direct connection;
after the wireless connection is established, the data transmission is carried out between the distribution network equipment and the equipment to be distributed through the current communication protocol.
Further, the specific process of the fourth step includes:
the network distribution equipment sends the service set identifier and the password of the wireless network currently in use to the network distribution equipment to be distributed through the wireless connection established in the third step;
After receiving the wireless network information sent by the network distribution equipment through the wireless connection, the network distribution equipment is connected to the wireless network in use at present according to the wireless network information.
Further, the specific process of the fifth step includes:
After the network equipment to be distributed is successfully connected with the wireless network, cloud authentication is carried out, wherein the cloud authentication comprises verification of communication between the network equipment to be distributed and a cloud server, verification of validity of the network equipment to be distributed and updating of information of the network equipment to be distributed;
And after the authentication is passed, the cloud server updates the information of the equipment to be distributed, and sends the information to the user side to control the equipment to be distributed.
Compared with the prior art, the equipment network distribution method has the following beneficial effects:
through wireless communication and cloud service among intelligent devices, quick and convenient network distribution of the network equipment to be distributed is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. In the drawings:
Fig. 1 is a schematic flow chart of a method for configuring a network of a device according to an embodiment of the present invention.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention will be described in detail below with reference to the drawings in connection with embodiments.
A method for equipment network allocation, comprising the steps of:
step one, periodically scanning a surrounding network environment by distribution network equipment;
Step two, after the network equipment to be distributed is electrified, self information is released;
step three, the network distribution equipment receives information of the network distribution equipment to be distributed and establishes wireless connection with the network distribution equipment to be distributed;
step four, the network distribution equipment sends the service set identification and the password of the appointed wireless network to the network distribution equipment, and the network distribution equipment is connected to the appointed wireless network according to the received information;
And fifthly, the equipment to be distributed is communicated with the cloud server after being connected with the wireless network, the validity of the equipment is authenticated, the information of the equipment to be distributed is updated after the cloud server passes the authentication, and the information is sent to the user side to control the equipment to be distributed.
Further, the specific process of the first step includes:
And taking the intelligent equipment with the network as network distribution equipment, and scanning the surrounding network environment at regular time by the network distribution equipment, wherein the scanning mode comprises BLE scanning, wi-Fi scanning and two-dimensional code scanning.
Wherein the BLE scan comprises:
Passive scanning (PASSIVE SCANNING): in the mode that the Bluetooth device passively scans the broadcast packet sent by the peer device in the surrounding environment and directly reports the broadcast packet to the Host, the device only receives the broadcast data packet of the peer device and does not need to send any request.
Active scan (ACTIVE SCANNING): the Bluetooth device actively SCANs to acquire more information of the opposite terminal devices and reports the information to the Host, and during active scanning, the device sends SCAN_REQ data packets to the opposite terminal devices to acquire scanning response data packets, wherein the data packets comprise addresses and other information of the devices.
The Wi-Fi scanning includes:
Wi-Fi scanning typically involves scanning Wi-Fi networks in the surrounding environment and obtaining information about their SSID, encryption mode, signal strength, etc.
The two-dimensional code scanning comprises the following steps:
Two-dimensional code scanning typically uses a camera on a mobile device to capture and decode two-dimensional code images.
Further, the specific process of the second step includes:
After the network equipment to be distributed is accessed to an external circuit and electrified, the network equipment to be distributed enters a network state to be distributed, and self information is released through at least one of BLE broadcasting, wi-Fi broadcasting and two-dimensional codes;
Wherein, the process of publishing own information through BLE broadcasting includes:
BLE broadcasting is generally used for transmitting data from a slave device (Peripheral) to a master device (Central), the slave device periodically transmits broadcast packets, the broadcast packets contain identifiers of the devices and device basic information, the master device receives the broadcast packets through scanning, so that information of the slave device is obtained, and after connection is established, the master device can read or write characteristic values of the slave device to realize data exchange;
the workflow of BLE broadcasting may be adjusted according to specific application scenarios and device capabilities, for example, different broadcasting intervals, broadcasting types (e.g., connectable or unconnected) may be selected.
The process of publishing own information through Wi-Fi broadcasting comprises the following steps:
Wi-Fi broadcasting is mainly used for enabling a wireless device (such as a mobile phone, a tablet, a notebook, etc.) to search for and connect to a Wi-Fi network, a router enables the device to find and connect to the network by sending a broadcast message (such as an SSID), and settings and configurations of Wi-Fi broadcasting include a broadcast address, a multicast setting.
The process for releasing the information through the two-dimensional code comprises the following steps:
two-dimensional code broadcasting generally refers to transmitting information or data through a two-dimensional code, and a user scans the two-dimensional code using two-dimensional code scanning software on a smart phone or other devices, thereby acquiring information therein.
After the network distribution equipment finds out the network distribution equipment to be distributed in the scanning process, the network distribution equipment records the related information of the network distribution equipment to be distributed and prepares for connection.
Further, the specific process of the third step includes:
the distribution network equipment selects a corresponding communication protocol according to release information of the equipment to be distributed and establishes wireless connection with the equipment to be distributed, wherein the communication protocol comprises BLE and Wi-Fi direct connection;
After the wireless connection is established, the data transmission is performed between the network distribution equipment and the network to be distributed through the current communication protocol, wherein the wireless connection is a conventional technical means of a person skilled in the art, and the description is omitted.
Further, the specific process of the fourth step includes:
the network distribution equipment sends the service set identifier and the password of the wireless network currently in use to the network distribution equipment to be distributed through the wireless connection established in the third step;
After receiving the wireless network information sent by the network distribution equipment through the wireless connection, the network distribution equipment is connected to the wireless network in use at present according to the wireless network information.
Further, the specific process of the fifth step includes:
After the network equipment to be distributed is successfully connected with the wireless network, cloud authentication is carried out, wherein the cloud authentication comprises verification of communication between the network equipment to be distributed and a cloud server, verification of validity of the network equipment to be distributed and updating of information of the network equipment to be distributed;
And after the authentication is passed, the cloud server updates the information of the equipment to be distributed, and sends the information to the user side to control the equipment to be distributed.
The cloud authentication method comprises the following specific processes:
The user requests access: the user sends an access request to the cloud service;
And (3) identity authentication: the system requires the user to carry out identity verification, such as inputting a user name and a password, providing a short message verification code and the like;
And (3) verification information processing: the system processes and verifies the verification information provided by the user;
access authorization: if the verification is passed, the system generates an access token or a session key for the user, and allows the user to access the cloud resource;
continuous monitoring and auditing: during the user access process, the system may perform continuous authentication and access control to ensure the security of the data, and at the same time, the system may record the access log of the user for audit and tracking.
Those of ordinary skill in the art will appreciate that the elements and method steps of each example described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the elements and steps of each example have been described generally in terms of functionality in the foregoing description to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed methods and systems may be implemented in other ways. For example, the above-described division of units is merely a logical function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. The units may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present application.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.
Claims (6)
1. The equipment network distribution method is characterized by comprising the following steps of:
step one, periodically scanning a surrounding network environment by distribution network equipment;
Step two, after the network equipment to be distributed is electrified, self information is released;
step three, the network distribution equipment receives information of the network distribution equipment to be distributed and establishes wireless connection with the network distribution equipment to be distributed;
step four, the network distribution equipment sends the service set identification and the password of the appointed wireless network to the network distribution equipment, and the network distribution equipment is connected to the appointed wireless network according to the received information;
And fifthly, the equipment to be distributed is communicated with the cloud server after being connected with the wireless network, the validity of the equipment is authenticated, the information of the equipment to be distributed is updated after the cloud server passes the authentication, and the information is sent to the user side to control the equipment to be distributed.
2. A method for equipment distribution network according to claim 1, wherein:
the specific process of the first step comprises the following steps:
And taking the intelligent equipment with the network as network distribution equipment, and scanning the surrounding network environment at regular time by the network distribution equipment, wherein the scanning mode comprises BLE scanning, wi-Fi scanning and two-dimensional code scanning.
3. A method for equipment distribution network according to claim 1, wherein:
the specific process of the second step comprises the following steps:
After the network equipment to be distributed is accessed to an external circuit and electrified, the network equipment to be distributed enters a network state to be distributed, and self information is released through at least one of BLE broadcasting, wi-Fi broadcasting and two-dimensional codes;
After the network distribution equipment finds out the network distribution equipment to be distributed in the scanning process, the network distribution equipment records the related information of the network distribution equipment to be distributed and prepares for connection.
4. A method for equipment distribution network according to claim 1, wherein:
the specific process of the third step comprises the following steps:
the distribution network equipment selects a corresponding communication protocol according to release information of the equipment to be distributed and establishes wireless connection with the equipment to be distributed, wherein the communication protocol comprises BLE and Wi-Fi direct connection;
after the wireless connection is established, the data transmission is carried out between the distribution network equipment and the equipment to be distributed through the current communication protocol.
5. A method for equipment distribution network according to claim 1, wherein:
the specific process of the fourth step comprises the following steps:
the network distribution equipment sends the service set identifier and the password of the wireless network currently in use to the network distribution equipment to be distributed through the wireless connection established in the third step;
After receiving the wireless network information sent by the network distribution equipment through the wireless connection, the network distribution equipment is connected to the wireless network in use at present according to the wireless network information.
6. A method for equipment distribution network according to claim 1, wherein:
the specific process of the fifth step comprises the following steps:
After the network equipment to be distributed is successfully connected with the wireless network, cloud authentication is carried out, wherein the cloud authentication comprises verification of communication between the network equipment to be distributed and a cloud server, verification of validity of the network equipment to be distributed and updating of information of the network equipment to be distributed;
And after the authentication is passed, the cloud server updates the information of the equipment to be distributed, and sends the information to the user side to control the equipment to be distributed.
Publications (1)
Publication Number | Publication Date |
---|---|
CN118945659A true CN118945659A (en) | 2024-11-12 |
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2448298B1 (en) | Method and system for changing selected home operator of machine to machine equipment | |
EP2489236B1 (en) | Apparatus and method for establishing a personal network for providing a cpns service | |
US9197639B2 (en) | Method for sharing data of device in M2M communication and system therefor | |
CN116996876A (en) | Cellular service account transfer and authentication | |
CN111565137A (en) | System and method for binding WiFi distribution network and equipment | |
US11233817B2 (en) | Methods and apparatus for end device discovering another end device | |
KR20160114620A (en) | Methods, devices and systems for dynamic network access administration | |
CN108293055A (en) | Method, apparatus and system for authenticating to mobile network and for by the server of device authentication to mobile network | |
EP2466759B1 (en) | Method and system for changing a selected home operator of a machine to machine equipment | |
KR20160137919A (en) | Method and apparatus for providing information | |
US9241232B2 (en) | Method and apparatus for machine communication | |
WO2018045983A1 (en) | Information processing method and device, and network system | |
KR20010067325A (en) | System and method for secure provisioning of a mobile station from a provisioning server using encryption | |
CN102143492B (en) | Method for establishing virtual private network (VPN) connection, mobile terminal and server | |
CN112672336B (en) | Method, communication device and communication system for realizing external authentication | |
CN106878987B (en) | Communication method, system and cloud server | |
KR20110131995A (en) | Server and method for providing device management service and device to be provided the service | |
CN112738025B (en) | Device control method and apparatus, storage medium, and electronic apparatus | |
US10187796B2 (en) | Authentication and association method and system | |
CN110366164B (en) | Method for remotely controlling terminal, server, terminal and computing equipment | |
WO2021134562A1 (en) | Configuration device replacement method and apparatus, device, and storage medium | |
CN114025349A (en) | Network service method, device, system and storage medium | |
CN118945659A (en) | Equipment network distribution method | |
CN103188662B (en) | A kind of method and device verifying WAP (wireless access point) | |
EP4264968A1 (en) | Dual-connection device enabling service advertisement and discovery of services between networks, user device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication |