WO2021169495A1 - 一种智能设备的配网方法及相关装置 - Google Patents

一种智能设备的配网方法及相关装置 Download PDF

Info

Publication number
WO2021169495A1
WO2021169495A1 PCT/CN2020/136259 CN2020136259W WO2021169495A1 WO 2021169495 A1 WO2021169495 A1 WO 2021169495A1 CN 2020136259 W CN2020136259 W CN 2020136259W WO 2021169495 A1 WO2021169495 A1 WO 2021169495A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
smart device
smart
network information
information
Prior art date
Application number
PCT/CN2020/136259
Other languages
English (en)
French (fr)
Inventor
耿胜红
丁峰
邹雨竹
吴军
Original Assignee
上海商汤临港智能科技有限公司
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 上海商汤临港智能科技有限公司 filed Critical 上海商汤临港智能科技有限公司
Priority to SG11202107819S priority Critical patent/SG11202107819SA/en
Priority to JP2021539967A priority patent/JP2022524694A/ja
Priority to KR1020217023661A priority patent/KR20210110335A/ko
Publication of WO2021169495A1 publication Critical patent/WO2021169495A1/zh

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/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the embodiments of the present application relate to the field of smart devices, and in particular, to a network distribution method and related devices for smart devices.
  • the embodiments of the present application provide a network distribution method and related devices for smart devices.
  • the first technical solution adopted in the embodiments of this application is to provide a network distribution method for a smart device, including: obtaining the network distribution mode supported by the smart device; The smart device sends network information of the network to be connected to the smart device, so that the smart device accesses the network to be connected through the network information. In this way, the intelligent equipment supporting different network distribution modes can be distributed to the network.
  • the network information of the network to be connected to the smart device is sent to the smart device through the network distribution mode supported by the smart device, so that the smart device accesses the network to be connected to the network through the network information , Afterwards, it further includes: receiving a detection result sent by the smart device through a network distribution method supported by the smart device, where the detection result is a feedback result of whether the smart device successfully accesses the network to be connected. In this way, the result of whether the smart device is successfully distributed can be obtained, and the success rate of the distribution network can be improved.
  • the network distribution mode supported by the smart device includes at least one of a wireless connection mode, a scanning mode, a sound analysis mode, and a preset protocol; the network information includes at least an account required to access the network to be connected And password. Realize the network distribution of smart devices that support different network distribution modes.
  • sending the network information of the network to be connected to the smart device to the smart device through the network distribution mode supported by the smart device so that the smart device accesses the network to be connected to the network through the network information includes : Send network information of the network to be connected to the smart device to the smart device through a preset channel of a preset protocol, so that the smart device accesses the network to be connected to the network through the network information; or The smart device establishes a wireless connection; sends the network information of the network to be connected to the smart device to the smart device through the wireless connection, so that the smart device accesses the network to be connected through the network information; or, generates and carries The picture of the network information, and send or display the picture to the smart device, so that the smart device obtains the network information by recognizing the picture, and then accesses the network to be connected through the network information Or, sending the network information of the network to be connected to the smart device to the smart device through voice information, so that the smart device accesses the network to be connected to the network through
  • the network information when the network distribution mode supported by the smart device is a scanning mode, a sound analysis mode, and a preset protocol, the network information also includes the address of the smart terminal;
  • the detection result sent by the network distribution mode includes: receiving the detection result sent by the smart device through the address. In this way, the result of whether the smart device is successfully distributed can be obtained, and the success rate of the distribution network can be improved.
  • the second technical solution provided by the embodiments of the present application is to provide a network distribution method for smart devices, including: obtaining network information of the network to be connected from a smart terminal through a network distribution method supported by the smart device; and using the network information Access to the network to be connected. In this way, the intelligent equipment supporting different network distribution modes can be distributed to the network.
  • the method further includes: detecting whether the current access to the network to be connected is successful; and sending the detection result to the network distribution mode supported by the smart device Description of the smart terminal. In this way, the result of whether the smart device is successfully distributed can be obtained, and the success rate of the distribution network can be improved.
  • the network distribution mode supported by the smart device includes at least one of a wireless connection mode, a scanning mode, a sound analysis mode, and a preset protocol; and the network distribution mode to be connected is obtained from the smart terminal through the supported network distribution mode.
  • the network information of the network includes: receiving network information from the smart terminal through a preset channel of a preset protocol; or establishing a wireless connection with the smart device, and obtaining network information from the smart terminal through the wireless connection; Or, scan the picture that includes the network information provided by the smart terminal, and identify the network information; or, parse the network information from the voice information including the network information played by the smart terminal. In this way, the intelligent equipment supporting different network distribution modes can be distributed to the network.
  • the network information when the network distribution mode supported by the smart device is a scanning mode, a sound analysis mode, and a preset protocol, the network information also includes the address of the smart terminal; and the detection result is passed to the smart device.
  • Sending the supported network distribution mode to the smart terminal includes: sending the detection result to the smart terminal matching the address. In this way, the result of whether the smart device is successfully distributed can be obtained, and the success rate of the distribution network can be improved.
  • the third technical solution provided by the embodiments of the present application is to provide an intelligent terminal, including: an acquisition module configured to acquire the network distribution mode supported by the smart device; a network information sending module configured to pass through the smart device The network distribution mode supported by the device sends the network information of the network to be connected to the smart device to the smart device, so that the smart device accesses the network to be connected through the network information.
  • an acquisition module configured to acquire the network distribution mode supported by the smart device
  • a network information sending module configured to pass through the smart device
  • the network distribution mode supported by the device sends the network information of the network to be connected to the smart device to the smart device, so that the smart device accesses the network to be connected through the network information.
  • the intelligent equipment supporting different network distribution modes can be distributed to the network.
  • the network information sending module is further configured as:
  • the network distribution method includes at least one of a wireless connection method, a scanning method, a sound analysis method, and a preset protocol; the network information includes at least an account and a password required to access the network to be connected.
  • the network information sending module is further configured as:
  • establish a wireless connection with the smart device send network information of the network to be connected to the smart device to the smart device through the wireless connection, so that the smart device accesses the network to be connected to the smart device through the network information;
  • the network information of the network to be connected to the smart device is sent to the smart device through voice information, so that the smart device accesses the network to be connected to the network through the network information.
  • the network information when the network distribution mode is any one of a scanning mode, a sound analysis mode, and a preset protocol, the network information further includes the address of the smart terminal;
  • the network information sending module is also configured to:
  • the fourth technical solution provided by the embodiments of the present application is to provide a smart device, including: an acquisition module configured to acquire network information of a network to be connected from a smart terminal through a network distribution method supported by the smart device; a connection module, configuration To access the network to be connected through the network information.
  • an acquisition module configured to acquire network information of a network to be connected from a smart terminal through a network distribution method supported by the smart device
  • a connection module configuration To access the network to be connected through the network information.
  • connection module is also configured as:
  • the detection result is sent to the smart terminal through the network distribution method.
  • the network distribution mode includes at least one of a wireless connection mode, a scanning mode, a sound analysis mode, and a preset protocol;
  • the obtaining module is also configured as:
  • the network information is obtained by parsing the voice information including the network information played by the smart terminal.
  • the network information when the network distribution mode is any one of a scanning mode, a sound analysis mode, and a preset protocol, the network information further includes the address of the smart terminal;
  • connection module is also configured as:
  • the detection result is sent to the smart terminal matching the address.
  • the fifth technical solution provided by the embodiments of the application is to provide an intelligent terminal, the intelligent terminal includes a memory and a processor; wherein the memory stores a program file, and the processor retrieves all data from the memory.
  • the program file is used to execute the smart device network distribution method as described in any one of the above.
  • the sixth technical solution provided by the embodiments of the present application is to provide a smart device including a memory and a processor; wherein the memory stores a program file, and the processor retrieves the program file from the memory to Perform any one of the smart device network distribution methods described above.
  • the seventh technical solution provided by the embodiments of the present application is to provide a computer-readable storage medium storing a program file, and the program file can be executed to implement any one of the above-mentioned smart device network distribution methods.
  • the smart device network distribution method and related devices proposed in the embodiments of the present application, wherein the method includes: the smart terminal obtains the distribution network supported by the smart device Method; Send network information of the network to be connected to the smart device to the smart device through a network distribution mode supported by the smart device, so that the smart device accesses the network to be connected to the network through the network information.
  • the smart terminal is used to configure the network of the smart device according to the network distribution mode supported by the smart device, so as to realize the network configuration of the smart device that supports different network distribution modes.
  • FIG. 1A is a schematic diagram of an application scenario of a smart device network distribution method provided by an embodiment of this application;
  • FIG. 1B is a schematic flowchart of a first embodiment of a network distribution method for a smart device according to an embodiment of this application;
  • FIG. 2 is a schematic flowchart of a second embodiment of a network distribution method for a smart device according to an embodiment of this application;
  • FIG. 3 is a schematic flowchart of a third embodiment of a network distribution method for a smart device according to an embodiment of this application;
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a network distribution method for smart devices according to an embodiment of this application;
  • FIG. 5 is a schematic diagram of signal transmission in a network distribution method of a smart device according to an embodiment of this application.
  • FIG. 6 is a schematic structural diagram of a first embodiment of a smart terminal according to an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a first embodiment of a smart device according to an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of a second embodiment of a smart terminal and a smart device according to an embodiment of the application;
  • FIG. 9 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the application.
  • a wireless network-based communication method can reduce the difficulty of using smart hardware and improve the user experience at the same time.
  • a unified software is required for network access to reduce the difficulty of getting started.
  • the network configuration methods in related technologies include: access to the screen, mouse and keyboard, etc. to access the network, which requires complicated operations by the user; use of network configuration Protocol and other intelligent network configuration modes; use Bluetooth connection to transmit network configuration information; use QR code scanning to transmit network configuration information; use voice and other media to transmit network configuration information.
  • Different network distribution methods are suitable for different intelligent hardware, mainly because different intelligent hardware has different hardware mechanisms and data receiving capabilities.
  • a unified access process and access network can greatly improve the consistent experience of users using different products, and simplify the understanding and operation difficulty of the distribution network.
  • the partial distribution network method in the related technology does not provide feedback information on the success or failure of the distribution network. For ordinary users, especially student users, it becomes more difficult to understand and the network distribution process is not intuitive.
  • FIG. 1A is a schematic diagram of an application scenario of the network distribution method for a smart device provided by an embodiment of the application, and the following description is made in conjunction with FIG. 1A:
  • APP Robot Assistant
  • the APP 102 will prompt the user to perform a certain operation on the device, so that the device 101 enters the network-to-be-provisioned state.
  • APP 102 will automatically obtain the wireless Internet (Wireless Fidelity, wifi) information of the currently connected network 103, and require the user to enter a password.
  • the network distribution information is sent, and the user is prompted for the required operations (such as scanning a QR code, etc.) as needed.
  • the device If the device receives the network configuration information and successfully connects to the network 103, it will send a User Datagram Protocol (UDP) packet (but not limited to UDP) to notify APP 102. After APP 102 receives the legal feedback information, it will It is determined that the network configuration is completed, and the user is prompted that the network configuration is successful. In this way, through standardized operating procedures and protocols, the distribution network process is clear, and the operating procedures of different intelligent hardware are consistent, which facilitates migration learning.
  • UDP User Datagram Protocol
  • FIG. 1B is a schematic flowchart of a first embodiment of a network distribution method for a smart device according to an embodiment of this application. include:
  • Step S11 Obtain the network distribution mode supported by the smart device.
  • the smart device of the network is configured to enable it to receive or send information.
  • the network configuration method is the access method for the device to access the network. Preset protocols and other methods to achieve network access.
  • the smart terminal acquires the network configuration mode supported by the smart device, it can turn on Bluetooth and detect whether the smart device supports Bluetooth connection. Network mode Manually select the network distribution method from the smart terminal.
  • Smart terminals include mobile phones, computers and other equipment, and smart devices include microphones, home appliances, electronic audio, cameras, microphones, and smart robots.
  • the program code can also be executed by a hardware device such as a processor to implement the network distribution method of the present application.
  • a hardware device such as a processor to implement the network distribution method of the present application.
  • the embodiment of the present application only uses a smart terminal as an example for description.
  • the network distribution mode supported by the smart device includes at least one of a wireless connection mode, a scanning mode, a sound analysis mode, and a preset protocol.
  • the wireless connection mode is adopted when the smart device performs network configuration.
  • the smart device has a scanning method, when the smart device performs network configuration, the smart terminal integrates network information and related data into the picture and provides it to the smart device to configure the smart device.
  • the smart terminal has a sound analysis method
  • the smart terminal when the smart device is configured to configure the network
  • the smart terminal integrates network information and related data into the voice information and provides the smart device to the smart device to configure the network.
  • the smart terminal supports the preset protocol
  • the smart terminal integrates the network information and related data into the data packet through the preset channel of the preset protocol and sends it to the smart device to perform the network configuration of the smart device. Distribution network.
  • the smart terminal when the smart device performs network configuration, the smart terminal sends network information and related data to the smart device through the data cable.
  • Step S12 Send the network information of the network to be connected to the smart device to the smart device through the network distribution method, so that the smart device accesses the network to be connected to the network through the network information.
  • the smart terminal can configure the network for the smart device according to the network distribution mode supported by the smart device. For example, in one embodiment, if it is detected that the smart device supports wireless connection, the smart terminal establishes a wireless connection with the smart device; the smart device sends the network information of the network to be connected to the smart device through the wireless connection, so that the smart device can pass the network information Access the network to be connected. Specifically, taking Bluetooth as an example for description, the smart terminal searches for the Bluetooth identification name representing the smart device, and sends a Bluetooth connection request to the smart device, and the smart device accepts the Bluetooth connection request and completes the connection.
  • the smart terminal After the smart terminal establishes a Bluetooth connection with the smart device, the smart terminal sends a signal to the smart device to control the smart device to enter the standby network mode.
  • the smart terminal sends the network information of the network to be connected to the smart device through the Bluetooth connection, so that the smart device is connected to the network information.
  • the network information includes at least the account and password of the network to be connected.
  • the smart device network distribution method shown in the embodiment of the present application wirelessly connects the smart terminal with the smart device, and sends relevant data of the network information to the smart device through the wireless connection channel, so that the smart device is connected to the network information. Then complete the distribution network.
  • the smart terminal and the smart device can connect to the device, and send network information of the network to be connected to the smart device through the device connection channel, so that the smart device can access the device to be connected
  • the internet the smart terminal sends network information of the network to be connected to the smart device to the smart device through the picture, so that the smart device accesses the network to be connected to the network through the network information.
  • the picture may be a two-dimensional code, a barcode, or an image.
  • the network information includes the address of the smart terminal (for example, Internet Protocol (IP) address or physical address) in addition to the account and password of the network to be connected. After the smart device is networked, the address can be used to feed back the connection result to the smart terminal.
  • IP Internet Protocol
  • the picture generated by the smart terminal is QR code information
  • it may include the following protocol information: ⁇ "robot_types":["xx",”yy”],”token”: ⁇ uuid>,” ip": ⁇ phone ip>,”ssid”: ⁇ router ssid>,”pwd”: ⁇ router password” ⁇ .
  • robot_types is the list of supported smart devices
  • token is the identification of the detection result.
  • IP is the IP of the smart terminal The address/identification is used to receive the detection result.
  • ssid and pwd are the network information name (account) and password of the network to be connected.
  • the smart device will send the detection result after accessing the network according to the network information carried in the protocol information
  • the identification can be used to obtain the network configuration results of whether the smart device is successfully configured.
  • the detection result is specifically ⁇ "token": ⁇ uuid>,"bssid”: ⁇ mac addr> ⁇ , where bssid is the physical address of the smart terminal, and token is the identification of the detection result.
  • a smart device Supporting Bluetooth mode, sound analysis mode, etc. can use the above methods to generate similar network information and detection results, so that the smart terminal can detect the network distribution situation.
  • the smart device can scan the picture generated by the smart terminal to identify the content of the picture, and then obtain the network information of the network to be connected. Therefore, the smart device has a scanning method, and the hardware used for scanning is generally a camera. That is, the network distribution method provided by the embodiment of the present application can be applied to a smart device with a camera.
  • the smart terminal after the smart terminal establishes a wireless connection with the smart device, for example, a Bluetooth connection, the smart terminal sends a signal to the smart device to control the smart device to enter the standby network mode.
  • the smart terminal integrates the network information of the network to be connected into the picture information through the Bluetooth connection, and sends it to the smart device, so that the smart device parses the picture information, and then obtains the network information and connects to the network information.
  • the smart terminal and the smart device can connect to the device, and send the network information of the network to be connected to the smart device through the device connection channel, so that the smart device can be connected to the device to be connected.
  • Connect Network Specifically, the smart terminal sends network information of the network to be connected to the smart device to the smart device through voice information, so that the smart device accesses the network to be connected to the smart device through the network information.
  • the sound may be a voice data packet pre-recorded and stored in the smart terminal, or may also be a voice segment that has been recorded.
  • the network information includes the address of the smart terminal in addition to the account number and password of the network to be connected. After the smart device is networked, the address can be used to feed back the connection result to the smart terminal.
  • the smart device has a voice output function
  • the voice outputs the detection result of whether the connection is successful
  • the smart terminal monitors the voice information of the smart device, and the detection result of the voice information feedback is monitored. Then get the connection result of the smart device.
  • the smart device needs to recognize the sound information generated by the smart terminal.
  • the smart terminal may send the network information of the network to be connected to the smart device through the preset channel of the preset protocol.
  • the preset protocol may be a quick connect (Smart config) protocol.
  • the smart terminal can send network information as a data packet to the smart device according to the preset channel in the protocol without actual link connection, so that the smart device parses the length of the data packet and uses the length to encode and decode the information. Thereby connecting to the network to be connected.
  • the network distribution method for smart devices provided by the embodiments of the present application can support different smart devices for network configuration, such as network configuration for devices with wireless connection mode, and network configuration for smart devices with scanning mode. It can also configure the network for smart devices with sound analysis methods, and can also configure the network for smart devices that support preset protocols.
  • the smart device network distribution method provided by the embodiment of the present application can receive the detection result of the smart device after the network is configured for different smart devices, and obtain the result of whether the smart device is successfully configured with the network through the detection result. This will increase the success rate of the distribution network.
  • FIG. 2 is a schematic flowchart of a second embodiment of a network distribution method for a smart device according to an embodiment of this application.
  • the steps S21 to S22 of the network distribution method described in the embodiment of the present application are the same as the steps S11 to S12 in the first embodiment shown in FIG. 1B, and will not be repeated here.
  • the embodiment of the present application further includes:
  • Step S23 Receive a detection result sent by the smart device through the network distribution mode supported by the smart device, where the detection result is a feedback result of whether the smart device successfully accesses the network to be connected.
  • the detection result is sent to the smart terminal through the wireless connection, and the smart terminal receives the detection result.
  • the detection result is a feedback result of whether the smart device is successfully connected to the network to be connected.
  • the smart device When the smart device supports the scanning mode, the smart device scans the picture provided by the smart terminal to obtain the account and password of the network to be connected, and also obtains the address of the smart terminal. After the smart device performs network configuration, it searches for the address of the smart terminal and uses the address to send the detection result to the smart terminal. The smart terminal that matches the address receives the detection result.
  • the detection result is a feedback result of whether the smart device is successfully connected to the network to be connected.
  • the smart device When the smart device supports the voice analysis mode, the smart device parses the voice information provided by the smart terminal to obtain the account and password of the network to be connected, and also obtains the address of the smart terminal. After the smart device performs network configuration, it searches for the address of the smart terminal and uses the address to send the detection result to the smart terminal. The smart terminal that matches the address receives the detection result. The detection result is a feedback result of whether the smart device is successfully connected to the network to be connected.
  • the smart device When the smart device supports the preset protocol, the smart device parses the data packet sent by the smart terminal through the preset protocol to obtain the account and password of the network to be connected, and also obtains the address of the smart terminal. After the smart device performs network configuration, it searches for the address of the smart terminal and uses the address to send the detection result to the smart terminal. The smart terminal that matches the address receives the detection result. The detection result is a feedback result of whether the smart device is successfully connected to the network to be connected.
  • the network distribution method for smart devices can support different smart devices for network configuration, such as network configuration for devices with wireless connection mode, and network configuration for smart devices with scanning mode. It can also configure the network for smart devices with sound analysis methods.
  • the smart device network distribution method provided by the embodiments of this application has a clear network distribution process, a simple and easy network distribution method, and because the smart terminal and the smart device have a direct or indirect connection relationship, after the smart device is connected to the network , Can receive the feedback signal from the smart device, and then confirm whether the network configuration is successful, so as to improve the success rate of the network distribution and enhance the user experience.
  • the smart device can be configured to the network through a certain software on the smart terminal.
  • the smart terminal opens the network distribution software, and generates the network information of the currently connected network in the network distribution software.
  • the network information is sent to the smart device through the Bluetooth connection;
  • the software when the smart device supports the scanning mode, the software generates a picture of the network information of the currently connected network and provides it to the smart device;
  • the smart device supports sound
  • the software In the parsing mode, the software generates voice information from the network information currently connected to the network and plays it to provide it to the smart device.
  • the smart device After the smart device is networked, it sends the detection result to the smart terminal.
  • the software receives the detection result and analyzes it, and judges whether the network distribution is successful according to the analysis result. In this way, the intelligent terminal can know the results of the distribution network, improve the success rate of the distribution network, and enhance the user experience.
  • FIG. 3 is a schematic flowchart of a third embodiment of a network distribution method for a smart device according to an embodiment of this application.
  • the network distribution method includes:
  • Step S31 Obtain network information of the network to be connected from the smart terminal through the network distribution mode supported by the smart device.
  • the smart device obtains the network information of the network to be connected from the smart terminal through the network distribution method supported by itself.
  • the network distribution mode supported by the smart device includes at least one of a wireless connection, a scanning mode, a sound analysis mode, and a preset protocol.
  • the smart device supports wireless connection.
  • the smart device has a Bluetooth connection mode, and the smart device establishes a wireless connection with the smart terminal, and obtains network information from the smart terminal through the wireless connection.
  • the network information includes at least the to-be-connected Network account and password.
  • the smart device has a scanning mode, and the supported network distribution mode is the scanning mode.
  • the smart device can use an image acquisition device such as a camera to scan the pictures provided by the smart terminal to obtain the network to be connected.
  • Network information Specifically, in the embodiment of the present application, in addition to the account and password of the network to be connected, the network information also includes the address of the smart terminal.
  • the smart device has a voice analysis method, and the supported network distribution method is the voice analysis method.
  • the smart device obtains the voice information provided by the smart terminal through monitoring and other means to obtain the network to be connected to the network. information.
  • the network information in addition to the account and password of the network to be connected, the network information also includes the address of the smart terminal.
  • the smart device can also use a preset protocol to obtain data packets including network information from the smart terminal through a preset channel of the preset protocol.
  • a preset protocol In the case of road connection, the data packet including the relevant data of the network information sent by the smart terminal is obtained, the length of the data packet is analyzed, and the length is used to encode and decode the information, thereby transmitting the information.
  • This method can have lower requirements for smart devices, as long as it is a device that supports wireless mode, it is possible to support this network distribution mode.
  • Step S32 Access the to-be-connected network through the network information.
  • the smart device After the smart device obtains the network information through any one of wireless connection, scanning mode, sound analysis mode, and preset protocol, it accesses the network to be connected through the account and password of the network to be connected contained in the network information.
  • the network distribution method for smart devices can support different smart devices for network configuration, such as network configuration for devices with wireless connection mode, and network configuration for smart devices with scanning mode. It can also configure the network for smart devices with sound analysis methods.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a network distribution method for a smart device according to an embodiment of this application.
  • Steps S41 to S42 in the embodiment of the present application are the same as steps S31 to S32 in the embodiment shown in FIG. 3, and the difference from the embodiment shown in FIG. 3 is that the embodiment of the present application further includes:
  • Step S43 Detect whether the current access to the to-be-connected network is successful.
  • the smart device After the smart device obtains the network information of the network to be connected through the supported network distribution method, it connects to the network to be connected. After the connection operation is over, check whether the connection is successful.
  • Step S44 Send the detection result to the smart terminal through the network distribution mode supported by the smart device.
  • the smart device If the smart device supports wireless connection and a wireless connection has been established with the smart terminal, the smart device sends the detection result to the smart terminal through the wireless connection, so that the smart terminal can confirm whether the network configuration is successful.
  • the detection result is sent to the smart terminal matching the address by scanning the image to obtain the address of the smart terminal in the network information.
  • the detection result is sent to the smart terminal matching the address by parsing the address of the smart terminal in the network information obtained by the voice.
  • the smart device If the smart device supports the preset protocol, it obtains the address including the network information and the smart terminal through the preset channel of the preset protocol, and sends the detection result to the smart terminal matching the address.
  • the network distribution method for smart devices can support different smart devices for network configuration, such as network configuration for devices with wireless connection mode, and network configuration for smart devices with scanning mode. It can also configure the network for smart devices with sound analysis methods.
  • the smart device network distribution method provided by the embodiments of this application has a clear network distribution process, a simple and easy network distribution method, and because the smart terminal and the smart device have a direct or indirect connection relationship, after the smart device is connected to the network , The smart device can send the detection result to the smart terminal, so that the smart terminal can confirm whether the smart device is successfully networked, which can increase the success rate of the network and improve the user experience.
  • FIG. 5 is a schematic diagram of signal transmission of a network distribution method for a smart device according to an embodiment of the application.
  • the smart terminal 100 establishes a data transmission and reception channel with the smart device 200, and sends network information to the smart device.
  • the smart terminal 100 establishes a wireless connection with the smart device 200, such as a Bluetooth connection.
  • the smart terminal 100 sends network information of the network to be connected to the smart device 200.
  • the network information includes the account number and password of the network to be connected.
  • the smart terminal 100 generates picture information, and the smart device 200 scans the picture information to obtain network information of the network to be connected.
  • the network information also includes the physical information of the smart terminal.
  • the smart terminal 100 generates voice information, and the smart device 200 parses the voice information to obtain network information of the network to be connected.
  • the smart device 200 supports a preset protocol, and obtains network information of the network to be connected through a preset channel of the preset protocol.
  • the network information also includes the physical information of the smart terminal.
  • the smart device 200 sends the detection result to the smart terminal 100. Specifically, after the smart device 200 obtains the network information, it accesses the network to be connected according to the account and password of the network to be connected contained in the network information, detects whether the connection is successful, and sends the detection result to the smart terminal 200. For example, if the smart terminal 100 is in a wireless connection with the smart device 200, the smart device 200 sends the detection result to the smart terminal 100 through the wireless connection. If the smart device 200 supports the scanning method, the detection result is sent to the smart terminal 100 matching the address by scanning the address of the smart terminal 100 in the network information obtained by scanning the picture. If the smart device 200 supports the voice analysis method, the detection result is sent to the smart terminal 100 matching the address by analyzing the address of the smart terminal 100 in the network information obtained by the voice.
  • the smart device network distribution method described in the embodiment of the present application can support the network configuration of different smart devices, such as the network configuration of devices with wireless connection mode, the network configuration of devices with image recognition mode, and the network configuration of devices with sound analysis mode.
  • the smart device network distribution method provided by the embodiments of this application has a clear network distribution process, a simple and easy network distribution method, and because the smart terminal and the smart device have a direct or indirect connection relationship, after the smart device is networked, The smart device sends the detection result of whether the connection is successful to the smart terminal, so that the smart terminal confirms whether the network configuration is successful, which can increase the success rate of the network configuration and enhance the user experience.
  • multiple smart devices may also support network sharing and continue to configure the network in the form of sensors. For example, if the smart device has a spiral sensor, the smart terminal and the smart device can be shaken within a preset distance at the same time, and a signal is generated during the shaking process, and the two are connected by a signal to complete the interaction of network information and detection results.
  • the network distribution method of the embodiment of the application can support unified network distribution, greatly improve the user's consistent experience of using different products, and simplify the network distribution experience. Difficulty in understanding and operation.
  • the network distribution method described in the foregoing embodiment can be applied to an artificial intelligence programming and teaching experiment platform.
  • the platform can be connected to a variety of robot intelligent hardware products. Therefore, it is necessary to configure the network for different types of robots.
  • the user's smart terminal can download the application program that can realize the above-mentioned network distribution method, select the robot product used by the user through the above-mentioned embodiment, enter the network distribution process, and then configure the network for the robot and use it on the experimental platform.
  • the smart terminal can prompt the user to operate the smart device to enter the network distribution mode according to the type of smart hardware. There are currently the following common operations (not limited to these): a.
  • Double-click (or long press) a button of the device Enter the network configuration mode the device will flash the prompt light, etc.; b. Double-click (or long press) a button of the device to enter the network configuration mode, the device will pop up and turn on the camera, and flash the prompt light; c. Double-click (or long press) the device When a button of, enters the network configuration mode, the device will turn on the Bluetooth function and flash the indicator light; d. Double-click (or long press) a button of the device to enter the network configuration mode, monitor the microphone sound signal, and flash the indicator light.
  • the wifi name of the mobile terminal is automatically obtained, and the user enters the wifi password; after that, the user continues to click Next in the software, depending on the type of smart device selected, you can Perform the above-mentioned network distribution method, transmit network distribution information according to different network distribution protocols, and configure the network with smart devices.
  • the network distribution process remains the same. It can encourage students to enter the experiment process as soon as possible and avoid wasting too much energy in the network configuration link.
  • FIG. 6 is a schematic structural diagram of the first embodiment of the smart terminal of this application, including: an obtaining module 61 and a network information sending module 62.
  • the obtaining module 61 is configured to obtain the network distribution mode supported by the smart device.
  • the network distribution mode supported by the smart device includes at least one of a wireless connection mode, a scanning mode, a sound analysis mode, and a preset protocol.
  • the network information sending module 62 is configured to send network information of the network to be connected to the smart device to the smart device through the network distribution method, so that the smart device accesses the network to be connected to the smart device through the network information. Specifically, if the smart device supports a wireless connection mode, the smart terminal establishes a wireless connection with the smart device; the smart device sends network information of the network to be connected to the smart device through the wireless connection, so that the smart device accesses the network to be connected through the network information The internet. Among them, the network information includes the account number and password of the network to be connected. If the smart device supports the scanning method.
  • the smart terminal sends the network information of the network to be connected to the smart device to the smart device through the picture, so that the smart device accesses the network to be connected to the network through the network information.
  • the network information includes the account and password of the network to be connected and the address of the smart terminal.
  • the smart terminal supports the sound analysis mode, the smart terminal sends network information of the network to be connected to the smart device through voice information, so that the smart device accesses the network to be connected to the smart device through the network information.
  • the network information includes the account and password of the network to be connected and the address of the smart terminal.
  • the smart device supports a preset protocol
  • the smart device sends the network information of the network to be connected to the smart device through the preset channel of the preset protocol, so that the smart device can access the waiting network through the network information. Connect Network.
  • the network information sending module 62 is further configured to receive the detection result sent by the smart device through the address when the network distribution mode supported by the smart device is the scanning mode, the sound analysis mode, and the preset protocol. .
  • the smart terminal described in the embodiments of the present application can support different smart devices for network configuration. For example, it can configure the network for devices with wireless connection, and can also configure the network for devices with picture recognition, and it can also configure The equipment of the sound analysis method is configured to the network.
  • the smart device network distribution method provided by the embodiments of this application has a clear network distribution process, a simple and easy network distribution method, and because the smart terminal and the smart device have a direct or indirect connection relationship, after the smart device is networked, The smart terminal can receive the detection result of whether the connection is successful or not sent by the smart device, so that the smart terminal can confirm whether the network configuration is successful, which can increase the success rate of the network configuration and enhance the user experience.
  • FIG. 7 is a schematic structural diagram of the first embodiment of the smart device of this application.
  • the obtaining module 71 is configured to obtain network information of the network to be connected from the smart terminal through a network distribution mode supported by the smart device. Specifically, if the smart device supports a wireless connection, the smart device establishes a wireless connection with the smart terminal, and obtains network information from the smart terminal through the wireless connection; wherein the network information includes the account and password of the network to be connected.
  • the smart device supports the scanning mode, scan the picture provided by the smart terminal that includes the network information, and identify the network information; wherein, the network information includes the account and password of the network to be connected to and the address of the smart terminal.
  • the voice information including the network information provided by the smart terminal is parsed, and the network information is recognized; the network information includes the account and password of the network to be connected to and the address of the smart terminal.
  • the network information received through the preset channel of the preset protocol is parsed, so that the smart device accesses the network to be connected through the network information.
  • connection module 72 is configured to access the network to be connected through the network information. Specifically, the connection module 72 accesses the network to be connected through the account and password of the network to be connected included in the network information.
  • connection module 72 is further configured to detect whether the network configuration is successful, and send the detection result to the smart terminal.
  • the smart terminal described in the embodiments of the present application can support different smart devices for network configuration. For example, it can configure the network for devices with wireless connection, and can also configure the network for devices with picture recognition, and it can also configure The equipment of the sound analysis method is configured to the network.
  • the smart device network distribution method provided by the embodiments of this application has a clear network distribution process, a simple and easy network distribution method, and because the smart terminal and the smart device have a direct or indirect connection relationship, after the smart device is networked, The smart terminal can receive the detection result of whether the connection is successful or not sent by the smart device, so that the smart terminal can confirm whether the network configuration is successful, which can increase the success rate of the network configuration and enhance the user experience.
  • the smart terminal and smart device include a memory 81 and a processor 82 connected to each other.
  • the memory 81 is configured to store program instructions for implementing any one of the foregoing smart device network distribution methods.
  • the processor 82 is configured to execute program instructions stored in the memory 81.
  • the processor 82 may also be referred to as a CPU (Central Processing Unit, central processing unit).
  • the processor 82 may be an integrated circuit chip with signal processing capability.
  • the processor 82 may also be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component .
  • the processor 82 can also be a GPU (Graphics Processing Unit, graphics processor), also known as a display core, a visual processor, and a display chip. A microprocessor for image calculations on smartphones, etc.).
  • the purpose of GPU is to convert and drive the display information required by the computer system, and to provide line scan signals to the display to control the correct display of the display. It is an important component for connecting the display to the PC motherboard and an important device for "human-machine dialogue". one.
  • the graphics card is responsible for the task of outputting and displaying graphics. The graphics card is very important for those engaged in professional graphics design.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 81 can be a memory stick, a TF card, etc., and can store all the information in the smart terminal and the smart device, including input raw data, computer programs, intermediate running results, and final running results, all stored in the memory. It stores and retrieves information according to the location specified by the controller. With memory, smart terminals and smart devices have a memory method to ensure normal operation.
  • the storage in smart terminals and smart devices can be divided into main storage (memory) and auxiliary storage (external storage) according to usage, and there are also classification methods for external storage and internal storage. External storage is usually magnetic media or optical discs, etc., which can store information for a long time.
  • Memory refers to the storage components on the motherboard, used to store the currently executing data and programs, but only used to temporarily store the programs and data, the data will be lost if the power is turned off or power off.
  • the disclosed method and device may be implemented in other ways.
  • the device implementation described above is only illustrative, for example, the division of modules or units is only a logical division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection between devices or units through some interfaces, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of this embodiment.
  • each mode unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software.
  • the integrated unit is implemented in the form of a software unit and sold or used as an independent product, it can be stored in a computer-readable computer-readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer readable
  • the storage medium includes several instructions to enable a computer device (which may be a personal computer, a system server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in the various embodiments of the present application.
  • FIG. 9 is a schematic diagram of the structure of the computer-readable storage medium of this application.
  • the computer-readable storage medium of the present application stores a program file 91 that can implement all the above-mentioned network distribution methods for smart devices.
  • the program file 91 can be stored in the above-mentioned computer-readable storage medium in the form of a software product, and includes several instructions. It is used to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage devices include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.
  • U disk mobile hard disk
  • read-only memory ROM, Read-Only Memory
  • RAM random access memory
  • smart terminal devices such as computers, servers, mobile phones, and tablets.
  • the embodiment of the present application discloses a network distribution method and related device for a smart device.
  • the method includes: obtaining a network distribution mode supported by the smart device;
  • the smart device sends network information of the network to be connected to the smart device, so that the smart device accesses the network to be connected through the network information.

Abstract

本申请提供一种智能设备的配网方法及相关装置,其中,所述方法包括:智能终端获取到所述智能设备所支持的配网方式;通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。以此实现对支持不同配网模式的智能设备进行配网。

Description

一种智能设备的配网方法及相关装置
相关申请的交叉引用
本申请基于申请号为202010113339.8、申请日为2020年02月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请实施例涉及智能设备领域,特别是涉及一种智能设备的配网方法及相关装置。
背景技术
随着创客、编程、人工智能的发展,各种各样的机器人和智能硬件逐渐成为K12教育的一个重要组成部分。但是实际应用中,一般需要对智能硬件进行配网,使其具有网络传输方式。
发明内容
本申请实施例提供一种智能设备的配网方法及相关装置。
本申请实施例采用的第一个技术方案为:提供一种智能设备的配网方法,包括:获取到所述智能设备所支持的配网方式;通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。以此实现对支持不同配网模式的智能设备进行配网。
其中,所述通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络,之后还包括:接收所述智能设备通过其所支持的配网方式发送的检测结果,其中,所述检测结果为所述智能设备接入所述待连接网络是否成功的反馈结果。以此可以得到智能设备是否配网成功得结果,进而可以提高配网成功率。
其中,所述智能设备所支持的配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;所述网络信息至少包括接入所述待连接网络所需要的账号和密码。实现对支持不同配网模式的智能设备进行配网。
其中,通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络,包括:通过预设协议的预设通道向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;或者,与所述智能设备建立无线连接;通过无线连接向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;或者,生成携带有所述网络信息的图片,并向所述智能设备发送或展示所述图片,以使所述智能设备通过识别所述图片得到所述网络信息,进而通过所述网络信息接入所述待连接网络;或者,通过语音信息向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。实现对支持不同配网模式的智能设备进行配网。
其中,所述智能设备所支持的配网方式为扫描方式、声音解析方式以及预设协议时,所述网络信息中还包括所述智能终端的地址;所述接收所述智能设备通过其所支持的配网方式发送的检测结果,包括:接收所述智能设备通过所述地址发送的检测结果。以此可以得到智能设备是否配网成功得结果,进而可以提高配网成功率。
本申请实施例提供的第二个技术方案为:提供一种智能设备的配网方法,包括:通过智能设备所支持的配网方式从智能终端获取待连接网络的网络信息;通过所述网络信 息接入所述待连接网络。以此实现对支持不同配网模式的智能设备进行配网。
其中,所述通过所述网络信息接入所述待连接网络之后,还包括:检测当前接入所述待连接网络是否成功;将检测结果通过所述智能设备所支持的配网方式发送至所述智能终端。以此可以得到智能设备是否配网成功得结果,进而可以提高配网成功率。
其中,所述智能设备所支持的配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;所述通过所述所支持的配网方式从智能终端获取待连接网络的网络信息,包括:通过预设协议的预设通道从所述智能终端接收网络信息;或者,与所述智能设备建立无线连接,通过所述无线连接从所述智能终端获取到网络信息;或者,扫描所述智能终端提供的包括所述网络信息的图片,并识别出所述网络信息;或者,从所述智能终端播放的包括所述网络信息的语音信息中解析得到所述网络信息。以此实现对支持不同配网模式的智能设备进行配网。
其中,所述智能设备所支持的配网方式为扫描方式、声音解析方式以及预设协议时,所述网络信息中还包括所述智能终端的地址;所述将检测结果通过所述智能设备所支持的配网方式发送至所述智能终端,包括:将所述检测结果发送至与所述地址匹配的智能终端。以此可以得到智能设备是否配网成功得结果,进而可以提高配网成功率。
本申请实施例提供的第三个技术方案为:提供一种智能终端,包括:获取模块,配置为获取到所述智能设备所支持的配网方式;网络信息发送模块,配置为通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。以此实现对支持不同配网模式的智能设备进行配网。
其中,所述网络信息发送模块还配置为:
接收所述智能设备通过其所支持的配网方式发送的检测结果,其中,所述检测结果为所述智能设备接入所述待连接网络是否成功的反馈结果。
其中,所述配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;所述网络信息至少包括接入所述待连接网络所需要的账号和密码。
其中,所述网络信息发送模块还配置为:
通过预设协议的预设通道向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;
或者,与所述智能设备建立无线连接;通过无线连接向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;
或者,生成携带有所述网络信息的图片,并向所述智能设备发送或展示所述图片,以使所述智能设备通过识别所述图片得到所述网络信息,进而通过所述网络信息接入所述待连接网络;
或者,通过语音信息向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
其中,所述配网方式为扫描方式、声音解析方式以及预设协议中任一种时,所述网络信息中还包括所述智能终端的地址;
所述网络信息发送模块还配置为:
接收所述智能设备通过所述地址发送的检测结果。
本申请实施例提供的第四个技术方案为:提供一种智能设备,包括:获取模块,配置为通过智能设备所支持的配网方式从智能终端获取待连接网络的网络信息;连接模块,配置为通过所述网络信息接入所述待连接网络。以此实现对支持不同配网模式的智能设备进行配网。
其中,所述连接模块还配置为:
检测当前接入所述待连接网络是否成功;
将检测结果通过所述配网方式发送至所述智能终端。
其中,所述配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;
所述获取模块,还配置为:
通过预设协议的预设通道从所述智能终端接收网络信息;
或者,与所述智能设备建立无线连接,通过所述无线连接从所述智能终端获取到网络信息;
或者,扫描所述智能终端提供的包括所述网络信息的图片,并识别出所述网络信息;
或者,从所述智能终端播放的包括所述网络信息的语音信息中解析得到所述网络信息。
其中,所述配网方式为扫描方式、声音解析方式以及预设协议中任一种时,所述网络信息中还包括所述智能终端的地址;
所述连接模块还配置为:
将所述检测结果发送至与所述地址匹配的智能终端。
本申请实施例提供的第五个技术方案为:提供一种智能终端,所述智能终端包括存储器及处理器;其中,所述存储器存储有程序文件,所述处理器从所述存储器调取所述程序文件以执行如上述任一项所述的智能设备的配网方法。
本申请实施例提供的第六个技术方案为:提供一种智能设备,包括存储器及处理器;其中,所述存储器存储有程序文件,所述处理器从所述存储器调取所述程序文件以执行上述任一项所述的智能设备的配网方法。
本申请实施例提供的第七个技术方案为:提供一种计算机可读存储介质,存储有程序文件,所述程序文件能够被执行以实现上述任一项所述的智能设备的配网方法。
本申请实施例的有益效果:区别于现有技术,本申请实施例提出的智能设备的配网方法及相关装置,其中,所述方法包括:智能终端获取到所述智能设备所支持的配网方式;通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。本申请实施例通过智能终端根据智能设备所支持的配网方式对智能设备进行配网,进而实现对支持不同配网模式的智能设备进行配网。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请实施例的技术方案。
图1A为本申请实施例提供的智能设备的配网方法的应用场景示意图;
图1B为本申请实施例智能设备的配网方法的第一实施例的流程示意图;
图2为本申请实施例智能设备的配网方法的第二实施例的流程示意图;
图3为本申请实施例智能设备的配网方法的第三实施例的流程示意图;
图4为本申请实施例智能设备的配网方法的第四实施例的流程示意图;
图5为本申请实施例智能设备的配网方法的信号传输示意图;
图6为本申请实施例智能终端的第一实施例的结构示意图;
图7为本申请实施例智能设备的第一实施例的结构示意图;
图8为本申请实施例智能终端及智能设备的第二实施例的结构示意图;
图9为本申请实施例计算机可读存储介质的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整 地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在相关技术中,对于教学而言,基于无线网络的通信方式,可以降低使用智能硬件的难度,同时提高使用体验。对于不同的智能硬件产品,需要统一的软件进行网络接入,降低上手难度。
由于不同的智能硬件的能力不同,不同的智能硬件有不同的网络配置方法,相关技术中的网络配置方式有:接入屏幕鼠标键盘等接入网络,该方式需要用户繁杂的操作;使用配网协议等智能配网模式;使用蓝牙连接后传输网络配置信息;使用二维码扫描的方式传输网络配置信息;使用声音等其他介质的方式传输网络配置信息。不同的配网方式,适合于不同的智能硬件,主要是由于不同的智能硬件具备不同的硬件机制和数据接收能力。
对于需要接入多种智能硬件支持的在线编程平台而言,统一的接入流程和接入网络,能够大大提高用户使用不同的产品的一致性体验,简化对配网的理解和操作难度。另外,相关技术中的部分配网方式,没有提供配网成功与否的反馈信息,对于普通用户,特别是学生用户,理解难度变大,配网流程不直观。
基于此,本申请实施例提供一种智能设备的配网方法,如图1A所示,图1A为本申请实施例提供的智能设备的配网方法的应用场景示意图,结合图1A进行以下说明:
当用户(比如,学生)需要对自己的设备101进行配网时,通过安装“机器人助手”的应用程序(Application,APP)102(支持各种移动平台),首先,选择自己的设备;其次,APP 102会提示用户需要对设备进行的某种操作,使得设备101进入待配网状态中。再次,APP 102会自动获取当前连接网络103的无线上网(Wireless Fidelity,wifi)信息,要求用户输入密码。再次,根据所选设备支持的配网协议,发送配网信息,并且根据需要提示用户所需要的操作(如扫描二维码等)。如果设备接收配网信息并成功连接网络103,将发送用户数据报协议(User Datagram Protocol,UDP)数据包(但不限于UDP的方式)通知APP 102,APP 102接收到合法的反馈信息后,将判定配网完成,并提示用户配网成功。如此,通过规范化的操作流程和协议,使得配网流程清晰,且不同智能硬件操作流程一致,便于迁移学习。
下面结合附图和实施例对本申请实施例进行详细的说明。
请参见图1B,图1B为本申请实施例智能设备的配网方法的第一实施例的流程示意图。包括:
步骤S11:获取到所述智能设备所支持的配网方式。
随着创客、编程、人工智能的发展,各种各样的机器人和智能硬件逐渐成为K12教育的一个重要组成部分。在实际应用中,一般需要对智能硬件进行配网,使其具有网络传输方式,例如在在线教育中,同时需要对多个用户进行网络连接,在使用过程中,需要对多个用户所持有的智能设备进行配网,使其能够接收或发送信息。具体的,智能终端在对智能设备进行配网时,首先需要获取智能设备支持的配网方式,该配网方式为设备接入网络的接入方式,例如智能设备可通过蓝牙、语音、扫描、预设协议等方式实现网络的接入。在一实施例中,智能终端在获取智能设备所支持的配网方式时,可开通蓝牙,检测搜索智能设备是否支持蓝牙连接,或者在另一实施例中,用户可根据智能设备所支持的配网方式从智能终端手动选择配网方法。智能终端包括手机、电脑等设备,智能设备包括话筒、家居设备、电子音响、摄像头、麦克风、智能机器人等设备。
在其他实施例中,还可以通过处理器等硬件设备执行程序代码以实现本申请的配网方法。本申请实施例在此仅以智能终端为例进行说明。
在一具体实施例中,智能设备所支持的配网方式包括无线连接方式、扫描方式、声 音解析方式以及预设协议中的至少一种。在智能设备支持的配网方式包括无线连接方式时,则在智能设备进行配网时,采用无线连接的方式。在智能设备具有扫描方式,则在智能设备进行配网时,智能终端将网络信息及相关数据集成在图片中并提供给智能设备,以对智能设备进行配网。在智能设备具有声音解析方式,则在智能设备进行配网时,智能终端将网络信息及相关数据集成在语音信息中并提供给智能设备,以对智能设备进行配网。在智能设备支持预设协议时,则在智能设备进行配网时,智能终端通过预设协议的预设通道将网络信息及相关数据集成在数据包中并发送至智能设备,以对智能设备进行配网。
在其他实施例中,若智能设备与智能终端之间可通过数据线等介质进行连接,则在智能设备进行配网时,智能终端将网络信息及相关数据通过数据线发送给智能设备。
步骤S12:通过所述配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
具体的,智能终端可以根据智能设备所支持的配网方式,对智能设备进行配网。例如在一实施例中,若检测到智能设备支持无线连接时,则智能终端与智能设备建立无线连接;通过无线连接向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过网络信息接入待连接网络。具体的,以蓝牙为例进行说明,智能终端搜索代表智能设备的蓝牙标识名称,并向智能设备发送蓝牙连接请求,智能设备接受该蓝牙连接请求并完成连接。
在智能终端与智能设备建立蓝牙连接后,智能终端向智能设备发送信号,控制智能设备进入待配网模式。智能终端通过蓝牙连接将待连接网络的网络信息发送给智能设备,以使智能设备连接该网络信息。在本申请的实施例中,网络信息至少包括待连接网络的账号和密码。
本申请的实施例所示的智能设备的配网方法,通过将智能终端与智能设备进行无线连接,通过无线连接通道将网络信息的相关数据发送给智能设备,以使智能设备连接该网络信息,进而完成配网。
在另一实施例中,若智能设备支持扫描方式,则智能终端与智能设备可以进行设备连接,并通过设备连接通道将待连接网络的网络信息发送给智能设备,进而使智能设备接入待连接网络。具体的,智能终端通过图片向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过网络信息接入待连接网络。具体的,该图片可以为二维码、条形码或图像等。在本申请的实施例中,网络信息除待连接网络的账号和密码之外还包括智能终端的地址(例如网际互连协议(Internet Protocol,IP)地址或物理地址)。在智能设备配网后,可通过该地址向智能终端反馈连接结果。
在一具体实施例中,若智能终端生成的图片为二维码信息,其可以包含如下协议信息:{“robot_types”:[“xx”,“yy”],“token”:<uuid>,“ip”:<phone ip>,“ssid”:<router ssid>,“pwd”:<router password”}。其中,robot_types为支持的智能设备列表,token为检测结果的标识。IP为智能终端的IP地址/标识,用于接收检测结果,ssid和pwd分别为待连接网络的网络信息名称(账号)和密码。具体的,智能设备根据上述协议信息中携带的网络信息接入网络后会发送检测结果给智能终端,智能终端在对检测结果进行解析之后,通过该标识可获取到智能设备是否配网成功的配网结果。例如,智能设备接入网络后会发送UDP检测结果给智能终端,在一实施例中,检测结果具体为{“token”:<uuid>,“bssid”:<mac addr>},其中,bssid为智能终端的物理地址,token为检测结果标识,对token解析后,可得到是否配网成功的结果,若token与获取的网络信息中的检测结果的标识token一致,则表示配网成功,智能终端得到配网成功的配网结果。在一具体实施方式中,例如智能设备支持蓝牙方式、声音解析方式等都可以采用上述方式生成类似的网络信息和检测结果,以便于智能终端检测到配网情况。
在对智能设备进行配网时,智能设备可以对智能终端生成的图片进行扫描识别图片内容,进而得到待连接网络的网络信息,因此,智能设备具有扫描方式,一般用于扫描的硬件为摄像头,即本申请的实施例提供的配网方法可应用于具有摄像头的智能设备中。
在另一实施例中,在智能终端与智能设备建立无线连接,例如蓝牙连接后,智能终端向智能设备发送信号,控制智能设备进入待配网模式。智能终端通过蓝牙连接将待连接网络的网络信息集成于图片信息中,并发送给智能设备,以使智能设备解析该图片信息,进而获得网络信息并连接该网络信息。
在再一实施例中,若智能设备支持声音解析方式,则智能终端与智能设备可以进行设备连接,并通过设备连接通道将待连接网络的网络信息发送给智能设备,进而使智能设备接入待连接网络。具体的,智能终端通过语音信息向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过网络信息接入待连接网络。具体的,该声音可以为预先录制保存在智能终端中的语音数据包,还可以是实施录入的语音片段。在本申请的实施例中,网络信息除待连接网络的账号和密码之外还包括智能终端的地址。在智能设备配网后,可通过该地址向智能终端反馈连接结果。
在另一实施例中,若智能设备具有语音输出功能,在智能设备配网成功后,语音输出是否连接成功的检测结果,智能终端监听智能设备的语音信息,在监听到语音信息反馈的检测结果后得到智能设备的连接结果。
本申请的实施例所示的智能设备的配网方法,智能设备需要对智能终端生成的声音信息进行识别。
在另一实施例中,若智能设备支持预设协议时,智能终端可以通过预设协议的预设通道向智能设备发送待连接网络的网络信息。具体的,例如该预设协议可以为快连(Smart config)协议。智能终端可根据该协议中的预设通道在没有实际链路连接的情况下将网络信息作为数据包发送至智能设备,以使得智能设备解析其中的数据包长度,利用长度对信息进行编解码,从而连接待连接网络。
本申请的实施例提供的智能设备的配网方法,能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有扫描方式的智能设备进行配网,还能够对具有声音解析方式的智能设备进行配网,还能够对支持预设协议的智能设备进行配网。具体的,本申请的实施例提供的智能设备的配网方法,在对不同的智能设备进行配网后,能够接收到智能设备的检测结果,通过检测结果得到智能设备是否配网成功的结果,进而提高配网成功率。
请参见图2,为本申请实施例智能设备的配网方法的第二实施例的流程示意图。本申请的实施例所述的配网方法的步骤S21~S22与上述图1B所示的第一实施例中的步骤S11~S12相同,在此不再赘述。与上述图1B所示的第一实施例中相比,区别在于,本申请的实施例还包括:
步骤S23:接收智能设备通过其所支持的配网方式发送的检测结果,其中,检测结果为智能设备接入所述待连接网络是否成功的反馈结果。
本申请的实施例中,在智能设备支持无线连接时,在智能设备进行配网后,通过无线连接向智能终端发送检测结果,智能终端接收该检测结果。该检测结果为智能设备接入待连接网络是否成功的反馈结果。
在智能设备支持扫描方式时,智能设备对智能终端提供的图片进行扫描获取到待连接网络的账号及密码时,还获取到智能终端的地址。在智能设备进行配网后,通过搜索智能终端的地址并利用地址向智能终端发送检测结果。与该地址匹配的智能终端接收到检测结果。该检测结果为智能设备接入待连接网络是否成功的反馈结果。
在智能设备支持声音解析方式时,智能设备对智能终端提供的语音信息进行解析获取到待连接网络的账号及密码时,还获取到智能终端的地址。在智能设备进行配网后, 通过搜索智能终端的地址并利用地址向智能终端发送检测结果。与该地址匹配的智能终端接收到检测结果。该检测结果为智能设备接入待连接网络是否成功的反馈结果。
在智能设备支持预设协议时,智能设备对智能终端通过预设协议发送的数据包进行解析获取到待连接网络的账号及密码时,还获取到智能终端的地址。在智能设备进行配网后,通过搜索智能终端的地址并利用地址向智能终端发送检测结果。与该地址匹配的智能终端接收到检测结果。该检测结果为智能设备接入待连接网络是否成功的反馈结果。
本申请的实施例提供的智能设备的配网方法,能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有扫描方式的智能设备进行配网,还能够对具有声音解析方式的智能设备进行配网。另外本申请的实施例提供的智能设备的配网方法配网流程清晰,配网方式简单易行,且由于智能终端与智能设备之间具有直接或间接地连接关系,在对智能设备配网后,可接收到来自智能设备地反馈信号,进而确认是否配网成功,以此可提高配网成功率,提升用户体验。
在本申请的一实施例中,可通过智能终端上的某一软件对智能设备进行配网。例如,智能终端打开该配网软件,在该配网软件中生成当前连接网络的网络信息。在智能设备支持蓝牙方式时,通过蓝牙连接将该网络信息发送至智能设备;在智能设备支持扫描方式时,该软件将当前连接网络的网络信息生成图片,提供给智能设备;在智能设备支持声音解析方式时,该软件将当前连接网络的网络信息生成语音信息并播放,以提供给智能设备。
在智能设备配网后,向智能终端发送检测结果,该软件接收到检测结果对其进行解析,根据解析结果判断配网是否成功。以此使得智能终端能够知道配网结果,提高配网成功率,提升用户体验。
请参见图3,为本申请实施例智能设备的配网方法的第三实施例的流程示意图。所述配网方法包括:
步骤S31:通过智能设备所支持的配网方式从智能终端获取待连接网络的网络信息。
智能设备通过自身所支持的配网方式从智能终端获取待连接网络的网络信息。具体的,智能设备所支持的配网方式包括无线连接、扫描方式、声音解析方式以及预设协议中的至少一种。
在一种可能的实现方式中,智能设备支持无线连接,例如智能设备具有蓝牙连接方式,则智能设备与智能终端建立无线连接,通过无线连接从智能终端获取网络信息,该网络信息至少包括待连接网络的账号及密码。
在一种可能的实现方式中,智能设备具有扫描方式,支持的配网方式是扫描方式,则智能设备可调取摄像头等图像获取装置对智能终端提供的图片进行扫描,以获取到待连接网络的网络信息。具体的,在本申请的实施例中,网络信息中除待连接网络的账号及密码外还包括智能终端的地址。
在一种可能的实现方式中,智能设备具有声音解析方式,支持的配网方式是声音解析方式,则智能设备通过监听等手段获取到智能终端提供的语音信息,以获取到待连接网络的网络信息。具体的,在本申请的实施例中,网络信息中除待连接网络的账号及密码外还包括智能终端的地址。
在另一可行实施例中,智能设备还可以利用预设协议,通过预设协议的预设通道从智能终端获取包括网络信息的数据包,例如智能设备可以利用Smart config协议,在没有实际的链路连接的情况下,获取智能终端发送的包括网络信息的相关数据的数据包,解析其中的数据包长度,利用长度对信息进行编解码,从而传输信息。该方式可对智能设备要求较低,只要是支持无线方式的设备,都有可能支持该配网方式。
步骤S32:通过所述网络信息接入所述待连接网络。
在智能设备通过无线连接、扫描方式及声音解析方式、预设协议中任一种获取到网 络信息后,通过该网络信息中包含的待连接网络的账号及密码来接入至待连接网络。
本申请的实施例提供的智能设备的配网方法,能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有扫描方式的智能设备进行配网,还能够对具有声音解析方式的智能设备进行配网。
请参见图4,为本申请实施例智能设备的配网方法的第四实施例的流程示意图。本申请的实施例中的步骤S41~S42与图3所示的实施例中的步骤S31~S32相同,与图3所示的实施例的区别在于,本申请的实施例还包括:
步骤S43:检测当前接入所述待连接网络是否成功。
智能设备在通过其所支持的配网方式获取到待连接网络的网络信息后,连接至该待连接网络。在连接操作结束后,检测连接是否成功。
步骤S44:将检测结果通过所述智能设备所支持的配网方式发送至所述智能终端。
若该智能设备支持无线连接,且与智能终端已建立无线连接时,该智能设备通过无线连接向智能终端发送检测结果,以使智能终端确认是否配网成功。
若该智能设备支持扫描方式,通过扫描图片获取到的网络信息中的智能终端的地址,将检测结果发送至与地址匹配的智能终端。
若该智能设备支持声音解析方式,通过解析语音获取到的网络信息中的智能终端的地址,将检测结果发送至与地址匹配的智能终端。
若该智能设备支持预设协议,通过预设协议的预设通道获取到包括网络信息及智能终端的地址,将检测结果发送至与地址匹配的智能终端。
本申请的实施例提供的智能设备的配网方法,能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有扫描方式的智能设备进行配网,还能够对具有声音解析方式的智能设备进行配网。另外本申请的实施例提供的智能设备的配网方法配网流程清晰,配网方式简单易行,且由于智能终端与智能设备之间具有直接或间接地连接关系,在对智能设备配网后,智能设备可向智能终端发送检测结果,以使智能终端确认智能设备是否配网成功,以此可提高配网成功率,提升用户体验。
请参见图5,为本申请实施例的智能设备的配网方法的信号传输示意图。具体的,智能终端100与智能设备200建立数据收发通道,并向智能设备发送网络信息。例如,智能终端100与智能设备200建立无线连接,如蓝牙连接。通过蓝牙连接,智能终端100将待连接网络的网络信息发送至智能设备200。该网络信息包括待连接网络的账号及密码。再例如,智能终端100生成图片信息,智能设备200扫描该图片信息,以获取到待连接网络的网络信息。该网络信息除包括待连接网络的账号及密码之外,还包括智能终端的物理信息。再例如,智能终端100生成语音信息,智能设备200解析该语音信息,以获取到待连接网络的网络信息。再例如智能设备200支持预设协议,通过预设协议的预设通道获取到待连接网络的网络信息。该网络信息除包括待连接网络的账号及密码之外,还包括智能终端的物理信息。
智能设备200向智能终端100发送检测结果。具体的,在智能设备200获取到网络信息后,根据网络信息中包含的待连接网络的账号及密码接入待连接网络,并检测是否连接成功,将该检测结果发送至智能终端200。例如,若智能终端100与智能设备200进行无线连接时,智能设备200通过无线连接向智能终端100发送检测结果。若该智能设备200支持扫描方式,通过扫描图片获取到的网络信息中的智能终端100的地址,将检测结果发送至与地址匹配的智能终端100。若该智能设备200支持声音解析方式,通过解析语音获取到的网络信息中的智能终端100的地址,将检测结果发送至与地址匹配的智能终端100。
本申请的实施例所述的智能设备的配网方法。能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有图片识别方式的设备进行配 网,还能够对具有声音解析方式的设备进行配网。另外本申请实施例提供的智能设备的配网方法配网流程清晰,配网方式简单易行,且由于智能终端与智能设备之间具有直接或间接地连接关系,在对智能设备配网后,智能设备向之智能终端发送连接是否成功的检测结果,进而使智能终端确认是否配网成功,以此可提高配网成功率,提升用户体验。
例如,在一实施例中,若多种智能设备除上述包括蓝牙、语音、扫描、预设协议外还可以支持网络共享、传感器的方式继续配网。例如若智能设备具有螺旋传感器时,可以通过在同一时间将智能终端及智能设备在预设距离内摇晃,在摇晃过程中产生信号,两者进行信号连接,以完成网络信息及检测结果的交互。
本申请实施例的配网方法,对于需要接入多种智能设备支持的在线编程平台而言,能够支持其进行统一配网,大大提高用户使用不同的产品的一致性体验,简化对配网的理解和操作难度。
上述实施例所述的配网方法可应用于人工智能编程与教学实验平台上。平台可连接多款机器人智能硬件产品。因此,需要对不同类型的机器人进行配网。用户的智能终端可通过下载可实现上述配网方法的应用程序,通过上述实施例的方式选择自己所使用的机器人产品,进入配网流程,就可以给机器人配置网络并在实验平台进行使用。例如,智能终端可以根据智能硬件类型,提示用户对智能设备进行操作进入配网模式,目前有以下几种常见操作(不局限于这几种):a.双击(或长按)设备的某按键进入配网模式,设备会闪烁提示灯等;b.双击(或长按)设备的某按键进行配网模式,设备会弹出并打开摄像头,并闪烁提示灯;c.双击(或长按)设备的某按键进入配网模式,设备会开启蓝牙功能,并闪烁提示灯;d.双击(或长按)设备的某按键进入配网模式,监听麦克风声音信号,并闪烁提示灯。然后,用户可以在智能终端的软件中点击下一步后,自动获取移动端的wifi名称,用户输入wifi密码;之后,用户继续在软件中点击下一步后,根据所选的智能设备的类型不同,可以执行上述配网方法,根据不同的配网协议,传输配网信息,以智能设备配置网络。当切换/升级到不同的产品的时候,即使机器人功能不一致,配网的流程仍然保持一致。可以促使学生尽快进入实验过程,避免在网络配置环节浪费过多精力。
请参见图6,为本申请智能终端的第一实施例的结构示意图,包括:获取模块61及网络信息发送模块62。其中,获取模块61配置为获取所述智能设备所支持的配网方式。其中,智能设备所支持的配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种。
其中,网络信息发送模块62配置为通过所述配网方式向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过所述网络信息接入待连接网络。具体的,若智能设备支持无线连接方式,则智能终端与智能设备建立无线连接;通过无线连接向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过所述网络信息接入待连接网络。其中,网络信息包括待连接网络的账号及密码。若智能设备支持扫描方式。智能终端通过图片向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过网络信息接入待连接网络。其中,网络信息包括待连接网络的账号及密码及智能终端的地址。若智能设备支持声音解析方式,智能终端通过语音信息向智能设备发送智能设备待连接网络的网络信息,以使智能设备通过网络信息接入所述待连接网络。其中,网络信息包括待连接网络的账号及密码及智能终端的地址。若智能设备支持预设协议,则通过预设协议的预设通道向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
在一可行实施例中,网络信息发送模块62还配置为在智能设备所支持的配网方式为扫描方式、声音解析方式以及预设协议时,可根据接收智能设备通过所述地址发送的检测结果。
本申请的实施例所述智能终端,能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有图片识别方式的设备进行配网,还能够对具有声音解析方式的设备进行配网。另外本申请实施例提供的智能设备的配网方法配网流程清晰,配网方式简单易行,且由于智能终端与智能设备之间具有直接或间接地连接关系,在对智能设备配网后,智能终端能够接收到智能设备发送的连接是否成功的检测结果,进而使智能终端确认是否配网成功,以此可提高配网成功率,提升用户体验。
请参见图7,为本申请智能设备的第一实施例的结构示意图。包括获取模块71及连接模块72。其中,获取模块71配置为通过智能设备所支持的配网方式从智能终端获取待连接网络的网络信息。具体的,若智能设备支持无线连接,则智能设备与智能终端建立无线连接,通过无线连接从智能终端获取到网络信息;其中,网络信息包括待连接网络的账号及密码。在智能设备支持扫描方式时,扫描智能终端提供的包括所述网络信息的图片,并识别出所述网络信息;其中,网络信息包括待连接网络的账号及密码及智能终端的地址。在智能设备支持声音解析方式时,解析智能终端提供的包括所述网络信息的语音信息,并识别出所述网络信息;其中,网络信息包括待连接网络的账号及密码及智能终端的地址。在智能设备支持预设协议时,则解析通过预设协议的预设通道接收的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
连接模块72配置为通过所述网络信息接入所述待连接网络。具体的,连接模块72通过网络信息中包含的待连接网络的账号及密码接入待连接网络。
在一可行实施例中,连接模块72还配置为检测配网是否成功,并将检测结果发送至智能终端。
本申请的实施例所述智能终端,能够支持不同的智能设备进行配网,如能够对具有无线连接方式的设备进行配网,还能够对具有图片识别方式的设备进行配网,还能够对具有声音解析方式的设备进行配网。另外本申请实施例提供的智能设备的配网方法配网流程清晰,配网方式简单易行,且由于智能终端与智能设备之间具有直接或间接地连接关系,在对智能设备配网后,智能终端能够接收到智能设备发送的连接是否成功的检测结果,进而使智能终端确认是否配网成功,以此可提高配网成功率,提升用户体验。
请参见8,为本申请智能终端及智能设备的第二实施例的结构示意图。智能终端及智能设备包括相互连接的存储器81和处理器82。
存储器81配置为存储实现上述任意一项的智能设备的配网方法的程序指令。
处理器82配置为执行存储器81存储的程序指令。
其中,处理器82还可以称为CPU(Central Processing Unit,中央处理单元)。处理器82可能是一种集成电路芯片,具有信号的处理能力。处理器82还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。处理器82还可以是GPU(Graphics Processing Unit,图形处理器),又称显示核心、视觉处理器、显示芯片,是一种专门在个人电脑、工作站、游戏机和一些移动设备(如平板电脑、智能手机等)上图像运算工作的微处理器。GPU的用途是将计算机系统所需要的显示信息进行转换驱动,并向显示器提供行扫描信号,控制显示器的正确显示,是连接显示器和个人电脑主板的重要元件,也是“人机对话”的重要设备之一。显卡作为电脑主机里的一个重要组成部分,承担输出显示图形的任务,对于从事专业图形设计的人来说显卡非常重要。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器81可以为内存条、TF卡等,可以存储智能终端及智能设备中全部信息,包括输入的原始数据、计算机程序、中间运行结果和最终运行结果都保存在存储器中。它根据控制器指定的位置存入和取出信息。有了存储器,智能终端及智能设备才有记忆方式,才能保证正常工作。智能终端及智能设备中的存储器按用途存储器可分为主存储器 (内存)和辅助存储器(外存),也有分为外部存储器和内部存储器的分类方法。外存通常是磁性介质或光盘等,能长期保存信息。内存指主板上的存储部件,用来存放当前正在执行的数据和程序,但仅用于暂时存放程序和数据,关闭电源或断电,数据会丢失。
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和设备,可以通过其它的方式实现。例如,以上所描述的设备实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑方式划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。
另外,在本申请各个实施例中的各方式单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件方式单元的形式实现。
集成的单元如果以软件方式单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取计算机可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个计算机可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,系统服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。
请参阅图9,为本申请计算机可读存储介质的结构示意图。本申请的计算机可读存储介质存储有能够实现上述所有智能设备的配网方法的程序文件91,其中,该程序文件91可以以软件产品的形式存储在上述计算机可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储设备包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,或者是计算机、服务器、手机、平板等智能终端设备。
以上仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
工业实用性
本申请实施例公开了一种智能设备的配网方法及相关装置,所述方法包括:获取到所述智能设备所支持的配网方式;通过所述智能设备所支持的配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。

Claims (21)

  1. 一种智能设备的配网方法,所述配网方法包括:
    获取到所述智能设备所支持的配网方式;
    通过所述配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
  2. 根据权利要求1所述的智能设备的配网方法,所述通过所述配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络之后,还包括:
    接收所述智能设备通过其所支持的配网方式发送的检测结果,其中,所述检测结果为所述智能设备接入所述待连接网络是否成功的反馈结果。
  3. 根据权利要求1或2所述的智能设备的配网方法,所述配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;所述网络信息至少包括接入所述待连接网络所需要的账号和密码。
  4. 根据权利要求3所述的智能设备的配网方法,所述通过所述配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络,包括:
    通过预设协议的预设通道向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;
    或者,与所述智能设备建立无线连接;通过无线连接向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;
    或者,生成携带有所述网络信息的图片,并向所述智能设备发送或展示所述图片,以使所述智能设备通过识别所述图片得到所述网络信息,进而通过所述网络信息接入所述待连接网络;
    或者,通过语音信息向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
  5. 根据权利要求2至4任一项所述的智能设备的配网方法,所述配网方式为扫描方式、声音解析方式以及预设协议中任一种时,所述网络信息中还包括所述智能终端的地址;
    所述接收所述智能设备通过其所支持的配网方式发送的检测结果,包括:
    接收所述智能设备通过所述地址发送的检测结果。
  6. 一种智能设备的配网方法,所述配网方法包括:
    通过智能设备所支持的配网方式从智能终端获取待连接网络的网络信息;
    通过所述网络信息接入所述待连接网络。
  7. 根据权利要求6所述的智能设备的配网方法,所述通过所述网络信息接入所述待连接网络之后,还包括:
    检测当前接入所述待连接网络是否成功;
    将检测结果通过所述配网方式发送至所述智能终端。
  8. 根据权利要求6或7所述的智能设备的配网方法,所述配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;
    所述通过所述所支持的配网方式从智能终端获取待连接网络的网络信息,包括:
    通过预设协议的预设通道从所述智能终端接收网络信息;
    或者,与所述智能设备建立无线连接,通过所述无线连接从所述智能终端获取到网络信息;
    或者,扫描所述智能终端提供的包括所述网络信息的图片,并识别出所述网络信息;
    或者,从所述智能终端播放的包括所述网络信息的语音信息中解析得到所述网络信息。
  9. 根据权利要求8所述的智能设备的配网方法,所述配网方式为扫描方式、声音解析方式以及预设协议中任一种时,所述网络信息中还包括所述智能终端的地址;
    所述将检测结果通过所述配网方式发送至所述智能终端,包括:
    将所述检测结果发送至与所述地址匹配的智能终端。
  10. 一种智能终端,所述智能终端包括:
    获取模块,配置为获取到所述智能设备所支持的配网方式;
    网络信息发送模块,配置为通过所述配网方式向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
  11. 根据权利要求10所述的智能终端,所述网络信息发送模块还配置为:
    接收所述智能设备通过其所支持的配网方式发送的检测结果,其中,所述检测结果为所述智能设备接入所述待连接网络是否成功的反馈结果。
  12. 根据权利要求10或11所述的智能终端,所述配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;所述网络信息至少包括接入所述待连接网络所需要的账号和密码。
  13. 根据权利要求12所述的智能终端,所述网络信息发送模块还配置为:
    通过预设协议的预设通道向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;
    或者,与所述智能设备建立无线连接;通过无线连接向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络;
    或者,生成携带有所述网络信息的图片,并向所述智能设备发送或展示所述图片,以使所述智能设备通过识别所述图片得到所述网络信息,进而通过所述网络信息接入所述待连接网络;
    或者,通过语音信息向所述智能设备发送所述智能设备待连接网络的网络信息,以使所述智能设备通过所述网络信息接入所述待连接网络。
  14. 根据权利要求11至13任一项所述的智能终端,所述配网方式为扫描方式、声音解析方式以及预设协议中任一种时,所述网络信息中还包括所述智能终端的地址;
    所述网络信息发送模块还配置为:
    接收所述智能设备通过所述地址发送的检测结果。
  15. 一种智能设备,所述智能设备包括:
    获取模块,配置为通过智能设备所支持的配网方式从智能终端获取待连接网络的网络信息;
    连接模块,配置为通过所述网络信息接入所述待连接网络。
  16. 根据权利要求15所述的智能设备,所述连接模块还配置为:
    检测当前接入所述待连接网络是否成功;
    将检测结果通过所述配网方式发送至所述智能终端。
  17. 根据权利要求15或16所述的智能设备,所述配网方式包括无线连接方式、扫描方式、声音解析方式以及预设协议中的至少一种;
    所述获取模块,还配置为:
    通过预设协议的预设通道从所述智能终端接收网络信息;
    或者,与所述智能设备建立无线连接,通过所述无线连接从所述智能终端获取到网络信息;
    或者,扫描所述智能终端提供的包括所述网络信息的图片,并识别出所述网络信息;
    或者,从所述智能终端播放的包括所述网络信息的语音信息中解析得到所述网络信息。
  18. 根据权利要求17所述的智能设备,所述配网方式为扫描方式、声音解析方式以及预设协议中任一种时,所述网络信息中还包括所述智能终端的地址;
    所述连接模块还配置为:
    将所述检测结果发送至与所述地址匹配的智能终端。
  19. 一种智能终端,包括存储器及处理器;其中,所述存储器存储有程序文件,所述处理器从所述存储器调取所述程序文件以执行如权利要求1至5任一项所述的智能设备的配网方法。
  20. 一种智能设备,包括存储器及处理器;其中,所述存储器存储有程序文件,所述处理器从所述存储器调取所述程序文件以执行如权利要求6至9任一项所述的智能设备的配网方法。
  21. 一种计算机可读存储介质,存储有程序文件,所述程序文件能够被执行以实现如权利要求1至5任一项所述的智能设备的配网方法,或所述程序文件能够被执行以实现如权利要求6至9任一项所述的智能设备的配网方法。
PCT/CN2020/136259 2020-02-24 2020-12-14 一种智能设备的配网方法及相关装置 WO2021169495A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
SG11202107819S SG11202107819SA (en) 2020-02-24 2020-12-14 Network configuration method for intelligent device and related apparatus
JP2021539967A JP2022524694A (ja) 2020-02-24 2020-12-14 スマート機器のネットワーク配信方法および関連装置
KR1020217023661A KR20210110335A (ko) 2020-02-24 2020-12-14 스마트 기기의 네트워크 구성 방법 및 연관 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010113339.8 2020-02-24
CN202010113339.8A CN111431734A (zh) 2020-02-24 2020-02-24 一种智能设备的配网方法及相关装置

Publications (1)

Publication Number Publication Date
WO2021169495A1 true WO2021169495A1 (zh) 2021-09-02

Family

ID=71547807

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136259 WO2021169495A1 (zh) 2020-02-24 2020-12-14 一种智能设备的配网方法及相关装置

Country Status (6)

Country Link
JP (1) JP2022524694A (zh)
KR (1) KR20210110335A (zh)
CN (1) CN111431734A (zh)
SG (1) SG11202107819SA (zh)
TW (1) TW202132980A (zh)
WO (1) WO2021169495A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040233A (zh) * 2021-11-04 2022-02-11 深圳小湃科技有限公司 投屏服务调整方法、设备及存储介质
CN114077257A (zh) * 2021-11-23 2022-02-22 上海优必杰教育科技有限公司 多足机器人的操控方法、运行方法、操控装置及运行装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111431734A (zh) * 2020-02-24 2020-07-17 上海商汤临港智能科技有限公司 一种智能设备的配网方法及相关装置
CN114666855A (zh) * 2022-04-08 2022-06-24 深圳市欧瑞博科技股份有限公司 网络选择方法、装置、家居设备、存储介质和程序产品
CN114697977B (zh) * 2022-04-12 2024-02-13 合肥美菱物联科技有限公司 一种智能家电配网系统及其方法
CN117336167A (zh) * 2023-11-07 2024-01-02 镇江快智慧创新发展有限公司 一种物联网设备的配网方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040951A (zh) * 2017-05-12 2017-08-11 深圳市悠响声学科技有限公司 自动选择智能设备无线网络配置方式的方法
CN107308657A (zh) * 2017-07-31 2017-11-03 广州网嘉玩具科技开发有限公司 一种新型互动智能玩具系统
CN109218108A (zh) * 2018-10-15 2019-01-15 四川长虹电器股份有限公司 一种基于图片识别的设备配网系统及方法
US20190152065A1 (en) * 2017-11-22 2019-05-23 Shenzhen Xiluo Robot Co., Ltd. Intelligent device system and intelligent device control method
CN110708709A (zh) * 2019-09-18 2020-01-17 深圳拓邦股份有限公司 一种终端联网和绑定方法及系统
CN111431734A (zh) * 2020-02-24 2020-07-17 上海商汤临港智能科技有限公司 一种智能设备的配网方法及相关装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131846A (zh) * 2016-08-30 2016-11-16 广东美的制冷设备有限公司 智能设备的配网方法、系统、智能设备及手持终端
CN107483113A (zh) * 2017-08-23 2017-12-15 谢锋 一种基于手持智能设备的网关配网方法和系统
CN109714782A (zh) * 2017-10-26 2019-05-03 阿里巴巴集团控股有限公司 用于智能设备配网的方法、装置及电子设备
CN109831780B (zh) * 2017-11-23 2021-11-02 宁波方太厨具有限公司 一种智能交互配网方法
CN109451561A (zh) * 2018-10-08 2019-03-08 珠海格力电器股份有限公司 一种智能设备联网的方法和智能联网设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040951A (zh) * 2017-05-12 2017-08-11 深圳市悠响声学科技有限公司 自动选择智能设备无线网络配置方式的方法
CN107308657A (zh) * 2017-07-31 2017-11-03 广州网嘉玩具科技开发有限公司 一种新型互动智能玩具系统
US20190152065A1 (en) * 2017-11-22 2019-05-23 Shenzhen Xiluo Robot Co., Ltd. Intelligent device system and intelligent device control method
CN109218108A (zh) * 2018-10-15 2019-01-15 四川长虹电器股份有限公司 一种基于图片识别的设备配网系统及方法
CN110708709A (zh) * 2019-09-18 2020-01-17 深圳拓邦股份有限公司 一种终端联网和绑定方法及系统
CN111431734A (zh) * 2020-02-24 2020-07-17 上海商汤临港智能科技有限公司 一种智能设备的配网方法及相关装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040233A (zh) * 2021-11-04 2022-02-11 深圳小湃科技有限公司 投屏服务调整方法、设备及存储介质
CN114077257A (zh) * 2021-11-23 2022-02-22 上海优必杰教育科技有限公司 多足机器人的操控方法、运行方法、操控装置及运行装置

Also Published As

Publication number Publication date
CN111431734A (zh) 2020-07-17
SG11202107819SA (en) 2021-10-28
KR20210110335A (ko) 2021-09-07
TW202132980A (zh) 2021-09-01
JP2022524694A (ja) 2022-05-10

Similar Documents

Publication Publication Date Title
WO2021169495A1 (zh) 一种智能设备的配网方法及相关装置
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
US10419822B2 (en) Method, device, and system for switching at a mobile terminal of a smart television and acquiring information at a television terminal
WO2019090902A1 (zh) 屏幕共享的方法、装置、电子设备及存储介质
JP6311078B2 (ja) 端末テスト方法、装置、プログラム及び記録媒体
CN113965799B (zh) 实现有线传屏的方法及装置
US10606367B2 (en) Command relay device, system and method for providing remote assistance/remote control
CN111405042B (zh) 一种电子设备的发现方法、装置、存储介质和电子装置
CN103841466A (zh) 屏幕投影方法、计算机端和移动终端
CN107948567B (zh) Usb有线传屏的方法及装置
CN107948565B (zh) 实现有线传屏的方法及装置
WO2018090720A1 (zh) 实现即插即用传屏的方法及装置
WO2022267635A1 (zh) 用于数据交互的方法和装置
JP2020202548A (ja) 音声デバイス用のネットワーク接続方法、装置及び記憶媒体
US10305888B2 (en) Secure data entry via audio tones
TWI634784B (zh) 數位媒體內容播放轉移的方法及其應用設備
CN104506249A (zh) 实现对无线设备进行网络配置的方法、设备以及无线设备
CN107948569B (zh) 实现有线传屏的方法及装置
US10218816B2 (en) Information processing system, information processing method, server, and control method and control program of server
CN108012167B (zh) 投影服务、请求方法及装置
CN105141732A (zh) 确定用户设备的方法及装置
CN113422833B (zh) 多媒体文件的上传方法、装置、电子设备及可读存储介质
CN111210819B (zh) 信息处理方法、装置和电子设备
US20140086018A1 (en) Soundwave transmission installation method
CN116033471A (zh) 设备测试方法、装置、存储介质及电子装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021539967

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20217023661

Country of ref document: KR

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20922252

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922252

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20922252

Country of ref document: EP

Kind code of ref document: A1