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

Method and device for accessing equipment to network Download PDF

Info

Publication number
CN115119286A
CN115119286A CN202210666551.6A CN202210666551A CN115119286A CN 115119286 A CN115119286 A CN 115119286A CN 202210666551 A CN202210666551 A CN 202210666551A CN 115119286 A CN115119286 A CN 115119286A
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.)
Granted
Application number
CN202210666551.6A
Other languages
Chinese (zh)
Other versions
CN115119286B (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
Priority claimed from CN202210666551.6A external-priority 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

Images

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 accessing a network by equipment, and relates to the technical field of computers. The method is executed by a main device, wherein the main device is an intelligent device which is connected to the network and has the distribution network capability of a specified distribution network mode, and a specific embodiment of the method comprises the following steps: responding to a network access request of a device to be accessed to obtain device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main 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 performing network access configuration on the equipment to be accessed to the network according to the authorization information. According to the implementation mode, the network distribution capacity is given to the networked intelligent equipment, so that the problems caused by the dependence on external equipment in the prior art are solved, the intelligent equipment to be networked is determined more conveniently, the user experience is improved, the participation 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 invention relates to the technical field of computers, in particular to a method and a device for accessing a network by equipment.
Background
With the development of artificial intelligence and internet of things, more and more intelligent devices enter daily life, and artificial intelligence and internet of things have become one of the most promising technical fields in the future. The configuration network access (distribution network) of the intelligent equipment is the first step of equipment reaching users, the intelligent equipment to be accessed to the network is mainly searched and determined in a mode of scanning two-dimensional codes or searching directories through an APP of a mobile client, and then the configuration network access of the intelligent equipment to be accessed to the network is carried out in a mode of inputting router passwords.
In the process of implementing the invention, the inventor finds that the following problems exist in the prior art:
firstly, the risk of two-dimensional code loss or directory search error exists, and the intelligent equipment to be networked is inconvenient to determine; secondly, when the network systems are not matched, the network system of the mobile client needs to be manually adjusted, so that the operation is complicated, and the user experience is not good; thirdly, the user participation degree is high, and external risks of distribution network faults are brought; fourthly, in view of the problems of system stability, compatibility, openness and the like of the mobile client, the speed and the success rate of the distribution network cannot be guaranteed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a network access method and apparatus executed by a main device that has access to a network and has a network distribution capability, where the method and apparatus obtain device information of a device to be accessed to the network, which has the same network distribution mode as the main device, based on a monitored network access request, obtain authorization information of the device to be accessed to the network, and the main device performs network access configuration according to the authorization information, so that not only is network access configured for the intelligent device realized, but also various problems caused by relying on an external device in the prior art are overcome by giving the network distribution capability to the accessed intelligent device, and the intelligent device to be accessed to the network is determined more conveniently, user experience is improved, user participation is reduced, and network distribution speed and success rate are improved.
To achieve the object, according to an aspect of an embodiment of the present invention, a method for accessing a device to a network is provided, where the method is performed by a master device, the master device is an intelligent device that has accessed the network and has a network distribution capability specifying a network distribution mode, and the method includes:
responding to a network access request of a device to be accessed to obtain device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main 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 performing network access configuration on the equipment to be accessed to the network according to the authorization information.
Optionally, obtaining, according to the device information, authorization information of the device to be networked 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 using the authorization confirmation instruction as the authorization information of the equipment to be networked.
Optionally, before sending an authorization request to a 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 networked is not in the list of the equipment to be networked.
Optionally, before searching for the device to be networked from the device list to be networked according to the device information, the method further includes: searching the equipment to be accessed from a blacklist and/or a white list according to the equipment information; and determining that the device to be networked is not in the blacklist and/or the white list.
Optionally, after performing network access configuration on the device to be networked, the method further includes: and sending an equipment distribution network capacity configuration request to a user through a server, wherein the equipment distribution network capacity configuration request is used for requesting the equipment to be networked to carry out distribution network capacity configuration.
Optionally, the method further comprises: and under the condition that the network access request of the equipment to be accessed is not monitored by any main configuration equipment, completing the network access configuration of the equipment to be accessed through a main control end, and configuring the network distribution capacity of the equipment to be accessed.
Optionally, the network access request is sent in the form of a broadcast packet with a specified format, where the specified format is related to a distribution network mode of the device to be networked.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for accessing a network, where functions of the apparatus are performed by a master device, the master device being a device that has accessed the network and being provided with a network-distribution capability by software, the apparatus including:
the device information acquisition module is used for responding to a network access request of a device to be accessed to obtain the device information of the device to be accessed to the network, and the device to be accessed to the network and the main 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 accessing module is used for configuring the equipment to be accessed to the network according to the authorization information.
According to a third aspect of the embodiments of the present invention, there is provided an electronic device for device networking, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused 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, on which a computer program is stored, 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: the method comprises the steps that equipment information of equipment to be accessed is obtained by responding to a network access request of the equipment to be accessed, and the equipment to be accessed and a main device have the same network distribution mode; acquiring authorization information of the equipment to be accessed to the network according to the equipment information; according to the technical scheme of carrying out network access configuration on the equipment to be accessed to the network, the equipment information of the equipment to be accessed to the network, which is obtained based on the network access monitoring request and has the same network distribution mode with the main equipment, is obtained, the authorization information of the equipment to be accessed to the network is obtained, and network access configuration is carried out according to the authorization information, so that not only is the configuration of the intelligent equipment accessed to the network realized, but also various problems caused by the dependence on external equipment in the prior art are solved by endowing the network distribution capacity to the accessed intelligent equipment, the intelligent equipment to be accessed to the network is more conveniently determined, the user experience is improved, the participation degree of a user is reduced, and the network distribution 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 a main flow of a device network access method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an authorization request sent by a device to be networked according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a network accessing method of a device according to an embodiment of the present invention;
fig. 4 is a detailed flowchart of the device network access according to the embodiment of the present invention;
FIG. 5 is a schematic diagram comparing the network access method of the present invention with the existing general-purpose device;
fig. 6 is a schematic diagram of main modules of a device networking apparatus 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 employed;
fig. 8 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as 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, in a network access mode of an intelligent device, external devices such as a mobile client and the like are generally required to assist in configuring and accessing the network, so that problems are brought, for example: the intelligent equipment to be accessed to the network is inconvenient to determine, the searching is mainly carried out by depending on the two-dimensional code or the intelligent equipment directory listed by the APP of the mobile client, and the risk of searching errors caused by two-dimensional code loss or directory complexity exists; the operation is complicated, and when the network system of the mobile client is not matched with that of the intelligent equipment to be networked, the network system of the mobile client needs to be adjusted; the user participation degree is high, and external risks of distribution network faults are brought; the uncertainty of the distribution network speed and the success rate, the distribution network of the intelligent equipment is mainly realized through the mobile client, and the distribution network speed and the success rate cannot be guaranteed 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 device which has network access and has the network distribution capability, the authorization information of the device to be accessed to the network is obtained based on the device information of the device to be accessed to the network, which is obtained by monitoring the network access request and has the same network distribution mode with the main device, and the network access configuration is carried out according to the authorization information, so that not only is the configuration network access of the intelligent device realized, but also the problems caused by depending on external devices in the prior art are solved by endowing the network distribution capability to the accessed intelligent device, the intelligent device to be accessed to the network is more conveniently determined, the user experience is improved, the participation degree of users is reduced, and the network distribution speed and the success rate are improved.
In the description of the embodiments of the present invention, the terms and their meanings are as follows:
the softAP is distributed with a network: the method comprises the steps that a wireless chip of the equipment is utilized to enable the equipment to enter a softAP mode, a wireless local area network is started, after a mobile phone (or other mobile equipment) is connected to the wireless local area network started by the equipment, information such as the ssid and password of a router is sent to the equipment, the equipment is made to acquire the ssid information of the router under the condition that no screen exists, and the purpose of networking is achieved;
a BLE distribution network; a Bluetooth network distribution mode;
zigbee: a wireless network protocol of low-speed short-distance transmission, the bottom layer is a medium access layer and a physical layer which adopt IEEE 802.15.4 standard specification;
MESH: a wireless mesh network, which is a multi-hop (multi-hop) network, is developed from an ad hoc network, and is one of key technologies for solving the problem of the last kilometer;
SSID: the service set identification divides a wireless local area network into a plurality of sub-networks which need different identity authentication, each sub-network needs independent identity authentication, and only the user who passes the identity authentication can enter the corresponding sub-network, so as to prevent unauthorized users from entering the network;
PWD: password, password;
ThunderConfig: a fast-connect approach using 802.11 layer technology;
one-key configuration: a general equipment network access mode is characterized in that an SSID and a password are encoded into a UDP message through a mobile phone APP, intelligent hardware receives the UDP message and then decodes the UDP message to obtain a correct SSID and password, and then the intelligent hardware is actively connected with a route of a specified SSID to complete connection;
zero matching: the network access of the configured unit is automatically configured after the configured unit is powered on without the participation of a user.
Fig. 1 is a schematic diagram of a main flow of a device network access method according to an embodiment of the present invention, and as shown in fig. 1, the device network access method according to the embodiment of the present invention includes steps S101 to S103 as follows.
Step S101, responding to a network access request of a device to be accessed, and acquiring device information of the device to be accessed, wherein the device to be accessed and the main device have the same network distribution mode.
Specifically, along with the development of artificial intelligence and internet of things, more and more intelligent equipment are applied to daily life, and the intelligent equipment configuration is networked (is joined in marriage the net) and is the first step that equipment touches and reaches the user, and a convenient and fast's net mode of joining in marriage can effectively promote user experience and feel, improves user's viscidity. Although various distribution network modes are proposed by intelligent equipment manufacturers at present, such as a one-key configuration, a softAP distribution network, a BLE distribution network, a zigbee distribution network, a bluetooth MESH distribution network and the like, the distribution network modes also distribute the network to the intelligent equipment by means of the mobile client mobile phone or the special distribution network equipment, and considering the problems of complicated distribution network flow, high user participation, poor experience, unstable success rate and the like caused by system authority, compatibility and technical limitation of the distribution network equipment, the embodiment of the invention enables the distribution network capacity to be sunken to the intelligent equipment end with flexible opening capacity, and endows the intelligent equipment with the distribution network capacity to the accessed intelligent equipment, so that the accessed intelligent equipment has the distribution network capacity of the appointed distribution network mode, for example, a WIFI smart socket that has accessed to the network may be used as a master device to assist other WIFI-class smart devices to configure to access to the network, and a BLE smart refrigerator that has accessed to the network may be used as a master device to assist other BLE-class smart devices to configure to access to the network.
According to an 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 a distribution network mode of the device to be networked.
Specifically, after being powered on, the intelligent device to be networked may enter a binding mode to be activated automatically or through user operation, and send a broadcast packet of a network access request in a data format of a network distribution mode of the intelligent device, such as a softAP broadcast packet, a BLE broadcast packet, a Zigbee broadcast packet, and the like, the master device monitors surrounding intelligent devices at regular time according to the network distribution capability of the master device, receives a broadcast packet with device information sent by the intelligent device to be networked having the same network distribution mode as the master device, and discovers the device to be networked by monitoring the broadcast packet sent by the intelligent 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 equipment to be accessed is not monitored by any main configuration equipment, completing the network access configuration of the equipment to be accessed through a main control end, and configuring the network distribution capacity of the equipment to be accessed.
Specifically, under the condition that the network access request of the equipment to be accessed is not monitored by any main configuration equipment, namely the network distribution mode of the equipment to be accessed is used for the first time and is inconsistent with the network distribution modes of all main configuration equipment, the universal network distribution method specified by a manufacturer of the equipment to be accessed is used for configuring and accessing the network through the main control end such as a mobile phone and other equipment, and the network distribution capability is configured after the network access is successfully configured, so that the equipment to be accessed has the network distribution capability of the network distribution mode of the equipment to be accessed.
The intelligent device distribution network capacity set of the embodiment of the invention is constructed by configuring different distribution network capacities of the main devices, and is specifically shown in the following table 1:
table 1:
Figure BDA0003691575060000071
although the method can be achieved only by the intelligent equipment which is connected to the internet and has the same configuration mode, along with the development of the internet of things, the types and functions of the intelligent equipment are rich, more and more intelligent equipment can be put into use, the coverage rate of the method provided by the embodiment of the invention is higher and higher, and convenient and extreme use experience is brought to users.
And step S102, obtaining the authorization information of the equipment to be accessed to the network according to the equipment information.
According to an embodiment of the present invention, acquiring 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 using the authorization confirmation instruction as the authorization information of the equipment to be networked.
Specifically, the master configuration device has the capability of interacting with the cloud end of the internet of things, and based on the personalized requirements of the user, the master configuration device needs to acquire authorization information allowing the device to be networked to be configured into the network from the user according to the device information in the received broadcast packet. The method comprises the steps that main configuration equipment pushes equipment information of equipment to be authorized, which needs to be accessed to a network, to an Internet of things cloud end through a data channel, the cloud end pushes the received equipment information to an interaction end with interaction capability with a user, such as a mobile phone APP, a central control screen, an intelligent sound box and the like, and the user is reminded whether to allow the intelligent equipment to be configured to access to the network or not; if the user needs to distribute the network, the authorization information is fed back to the main distribution equipment through the cloud terminal only by clicking an authorization confirmation key or sending an authorization confirmation instruction; the main device takes the received authorization confirmation instruction returned by the user as authorization information of the device to be accessed to the network, and acquires the authorization information of the device to be accessed to the network.
Through the confirmation authorization of the user, the distribution network 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 input errors of the user is reduced, and the distribution network experience of the user is improved.
Fig. 2 is a schematic diagram of an authorization request of a device to be networked, which is sent in an embodiment of the present invention, in which a main distribution device is a WIFI (wireless network) smart socket, monitors device information of the WIFI smart socket in the device to be networked, and sends the found device information of the WIFI smart socket to an interaction device (a mobile phone APP, a central control screen, and a smart speaker) through a router via a cloud of the internet of things to remind a user of distribution network authorization.
According to another embodiment of the present invention, before sending an authorization request to a 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 networked is not in the list of the equipment to be networked.
According to another embodiment of the present invention, before searching for the device to be networked from the device list to be networked according to the device information, the method further includes: searching the equipment to be accessed from a blacklist and/or a white list according to the equipment information; and determining that the device to be networked is not in the blacklist and/or the white list.
Specifically, according to specific use requirements of the intelligent device, an assembly engineer or customer service staff of the intelligent device can establish a device list of devices to be distributed for network of a user, the device list is distributed to a main distribution device through a special data channel by means of an assembly project APP or cloud configuration distribution of the intelligent device, the main distribution device searches the devices to be distributed for network after receiving device information of the devices to be distributed, if the devices to be distributed are in the device list to be distributed, an authorization request does not need to be sent to the user, and the devices to be distributed are directly used as authorized devices to be distributed; if the device to be accessed to the network is not in the list of the device to be accessed to the network, 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 authorization information of the device to be accessed to the network, and otherwise, the device to be accessed to the network is not allowed to be configured to be accessed to the network.
Further, in order to improve the user's experience of the distribution network, the assembly engineer or the customer service staff of the intelligent device can blacklist the intelligent device for which the distribution network is forbidden according to the user's needs, or the intelligent equipment with the highest distribution network priority is listed in a white list, or a black list and the white list are simultaneously set, and is issued to the main equipment through a special data channel by means of the assembly engineering APP of the intelligent equipment or the cloud configuration issuing and the like, before the main configuration device receives the device information of the device to be networked and searches the device to be networked from the device list to be networked, the device blacklist and/or white list is searched and filtered, directly filtering the intelligent equipment in the blacklist, refusing to configure the network access, and directly taking the equipment to be accessed as authorized equipment to be accessed without sending an authorization request to the user for the intelligent equipment in the white list; if the device to be networked is not in the blacklist and/or the white list, an authorization request is sent to the user through the cloud end 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 device to be networked, and otherwise, the device to be networked is not allowed to be configured to be networked.
The device to be accessed to the network is filtered and screened through the blacklist, the white list and the device list to be accessed to the network, the device to be accessed to the network is subjected to pre-authorization, participation of a user in the network distribution process is weakened, zero configuration of a user plane is achieved, a plug-and-play network distribution mode is presented, and experience of the user is greatly improved.
And step S103, performing network access configuration on the equipment to be accessed according to the authorization information.
Specifically, the main device selects a specific distribution network mode according to its own configuration capability, and if only the capability of the device is found in individual cases, that is, after the main device obtains the device information of the device to be networked, the main device performs configuration networking by pulling up a distribution network interface of the device to be networked in an interaction terminal, such as a mobile phone APP, a central control screen, a smart sound box, and the like; if the main configuration equipment with the capability of discovering the equipment and the configuration capability exists, the main configuration equipment independently completes the configuration network access of the equipment to be accessed.
Fig. 3 is a schematic diagram illustrating a principle of a device network access method according to an embodiment of the present invention, where the main device includes an information interaction unit, a white/black list management unit, an intelligent device discovery unit, and a network distribution capability unit, where the intelligent device discovery unit mainly obtains device information of a device to be networked, which is the same as a network distribution mode of the main distribution device, in response to a network access request of the device to be networked being monitored. The main configuration device monitors the network access request of the equipment to be accessed at regular time, when finding the equipment information of the equipment to be accessed, which has the same network distribution mode as the main configuration device, the main configuration device searches the found equipment to be accessed from the white/black list, and if the equipment to be accessed is in the white list, the main configuration device directly performs network access configuration on the equipment to be accessed; if the network access request is in the blacklist, directly rejecting the network access request of the equipment to be accessed; for the intelligent equipment to be networked, which is not in the blacklist or the white list, the equipment information is sent to the interaction end through the internet of things cloud end, such as a mobile phone APP, a central control screen, an intelligent sound box and the like, a user only needs to click to add immediately, the distribution network authorization information can be sent to the main control equipment, and the main control equipment is used for distributing the network to the equipment to be networked.
Fig. 4 is a detailed flowchart of device network access according to an embodiment of the present invention, where an initial power-on state of a device to be networked is a binding mode to be activated, and a broadcast network access request packet with device information is sent out, as shown in fig.: first; the main equipment monitors a network access request of the equipment to be networked regularly, searches and finds the equipment to be networked which has the same network distribution mode as the main equipment, searches the equipment to be networked which can be directly authorized according to a blacklist and/or a white list and a network equipment list to be networked, and sends equipment information of the equipment to be networked which does not directly obtain authorization to interactive end equipment, such as a mobile phone APP, a central control screen, an intelligent sound box and the like, for example, the second in the figure; the interaction end equipment prompts a user to authorize the distribution network equipment, and the user returns authorization information for confirming that the distribution network is needed to the main distribution equipment through the cloud end, such as the third figure; the main configuration device receives the authorization information and issues necessary distribution network information such as SSID (service set identifier), PWD (public power device) and the like to the device to be accessed with the authorization information for network access configuration, wherein the distribution network information is shown as a fourth in the figure; and then, autonomously performing activation binding, completing configuration network access and interacting with the user, for example, in the fifth step.
According to an embodiment of the present invention, after performing network entry configuration on the device to be networked, the method further includes: and sending an equipment distribution network capacity configuration request to a user through a server, wherein the equipment distribution network capacity configuration request is used for requesting the equipment to be networked to be configured with the distribution network capacity.
Specifically, in response to newly established network connection, a configuration request of the distribution network capacity is sent to a user through a server, whether configuration software with the distribution network capacity needs to be installed on newly-accessed intelligent equipment is determined according to feedback information of the user, if the distribution network capacity is needed, request information for installing the configuration software can be sent to the Internet of things cloud end, the Internet of things cloud end pulls relevant configuration software from the intelligent equipment platform according to the received request information, and the configuration software is installed on the intelligent equipment so as to endow the intelligent equipment with the matched distribution network capacity.
Through the configuration of the distribution network capacity, the master control equipment can be flexibly built according to the scene requirements, and the network topology structure of the intelligent equipment is enriched.
Fig. 5 is a schematic diagram illustrating a comparison between an embodiment of the present invention and an existing network access method of a general device, where the network access method of the present invention uses a master device to periodically monitor a network access request of a device to be networked, instead of scanning a two-dimensional code or searching a directory in the existing method; through the screening and filtering of the authorization equipment, zero distribution equipment capable of directly issuing distribution network information to carry out distribution network and one-key authorization equipment needing prompting a user to carry out authorization confirmation are determined, the complex steps of code scanning/directory search in the existing equipment network access, matching of a mobile phone system and manual password input are avoided, the distribution network experience of the user is improved to the greatest extent, the user participation degree is reduced, and the distribution network speed and success rate are improved.
Fig. 6 is a schematic diagram of main modules of a device networking apparatus according to an embodiment of the present invention. As shown in fig. 6, the device networking apparatus 600 mainly includes a device information obtaining module 601, an authorization information obtaining module 602, and a device configuration networking module 603.
An equipment information obtaining module 601, configured to obtain, in response to a network access request of a device to be networked, equipment information of the device to be networked, where the device to be networked has a same network distribution mode as the master device;
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 accessing module 603 is configured to configure the device to be networked into a network according to the authorization information.
According to an embodiment of the present invention, the authorization information obtaining module 602 may further be 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 using the authorization confirmation instruction as the authorization information of the equipment to be networked.
According to another embodiment of the present invention, the device networking apparatus 600 may further include a to-be-configured network device list searching module (not shown in the figure), configured to: before sending an authorization request to a user according to the equipment information, searching the equipment to be networked from an equipment list to be networked according to the equipment information; and determining that the equipment to be networked is not in the list of the equipment to be networked.
According to still another embodiment of the present invention, the device network entry apparatus 600 may further include a black and white list lookup module (not shown in the figure) configured to: before searching the device to be accessed from a device list to be configured according to the device information, searching the device to be accessed from a blacklist and/or a white list according to the device information; and determining that the device to be networked is not in the blacklist and/or the white list.
According to another embodiment of the present invention, the device networking apparatus 600 may further include a configuration module (not shown in the figure) configured to: after the network access configuration is carried out on the equipment to be accessed, an equipment distribution network capacity configuration request is sent to a user through a server side, and the equipment distribution network capacity configuration request is used for requesting the network distribution capacity configuration to the equipment to be accessed.
According to an embodiment of the present invention, the device networking apparatus 600 may further include a provisioning module (not shown in the figure) configured to: and under the condition that the network access request of the equipment to be accessed is not monitored by any main configuration equipment, completing the network access configuration of the equipment to be accessed through a main control end, and configuring the network distribution capacity of the equipment to be accessed.
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 a distribution network mode of the device to be networked.
Fig. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various communication client applications, such as device networking applications, 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 smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (for example only) providing 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 equipment to be accessed to obtain the equipment information of the equipment to be accessed to the network, and the equipment to be accessed to the network and the main equipment have the same network distribution mode; acquiring authorization information of the equipment to be accessed to the network according to the equipment information; and according to the authorization information, performing processing such as network access configuration on the device to be accessed, and feeding back a processing result (such as a configuration result, which is only an example) to the terminal device.
It should be noted that the method for device networking according to 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, shown is a block diagram of a computer system 800 suitable for use with a terminal device or server implementing an embodiment of the present invention. The terminal device or the server shown in fig. 8 is only an example, and should not bring any limitation to the functions and the 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 in accordance with 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 necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and 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. A drive 810 is also connected to the I/O interface 805 as necessary. 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 necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the 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 illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 present invention, 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, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many 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 of the foregoing.
The flowchart 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 described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor, and may be 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 form a limitation on the module itself in some cases, for example, the authorization information obtaining module may also be described as a "module for obtaining 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, which may be contained in the apparatus described in the embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by an apparatus, cause the apparatus to comprise: responding to a network access request of a device to be accessed to obtain device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main 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 performing network access configuration on the equipment to be accessed to the network according to the authorization information.
According to the technical scheme of the embodiment of the invention, the method has the following advantages or beneficial effects: the method comprises the steps that equipment information of equipment to be accessed is obtained by responding to a network access request of the equipment to be accessed, and the equipment to be accessed and the main equipment have the same network distribution mode; acquiring authorization information of the equipment to be accessed to the network according to the equipment information; according to the technical scheme of carrying out network access configuration on the equipment to be accessed to the network, the equipment information of the equipment to be accessed to the network, which is obtained based on the network access monitoring request and has the same network distribution mode with the main equipment, is obtained, the authorization information of the equipment to be accessed to the network is obtained, and network access configuration is carried out according to the authorization information, so that not only is the configuration of the intelligent equipment accessed to the network realized, but also various problems caused by the dependence on external equipment in the prior art are solved by endowing the network distribution capacity to the accessed intelligent equipment, the intelligent equipment to be accessed to the network is more conveniently determined, the user experience is improved, the participation degree of a user is reduced, and the network distribution speed and the success rate are improved.
The specific embodiments are not to be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for accessing a network of equipment is characterized in that the method is executed by a main equipment, the main equipment is an intelligent equipment which is accessed to the network and has a network distribution capability of a specified network distribution mode, and the method comprises the following steps:
responding to a network access request of a device to be accessed to obtain device information of the device to be accessed to the network, wherein the device to be accessed to the network and the main 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 performing network access configuration on the equipment to be accessed to the network according to the authorization information.
2. The method according to claim 1, wherein obtaining authorization information of the device to be networked according to the device information comprises:
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 using the authorization confirmation instruction as the authorization information of the equipment to be networked.
3. The method of claim 2, further comprising, prior to sending an authorization request to a user based on the device information:
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 networked is not in the list of the equipment to be networked.
4. The method according to claim 3, wherein before searching the device to be networked from the device list to be networked according to the device information, the method further comprises:
searching the equipment to be accessed from a blacklist and/or a white list according to the equipment information;
and determining that the device to be networked is not in the blacklist and/or the white list.
5. The method according to claim 1, further comprising, after performing network entry configuration on the device to be networked:
and sending an equipment distribution network capacity configuration request to a user through a server, wherein the equipment distribution network capacity configuration request is used for requesting the equipment to be networked to be configured with the distribution network capacity.
6. The method of claim 1, further comprising:
and under the condition that the network access request of the equipment to be accessed is not monitored by any main configuration equipment, completing the network access configuration of the equipment to be accessed through a main control end, and configuring the network distribution capacity of the equipment to be accessed.
7. The method of claim 1, wherein the network entry request is sent in the form of a broadcast packet with a specific format, and the specific format is related to a network distribution mode of the device to be networked.
8. An apparatus for network access of a device, wherein the function of the apparatus is performed by a master device, the master device is a device already connected to a network and is endowed with a network-distribution capability through software, the apparatus comprises:
the device information acquisition module is used for responding to a network access request of a device to be accessed to obtain the device information of the device to be accessed to the network, and the device to be accessed to the network and the main 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 accessing module is used for configuring the equipment to be accessed to the network according to the authorization information.
9. A mobile electronic device terminal, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202210666551.6A 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 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 Method and device for accessing equipment to network

Publications (2)

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

Family

ID=

Cited By (1)

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

Citations (17)

* 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
US20160113047A1 (en) * 2014-10-20 2016-04-21 Xiaomi Inc. Method and device for connection management
US20160119859A1 (en) * 2013-12-10 2016-04-28 Beijing Zhigu Rui Tuo Tech Co., Ltd Wireless network access method and access apparatus
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
US20180014199A1 (en) * 2015-09-30 2018-01-11 Tencent Technology (Shenzhen) Company Limited Network access method, apparatus, and system
CN108111375A (en) * 2017-11-27 2018-06-01 海尔优家智能科技(北京)有限公司 Equipment method of network entry, device, are waited to network and log equipment intelligent terminal
US20180278584A1 (en) * 2017-03-27 2018-09-27 Zenedge, Inc. Authenticating Access Configuration for Application Programming Interfaces
US20200107173A1 (en) * 2016-07-01 2020-04-02 Gemalto M2M Gmbh Method for remote provisioning of a user equipment in a cellular network
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

Patent Citations (18)

* 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
US20160119859A1 (en) * 2013-12-10 2016-04-28 Beijing Zhigu Rui Tuo Tech Co., Ltd Wireless network access method and access apparatus
US20160113047A1 (en) * 2014-10-20 2016-04-21 Xiaomi Inc. Method and device for connection management
US20180014199A1 (en) * 2015-09-30 2018-01-11 Tencent Technology (Shenzhen) Company Limited Network access method, apparatus, and system
US20200107173A1 (en) * 2016-07-01 2020-04-02 Gemalto M2M Gmbh Method for remote provisioning of a user equipment in a cellular network
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
US20180278584A1 (en) * 2017-03-27 2018-09-27 Zenedge, Inc. Authenticating Access Configuration for Application Programming Interfaces
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

Cited By (2)

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

Similar Documents

Publication Publication Date Title
CN111955031B (en) Method and apparatus for using network slice in mobile communication system
CN111436160B (en) Local area network communication method, device and system
US11201814B2 (en) Configuration of networks using switch device access of remote server
CN110740460B (en) Network access method and device of equipment, network equipment and storage medium
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
US10142342B2 (en) Authentication of client devices in networks
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
CN111787517A (en) Method and device for binding activation of intelligent equipment
KR100953855B1 (en) Methods and apparatus for simultaneously hosting multiple service providers on a network
US20130179558A1 (en) Server management using a baseboard management controller to establish a wireless network
CN109150568A (en) A kind of network management, device, system, equipment and storage medium
JP6629345B2 (en) Device and method for adding M2M service
WO2018024121A1 (en) Network function (nf) management method and nf management device
CN110602682A (en) Network management system and method based on Bluetooth BLE and mesh mixing
CN101175004A (en) Method for wirelessly connecting and configuring access points and access point clients
US20150271016A1 (en) Configuration of networks with server cluster device
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
CN109905431A (en) Message treatment method and system, storage medium, electronic equipment
CN111372222A (en) Device connection method and system, corresponding terminal device and server
US20100199333A1 (en) System and method for providing device management service to electronic device having no broadband communication module
CN110996372B (en) Message routing method, device and system and electronic equipment
CN111464334A (en) System, method and server for realizing terminal equipment management under software defined wide area network system
CN104604295A (en) Method for managing access right of terminal to resource by server in wireless communication system, and device for same
CN115119286A (en) Method and device for accessing equipment to network
CN115119286B (en) Method and device for accessing equipment to network

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