[go: up one dir, main page]

CN110072235B - Networking method and device for intelligent equipment, electronic device and storage medium - Google Patents

Networking method and device for intelligent equipment, electronic device and storage medium Download PDF

Info

Publication number
CN110072235B
CN110072235B CN201810069620.9A CN201810069620A CN110072235B CN 110072235 B CN110072235 B CN 110072235B CN 201810069620 A CN201810069620 A CN 201810069620A CN 110072235 B CN110072235 B CN 110072235B
Authority
CN
China
Prior art keywords
smart device
authentication
wireless network
wireless
network
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
CN201810069620.9A
Other languages
Chinese (zh)
Other versions
CN110072235A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810069620.9A priority Critical patent/CN110072235B/en
Publication of CN110072235A publication Critical patent/CN110072235A/en
Application granted granted Critical
Publication of CN110072235B publication Critical patent/CN110072235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种智能设备的联网方法、装置、电子装置和存储介质。其中,该方法包括:在第一智能设备请求连接无线网络时,第一智能设备检测到第一提示信息,其中,第一提示信息用于提示进行连接无线网络的认证;第一智能设备向第二智能设备发送第二提示信息,其中,第二提示信息用于提示第二智能设备进行认证,以使得第一智能设备连接到无线网络;第一智能设备接收第二智能设备发送的认证结果,其中,认证结果用于指示第二智能设备完成认证;在认证结果指示第二智能设备完成认证的情况下,第一智能设备确定出第一智能设备成功连接到无线网络。本发明解决了由于智能设备无法进行认证造成的无法联网的技术问题。

Figure 201810069620

The invention discloses a networking method, device, electronic device and storage medium for intelligent equipment. Wherein, the method includes: when the first smart device requests to connect to the wireless network, the first smart device detects first prompt information, wherein the first prompt information is used to prompt for authentication of connecting to the wireless network; The second smart device sends second prompt information, wherein the second prompt information is used to prompt the second smart device to perform authentication, so that the first smart device is connected to the wireless network; the first smart device receives the authentication result sent by the second smart device, The authentication result is used to instruct the second smart device to complete the authentication; if the authentication result indicates that the second smart device completes the authentication, the first smart device determines that the first smart device is successfully connected to the wireless network. The present invention solves the technical problem of inability to connect to the Internet due to the inability of the smart device to perform authentication.

Figure 201810069620

Description

