CN113489630A - Network distribution method, device, storage medium and electronic terminal - Google Patents

Network distribution method, device, storage medium and electronic terminal Download PDF

Info

Publication number
CN113489630A
CN113489630A CN202110642509.6A CN202110642509A CN113489630A CN 113489630 A CN113489630 A CN 113489630A CN 202110642509 A CN202110642509 A CN 202110642509A CN 113489630 A CN113489630 A CN 113489630A
Authority
CN
China
Prior art keywords
network
distributed
internet
identification code
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110642509.6A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110642509.6A priority Critical patent/CN113489630A/en
Publication of CN113489630A publication Critical patent/CN113489630A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Structural Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a network distribution method, a network distribution device, a storage medium and an electronic terminal, wherein the network distribution method comprises the following steps: the method comprises the steps of obtaining an identification code of equipment to be distributed, storing the identification code in the identification code of the equipment to be distributed, obtaining a corresponding association code from an Internet of things cloud platform through the identification code, connecting the equipment to be distributed according to the identification code and the association code, and then sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to distribute the network. The user does not need to judge each internet of things device, does not need to manually select the internet of things device needing to be distributed in the application program, and can automatically and accurately distribute the network only by acquiring the identification code of the internet of things device needing to be distributed in the application program, so that the problem of misallocation in the network distribution process of the internet of things device is avoided, the accuracy of the network distribution of the internet of things device is improved, and meanwhile, the length of time for distributing the network is reduced.

Description

