CN115119286B - Method and device for accessing equipment to network - Google Patents

Method and device for accessing equipment to network Download PDF

Info

Publication number
CN115119286B
CN115119286B CN202210666551.6A CN202210666551A CN115119286B CN 115119286 B CN115119286 B CN 115119286B CN 202210666551 A CN202210666551 A CN 202210666551A CN 115119286 B CN115119286 B CN 115119286B
Authority
CN
China
Prior art keywords
network
equipment
accessed
information
networked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210666551.6A
Other languages
Chinese (zh)
Other versions
CN115119286A (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.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information 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 Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202210666551.6A priority Critical patent/CN115119286B/en
Publication of CN115119286A publication Critical patent/CN115119286A/en
Application granted granted Critical
Publication of CN115119286B publication Critical patent/CN115119286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • H04W12/088Access security using filters or firewalls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

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

Abstract

The invention discloses a method and a device for network access of equipment, and relates to the technical field of computers. The method is executed by a master distribution device, wherein the master distribution device is an intelligent device which is already connected to a network and has distribution network capability of a specified distribution network mode, and one specific implementation mode of the method comprises the following steps: responding to a network access request of a device to be accessed to a network, and acquiring device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main configuration device have the same network configuration mode; acquiring authorization information of the equipment to be accessed to the network according to the equipment information; and performing network access configuration on the equipment to be accessed according to the authorization information. According to the embodiment, the network distribution capacity is given to the intelligent equipment which is already connected with the network, so that various problems caused by dependence on external equipment in the prior art are solved, the intelligent equipment to be connected with the network is more conveniently determined, the user experience is improved, the participation degree of the user is reduced, and the network distribution speed and the success rate are improved.

Description

Method and device for accessing equipment to network
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for device network access.
Background
Along with the development of artificial intelligence and internet of things, more and more intelligent devices enter into daily life, and the artificial intelligence and the internet of things become one of the technical fields with the most development prospects in the future. The configuration networking (network allocation) of the intelligent device is the first step that the device touches a user, the intelligent device to be networked is searched and determined mainly by an APP scanning two-dimensional code or catalog searching mode of the mobile client, and then the configuration networking of the intelligent device to be networked is performed by inputting a router password.
In the process of implementing the present invention, the inventor finds that the following problems exist in the prior art:
Firstly, the risk of two-dimension code loss or directory searching error exists, so that the intelligent equipment to be accessed to the network is inconvenient to determine; secondly, when the network systems are not matched, the network systems of the mobile client are required to be manually adjusted, the operation is complex, and the user experience is poor; thirdly, the user participation is high, and the external risk of distribution network faults is brought; fourth, in view of the system stability, compatibility, openness, etc. of the mobile client, the network allocation speed and success rate cannot be guaranteed.
Disclosure of Invention
In view of this, the embodiment of the invention provides a network access method and device executed by a network-accessed main distribution device with network allocation capability, based on device information of the network-accessed device with the same network allocation mode as the main distribution device obtained by monitoring a network access request, authorization information of the network-accessed device is obtained, the main distribution device performs network access configuration according to the authorization information, so that not only is network access configuration of intelligent devices realized, but also a plurality of problems caused by dependence on external devices are overcome by endowing the network-accessed intelligent devices with network allocation capability, the intelligent devices to be accessed are more conveniently determined, user experience is improved, user participation is reduced, and network allocation speed and success rate are improved.
To achieve the object, according to an aspect of the embodiment of the present invention, there is provided a method for device network access, the method being performed by a master device, the master device being an intelligent device that has been network-accessed and having a network-allocation capability that specifies a network-allocation manner, the method including:
responding to a network access request of a device to be accessed to a network, and acquiring device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main configuration device have the same network configuration mode;
acquiring authorization information of the equipment to be accessed to the network according to the equipment information;
And performing network access configuration on the equipment to be accessed according to the authorization information.
Optionally, obtaining the authorization information of the device to be networked according to the device information includes: sending an authorization request to a user according to the equipment information; and responding to the received authorization confirmation instruction returned by the user, and taking the authorization confirmation instruction as the authorization information of the network equipment to be accessed.
Optionally, before sending the authorization request to the user according to the device information, the method further includes: searching the equipment to be networked from a list of equipment to be networked according to the equipment information; and determining that the equipment to be network-connected is not in the equipment list to be network-distributed.
Optionally, before searching the network to be accessed from the network to be accessed equipment list according to the equipment information, the method further includes: searching the equipment to be networked from a blacklist and/or a white list according to the equipment information; and determining that the equipment to be networked is not in the blacklist and/or the whitelist.
Optionally, after performing network access configuration on the device to be accessed, the method further includes: and sending a device network distribution capacity configuration request to a user through a server, wherein the device network distribution capacity configuration request is used for requesting network distribution capacity configuration of the device to be network-connected.
Optionally, the method further comprises: and under the condition that the network access request of the network access equipment is not monitored by any master distribution equipment, completing the network access configuration of the network access equipment through the master control end, and carrying out network distribution capacity configuration on the network access equipment.
Optionally, the network access request is sent in the form of a broadcast packet with a specified format, and the specified format is related to the network allocation mode of the to-be-accessed device.
According to a second aspect of an embodiment of the present invention, there is provided a device networking apparatus, the function of which is performed by a master device, the master device being a device that has been networked and being given network-distribution capability by software, the apparatus comprising:
The device information acquisition module is used for responding to a network access request of the device to be accessed to the network, acquiring the device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main distribution device have the same network distribution mode;
The authorization information acquisition module is used for acquiring the authorization information of the equipment to be accessed to the network according to the equipment information;
And the equipment configuration network access module is used for configuring the equipment to be network accessed into the network according to the authorization information.
According to a third aspect of an embodiment of the present invention, there is provided an electronic device for device networking, including:
one or more processors;
Storage means for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method provided by the first aspect of the embodiments of the present invention.
According to a fourth aspect of embodiments of the present invention, there is provided a computer readable medium having stored thereon a computer program which when executed by a processor implements the method provided by the first aspect of embodiments of the present invention.
One embodiment of the invention has the following advantages or benefits: acquiring equipment information of equipment to be networked by responding to a network access request of the equipment to be networked, wherein the equipment to be networked and the main distribution equipment have the same network distribution mode; acquiring authorization information of equipment to be accessed to the network according to the equipment information; according to the technical scheme of network access configuration of the to-be-accessed equipment, equipment information of the to-be-accessed equipment, which is obtained based on the monitoring network access request and has the same network access mode as the main network access equipment, is realized, the authorization information of the to-be-accessed equipment is obtained, and the network access configuration is carried out according to the authorization information, so that the configuration network access of the intelligent equipment is realized, and the network access capability is endowed to the accessed intelligent equipment, so that a plurality of problems caused by dependence on external equipment in the prior art are overcome, the to-be-accessed intelligent equipment is more conveniently determined, the user experience is improved, the participation degree of users is reduced, and the network access speed and the success rate are improved.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
Fig. 1 is a schematic diagram of the main flow of a device networking method according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of sending an authorization request of a device to be networked according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a method for device network entry according to an embodiment of the present invention;
FIG. 4 is a detailed flow diagram of device networking in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram comparing an embodiment of the present invention with a conventional general device networking method;
fig. 6 is a schematic diagram of main modules of an apparatus for network access according to an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
Fig. 8 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
At present, an intelligent device is connected to the network in a network access mode, and external devices such as a mobile client are usually required to assist in configuration and network access, so that problems are brought, for example: the intelligent equipment to be accessed to the network is inconvenient to determine, the intelligent equipment is mainly searched by relying on the two-dimension code or the intelligent equipment catalogue listed by the APP of the mobile client, and the risk of searching errors caused by the loss of the two-dimension code or the complicated catalogue exists; the operation is complicated, and when the network system of the mobile client is not matched with the network system of the intelligent equipment to be accessed to the network, the network system of the mobile client is required to be adjusted; the user participation is high, and the external risk of distribution network faults is brought; the uncertainty of the distribution network speed and the success rate is that the intelligent equipment distribution network is mainly realized through the mobile client, and the distribution network speed and the success rate cannot be ensured in view of the problems of system stability, compatibility and the like of the mobile client.
In order to solve the problems in the prior art, the invention provides a network access method executed by a main network access device with network access capability, which is used for acquiring the authorization information of the network access device based on the device information of the network access device to be accessed, which is obtained by monitoring the network access request and has the same network access mode as the main network access device, and performing network access configuration according to the authorization information, thereby not only realizing the configuration network access of the intelligent device, but also overcoming a plurality of problems caused by depending on external devices by endowing the network access capability to the network access intelligent device in the prior art, more conveniently determining the network access intelligent device, improving the user experience, reducing the user participation and improving the network access speed and success rate.
In the description of the embodiments of the present invention, the terms and their meanings are as follows:
softAP distribution network: the wireless chip of the equipment is utilized to enter the equipment into a softAP mode, a wireless local area network is started, and after the mobile phone (or other mobile equipment) is connected into the wireless local area network started by the equipment, the information such as the ssid and the password of the router is sent to the equipment, so that the equipment obtains the ssid information of the router under the condition of no screen, and the aim of networking is achieved;
BLE distribution network; a Bluetooth network distribution mode;
zigbee: a wireless network protocol for low-speed short-distance transmission, wherein the bottom layer is a media access layer and a physical layer adopting IEEE 802.15.4 standard specification;
MESH: the wireless mesh network is a multi-hop network, is developed from an ad hoc network, and is one of key technologies for solving the problem of last kilometers;
SSID: the service set identification divides a wireless local area network into a plurality of sub-networks needing different identity verification, each sub-network needs independent identity verification, and only users passing the identity verification can enter the corresponding sub-network to prevent unauthorized users from entering the network;
PWD: password, password;
ThunderConfig: a fast connection mode using 802.11 layer technology;
one-key configuration: the universal equipment network access mode is that SSID and password are encoded into UDP message through mobile phone APP, after receiving UDP message, intelligent hardware decodes to obtain correct SSID and password, then actively connects with the route of appointed SSID to complete connection;
zero preparation: the configured unit automatically configures the configured unit to access the network after being powered on without user participation.
Fig. 1 is a schematic diagram of main flow of a device networking method according to an embodiment of the present invention, and as shown in fig. 1, the device networking method according to an embodiment of the present invention includes the following steps S101 to S103.
Step S101, equipment information of equipment to be networked is obtained in response to monitoring of a networking request of the equipment to be networked, and the equipment to be networked and the main equipment have the same network allocation mode.
Specifically, along with the development of artificial intelligence and internet of things technology, more and more intelligent devices are applied to daily life, and the intelligent device configuration network access (network distribution) is the first step of enabling the device to reach a user, and a convenient and fast network distribution mode can effectively improve user experience and user viscosity. At present, although intelligent equipment manufacturers release various network distribution modes, such as one-key configuration, softAP network distribution, BLE network distribution, zigbee network distribution, bluetooth MESH network distribution and the like, the network distribution modes are used for distributing intelligent equipment by means of mobile client mobile phones or special network distribution equipment, and considering the problems of complicated network distribution flow, high user participation, poor experience, unstable success rate and the like caused by the system authority, compatibility and technical limitation of the network distribution equipment, the embodiment of the invention enables the network distribution capacity to sink to the intelligent equipment end with flexible opening capacity, enables the network distribution capacity to be given to the intelligent equipment which is connected with the network, enables the intelligent equipment which is connected with the network to have the network distribution capacity of the designated network distribution mode, for example, a WIFI intelligent socket which is connected with the network can be used as a main network distribution equipment to assist other WIFI intelligent equipment to be connected with the network distribution, and a BLE intelligent refrigerator which is connected with the network can be used as the main network distribution equipment to assist other BLE intelligent equipment to be connected with the network distribution.
According to one embodiment of the present invention, the network access request is sent in the form of a broadcast packet with a specified format, where the specified format is related to the network allocation manner of the device to be accessed.
Specifically, after the intelligent device to be networked is powered on, the intelligent device to be networked can automatically or through operation of a user enter a binding mode to be activated, broadcast packets of a network access request, such as softAP broadcast packets, BLE broadcast packets, zigbee broadcast packets and the like, are sent in a data format of a network access mode of the intelligent device to be networked, the main configuration device monitors surrounding intelligent devices at regular time according to the network access capability of the intelligent device to be networked, and receives the broadcast packets with device information, sent by the intelligent device to be networked and having the same network access mode as the main configuration device, namely, discovers the device to be networked by monitoring the broadcast packets sent by the device to be networked.
According to another embodiment of the invention, the method further comprises: and under the condition that the network access request of the network access equipment is not monitored by any master distribution equipment, completing the network access configuration of the network access equipment through the master control end, and carrying out network distribution capacity configuration on the network access equipment.
Specifically, under the condition that a network access request of the to-be-accessed device is not monitored by any main network allocation device, namely, the network allocation mode of the to-be-accessed device is used for the first time, when the network allocation mode of the to-be-accessed device is inconsistent with the network allocation modes of all the main network allocation devices, the general network allocation method specified by a manufacturer of the to-be-accessed device is used for configuring network access through a main control terminal such as a mobile phone and the like, and after the network allocation is successful, the network allocation capability is configured, so that the to-be-accessed device is endowed with the network allocation capability of the to-be-accessed device in a self network allocation mode.
By configuring different distribution network capacities of each main distribution device, the intelligent device distribution network capacity set of the embodiment of the invention is constructed, and the specific distribution network capacity set is shown in the following table 1:
table 1:
Although the mode depends on the intelligent equipment which is connected to the internet and has the same configuration mode, with the development of the internet of things, more and more intelligent equipment can be put into use due to the richness of the types and functions of the intelligent equipment, and the coverage rate of the method of the embodiment of the invention is higher and higher, so that the method brings convenience and extreme use experience to users.
Step S102, obtaining the authorization information of the equipment to be accessed according to the equipment information.
According to one embodiment of the present invention, obtaining authorization information of the device to be networked according to the device information includes: sending an authorization request to a user according to the equipment information; and responding to the received authorization confirmation instruction returned by the user, and taking the authorization confirmation instruction as the authorization information of the network equipment to be accessed.
Specifically, the master equipment has the capability of interacting with the cloud of the internet of things, and based on the personalized requirements of the user, the master equipment needs to acquire authorization information for allowing the to-be-networked equipment to be configured to be networked from the user according to the equipment information in the received broadcast packet. The main configuration equipment pushes equipment information of equipment to be authorized to be connected to the Internet of things cloud through a data channel, the cloud pushes the received equipment information to an interaction end with interaction capability of a user, such as a mobile phone APP, a central control screen, an intelligent sound box and the like, and reminds the user whether the intelligent equipment is allowed to be connected to the Internet; if the user needs to be allocated with the network, only clicking an authorization confirmation key or sending an authorization confirmation instruction, and feeding the authorization information back to the main allocation equipment through the cloud; and the main configuration equipment takes the received authorization confirmation instruction returned by the user as the authorization information of the equipment to be accessed to the network, and acquires the authorization information of the equipment to be accessed to the network.
Through the confirmation authorization of the user, the network distribution flow of the intelligent device is greatly simplified, the user only needs to input by one key or send out voice confirmation, the participation degree of the user is effectively reduced, the possibility of user input errors is reduced, and the network distribution experience of the user is improved.
Fig. 2 is a schematic diagram of an authorization request sent by an embodiment of the present invention, where a main device is a WIFI (wireless network) smart socket, the main device monitors device information of the WIFI smart socket in the device to be networked, and sends the device information of the discovered WIFI smart socket to an interactive device (mobile phone APP, a central control screen, and an intelligent sound box) through a router via an internet of things cloud to remind a user of performing network allocation authorization.
According to another embodiment of the present invention, before sending an authorization request to the user according to the device information, the method further includes: searching the equipment to be networked from a list of equipment to be networked according to the equipment information; and determining that the equipment to be network-connected is not in the equipment list to be network-distributed.
According to still another embodiment of the present invention, before searching the network to be connected device from the network to be connected device list according to the device information, the method further includes: searching the equipment to be networked from a blacklist and/or a white list according to the equipment information; and determining that the equipment to be networked is not in the blacklist and/or the whitelist.
Specifically, according to specific use requirements of the intelligent equipment, an assembly engineer or customer service personnel of the intelligent equipment can establish a to-be-networked equipment list of equipment of which the user needs to be networked, the to-be-networked equipment is issued to the main-networked equipment through a special data channel by means of an assembly engineering APP or cloud configuration issuing and other approaches of the intelligent equipment, after the main-networked equipment receives equipment information of the to-be-networked equipment, the to-be-networked equipment is searched from the to-be-networked equipment list, if the to-be-networked equipment is in the to-be-networked equipment list, an authorization request is not required to be sent to the user, and the to-be-networked equipment is directly used as authorized to-be-networked equipment; if the equipment to be accessed is not in the list of the equipment to be accessed, an authorization request is sent to the user, if an authorization confirmation instruction returned by the user is received, the authorization confirmation instruction is used as the authorization information of the equipment to be accessed, otherwise, the equipment to be accessed is not allowed to be accessed by the configuration.
Further, in order to improve the experience of the distribution network of the user, an assembly engineer or customer service personnel of the intelligent device can list the intelligent device which inhibits the distribution network in a blacklist according to the user requirement, or list the intelligent device with the highest distribution network priority in a whitelist, or set the blacklist and the whitelist simultaneously, and send the intelligent device to the main distribution device through a special data channel by means of the assembly engineering APP or cloud configuration sending of the intelligent device, and the main distribution device receives the equipment information of the equipment to be network-connected, and before searching the equipment to be network-connected from the equipment list to be network-connected, the equipment blacklist and/or the whitelist are searched and filtered firstly, the intelligent device existing in the blacklist is directly filtered, the intelligent device existing in the whitelist is refused to be network-connected, and the intelligent device to be network-connected is not required to send an authorization request to the user any more, and the equipment to be network-connected is directly used as authorized equipment to be network-connected; if the equipment to be networked is not in the blacklist and/or the whitelist, an authorization request is sent to the user through the cloud of the Internet of things, if an authorization confirmation instruction returned by the user is received, the authorization confirmation instruction is used as authorization information of the equipment to be networked, otherwise, the equipment to be networked is not allowed to be configured to be networked.
Through the filtering and screening of the blacklist, the whitelist and the equipment list to be distributed to the network equipment, the equipment to be distributed to the network is subjected to prepositive authorization, so that the participation of a user in the network distribution process is weakened, the zero configuration of a user layer is realized, a plug-and-play network distribution mode is presented, and the experience of the user is greatly improved.
And step 103, performing network access configuration on the equipment to be accessed according to the authorization information.
Specifically, the main distribution equipment selects a specific distribution mode according to the configuration capability of the main distribution equipment, if only the capability of the equipment is found under individual conditions, namely, after the main control equipment acquires the equipment information of the equipment to be connected to the network, the main control equipment pulls up a distribution interface of the equipment to be connected to the network in an interactive terminal such as equipment of a mobile phone APP, a central control screen, an intelligent sound box and the like to perform configuration connection; if the master equipment has both the capability of discovering equipment and the configuration capability, the master equipment independently completes the configuration network access of the equipment to be network accessed.
Fig. 3 is a schematic diagram of a device networking method according to an embodiment of the present invention, where a master device includes an information interaction unit, a white/black list management unit, an intelligent device discovery unit, and a network configuration capability unit, where the intelligent device discovery unit mainly responds to a network-networking request of a device to be networked to obtain device information of the device to be networked in the same network configuration manner as the master device. The method comprises the steps that a master distribution device monitors a network access request of a device to be accessed to the network at regular time, when the device information of the device to be accessed to the network, which is the same as the distribution mode of the master distribution device, is found out from a white/black list, and if the device to be accessed to the network is in the white list, the master distribution device directly performs network access configuration on the device to be accessed to the network; if the network access request of the equipment to be accessed to the network is in the blacklist, directly rejecting the network access request of the equipment to be accessed to the network; for intelligent equipment to be networked which is neither in a blacklist nor in a whitelist, equipment information is sent to an interaction end, such as a mobile phone APP, a central control screen, an intelligent sound box and the like, by clicking and adding immediately, a user can send network allocation authorization information to a main control equipment, and the main control equipment allocates a network to the equipment to be networked.
Fig. 4 is a detailed flowchart of device networking in an embodiment of the present invention, where a device to be networked is in a binding mode to be activated in an initial power-on state, and a broadcast networking request packet with device information is sent out, as ① in the figure; the master equipment monitors network access requests of the to-be-networked equipment at regular time, searches for to-be-networked equipment which is found to be the same as the network access mode of the master equipment, searches for directly authorized to-be-networked equipment according to a blacklist and/or a white list and a to-be-networked equipment list, and sends equipment information of the to-be-networked equipment which is not directly authorized to the interactive end equipment, such as a mobile phone APP, a central control screen, an intelligent sound box and the like, as ② in the figure, through a cloud; the interaction terminal device prompts the user to authorize the network distribution device, and the user returns authorization information confirming that the network distribution is needed to the main network distribution device through the cloud, as ③ in the figure; the main distribution equipment receives the authorization information and performs network configuration on necessary distribution network information such as SSID, PWD and the like issued by the to-be-network equipment with the authorization information, as shown in ④; the active binding is then performed autonomously, completing configuration access to the network and interaction with the user, as ⑤ in the figure.
According to one embodiment of the present invention, after the network access configuration is performed on the device to be network accessed, the method further includes: and sending a device network distribution capacity configuration request to a user through a server, wherein the device network distribution capacity configuration request is used for requesting network distribution capacity configuration of the device to be network-connected.
Specifically, in response to the newly established network connection, a configuration request of the network distribution capability is sent to a user through a server, whether the configuration software with the network distribution capability needs to be installed on the intelligent device newly connected to the network is determined according to feedback information of the user, if the network distribution capability is needed, request information for installing the configuration software can be initiated to the cloud end of the Internet of things, the cloud end of the Internet of things pulls relevant configuration software from the intelligent device platform according to the received request information, and the configuration software is installed on the intelligent device to endow the intelligent device with the matched network distribution capability.
Through the configuration of the network distribution capability, the main control equipment can be flexibly built according to the scene requirement, and the network topology structure of the intelligent equipment is enriched.
Fig. 5 is a schematic diagram comparing an embodiment of the present invention with an existing general device networking method, where the device networking method according to the embodiment of the present invention uses a master configuration device to monitor a networking request of a device to be networked at regular time to replace a scanning two-dimensional code or a searching directory in the existing method; by screening and filtering the authorized equipment, zero-allocation equipment capable of directly issuing allocation network information to allocate the network and one-key authorized equipment which needs to prompt a user to perform authorization confirmation are determined, so that complicated steps of code scanning/catalog searching in the existing equipment network access, matching of mobile phone systems and manual password input are avoided, the allocation network experience of the user is improved to the greatest extent, the user participation degree is reduced, and the allocation network speed and success rate are improved.
Fig. 6 is a schematic diagram of main modules of an apparatus for network access according to an embodiment of the present invention. As shown in fig. 6, the device networking apparatus 600 mainly includes a device information acquisition module 601, an authorization information acquisition module 602, and a device configuration networking module 603.
The device information obtaining module 601 is configured to obtain device information of a device to be networked in response to a network access request of the device to be networked, where the device to be networked and the main configuration device have the same network configuration mode;
an authorization information obtaining module 602, configured to obtain authorization information of the device to be networked according to the device information;
And the device configuration network access module 603 is configured to configure the device to be network accessed into a network according to the authorization information.
According to one embodiment of the present invention, the authorization information acquisition module 602 may be further configured to: sending an authorization request to a user according to the equipment information; and responding to the received authorization confirmation instruction returned by the user, and taking the authorization confirmation instruction as the authorization information of the network equipment to be accessed.
According to another embodiment of the present invention, the device network accessing apparatus 600 may further include a to-be-configured device list searching module (not shown in the figure) configured to: before an authorization request is sent to a user according to the equipment information, searching the equipment to be accessed from a list of equipment to be accessed according to the equipment information; and determining that the equipment to be network-connected is not in the equipment list to be network-distributed.
According to still another embodiment of the present invention, the device networking apparatus 600 may further include a black-and-white list searching module (not shown in the figure) for: before searching the equipment to be networked from a list of equipment to be networked according to the equipment information, searching the equipment to be networked from a blacklist and/or a whitelist according to the equipment information; and determining that the equipment to be networked is not in the blacklist and/or the whitelist.
According to yet another embodiment of the present invention, the device network access apparatus 600 may further include a configuration module (not shown in the figure) for: after the network access configuration is carried out on the to-be-accessed equipment, sending an equipment network allocation capability configuration request to a user through a server, wherein the equipment network allocation capability configuration request is used for requesting the network allocation capability configuration of the to-be-accessed equipment.
According to an embodiment of the present invention, the device network accessing apparatus 600 may further include a front-end module (not shown in the figure) for: and under the condition that the network access request of the network access equipment is not monitored by any master distribution equipment, completing the network access configuration of the network access equipment through the master control end, and carrying out network distribution capacity configuration on the network access equipment.
According to another embodiment of the present invention, the network access request is sent in the form of a broadcast packet with a specified format, where the specified format is related to the network allocation manner of the device to be accessed.
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be applied.
As shown in fig. 7, a system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 705 via the network 704 using the terminal devices 701, 702, 703 to receive or send messages or the like. Various communication client applications, such as a device networking application, etc. (for example only) may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (by way of example only) that provides support for device networking by users using the terminal devices 701, 702, 703. The background management server can respond to a network access request of the to-be-accessed device to acquire the device information of the to-be-accessed device, wherein the to-be-accessed device and the main distribution device have the same network distribution mode; acquiring authorization information of the equipment to be accessed to the network according to the equipment information; and carrying out processing such as network access configuration on the equipment to be accessed according to the authorization information, and feeding back processing results (such as configuration results and the like-only examples) to the terminal equipment.
It should be noted that, the method for device networking provided in the embodiment of the present invention is generally executed by the server 705, and accordingly, the device networking apparatus is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, there is illustrated a schematic diagram of a computer system 800 suitable for use in implementing a terminal device or server in accordance with an embodiment of the present invention. The terminal device or server shown in fig. 8 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 801.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination thereof.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor comprising: the device comprises a device information acquisition module, an authorization information acquisition module and a device configuration network access module.
The names of these modules do not limit the module itself in some cases, and for example, the authorization information acquisition module may also be described as "a module for acquiring authorization information of the device to be networked" according to the device information.
In another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the embodiment; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: responding to a network access request of a device to be accessed to a network, and acquiring device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main configuration device have the same network configuration mode; acquiring authorization information of the equipment to be accessed to the network according to the equipment information; and performing network access configuration on the equipment to be accessed according to the authorization information.
According to the technical scheme provided by the embodiment of the invention, the method has the following advantages or beneficial effects: acquiring equipment information of equipment to be networked by responding to a network access request of the equipment to be networked, wherein the equipment to be networked and the main distribution equipment have the same network distribution mode; acquiring authorization information of equipment to be accessed to the network according to the equipment information; according to the technical scheme of network access configuration of the to-be-accessed equipment, equipment information of the to-be-accessed equipment, which is obtained based on the monitoring network access request and has the same network access mode as the main network access equipment, is realized, the authorization information of the to-be-accessed equipment is obtained, and the network access configuration is carried out according to the authorization information, so that the configuration network access of the intelligent equipment is realized, and the network access capability is endowed to the accessed intelligent equipment, so that a plurality of problems caused by dependence on external equipment in the prior art are overcome, the to-be-accessed intelligent equipment is more conveniently determined, the user experience is improved, the participation degree of users is reduced, and the network access speed and the success rate are improved.
The described embodiments do not limit the scope of the invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (7)

1. A method of network access by a device, the method performed by a master device, the master device being an intelligent device that has been network-accessed and having a network-allocation capability specifying a network-allocation mode, the method comprising:
responding to a network access request of a device to be accessed to a network, and acquiring device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main configuration device have the same network configuration mode;
acquiring authorization information of the equipment to be accessed to the network according to the equipment information;
performing network access configuration on the equipment to be accessed according to the authorization information;
according to the device information, obtaining the authorization information of the device to be accessed to the network comprises the following steps: searching the equipment to be networked from a blacklist and/or a white list according to the equipment information; and determining that the equipment to be networked is not in the blacklist and/or the whitelist; searching the equipment to be networked from a list of equipment to be networked according to the equipment information; determining that the equipment to be networked is not in the list of equipment to be networked; sending an authorization request to a user according to the equipment information; and responding to the received authorization confirmation instruction returned by the user, and taking the authorization confirmation instruction as the authorization information of the network equipment to be accessed.
2. The method of claim 1, further comprising, after configuring the network access device to be accessed:
and sending a device network distribution capacity configuration request to a user through a server, wherein the device network distribution capacity configuration request is used for requesting network distribution capacity configuration of the device to be network-connected.
3. The method according to claim 1, wherein the method further comprises:
and under the condition that the network access request of the network access equipment is not monitored by any master distribution equipment, completing the network access configuration of the network access equipment through the master control end, and carrying out network distribution capacity configuration on the network access equipment.
4. The method of claim 1, wherein the network access request is sent in the form of a broadcast packet in a specified format, the specified format being related to a network deployment of the network access device.
5. A device networking apparatus, wherein the apparatus functions as a master device, the master device being a network-enabled device and being provided with network-enabled capabilities via software, the apparatus comprising:
The device information acquisition module is used for responding to a network access request of the device to be accessed to the network, acquiring the device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main distribution device have the same network distribution mode;
The authorization information acquisition module is used for acquiring the authorization information of the equipment to be accessed to the network according to the equipment information;
the equipment configuration network access module is used for configuring the equipment to be network accessed into a network according to the authorization information;
The authorization information acquisition module is further configured to: searching the equipment to be networked from a blacklist and/or a white list according to the equipment information; and determining that the equipment to be networked is not in the blacklist and/or the whitelist; searching the equipment to be networked from a list of equipment to be networked according to the equipment information; determining that the equipment to be networked is not in the list of equipment to be networked; sending an authorization request to a user according to the equipment information; and responding to the received authorization confirmation instruction returned by the user, and taking the authorization confirmation instruction as the authorization information of the network equipment to be accessed.
6. A mobile electronic device terminal, comprising:
one or more processors;
Storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-4.
7. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-4.
CN202210666551.6A 2022-06-13 2022-06-13 Method and device for accessing equipment to network Active CN115119286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210666551.6A CN115119286B (en) 2022-06-13 2022-06-13 Method and device for accessing equipment to network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210666551.6A CN115119286B (en) 2022-06-13 2022-06-13 Method and device for accessing equipment to network

Publications (2)

Publication Number Publication Date
CN115119286A CN115119286A (en) 2022-09-27
CN115119286B true CN115119286B (en) 2024-05-17

Family

ID=83329479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210666551.6A Active CN115119286B (en) 2022-06-13 2022-06-13 Method and device for accessing equipment to network

Country Status (1)

Country Link
CN (1) CN115119286B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478643B (en) * 2023-12-28 2024-04-05 广东朝歌智慧互联科技有限公司 Autonomous access method and system for equipment and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013178174A1 (en) * 2012-11-12 2013-12-05 中兴通讯股份有限公司 Capability open platform, method and gateway for achieving terminal device plug and play management
CN106059837A (en) * 2016-07-29 2016-10-26 海尔优家智能科技(北京)有限公司 Device network access configuration method and device, and cloud platform
CN106507330A (en) * 2016-09-26 2017-03-15 海尔优家智能科技(北京)有限公司 A kind of equipment networking collocation method and device
CN108111375A (en) * 2017-11-27 2018-06-01 海尔优家智能科技(北京)有限公司 Equipment method of network entry, device, are waited to network and log equipment intelligent terminal
WO2020168984A1 (en) * 2019-02-22 2020-08-27 阿里巴巴集团控股有限公司 Network configuration method and apparatus, device, and system
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium
CN113573313A (en) * 2021-08-10 2021-10-29 海宁奕斯伟集成电路设计有限公司 Intelligent equipment network distribution method and device
CN113691404A (en) * 2021-08-23 2021-11-23 深圳市欧瑞博科技股份有限公司 Network repairing method and device of intelligent equipment and intelligent gateway
CN113891317A (en) * 2021-09-28 2022-01-04 青岛海尔科技有限公司 Network distribution method and network distribution device of intelligent equipment and electronic equipment
CN114245403A (en) * 2021-12-13 2022-03-25 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and storage medium
WO2022095709A1 (en) * 2020-11-05 2022-05-12 华为技术有限公司 Device network configuration method and apparatus
CN114501591A (en) * 2022-02-11 2022-05-13 珠海格力电器股份有限公司 Intelligent equipment network access method and device and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015085671A1 (en) * 2013-12-10 2015-06-18 北京智谷睿拓技术服务有限公司 Wireless network access method and access apparatus
US9913315B2 (en) * 2014-10-20 2018-03-06 Xiaomi Inc. Method and device for connection management
CN106559787B (en) * 2015-09-30 2020-02-14 腾讯科技(深圳)有限公司 Network access method, device and system
EP3264814A1 (en) * 2016-07-01 2018-01-03 Gemalto M2M GmbH Method for remote provisioning of a user equipment in a cellular network
US11245706B2 (en) * 2017-03-27 2022-02-08 Oracle Systems Corporation Protection configuration for application programming interfaces

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013178174A1 (en) * 2012-11-12 2013-12-05 中兴通讯股份有限公司 Capability open platform, method and gateway for achieving terminal device plug and play management
CN106059837A (en) * 2016-07-29 2016-10-26 海尔优家智能科技(北京)有限公司 Device network access configuration method and device, and cloud platform
CN106507330A (en) * 2016-09-26 2017-03-15 海尔优家智能科技(北京)有限公司 A kind of equipment networking collocation method and device
CN108111375A (en) * 2017-11-27 2018-06-01 海尔优家智能科技(北京)有限公司 Equipment method of network entry, device, are waited to network and log equipment intelligent terminal
WO2020168984A1 (en) * 2019-02-22 2020-08-27 阿里巴巴集团控股有限公司 Network configuration method and apparatus, device, and system
CN111615172A (en) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 Network configuration method, device, equipment and system
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium
WO2022095709A1 (en) * 2020-11-05 2022-05-12 华为技术有限公司 Device network configuration method and apparatus
CN113573313A (en) * 2021-08-10 2021-10-29 海宁奕斯伟集成电路设计有限公司 Intelligent equipment network distribution method and device
CN113691404A (en) * 2021-08-23 2021-11-23 深圳市欧瑞博科技股份有限公司 Network repairing method and device of intelligent equipment and intelligent gateway
CN113891317A (en) * 2021-09-28 2022-01-04 青岛海尔科技有限公司 Network distribution method and network distribution device of intelligent equipment and electronic equipment
CN114245403A (en) * 2021-12-13 2022-03-25 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and storage medium
CN114501591A (en) * 2022-02-11 2022-05-13 珠海格力电器股份有限公司 Intelligent equipment network access method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN115119286A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US10616077B2 (en) System architecture and methods for controlling and managing networking devices and expediting new service delivery in a subscriber's home network using micro-domains
CN109600246B (en) Network slice management method and device
CN111436160B (en) Local area network communication method, device and system
EP2489236B1 (en) Apparatus and method for establishing a personal network for providing a cpns service
US11201814B2 (en) Configuration of networks using switch device access of remote server
US20190021047A1 (en) Method and System for Selecting Network Slice
US10142342B2 (en) Authentication of client devices in networks
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
CN109417492B (en) Network function NF management method and NF management equipment
CN110049504B (en) Session management method and device
CN110740460A (en) device network access method, device, network device and storage medium
CN110034944B (en) Network slice deployment method and device
JP7002570B2 (en) Integrated access system, configuration method, and baseband unit
US20150271016A1 (en) Configuration of networks with server cluster device
CN109600769B (en) Communication method and device
US10050823B2 (en) System and method for providing device management service to electronic device having no broadband communication module
CN115119286B (en) Method and device for accessing equipment to network
CN112398675B (en) Network element allocation method and device
CN112689029A (en) Method, device and equipment for acquiring IP address of group user
CN112953992A (en) Network system, communication and networking method, device and storage medium
CN110650071B (en) Access management method and device of user equipment and management server
CN116684216B (en) Communication method, readable medium and electronic equipment
CN115001731B (en) Ad hoc network method of heterogeneous network
WO2023184559A1 (en) Device sharing method and apparatus, and device, storage medium and program product
US20240064614A1 (en) Enterprise mobile network radio unit

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