Networking method and device for intelligent equipment, electronic device and storage medium
Technical Field
The invention relates to the field of internet, in particular to a networking method and device of intelligent equipment, an electronic device and a storage medium.
Background
The existing intelligent equipment does not usually have external input equipment such as a display screen or a keyboard, the networking of the intelligent equipment is the basic requirement of the intelligent equipment, and therefore, when the existing intelligent equipment is networked, the login account and the password are sent to the intelligent equipment through other mobile terminals with the external input equipment, so that the networking of the intelligent equipment is realized.
Some networks require authentication when a smart device requests a connection. The authentication process requires input of information required for authentication, however, since the smart device does not have an external input device, the smart device cannot authenticate when connecting to these networks, and thus cannot connect to the networks.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a networking method and device of intelligent equipment, an electronic device and a storage medium, and at least solves the technical problem that the intelligent equipment cannot be networked due to the fact that the intelligent equipment cannot be authenticated.
According to an aspect of an embodiment of the present invention, there is provided a networking method for intelligent devices, including: when a first intelligent device requests to connect to a wireless network, the first intelligent device detects first prompt information, wherein the first prompt information is used for prompting authentication for connecting to the wireless network; the first intelligent device sends second prompt information to a second intelligent device, wherein the second prompt information is used for prompting the second intelligent device to perform the authentication so that the first intelligent device is connected to the wireless network; the first intelligent device receives an authentication result sent by the second intelligent device, wherein the authentication result is used for indicating the second intelligent device to complete the authentication; and under the condition that the authentication result indicates that the second intelligent device completes the authentication, the first intelligent device determines that the first intelligent device is successfully connected to the wireless network.
According to another aspect of the embodiments of the present invention, there is also provided a networking apparatus for an intelligent device, including: the apparatus is provided in a first smart device, the networking apparatus of the smart device comprising: the detection unit is used for detecting first prompt information when the first intelligent equipment requests to connect to a wireless network, wherein the first prompt information is used for prompting authentication for connecting to the wireless network; a sending unit, configured to send second prompt information to a second smart device, where the second prompt information is used to prompt the second smart device to perform the authentication, so that the first smart device is connected to the wireless network; a receiving unit, configured to receive an authentication result sent by the second smart device, where the authentication result is used to indicate that the second smart device completes the authentication; and the connecting unit is used for determining that the first intelligent device is successfully connected to the wireless network under the condition that the authentication result indicates that the second intelligent device completes the authentication.
According to a further aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to perform the above method when executed.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory and a processor, wherein the memory stores therein a computer program, and the processor is configured to execute the above method through the computer program.
In the embodiment of the invention, when the first intelligent device is connected with the wireless network needing authentication, the second intelligent device is used for authenticating the wireless network, so that the technical problem that the intelligent device cannot be connected with the wireless network needing authentication due to the fact that the intelligent device cannot be authenticated in the prior art is solved, and the technical effect of authenticating to log in the wireless network is achieved.
Drawings
FIG. 1 is a schematic diagram of a hardware environment according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a networking method of intelligent devices according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an authentication page according to an embodiment of the invention;
FIG. 4 is a schematic illustration of a successfully connected interface according to an embodiment of the invention;
FIG. 5 is a schematic diagram of a login interface on a second smart device, in accordance with an embodiment of the invention;
FIG. 6 is a schematic diagram of a second smart device connecting to a server through a first smart device, according to an embodiment of the invention;
FIG. 7 is a schematic diagram of a robot authenticated by a cell phone, according to an embodiment of the invention;
FIG. 8 is a flow chart of a networking method of a smart device in accordance with a preferred embodiment of the invention;
FIG. 9 is a schematic diagram of a networked appliance of ID smart devices in accordance with an embodiment of the present invention;
fig. 10 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The noun explains:
the dynamic host configures a protocol server, i.e., a DHCP server. DHCP, Dynamic Host configuration Protocol. The dynamic host configuration protocol is a network protocol for a local area network. The method refers to that a server controls a range of IP addresses, and a client can automatically obtain the IP address and the subnet mask allocated by the server when logging in the server.
A Domain Name server, that is, a DNS (Domain Name server) is a server that performs conversion between a Domain Name and an IP address corresponding to the Domain Name. The domain name server consists of a domain name resolver and a domain name server. The process of mapping a domain name to an IP address becomes domain name resolution.
IP Address, internet protocol Address.
According to one aspect of the embodiment of the invention, a networking method of intelligent equipment is provided. In this embodiment, the networking method of the smart devices can be applied to a hardware environment formed by the first smart device 101, the second smart device 102 and the server 103 shown in fig. 1. As shown in fig. 1, a first smart device 101 and a second smart device 102 are connected to a server 103 via a network including, but not limited to: the first smart device 101 may be a robot or other smart device. The second smart device 102 may be a mobile phone terminal, or may be a PC terminal, a notebook terminal, or a tablet terminal.
The hardware environment shown in FIG. 1 operates as follows:
the first smart device 101 and the second smart device 102 in fig. 1 may communicate with each other via bluetooth, or may communicate via connection to the same local area network. Meanwhile, both the first smart device 101 and the second smart device 102 may be connected to the server 103 to communicate with the server 103. In case the first smart device 101 needs authentication through the network connection server 103, authentication may be performed through the second smart device 102. Prior to authentication, the first smart device 101 inputs a login account number and a password through the second smart device 102 to connect to the server 103.
Fig. 2 is a flow chart of a networking method of a smart device according to an embodiment of the invention. As shown in fig. 2, the networking method of the intelligent device includes:
step S202, when the first intelligent device requests to connect to the wireless network, the first intelligent device detects first prompt information, wherein the first prompt information is used for prompting authentication for connecting to the wireless network.
The first smart device is a terminal without an external input device. The wireless network comprises a network which needs to input an account number and a password for logging in and a network which can log in without the password. Networks that do not require password login typically require authentication prior to login. The authentication comprises authentication modes such as webpage authentication, fingerprint authentication, face authentication, voice print authentication and the like. When the first intelligent device requests to connect to the wireless network, if the wireless network needs to be authenticated, the first intelligent device detects first prompt information, and the prompt information prompts the first intelligent device to be authenticated. For example, it is necessary to select "connect immediately" on the interface shown in fig. 3, and jump to the interface shown in fig. 4 after the connection is successful.
Optionally, the requesting, by the first smart device, to connect to the wireless network includes: the first intelligent device receives a second login account and a second login password of the wireless network, which are sent by the second intelligent device; and the first intelligent equipment requests to log in the wireless network through the second login account and the second login password.
For the wireless network which does not need password login, if a plurality of connectable wireless networks need to be selected, the wireless network which needs to be connected is selected on the second intelligent device, and then the account of the selected wireless network is sent to the first intelligent device, so that the first intelligent device can request to connect the selected wireless network according to the received account. The second intelligent device and the first intelligent device can communicate through Bluetooth and send the selected account number of the wireless network to the first intelligent device through Bluetooth. The second intelligent device can also generate a two-dimensional code, and the first intelligent device scans the two-dimensional code to acquire the account number of the wireless network to be connected. If there is only one connectable wireless network, the first smart device may issue a connection request directly to the wireless network.
For a wireless network requiring password login, the second intelligent device is required to select an account from a plurality of wireless networks and input a corresponding password. For example, an account of the wireless network to be logged in is selected on the interface shown in fig. 5, a password is input, and the second intelligent device sends the account and the password to the first intelligent device. The sending mode may be the above-mentioned bluetooth communication or two-dimensional code scanning, and is not described herein again. And after receiving the account number and the password, the first intelligent device logs in the wireless network by using the received account number and the password.
Step S204, the first intelligent device sends second prompt information to the second intelligent device, wherein the second prompt information is used for prompting the second intelligent device to carry out authentication so that the first intelligent device is connected to the wireless network.
The first smart device has no external input device, and when authentication is required, authentication is required by means of the second smart device. And after receiving the first prompt message, sending a second prompt message to the second intelligent device to prompt the second intelligent device to authenticate. That is, authentication is performed on the second smart device to enable authentication of the first smart device through the connected wireless network. The second smart device may authenticate through the authentication page shown in fig. 3.
Step S206, the first intelligent device receives an authentication result sent by the second intelligent device, wherein the authentication result is used for indicating that the second intelligent device completes authentication.
And after finishing authentication according to the second prompt message, the second intelligent device sends an authentication result to the first intelligent device, wherein the authentication result can prompt the first intelligent device, and the current wireless network finishes authentication and can be connected with the network. It should be noted that, when the first smart device receives the first prompt message, the first smart device is connected to the router of the wireless network, but is not connected to the server for data communication, and can be connected to the server only after authentication is required. After the second intelligent device completes authentication, the first intelligent device can be connected to the server through the router for data communication. The second smart device may determine whether the authentication is successful during the authentication process. If the authentication is unsuccessful, the second smart device may continue with the authentication, and if successful, the authentication result may be sent to the first smart device.
Authentication by the second smart device includes, but is not limited to, any of the following forms:
clicking an authentication identifier on the authentication page, such as the 'immediate connection' identifier in fig. 3, to complete authentication;
clicking an authentication identifier on the authentication page, receiving a verification code, and inputting the verification code at a corresponding position of the authentication page to finish authentication;
inputting a fingerprint or shooting a face picture according to the prompt of the authentication page to finish authentication;
and selecting characters required to be input from a plurality of characters to be selected according to characters prompted on the authentication page, and finishing authentication by taking the input characters as authentication information, or reading the characters required to be input and recording, and finishing authentication by taking the recording as the authentication information.
The authentication process may further include performing actions such as tapping, clicking, shaking, and sliding on the second smart device for authentication, which is not illustrated herein.
In step S208, when the authentication result indicates that the second smart device completes authentication, the first smart device determines that the first smart device is successfully connected to the wireless network.
In the event that the second smart device completes authentication, the first smart device may successfully connect to the wireless network.
In the embodiment, when the first intelligent device is connected with the wireless network needing authentication, the authentication of the wireless network is carried out by means of the second intelligent device, so that the technical problem that the intelligent device cannot be connected with the wireless network needing authentication due to the fact that the intelligent device cannot carry out authentication in the prior art is solved, and the technical effect of carrying out authentication to log in the wireless network is achieved.
Optionally, after the first smart device sends the second prompt message to the second smart device and before the first smart device receives the authentication result sent by the second smart device, the method further includes: the first intelligent device provides a wireless hotspot to the second intelligent device, wherein the wireless hotspot is used for enabling the second intelligent device to communicate with the wireless network through a wireless relay network provided by the wireless hotspot.
Because the second intelligent device authenticates, the first intelligent device can be connected with the wireless network, and therefore, when the second intelligent device authenticates, the first intelligent device provides a relay network for the second intelligent device. As shown in fig. 6, a first smart device provides a wireless hotspot, a second smart device can be connected to the wireless hotspot, and the first smart device provides a relay network for the second smart device through the wireless hotspot, so that the second smart device is connected to the first smart device through a wireless network, and is connected to a wireless network to which the first smart device requests to connect through the first smart device, so as to perform authentication. For example, the wireless network to which the first smart device requests to connect is WX-WIFI, and when the wireless network needs authentication, the first smart device provides a wireless hotspot and notifies the second smart device to connect to the wireless hotspot, and after the second smart device connects to the wireless hotspot, the first smart device enables the second smart device to communicate with the wireless network WX-WIFI, and the authentication is performed on the second smart device.
For example: the first intelligent device is a robot, and the second intelligent device is a collection device. On the robot, the mobile phone sends an account number of a wireless network to the robot through Bluetooth, after the robot requests to connect the wireless network, the robot can actively judge whether the currently connected wireless network needs webpage authentication, if so, a wireless hotspot is opened, meanwhile, information (second prompt information) needing the webpage authentication is sent to the mobile phone, the mobile phone is connected with the wireless hotspot of the robot, and webpage authentication is carried out on the robot. As shown in fig. 7, the robot connects to the wireless network of the accumulation in the tangy uterus, the authentication page of the accumulation in the tangy uterus is displayed on the mobile phone, and the user clicks "connect immediately" to complete authentication.
Optionally, the first smart device providing the wireless hotspot to the second smart device comprises: the first intelligent device communicates with the wireless network through a first network interface; adding a second network interface to the first intelligent equipment; enabling the wireless hotspot on the second network interface by the first intelligent device; the first intelligent device sets a routing table, wherein the routing table is used for indicating the second intelligent device to communicate with the wireless network through the second network interface and the first network interface; the first intelligent device sends a first login account and a first login password of the wireless hotspot to the second intelligent device.
Optionally, the adding, by the first smart device, the second network interface includes: the first intelligent equipment configures the IP address of the local machine for the second network interface; the first intelligent device starts a dynamic host configuration protocol server to monitor a second network interface and distributes an IP address for the second intelligent device connected to the wireless hotspot; and the first intelligent equipment sets a domain name server for the second network interface.
The principle that the first intelligent device provides the wireless hotspot technology as the relay route is mainly as follows:
1. the first intelligent device is connected with the wireless network through a first network interface wlan 0;
2. adding a new network interface, namely a second network interface, such as p2p 0;
3. keeping the wireless connection of the wlan0 still, and starting a wireless hotspot on the newly added second network interface, wherein the wireless hotspot comprises a first login account and a first login password;
4. configuring an address range of a local IP address for the second network interface p2p 0;
5. starting a dynamic host configuration protocol server, monitoring a second network interface p2p0, and allocating an IP address to a second intelligent device connected to the second network interface through a wireless hotspot;
6. setting a domain name server of a second network interface p2p0 to support domain name resolution;
7. the local routing table is set up so that a connected second smart device via the second network interface p2p0 can communicate with the server from the first network interface wlan 0.
After the first intelligent device configures the wireless hotspot, the first login account and the first login password are sent to the second intelligent device, and the second intelligent device is connected with the wireless hotspot through the first login account and the first login password. After the second intelligent device is connected to the wireless hotspot, the second intelligent device communicates with the server through the second network interface and the first network interface, which is equivalent to the fact that the second intelligent device communicates with the server through the network of the first intelligent device.
Optionally, in order to ensure that the first smart device can be normally connected to the wireless network for communication after the authentication is completed, after receiving the authentication result, the first smart device may detect whether authentication is further required, and if no prompt message that authentication is required is detected, it is determined that the second smart device has completed authentication in place of the first smart device, and the wireless network may be normally connected, that is, the first smart device successfully connected to the wireless network after the authentication result indicates that the second smart device completes authentication includes: after receiving the authentication result, the first intelligent device detects whether the wireless network prompts the first intelligent device to authenticate or not again; and under the condition that the first intelligent device does not detect the wireless network and prompts the first intelligent device to authenticate, determining that the first intelligent device is successfully connected to the wireless network.
It should be noted that, the second smart device automatically detects whether the authentication is successfully completed after the authentication is performed, re-authenticates if the authentication is failed, and sends the authentication result to the first smart device after the authentication is successful. And the first intelligent device detects whether the prompt message exists again after receiving the authentication result, so as to ensure that the first intelligent device can be connected to the wireless network. The first smart device is connectable to the wireless network even if the first smart device does not detect again whether the prompt authentication is accepted. That is, in the event that the second smart device successfully authenticates, the first smart device may already be connected to the wireless network.
The networking method of the smart device of the present embodiment is explained below with reference to fig. 8. In this embodiment, the robot is the first smart device, and the mobile phone is the second smart device. The following steps performed by the robot may be performed by an application installed in the robot, and the following steps performed by the mobile phone may be performed by an application installed in the collection.
S801, the mobile phone acquires a WiFi account and a password and transmits the WiFi account and the password to the robot through a Bluetooth channel;
s802, the robot receives the WiFi account and the password and requests to connect a wireless network corresponding to the WiFi account;
s803, the robot judges whether the wireless webpage authentication is needed, if not, the distribution network is determined to be successful, and if so, S804 and S805 are executed to send an authentication prompt to the mobile phone;
s804, the robot judges whether the wireless relay is started successfully or not to provide a wireless hotspot; if yes, executing S806, if not, failing to distribute the network;
s805, the mobile phone prompts the user that webpage authentication is needed;
s806, the robot sends the relay WiFi account and the password to the mobile phone, namely sends the account and the password of the wireless hotspot;
s807, the mobile phone receives the relay WiFi account and is connected to the relay WiFi;
s808, popping up a webpage for webpage authentication by the mobile phone, performing webpage authentication, and sending an authentication result to the robot;
s809, the robot checks whether the wireless network can be networked really, if so, the robot determines that the network distribution is successful, and if not, the robot determines that the network distribution is failed.
Wherein, first smart machine provides wireless wiFi relay route and makes the networking of second smart machine, mainly by following several composition parts:
network distribution service of the mobile phone:
the mobile phone is responsible for communicating with the robot through a low-power-consumption Bluetooth technology, the mobile phone end sends WiFi account information to the robot end, and the mobile phone is responsible for opening a corresponding authentication page and authenticating the robot according to whether the network of the robot needs authentication.
Robot WiFi relay service:
the robot is responsible for turning on and turning off the WiFi relay service of the robot, and a WiFi relay hotspot is started for the mobile phone, so that the mobile phone can surf the internet through the WiFi network of the robot, and the robot can realize authentication.
And WiFi authentication checking:
and the system is responsible for checking whether the WiFi network of the robot is available or not, and returning a prompt when the WiFi network of the robot is unavailable to prompt the robot to need authentication.
Through the networking method of the intelligent equipment, authentication in the process of connecting a wireless network can be achieved without adding additional input equipment such as a screen and a keyboard, the manufacturing cost of the intelligent equipment is saved, equipment such as a robot without external input equipment at present can be connected to the network needing authentication, and the networking adaptability of the intelligent equipment is improved. In addition, under the condition that the WiFi network of the current intelligent robot is not disconnected, the robot can share the WiFi hot spot, the function of a wireless routing relay is realized, and the function of the wireless routing relay can be provided for other intelligent equipment to be networked.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
According to another aspect of the embodiment of the present invention, there is also provided a networking apparatus of an intelligent device for implementing the networking method of the intelligent device. The networking means of the smart device is arranged in the first smart device. FIG. 9 is a schematic diagram of a networking apparatus of an ID smart device according to an embodiment of the invention. As shown in fig. 9, the apparatus includes:
the detecting unit 92 is configured to detect first prompt information when the first smart device requests to connect to the wireless network, where the first prompt information is used to prompt authentication for connecting to the wireless network;
the first smart device is a terminal without an external input device. The wireless network comprises a network which needs to input an account number and a password for logging in and a network which can log in without the password. Networks that do not require password login typically require authentication prior to login. The authentication comprises authentication modes such as webpage authentication, fingerprint authentication, face authentication, voice print authentication and the like. When the first intelligent device requests to connect to the wireless network, if the wireless network needs to be authenticated, the first intelligent device detects first prompt information, and the prompt information prompts the first intelligent device to be authenticated. For example, it is necessary to select "connect immediately" on the interface shown in fig. 3, and jump to the interface shown in fig. 4 after the connection is successful.
Optionally, the detection unit comprises: the receiving module is used for receiving a second login account and a second login password of the wireless network, which are sent by the second intelligent device; and the login module is used for requesting to login the wireless network through a second login account and a second login password.
For the wireless network which does not need password login, if a plurality of connectable wireless networks need to be selected, the wireless network which needs to be connected is selected on the second intelligent device, and then the account of the selected wireless network is sent to the first intelligent device, so that the first intelligent device can request to connect the selected wireless network according to the received account. The second intelligent device and the first intelligent device can communicate through Bluetooth and send the selected account number of the wireless network to the first intelligent device through Bluetooth. The second intelligent device can also generate a two-dimensional code, and the first intelligent device scans the two-dimensional code to acquire the account number of the wireless network to be connected. If there is only one connectable wireless network, the first smart device may issue a connection request directly to the wireless network.
For a wireless network requiring password login, the second intelligent device is required to select an account from a plurality of wireless networks and input a corresponding password. For example, an account of the wireless network to be logged in is selected on the interface shown in fig. 5, a password is input, and the second intelligent device sends the account and the password to the first intelligent device. The sending mode may be the above-mentioned bluetooth communication or two-dimensional code scanning, and is not described herein again. And after receiving the account number and the password, the first intelligent device logs in the wireless network by using the received account number and the password.
The sending unit 94 is configured to send second prompt information to the second smart device, where the second prompt information is used to prompt the second smart device to perform authentication, so that the first smart device is connected to the wireless network;
the first smart device has no external input device, and when authentication is required, authentication is required by means of the second smart device. And after receiving the first prompt message, sending a second prompt message to the second intelligent device to prompt the second intelligent device to authenticate. That is, authentication is performed on the second smart device to enable authentication of the first smart device through the connected wireless network. The second smart device may authenticate through the authentication page shown in fig. 3.
The receiving unit 96 is configured to receive an authentication result sent by the second smart device, where the authentication result is used to indicate that the second smart device completes authentication;
and after finishing authentication according to the second prompt message, the second intelligent device sends an authentication result to the first intelligent device, wherein the authentication result can prompt the first intelligent device, and the current wireless network finishes authentication and can be connected with the network. It should be noted that, when the first smart device receives the first prompt message, the first smart device is connected to the router of the wireless network, but is not connected to the server for data communication, and can be connected to the server only after authentication is required. After the second intelligent device completes authentication, the first intelligent device can be connected to the server through the router for data communication. The second smart device may determine whether the authentication is successful during the authentication process. If the authentication is unsuccessful, the second smart device may continue with the authentication, and if successful, the authentication result may be sent to the first smart device.
Authentication by the second smart device includes, but is not limited to, any of the following forms:
clicking an authentication identifier on the authentication page, such as the 'immediate connection' identifier in fig. 3, to complete authentication;
clicking an authentication identifier on the authentication page, receiving a verification code, and inputting the verification code at a corresponding position of the authentication page to finish authentication;
inputting a fingerprint or shooting a face picture according to the prompt of the authentication page to finish authentication;
and selecting characters required to be input from a plurality of characters to be selected according to characters prompted on the authentication page, and finishing authentication by taking the input characters as authentication information, or reading the characters required to be input and recording, and finishing authentication by taking the recording as the authentication information.
The authentication process may further include performing actions such as tapping, clicking, shaking, and sliding on the second smart device for authentication, which is not illustrated herein.
The connection unit 98 is configured to determine that the first smart device is successfully connected to the wireless network when the authentication result indicates that the second smart device completes authentication.
In the event that the second smart device completes authentication, the first smart device may successfully connect to the wireless network.
In the embodiment, when the first intelligent device is connected with the wireless network needing authentication, the authentication of the wireless network is carried out by means of the second intelligent device, so that the technical problem that the intelligent device cannot be connected with the wireless network needing authentication due to the fact that the intelligent device cannot carry out authentication in the prior art is solved, and the technical effect of carrying out authentication to log in the wireless network is achieved.
Optionally, the apparatus further comprises: and the wireless unit is used for providing a wireless hotspot to the second intelligent device after the first intelligent device sends the second prompt message to the second intelligent device and before the first intelligent device receives the authentication result sent by the second intelligent device, wherein the wireless hotspot is used for enabling the second intelligent device to communicate with the wireless network through a wireless relay network provided by the wireless hotspot.
Because the second intelligent device authenticates, the first intelligent device can be connected with the wireless network, and therefore, when the second intelligent device authenticates, the first intelligent device provides a relay network for the second intelligent device. As shown in fig. 6, a first smart device provides a wireless hotspot, a second smart device can be connected to the wireless hotspot, and the first smart device provides a relay network for the second smart device through the wireless hotspot, so that the second smart device is connected to the first smart device through a wireless network, and is connected to a wireless network to which the first smart device requests to connect through the first smart device, so as to perform authentication. For example, the wireless network to which the first smart device requests to connect is WX-WIFI, and when the wireless network needs authentication, the first smart device provides a wireless hotspot and notifies the second smart device to connect to the wireless hotspot, and after the second smart device connects to the wireless hotspot, the first smart device enables the second smart device to communicate with the wireless network WX-WIFI, and the authentication is performed on the second smart device.
For example: the first intelligent device is a robot, and the second intelligent device is a collection device. On the robot, the mobile phone sends an account number of a wireless network to the robot through Bluetooth, after the robot requests to connect the wireless network, the robot can actively judge whether the currently connected wireless network needs webpage authentication, if so, a wireless hotspot is opened, meanwhile, information (second prompt information) needing the webpage authentication is sent to the mobile phone, the mobile phone is connected with the wireless hotspot of the robot, and webpage authentication is carried out on the robot. As shown in fig. 7, the robot connects to the wireless network of the accumulation in the tangy uterus, the authentication page of the accumulation in the tangy uterus is displayed on the mobile phone, and the user clicks "connect immediately" to complete authentication.
Optionally, the wireless unit comprises: the communication module is used for communicating with a wireless network through a first network interface; the adding module is used for adding a second network interface; an enabling module for enabling the wireless hotspot on the second network interface; the routing module is used for setting a routing table, wherein the routing table is used for indicating the second intelligent equipment to communicate with the wireless network through the second network interface and the first network interface; and the sending module is used for sending the first login account and the first login password of the wireless hotspot to the second intelligent device.
Optionally, the adding module includes: the first configuration submodule is used for configuring the local IP address for the second network interface; the monitoring submodule is used for starting the dynamic host configuration protocol server to monitor a second network interface and distributing an IP address for second intelligent equipment connected to the wireless hotspot; and the second configuration submodule is used for setting a domain name server for the second network interface.
The principle that the first intelligent device provides the wireless hotspot technology as the relay route is mainly as follows:
1. the first intelligent device is connected with the wireless network through a first network interface wlan 0;
2. adding a new network interface, namely a second network interface, such as p2p 0;
3. keeping the wireless connection of the wlan0 still, and starting a wireless hotspot on the newly added second network interface, wherein the wireless hotspot comprises a first login account and a first login password;
4. configuring an address range of a local IP address for the second network interface p2p 0;
5. starting a dynamic host configuration protocol server, monitoring a second network interface p2p0, and allocating an IP address to a second intelligent device connected to the second network interface through a wireless hotspot;
6. setting a domain name server of a second network interface p2p0 to support domain name resolution;
7. the local routing table is set up so that a connected second smart device via the second network interface p2p0 can communicate with the server from the first network interface wlan 0.
After the first intelligent device configures the wireless hotspot, the first login account and the first login password are sent to the second intelligent device, and the second intelligent device is connected with the wireless hotspot through the first login account and the first login password. After the second intelligent device is connected to the wireless hotspot, the second intelligent device communicates with the server through the second network interface and the first network interface, which is equivalent to the fact that the second intelligent device communicates with the server through the network of the first intelligent device.
Optionally, to ensure that the first smart device can normally connect to the wireless network for communication after the authentication is completed, after receiving the authentication result, the first smart device may detect whether authentication is still needed, and if no prompt message that the authentication is needed is detected, determine that the second smart device has completed authentication in place of the first smart device, and may normally connect to the wireless network, that is, the connection unit includes: the detection module is used for detecting whether the wireless network prompts the first intelligent device to carry out authentication again after receiving the authentication result; and the connection module is used for determining that the first intelligent device is successfully connected to the wireless network under the condition that the detection module does not detect the wireless network and prompts the first intelligent device to authenticate.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic apparatus for implementing the networking method of the intelligent device, as shown in fig. 10, the electronic apparatus includes a memory and a processor, the memory stores a computer program, and the processor is configured to execute the steps of any one of the method embodiments through the computer program.
Alternatively, fig. 10 is a block diagram of an electronic device according to an embodiment of the invention. As shown in fig. 10, the electronic device may include: one or more processors 1001 (only one of which is shown), at least one communication bus 1002, a user interface 1003, at least one transmitting device 1004, and memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The transmission means 1004 may optionally include standard wired and wireless interfaces.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, when a first intelligent device requests to connect to a wireless network, the first intelligent device detects first prompt information, wherein the first prompt information is used for prompting authentication for connecting to the wireless network;
s2, the first intelligent device sends second prompt information to a second intelligent device, wherein the second prompt information is used for prompting the second intelligent device to perform the authentication so that the first intelligent device is connected to the wireless network;
s3, the first intelligent device receives an authentication result sent by the second intelligent device, wherein the authentication result is used for indicating that the second intelligent device completes the authentication;
s4, in a case that the authentication result indicates that the second smart device completes the authentication, the first smart device determines that the first smart device is successfully connected to the wireless network.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1005 may be used to store software programs and modules, such as program instructions/modules corresponding to the networking method and apparatus of the smart device in the embodiment of the present invention, and the processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1005, so as to implement the networking method of the smart device described above. The memory 1005 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1005 may further include memory located remotely from the processor 1001, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 1004 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1004 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1004 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Specifically, the memory 1005 is used for storing preset action conditions, information of a preset authorized user, and an application program.
By adopting the embodiment of the invention, when the first intelligent equipment is connected with the wireless network needing authentication, the authentication of the wireless network is carried out by the second intelligent equipment, thereby solving the technical problem that the intelligent equipment cannot be connected with the wireless network needing authentication due to the fact that the intelligent equipment cannot be authenticated in the prior art, and achieving the technical effect of carrying out authentication to log in the wireless network.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, when a first intelligent device requests to connect to a wireless network, the first intelligent device detects first prompt information, wherein the first prompt information is used for prompting authentication for connecting to the wireless network;
s2, the first intelligent device sends second prompt information to a second intelligent device, wherein the second prompt information is used for prompting the second intelligent device to perform the authentication so that the first intelligent device is connected to the wireless network;
s3, the first intelligent device receives an authentication result sent by the second intelligent device, wherein the authentication result is used for indicating that the second intelligent device completes the authentication;
s4, in a case that the authentication result indicates that the second smart device completes the authentication, the first smart device determines that the first smart device is successfully connected to the wireless network.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
the first intelligent device provides a wireless hotspot to the second intelligent device, wherein the wireless hotspot is used for enabling the second intelligent device to communicate with the wireless network through a wireless relay network provided by the wireless hotspot.
Optionally, the storage medium is further configured to store a computer program for executing the steps included in the method in the foregoing embodiment, which is not described in detail in this embodiment.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