Network distribution method, device, storage medium and electronic terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network distribution method, apparatus, storage medium, and electronic terminal.
Background
With the continuous development of the internet of things technology, the internet of things technology is widely applied to various fields, and in the actual application process, an application program needs to be used for distributing networks to internet of things equipment.
If a user only needs to distribute a network to a certain Internet of things device, and the Internet of things devices with the same models are in a network distribution state at the moment, the device models of all the Internet of things devices in the network distribution state can be displayed in an application program, and the device models of the multiple devices are the same, so that the user can not judge which Internet of things device the user wants to distribute the network, usually, one of the Internet of things devices is randomly selected to distribute the network, the selected Internet of things device is not the Internet of things device needing to be distributed by the user, and the network distribution accuracy is low.
Disclosure of Invention
The embodiment of the application provides a network distribution method, a network distribution device, a storage medium and an electronic terminal, which can avoid the problem of misallocation in the network distribution process of Internet of things equipment, improve the accuracy of the network distribution of the Internet of things equipment and reduce the time for the network distribution.
The embodiment of the application provides a network distribution method, which comprises the following steps:
acquiring an identification code of a device to be distributed, wherein the identification code is stored in the identification code of the device to be distributed;
acquiring a corresponding association code from the Internet of things cloud platform through the identification code;
connecting the equipment to be networked according to the identification code and the association code;
and sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
Wherein, the identification code is including setting up treat the two-dimensional code of distribution network equipment, acquire the identification code of treating distribution network equipment, include:
and scanning the two-dimensional code to acquire the identification code in the two-dimensional code.
The identification code comprises a hotspot name of the equipment to be distributed, and the association code comprises a hotspot password of the equipment to be distributed;
the method for acquiring the corresponding association code from the Internet of things cloud platform through the identification code comprises the following steps:
sending the hotspot name to the Internet of things cloud platform;
and receiving the hotspot password returned by the Internet of things cloud platform according to the hotspot name.
The distribution network information includes local area network information, and the distribution network information is sent to the connected equipment to be distributed to indicate the equipment to be distributed to distribute a network, including:
and sending the local area network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to be connected to a specified local area network according to the local area network information.
Wherein the method further comprises:
acquiring a binding code corresponding to the equipment to be networked from the Internet of things cloud platform through the identification code;
and sending the binding code to the equipment to be distributed with the network, and indicating the equipment to be distributed with the network to register on the cloud platform of the Internet of things according to the binding code.
The network distribution method further comprises the following steps:
and receiving a distribution network success message fed back by the equipment to be distributed after the Internet of things cloud platform is successfully registered.
An embodiment of the present application further provides a network distribution device, the network distribution device includes:
the identification code acquisition module is used for acquiring an identification code of equipment to be distributed with a network, and the identification code is stored in the identification code of the equipment to be distributed with the network;
the association code acquisition module is used for acquiring corresponding association codes from the Internet of things cloud platform through the identification codes;
the connection module is used for connecting the equipment to be networked according to the identification code and the association code;
and the distribution network module is used for sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
The identification code comprises a hotspot name of the equipment to be distributed, the association code comprises a hotspot password of the equipment to be distributed, and the association code acquisition module is specifically used for:
sending the hotspot name to the Internet of things cloud platform;
and receiving the hotspot password returned by the Internet of things cloud platform according to the hotspot name.
The embodiment of the application also provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any network distribution method.
The embodiment of the application further provides an electronic terminal, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in any network distribution method.
The embodiment of the application provides a network distribution method, a network distribution device, a storage medium and an electronic terminal, wherein an identification code of a device to be distributed is acquired and stored in an identification code of the device to be distributed, a corresponding association code is acquired from an Internet of things cloud platform through the identification code, the device to be distributed is connected according to the identification code and the association code, and then network distribution information is sent to the connected device to be distributed so as to indicate the device to be distributed to carry out network distribution. The user does not need to judge each internet of things device, does not need to manually select the internet of things device needing to be distributed in the application program, and can automatically and accurately distribute the network only by acquiring the identification code of the internet of things device needing to be distributed in the application program, so that the problem of misallocation in the network distribution process of the internet of things device is avoided, the accuracy of the network distribution of the internet of things device is improved, and meanwhile, the length of time for distributing the network is reduced.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flow diagram of a network distribution method provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a distribution network scene provided in an embodiment of the present application.
Fig. 3 is another schematic flow diagram of a network distribution method provided in the embodiment of the present application.
Fig. 4 is a schematic timing diagram of a network distribution method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a distribution network device provided in an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a distribution network device provided in the embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic terminal according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a network distribution method, a network distribution device, a storage medium and an electronic terminal.
As shown in fig. 1, fig. 1 is a schematic flow chart of a network distribution method provided in an embodiment of the present application, where the network distribution method is applied to an electronic terminal, the electronic terminal may be a smart phone, an iPad, or other device having a smart home application program, and a specific flow may be as follows:
s101, acquiring an identification code of the equipment to be distributed, wherein the identification code is stored in an identification code of the equipment to be distributed.
The equipment to be networked can be the equipment of the internet of things, each piece of equipment of the internet of things has a unique product serial number, a unique identification code can be generated for each piece of equipment of the internet of things according to the product serial number, the identification code can be any character used for marking the corresponding equipment of the internet of things, and preferably, SSID (namely hotspot name) is used as the identification code. The hot spot name can be any form of characters including letters, numbers or symbols, the hot spot name can be composed of 32 characters at most, a unique identification code is generated according to the hot spot name, the identification code is stored in the identification code, the identification code can be any figure, such as a two-dimensional code or a bar code, preferably, the two-dimensional code is selected as the identification code of the equipment in the internet of things, and in the actual application process, the identification code can be directly attached to the surface of the equipment in the internet of things or printed in a product use manual.
Specifically, the user sets up thing networking device into the distribution network state earlier, and after the user used the wisdom house application in the electronic terminal to scan the identification code of thing networking device, the identification code of storage in this identification code can be analyzed out to the electronic terminal.
As shown in fig. 2, a user scans a two-dimensional code 2002 attached to the surface of an intelligent air conditioner on a scanning interface 2001 in an intelligent home application program, and the electronic terminal can obtain a hotspot name stored in the two-dimensional code 2002.
And S102, acquiring a corresponding association code from the Internet of things cloud platform through the identification code.
After the electronic terminal acquires the identification code, the identification code is sent to the Internet of things cloud platform, and after the Internet of things cloud platform receives the identification code, the association code and the binding code corresponding to the identification code are returned to the electronic terminal. When the electronic terminal sends the acquired identification code to the internet of things cloud platform, the electronic terminal also sends a user identification to the internet of things cloud platform together, the user identification is used for logging in a smart home application program in the electronic terminal, and optionally, the user identification can be a user account.
Specifically, after the internet of things cloud platform receives the identification code sent by the electronic terminal, the internet of things cloud platform can be triggered to randomly generate a unique binding code, the binding code can be characters in any form, including letters, numbers or symbols, the generated binding code and the user identification are correspondingly stored in a database in the internet of things cloud platform, and then the binding code is returned to the electronic terminal.
Further, the binding code can be used for marking the distribution network process, the internet of things cloud platform correspondingly stores the binding code and the marked distribution network process, and subsequently, the binding code can be used for inquiring data generated in the marked distribution network process. For example, a user currently performs a first distribution network for one piece of internet of things equipment, after the internet of things cloud platform receives an identification code sent by an electronic terminal, the internet of things cloud platform randomly generates a binding code 123A and feeds the binding code 123A back to the electronic terminal, the binding code 123A is used for marking a first distribution network process of the internet of things equipment, if the distribution network fails due to some emergency (for example, network interruption), the user can use the electronic terminal to send the binding code 123A to the internet of things cloud platform, query data in the distribution network process corresponding to the binding code 123A, and can analyze the reason of the distribution network failure.
Further, the identification code may be a hotspot name of the device to be connected to the network, and the association code may be a hotspot password of the device to be connected to the network, where the step S102 specifically includes:
sending the hotspot name to an Internet of things cloud platform;
and receiving a hotspot password returned by the Internet of things cloud platform according to the hotspot name.
The database of the Internet of things cloud platform stores hotspot names and hotspot passwords of all Internet of things devices in a one-to-one correspondence manner in advance, and when the Internet of things cloud platform receives the hotspot names sent by the electronic terminal, the database is inquired about the hotspot passwords corresponding to the hotspot names, and the hotspot passwords are returned to the electronic terminal.
And S103, connecting the equipment to be configured with the network according to the identification code and the association code.
After the electronic terminal acquires the hotspot password returned by the cloud platform of the internet of things, the WIFI connection can be established with the equipment of the internet of things by using the hotspot name and the hotspot password so that the subsequent electronic terminal can communicate with the equipment of the internet of things.
And S104, sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
The distribution network refers to a process of connecting the internet of things equipment to the local area network. The distribution network information comprises local area network information, the local area network information comprises a WIFI name and a WIFI password of the router, and the Internet of things equipment can establish WIFI connection with the router by using the WIFI name and the WIFI password so as to be connected to the local area network, so that the distribution network is completed.
Further, after the step S104, the method may further include:
and indicating the devices to be connected in the network to be connected to register on the Internet of things cloud platform.
After the internet of things equipment completes the network distribution, the internet of things equipment needs to be registered on the internet of things cloud platform, and after the registration is completed, the internet of things cloud platform can accurately forward the received control instruction sent by the electronic terminal to the corresponding internet of things equipment so that the internet of things equipment executes corresponding operation according to the control instruction, and therefore the control over the internet of things equipment is achieved. Optionally, the internet of things cloud platform may further send a message that the internet of things device succeeds in network distribution to the electronic terminal, so as to prompt the user that the internet of things device has successfully completed network distribution.
Specifically, the electronic terminal sends the binding code to the internet of things device, the internet of things device sends the binding code and the device identification of the internet of things device to the connected router together, the router forwards the binding code and the device identification to the internet of things cloud platform, the internet of things cloud platform queries the user identification corresponding to the binding code in the database, then binds the device identification and the user identification and stores the user identification into the database, at the moment, the registration of the internet of things device on the internet of things cloud platform is completed, and the user can control the internet of things device. For example, a smart home application in the electronic terminal is used to send a power-on instruction to the smart air conditioner, and the smart device turns on the power supply after receiving the power-on instruction.
As shown in fig. 3 and 4, fig. 3 is another schematic flow diagram of the network distribution method provided in the embodiment of the present application, and fig. 4 is a schematic timing diagram of the network distribution method provided in the embodiment of the present application, and the specific flow may be as follows:
the user firstly uses the smart home application program (APP in fig. 4) in the electronic terminal to reset the internet of things device (IOT device in fig. 4), so that the internet of things device enters the distribution network state.
S201, acquiring an identification code of the equipment to be distributed, wherein the identification code is stored in an identification code of the equipment to be distributed.
The user uses the smart home application program in the electronic terminal to scan the two-dimensional code of the internet of things device so as to analyze the identification code of the internet of things device (i.e., ssid in fig. 4).
For example, as shown in fig. 2, a user scans a two-dimensional code 2002 attached to the surface of the smart air conditioner by using a scanning interface 2001 of the smart home application through the electronic terminal, so as to obtain a hotspot name znkt123 of the smart air conditioner.
S202, sending an identification code to the Internet of things cloud platform, wherein the identification code comprises a hotspot name of the equipment to be distributed.
After the electronic terminal acquires the hotspot name of the internet of things device, the electronic terminal sends the hotspot name to an internet of things cloud platform (i.e., an IOT cloud in fig. 4), and meanwhile, sends a user identifier to the internet of things cloud platform.
For example, after acquiring the hotspot name znkt123 of the intelligent air conditioner, the electronic terminal sends the hotspot name znkt123 and the user identifier AAA to the internet of things cloud platform.
S203, receiving an association code returned by the Internet of things cloud platform according to the hotspot name, wherein the association code comprises a hotspot password, and connecting to the equipment to be networked according to the hotspot name and the hotspot password.
After receiving the hotspot name, the internet of things cloud platform queries a hotspot password corresponding to the hotspot name in a database, randomly generates a binding code (i.e., bindcode in fig. 4), correspondingly stores the binding code and the user identifier in the database, and then sends the hotspot password and the binding code to the electronic terminal, so that the electronic terminal can establish connection with the internet of things device by using the hotspot password and the hotspot name.
For example, after receiving a session request containing a hotspot name znkt123 and a user identifier AAA, the internet of things cloud platform randomly generates a binding code U3kl, correspondingly stores the binding code U3kl and the user identifier AAA in a database, inquires that a hotspot password corresponding to the hotspot name znkt123 is 233333 in the database, and sends the binding code U3kl and the hotspot password 233333 to the electronic terminal, so that the electronic terminal can establish a WIFI connection with the intelligent air conditioner by using the hotspot password 233333.
And S204, sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
The distribution network information comprises a router WIFI account and a WIFI password, the electronic terminal sends the binding code, the WIFI account of the router and the WIFI password to the Internet of things equipment together, and the Internet of things equipment is connected with the router by using the WIFI account and the WIFI password so as to be connected to the local area network, and therefore the distribution network is completed.
For example, the electronic terminal sends the binding code U3kl, the WIFI name wfmc9 and the WIFI password 111111 to the intelligent air conditioner together, and the intelligent air conditioner establishes WIFI connection with the router by using the WIFI name wfmc9 and the WIFI password 111111 to complete the distribution network.
S205, indicating the devices to be connected with the network, which are connected with the network, to register on the Internet of things cloud platform.
The electronic terminal sends the equipment identifier and the binding code of the Internet of things equipment to the router, the router sends the equipment identifier and the binding code to the Internet of things cloud platform together, the Internet of things cloud platform immediately inquires the user identifier corresponding to the binding code in the database, and the equipment identifier and the user identifier are bound to complete registration of the Internet of things equipment on the Internet of things cloud platform.
For example, the electronic terminal sends the binding code U3kl and the device identifier 8989 of the intelligent air conditioner to the router, the router sends the association code U3kl and the device identifier 8989 to the internet of things cloud platform together, then the internet of things cloud platform queries the user identifier AAA corresponding to the association code U3kl in the database, and binds the device identifier 8989 and the user identifier AAA to complete registration of the intelligent air conditioner on the internet of things cloud platform.
S206, receiving a distribution network success message fed back by the Internet of things cloud platform after the Internet of things equipment is successfully registered.
After the internet of things equipment successfully completes the network distribution, the internet of things cloud platform sends a push message of successful network distribution to the electronic terminal so as to inform a user that the internet of things equipment has successfully distributed the network.
For example, as shown in fig. 2, after the smart air conditioner is successfully registered on the internet of things cloud platform, the internet of things cloud platform sends a message prompt 2004 that the smart air conditioner has completed distribution of the network to the electronic terminal, and the message prompt 2004 is displayed on a graphical user interface 2003 of the smart home application.
According to the network distribution method, firstly, the identification code of the equipment to be distributed is obtained and stored in the identification code of the equipment to be distributed, the corresponding association code is obtained from the identification code to the cloud platform of the internet of things, the equipment to be distributed is connected according to the identification code and the association code, and then the network distribution information is sent to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out network distribution. The user does not need to judge each internet of things device, does not need to manually select the internet of things device needing to be distributed in the application program, and can automatically and accurately distribute the network only by acquiring the identification code of the internet of things device needing to be distributed in the application program, so that the problem of misallocation in the network distribution process of the internet of things device is avoided, the accuracy of the network distribution of the internet of things device is improved, and meanwhile, the length of time for distributing the network is reduced.
According to the method described in the foregoing embodiment, the present embodiment will be further described from the perspective of a network distribution device, which may be specifically implemented as an independent entity or integrated in an electronic terminal, where the electronic terminal may be a smart phone, an iPad, or other device having an intelligent home application program.
Referring to fig. 5, fig. 5 specifically describes a distribution network device provided in the embodiment of the present application, where the distribution network device may include: identification code acquisition module 10, association code acquisition module 20, connection module 30 and distribution network module 40, wherein:
(1) identification code acquisition module 10
The identification code acquisition module 10 is configured to acquire an identification code of the device to be networked, where the identification code is stored in an identification code of the device to be networked, and the identification code includes a two-dimensional code set in the device to be networked.
(2) Association code acquisition module 20
The association code obtaining module 20 is configured to obtain a corresponding association code from the internet of things cloud platform through the identification code, and also obtain a binding code corresponding to the device to be networked.
(3) Connection module 30
And the connection module 30 is used for connecting the equipment to be networked according to the identification code and the association code.
(4) Distribution network module 40
And the distribution network module 40 is configured to send distribution network information to the connected device to be distributed, so as to indicate the device to be distributed to perform distribution network.
The identification code acquisition module 10 is also configured to:
and scanning the two-dimensional code to obtain an identification code in the two-dimensional code, wherein the identification code comprises a hotspot name of the equipment to be distributed.
The association code obtaining module 20 is further configured to:
sending the identification code to the Internet of things cloud platform;
and receiving an association code returned by the Internet of things cloud platform according to the identification code, wherein the association code comprises a hotspot password of the equipment to be networked.
Distribution network module 40 is also configured to:
and sending local area network information to the connected equipment to be distributed to indicate the equipment to be distributed to be connected to the appointed local area network according to the local area network information.
As shown in fig. 6, fig. 6 is another schematic structural diagram of a distribution network device provided in the embodiment of the present application, where the device further includes a registration module 50 and an information receiving module 60.
The registration module 50 is configured to send the binding code to a device to be networked of the networked network, so that the device to be networked forwards the binding code to the internet of things cloud platform, and registers on the internet of things cloud platform according to the binding code.
The information receiving module 60 is configured to receive a distribution network success message fed back by the device to be distributed after the device is successfully registered on the internet of things cloud platform.
According to the distribution network device, the identification code of the equipment to be distributed is firstly acquired and stored in the identification code of the equipment to be distributed, the corresponding association code is acquired from the cloud platform of the internet of things through the identification code, the equipment to be distributed is connected according to the identification code and the association code, and then distribution network information is sent to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network. The user does not need to judge each internet of things device, does not need to manually select the internet of things device needing to be distributed in the application program, and can automatically and accurately distribute the network only by acquiring the identification code of the internet of things device needing to be distributed in the application program, so that the problem of misallocation in the network distribution process of the internet of things device is avoided, the accuracy of the network distribution of the internet of things device is improved, and meanwhile, the length of time for distributing the network is reduced.
Correspondingly, the embodiment of the invention also provides a distribution network system which comprises any one of the distribution network devices provided by the embodiment of the invention, and the distribution network device can be integrated in the electronic terminal.
Scanning an identification code of the Internet of things equipment to send a session request of the Internet of things equipment to an Internet of things cloud platform; receiving an association code returned by the Internet of things cloud platform according to the session request; and sending the association code to the Internet of things equipment, so that the Internet of things equipment is registered on the Internet of things cloud platform according to the association code, and a network distribution of the Internet of things equipment is realized.
The specific implementation of each device can be referred to the previous embodiment, and is not described herein again.
As the distribution network system may include any distribution network device provided in the embodiment of the present invention, the beneficial effects that can be achieved by any distribution network device provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiment and will not be described herein again.
In addition, the embodiment of the application further provides an electronic terminal, and the electronic terminal can be a smart phone, an iPad and other devices with smart home application programs. As shown in fig. 7, the electronic terminal 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the electronic terminal 200, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and processes data by running or loading an application stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the electronic terminal.
In this embodiment, the processor 201 in the electronic terminal 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, thereby implementing various functions:
acquiring an identification code of the equipment to be distributed, wherein the identification code is stored in the identification code of the equipment to be distributed;
acquiring a corresponding association code from the Internet of things cloud platform through the identification code;
connecting the equipment to be networked according to the identification code and the association code;
and sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
Fig. 8 is a specific structural block diagram of an electronic terminal provided in an embodiment of the present invention, where the electronic terminal may be used to implement the network distribution method provided in the foregoing embodiment. The electronic terminal 300 may be a smart phone, an iPad, or other device having an intelligent home application.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave Access for micro), wimax-1, other suitable short message protocols, and any other suitable Protocol for instant messaging, and may even include those protocols that have not yet been developed.
The memory 320 may be used to store software programs and modules, such as program instructions/modules for converting the detection signal into the target character in the above-mentioned embodiment, and the processor 380 executes various functional applications and data processing, i.e., functions for storing 5G capability information, by running the software programs and modules stored in the memory 320. The memory 320 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 320 may further include memory located remotely from the processor 380, which may be connected to the electronic terminal 300 via 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 input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 8, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The electronic terminal 300 may also include at least one sensor 350, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the electronic terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the electronic terminal 300, detailed descriptions thereof are omitted.
The audio circuit 360, speaker 361, microphone 362 may provide an audio interface between a user and the electronic terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the electronic terminal 300.
The electronic terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 8 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the electronic terminal 300, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 380 is a control center of the electronic terminal 300, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The electronic terminal 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the electronic terminal is a touch screen display, the electronic terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring an identification code of the equipment to be distributed, wherein the identification code is stored in the identification code of the equipment to be distributed;
acquiring a corresponding association code from the Internet of things cloud platform through the identification code;
connecting the equipment to be networked according to the identification code and the association code;
and sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any network distribution method provided by the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any network distribution method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any network distribution method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. A network distribution method is characterized by comprising the following steps:
acquiring an identification code of a device to be distributed, wherein the identification code is stored in the identification code of the device to be distributed;
acquiring a corresponding association code from the Internet of things cloud platform through the identification code;
connecting the equipment to be networked according to the identification code and the association code;
and sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
2. The network distribution method according to claim 1, wherein the identification code comprises a two-dimensional code arranged on the device to be distributed, and the acquiring the identification code of the device to be distributed comprises:
and scanning the two-dimensional code to acquire the identification code in the two-dimensional code.
3. The network distribution method according to claim 1, wherein the identification code comprises a hotspot name of the device to be distributed, and the association code comprises a hotspot password of the device to be distributed;
the method for acquiring the corresponding association code from the Internet of things cloud platform through the identification code comprises the following steps:
sending the hotspot name to the Internet of things cloud platform;
and receiving the hotspot password returned by the Internet of things cloud platform according to the hotspot name.
4. The network distribution method according to claim 1, wherein the network distribution information includes local area network information, and the sending of the network distribution information to the connected device to be distributed to instruct the device to be distributed to perform network distribution comprises:
and sending the local area network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to be connected to a specified local area network according to the local area network information.
5. The distribution network method of claim 1, further comprising:
acquiring a binding code corresponding to the equipment to be networked from the Internet of things cloud platform through the identification code;
and sending the binding code to the equipment to be distributed with the network, and indicating the equipment to be distributed with the network to register on the cloud platform of the Internet of things according to the binding code.
6. The network distribution method of claim 1, further comprising:
and receiving a distribution network success message fed back by the equipment to be distributed after the Internet of things cloud platform is successfully registered.
7. A network-distribution apparatus, the network-distribution apparatus comprising:
the identification code acquisition module is used for acquiring an identification code of equipment to be distributed with a network, and the identification code is stored in the identification code of the equipment to be distributed with the network;
the association code acquisition module is used for acquiring corresponding association codes from the Internet of things cloud platform through the identification codes;
the connection module is used for connecting the equipment to be networked according to the identification code and the association code;
and the distribution network module is used for sending distribution network information to the connected equipment to be distributed so as to indicate the equipment to be distributed to carry out distribution network.
8. The network distribution apparatus of claim 7, wherein the identification code includes a hotspot name of the device to be distributed, the association code includes a hotspot password of the device to be distributed, and the association code obtaining module is specifically configured to:
sending the hotspot name to the Internet of things cloud platform;
and receiving the hotspot password returned by the Internet of things cloud platform according to the hotspot name.
9. A computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the network distribution method of any of claims 1 to 6.
10. An electronic terminal, comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps in the network-distribution method of any of claims 1 to 6.
CN202110642509.6A 2021-06-09 2021-06-09 Network distribution method, device, storage medium and electronic terminal Pending CN113489630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110642509.6A CN113489630A (en) 2021-06-09 2021-06-09 Network distribution method, device, storage medium and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110642509.6A CN113489630A (en) 2021-06-09 2021-06-09 Network distribution method, device, storage medium and electronic terminal