Claims (12)

1.一种智能设备的联网方法,其特征在于,包括:1. a networking method of intelligent equipment, is characterized in that, comprises: 在第一智能设备请求连接无线网络时,所述第一智能设备检测到第一提示信息,其中,所述第一提示信息用于提示进行连接所述无线网络的认证;When the first smart device requests to connect to the wireless network, the first smart device detects first prompt information, where the first prompt information is used to prompt to perform authentication for connecting to the wireless network; 所述第一智能设备向第二智能设备发送第二提示信息,其中,所述第二提示信息用于提示所述第二智能设备进行所述认证,以使得所述第一智能设备连接到所述无线网络;The first smart device sends second prompt information to the second smart device, wherein the second prompt information is used to prompt the second smart device to perform the authentication, so that the first smart device is connected to the second smart device. the wireless network; 所述第一智能设备接收所述第二智能设备发送的认证结果,其中,所述认证结果用于指示所述第二智能设备完成所述认证;receiving, by the first smart device, an authentication result sent by the second smart device, wherein the authentication result is used to instruct the second smart device to complete the authentication; 在所述认证结果指示所述第二智能设备完成所述认证的情况下,所述第一智能设备确定出所述第一智能设备成功连接到所述无线网络;In the case that the authentication result indicates that the second smart device completes the authentication, the first smart device determines that the first smart device is successfully connected to the wireless network; 在所述第一智能设备向第二智能设备发送第二提示信息之后,并且在所述第一智能设备接收所述第二智能设备发送的认证结果之前,所述方法还包括:After the first smart device sends the second prompt information to the second smart device, and before the first smart device receives the authentication result sent by the second smart device, the method further includes: 所述第一智能设备向所述第二智能设备提供无线热点,其中,所述无线热点用于使所述第二智能设备通过所述无线热点提供的无线中继网络与所述无线网络通信;The first smart device provides a wireless hotspot to the second smart device, wherein the wireless hotspot is used to enable the second smart device to communicate with the wireless network through a wireless relay network provided by the wireless hotspot; 在所述第一智能设备配置好无线热点之后,将第一登录帐号和第一登录密码发送给所述第二智能设备,所述第二智能设备通过所述第一登录帐号和所述第一登录密码连接无线热点。After the first smart device is configured with the wireless hotspot, it sends the first login account and the first login password to the second smart device, and the second smart device uses the first login account and the first login Login password to connect wireless hotspot. 2.根据权利要求1所述的方法,其特征在于,所述第一智能设备向所述第二智能设备提供无线热点包括:2 . The method according to claim 1 , wherein the providing, by the first smart device, a wireless hotspot to the second smart device comprises: 2 . 所述第一智能设备通过第一网络接口与所述无线网络通信;the first intelligent device communicates with the wireless network through a first network interface; 所述第一智能设备添加第二网络接口;adding a second network interface to the first smart device; 所述第一智能设备在所述第二网络接口上启用所述无线热点;the first smart device enables the wireless hotspot on the second network interface; 所述第一智能设备设置路由表,其中,所述路由表用于指示所述第二智能设备通过所述第二网络接口和所述第一网络接口与所述无线网络通信;The first smart device sets a routing table, wherein the routing table is used to instruct the second smart device to communicate with the wireless network through the second network interface and the first network interface; 所述第一智能设备向所述第二智能设备发送所述无线热点的第一登录帐号和第一登录密码。The first smart device sends the first login account and the first login password of the wireless hotspot to the second smart device. 3.根据权利要求2所述的方法,其特征在于,所述第一智能设备添加第二网络接口包括:3. The method according to claim 2, wherein adding the second network interface to the first smart device comprises: 所述第一智能设备为所述第二网络接口配置本机的IP地址;The first intelligent device configures the IP address of the machine for the second network interface; 所述第一智能设备启动动态主机配置协议服务器监听所述第二网络接口,并为连接到所述无线热点的所述第二智能设备分配IP地址;The first smart device starts a dynamic host configuration protocol server to monitor the second network interface, and assigns an IP address to the second smart device connected to the wireless hotspot; 所述第一智能设备为所述第二网络接口设置域名服务器。The first intelligent device sets a domain name server for the second network interface. 4.根据权利要求1所述的方法,其特征在于,所述第一智能设备在所述认证结果指示所述第二智能设备完成所述认证后成功连接到所述无线网络包括:The method according to claim 1, wherein the first smart device successfully connecting to the wireless network after the authentication result indicates that the second smart device completes the authentication comprises: 所述第一智能设备在接收到所述认证结果后,再次检测所述无线网络是否提示所述第一智能设备进行所述认证;After receiving the authentication result, the first smart device detects again whether the wireless network prompts the first smart device to perform the authentication; 在所述第一智能设备没有检测到所述无线网络提示所述第一智能设备进行所述认证的情况下,确定所述第一智能设备成功连接到所述无线网络。If the first smart device does not detect that the wireless network prompts the first smart device to perform the authentication, it is determined that the first smart device is successfully connected to the wireless network. 5.根据权利要求1所述的方法,其特征在于,第一智能设备请求连接无线网络包括:5. The method according to claim 1, wherein the requesting by the first smart device to connect to a wireless network comprises: 所述第一智能设备接收所述第二智能设备发送的所述无线网络的第二登录帐号和第二登录密码;receiving, by the first smart device, a second login account and a second login password of the wireless network sent by the second smart device; 所述第一智能设备通过所述第二登录帐号和所述第二登录密码请求登录所述无线网络。The first smart device requests to log in to the wireless network through the second login account and the second login password. 6.一种智能设备的联网装置,其特征在于,所述装置被设置在第一智能设备中,所述智能设备的联网装置包括:6. A networking device for a smart device, wherein the device is set in a first smart device, and the networking device for the smart device comprises: 检测单元,用于在所述第一智能设备请求连接无线网络时,检测到第一提示信息,其中,所述第一提示信息用于提示进行连接所述无线网络的认证;a detection unit, configured to detect first prompt information when the first smart device requests to connect to a wireless network, wherein the first prompt information is used to prompt to perform authentication for connecting to the wireless network; 发送单元,用于向第二智能设备发送第二提示信息,其中,所述第二提示信息用于提示所述第二智能设备进行所述认证,以使得所述第一智能设备连接到所述无线网络;a sending unit, configured to send second prompt information to a second smart device, wherein the second prompt information is used to prompt the second smart device to perform the authentication, so that the first smart device is connected to the wireless network; 接收单元,用于接收所述第二智能设备发送的认证结果,其中,所述认证结果用于指示所述第二智能设备完成所述认证;a receiving unit, configured to receive an authentication result sent by the second smart device, wherein the authentication result is used to instruct the second smart device to complete the authentication; 连接单元,用于在所述认证结果指示所述第二智能设备完成所述认证的情况下,确定出所述第一智能设备成功连接到所述无线网络;a connecting unit, configured to determine that the first smart device is successfully connected to the wireless network when the authentication result indicates that the second smart device completes the authentication; 所述装置还包括:The device also includes: 无线单元,用于在所述第一智能设备向第二智能设备发送第二提示信息之后,并且在所述第一智能设备接收所述第二智能设备发送的认证结果之前,向所述第二智能设备提供无线热点,其中,所述无线热点用于使所述第二智能设备通过所述无线热点提供的无线中继网络与所述无线网络通信。a wireless unit, configured to send the second prompt information to the second smart device after the first smart device sends the second prompt information and before the first smart device receives the authentication result sent by the second smart device The smart device provides a wireless hotspot, wherein the wireless hotspot is used to enable the second smart device to communicate with the wireless network through a wireless relay network provided by the wireless hotspot. 7.根据权利要求6所述的装置,其特征在于,所述无线单元包括:7. The apparatus of claim 6, wherein the wireless unit comprises: 通信模块,用于通过第一网络接口与所述无线网络通信;a communication module for communicating with the wireless network through a first network interface; 添加模块,用于添加第二网络接口;adding a module for adding a second network interface; 启用模块,用于在所述第二网络接口上启用所述无线热点;an enabling module for enabling the wireless hotspot on the second network interface; 路由模块,用于设置路由表,其中,所述路由表用于指示所述第二智能设备通过所述第二网络接口和所述第一网络接口与所述无线网络通信;a routing module, configured to set a routing table, wherein the routing table is used to instruct the second smart device to communicate with the wireless network through the second network interface and the first network interface; 发送模块,用于向所述第二智能设备发送所述无线热点的第一登录帐号和第一登录密码。A sending module, configured to send the first login account and the first login password of the wireless hotspot to the second smart device. 8.根据权利要求7所述的装置,其特征在于,所述添加模块包括:8. The apparatus according to claim 7, wherein the adding module comprises: 第一配置子模块,用于为所述第二网络接口配置本机的IP地址;a first configuration submodule, configured to configure the IP address of the machine for the second network interface; 监听子模块,用于启动动态主机配置协议服务器监听所述第二网络接口,并为连接到所述无线热点的所述第二智能设备分配IP地址;a monitoring submodule, configured to start a dynamic host configuration protocol server to monitor the second network interface, and assign an IP address to the second smart device connected to the wireless hotspot; 第二配置子模块,用于为所述第二网络接口设置域名服务器。The second configuration submodule is used for setting a domain name server for the second network interface. 9.根据权利要求6所述的装置,其特征在于,所述连接单元包括:9. The device according to claim 6, wherein the connecting unit comprises: 检测模块,用于在接收到所述认证结果后,再次检测所述无线网络是否提示所述第一智能设备进行所述认证;a detection module, configured to detect again whether the wireless network prompts the first smart device to perform the authentication after receiving the authentication result; 连接模块,用于在所述检测模块没有检测到所述无线网络提示所述第一智能设备进行所述认证的情况下,确定所述第一智能设备成功连接到所述无线网络。A connection module, configured to determine that the first smart device is successfully connected to the wireless network when the detection module does not detect that the wireless network prompts the first smart device to perform the authentication. 10.根据权利要求6所述的装置,其特征在于,所述检测单元包括:10. The device according to claim 6, wherein the detection unit comprises: 接收模块,用于接收所述第二智能设备发送的所述无线网络的第二登录帐号和第二登录密码;a receiving module, configured to receive the second login account and the second login password of the wireless network sent by the second smart device; 登录模块,用于通过所述第二登录帐号和所述第二登录密码请求登录所述无线网络。A login module, configured to request to log in to the wireless network through the second login account and the second login password. 11.一种计算机的存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至5任一项中所述的方法。11. A computer storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the method according to any one of claims 1 to 5 when running . 12.一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至5任一项中所述的方法。12. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute any one of claims 1 to 5 through the computer program the method described.
CN201810069620.9A 2018-01-24 2018-01-24 Networking method and device for intelligent equipment, electronic device and storage medium Active CN110072235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810069620.9A CN110072235B (en) 2018-01-24 2018-01-24 Networking method and device for intelligent equipment, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810069620.9A CN110072235B (en) 2018-01-24 2018-01-24 Networking method and device for intelligent equipment, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN110072235A CN110072235A (en) 2019-07-30
CN110072235B true CN110072235B (en) 2021-11-19

Family

ID=67365598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810069620.9A Active CN110072235B (en) 2018-01-24 2018-01-24 Networking method and device for intelligent equipment, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN110072235B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315847B (en) * 2020-02-07 2022-08-05 海信集团有限公司 Method, equipment and system for configuring Internet protocol address
CN111491041B (en) * 2020-04-15 2022-06-28 陕西师范大学 A wireless network transmission method and device based on visual addressing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974376A (en) * 2014-04-14 2014-08-06 深圳市慧为智能科技有限公司 Network connection assisting system and method
CN104581879A (en) * 2014-12-27 2015-04-29 深圳市慧为智能科技有限公司 Method and device of mobile terminal for assisting in network connection
CN106910064A (en) * 2015-12-22 2017-06-30 中国移动通信集团公司 An authentication method and terminal
CN106921675A (en) * 2017-03-30 2017-07-04 北京奇艺世纪科技有限公司 The method and apparatus that a kind of Intelligent hardware accesses limited network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023917B (en) * 2012-12-26 2016-03-16 百度在线网络技术(北京)有限公司 The mthods, systems and devices of authorizing are carried out for intelligent appliance
US20160134650A1 (en) * 2014-11-10 2016-05-12 Kernel, Inc. System, method, and appartus for proactive cybersecurity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974376A (en) * 2014-04-14 2014-08-06 深圳市慧为智能科技有限公司 Network connection assisting system and method
CN104581879A (en) * 2014-12-27 2015-04-29 深圳市慧为智能科技有限公司 Method and device of mobile terminal for assisting in network connection
CN106910064A (en) * 2015-12-22 2017-06-30 中国移动通信集团公司 An authentication method and terminal
CN106921675A (en) * 2017-03-30 2017-07-04 北京奇艺世纪科技有限公司 The method and apparatus that a kind of Intelligent hardware accesses limited network