Publications (1)

Publication Number Publication Date
CN113489630A true CN113489630A (en) 2021-10-08

Family

ID=77935029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110642509.6A Pending CN113489630A (en) 2021-06-09 2021-06-09 Network distribution method, device, storage medium and electronic terminal

Country Status (1)

Country Link
CN (1) CN113489630A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189861A (en) * 2021-11-24 2022-03-15 阿里巴巴(中国)有限公司 Wireless network connection method, device and system
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
WO2023197610A1 (en) * 2022-04-13 2023-10-19 中移物联网有限公司 Network distribution method and apparatus for dual-mode internet-of-things device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650516A (en) * 2019-09-23 2020-01-03 芯海科技(深圳)股份有限公司 Network distribution method and device, Internet of things equipment, terminal equipment and storage medium
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
CN111163500A (en) * 2020-01-10 2020-05-15 广东科徕尼智能科技有限公司 Two-dimensional code-based network distribution method and system for Internet of things equipment
CN111565137A (en) * 2020-04-28 2020-08-21 北京芯创睿胜科技有限公司 System and method for binding WiFi distribution network and equipment
WO2021003816A1 (en) * 2019-07-05 2021-01-14 杭州博联智能科技股份有限公司 Method for authenticating iot device is bound to user, device and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
WO2021003816A1 (en) * 2019-07-05 2021-01-14 杭州博联智能科技股份有限公司 Method for authenticating iot device is bound to user, device and medium
CN110650516A (en) * 2019-09-23 2020-01-03 芯海科技(深圳)股份有限公司 Network distribution method and device, Internet of things equipment, terminal equipment and storage medium
CN111163500A (en) * 2020-01-10 2020-05-15 广东科徕尼智能科技有限公司 Two-dimensional code-based network distribution method and system for Internet of things equipment
CN111565137A (en) * 2020-04-28 2020-08-21 北京芯创睿胜科技有限公司 System and method for binding WiFi distribution network and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189861A (en) * 2021-11-24 2022-03-15 阿里巴巴(中国)有限公司 Wireless network connection method, device and system
CN114189861B (en) * 2021-11-24 2023-10-20 阿里巴巴(中国)有限公司 Wireless network connection method, device and system
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
CN114666255B (en) * 2022-03-16 2024-04-05 京东科技信息技术有限公司 Method for testing network distribution performance of Internet of things equipment and related equipment thereof
WO2023197610A1 (en) * 2022-04-13 2023-10-19 中移物联网有限公司 Network distribution method and apparatus for dual-mode internet-of-things device, and storage medium

Similar Documents

Publication Publication Date Title
CN107094294B (en) Network connection method and device
CN108040091B (en) Data processing method, device and storage medium
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
CN108668328B (en) Network switching method and mobile terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN106162811B (en) Method and device for establishing network connection
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
CN106020945B (en) Shortcut item adding method and device
CN107317828B (en) File downloading method and device
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN106470234B (en) Equipment discovery method and device
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN106507357B (en) Access control method and terminal equipment
CN108234275B (en) Method and device for releasing communication information
CN106330875B (en) Message display method and device
CN111615101B (en) IMS registration method, device, storage medium and electronic terminal
CN113613310A (en) WIFI connection method and device, storage medium and mobile terminal
CN114518718A (en) Device control method, device, storage medium and electronic device
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN106879046B (en) Network scanning method and terminal equipment
CN112214699A (en) Page processing method and related device
CN110110549B (en) Information processing method, device, terminal and storage medium
CN114501449B (en) Information query method, device, electronic equipment and storage medium
CN111405649B (en) Information transmission method and device and mobile terminal
CN106033358B (en) Batch installation method and device of application programs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211008

RJ01 Rejection of invention patent application after publication