Also Published As

Publication number Publication date
CN110072235A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN103746812B (en) A kind of access authentication method and system
US12021930B2 (en) Systems and methods for remote management of appliances
US11140162B2 (en) Response method and system in virtual network computing authentication, and proxy server
JP6280641B2 (en) Account login method, device and system
JP4879643B2 (en) Network access control system, terminal, address assignment device, terminal system authentication device, network access control method, and computer program
CN112738805A (en) Device control method and device, storage medium and electronic device
CN104468487B (en) Communication authentication method and device, terminal device
RU2679345C1 (en) Method and device for automatic network interaction of gateway device
CN107567017B (en) Wireless connection system, device and method
JP2018173921A (en) Network device, authentication management system, and control methods and control programs therefor
CN103179554B (en) Wireless broadband network connection control method, device and the network equipment
CN111049946B (en) Portal authentication method, portal authentication system, electronic equipment and storage medium
CN104767715A (en) Network access control method and device
US20100030346A1 (en) Control system and control method for controlling controllable device such as peripheral device, and computer program for control
CN111194035B (en) Network connection method, device and storage medium
CN105592180B (en) A kind of method and apparatus of Portal certification
CN107819728A (en) Method for network authorization, relevant apparatus
WO2018076675A1 (en) Network access method, routing device and terminal, and computer storage medium
CN101621527A (en) Method, system and device for realizing safety certificate based on Portal in VPN
CN110072235B (en) Networking method and device for intelligent equipment, electronic device and storage medium
CN108270751A (en) Application management method, device and data sending processing method and apparatus
JP5613915B2 (en) Method and apparatus for assigning and obtaining IP addresses
CN106165497A (en) Determination method and corresponding terminal, computer program product and storage medium
CN114338132A (en) Secret-free login method, client application, operator server and electronic equipment
CN112740762A (en) A wireless fidelity Wi-Fi access method, device, electronic device and storage medium

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