CN112752245A - Network distribution method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN112752245A
CN112752245A CN202011459602.5A CN202011459602A CN112752245A CN 112752245 A CN112752245 A CN 112752245A CN 202011459602 A CN202011459602 A CN 202011459602A CN 112752245 A CN112752245 A CN 112752245A
Authority
CN
China
Prior art keywords
internet
mobile terminal
distribution network
things equipment
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011459602.5A
Other languages
Chinese (zh)
Other versions
CN112752245B (en
Inventor
秦冰华
王轶丹
崔宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ubtech Technology Co ltd
Original Assignee
Shenzhen Ubtech 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 Ubtech Technology Co ltd filed Critical Shenzhen Ubtech Technology Co ltd
Priority to CN202011459602.5A priority Critical patent/CN112752245B/en
Publication of CN112752245A publication Critical patent/CN112752245A/en
Application granted granted Critical
Publication of CN112752245B publication Critical patent/CN112752245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The invention discloses a network distribution method, a network distribution device, electronic equipment and a storage medium; the method comprises the following steps: the method comprises the steps that the Internet of things equipment establishes Internet connection with a mobile terminal based on an AP with a preset name established on the mobile terminal in advance; based on the internet connection established with the mobile terminal, sending a distribution network request to the cloud server through the mobile terminal, wherein the distribution network request at least comprises a unique identification code of the internet of things equipment; the WIFI distribution network information returned by the cloud server is received through the mobile terminal based on the internet connection established with the mobile terminal; and establishing internet connection with the cloud server by using the WIFI distribution network information. The embodiment of the application can provide a more convenient and faster network distribution mode for users, and is more convenient for users to use.

Description

Network distribution method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to a network distribution method, a network distribution device, electronic equipment and a storage medium.
Background
The existing internet of things equipment in a family needs to be distributed with networks, and the current three major network distribution technologies are respectively as follows: 1) A Wireless Access Point (AP) distribution network: the device hot spot distribution network comprises a device hot spot distribution network, intelligent hardware is in an AP mode (similar to a router and forming a local area network), a mobile phone is used for forming the local area network after an STA mode mobile phone is connected to the intelligent hardware in the AP mode, the mobile phone sends a Service Set Identifier (SSID) and a password (pwd) which need to be connected with a route and some self-defined information to the intelligent hardware, and after the intelligent hardware receives the information, the corresponding router is found to be actively connected with the router, so that the distribution network is completed. 2) The bluetooth is joined in marriage the net: the mobile phone and the intelligent device establish Bluetooth communication through Bluetooth configuration, the mobile phone sends an SSID and a password to the intelligent device, and the intelligent device is connected with the SSID. 3) One-key configuration (SmartConfig) distribution network: the method is characterized in that the method is called an intelligent distribution network, a rapid distribution network and a simple distribution network, intelligent hardware is in a hybrid mode, all messages in the network are monitored, an air interface packet is captured, an Application program (APP) in a mobile phone encodes SSID, pwd and some self-defined information according to a certain Protocol format, the SSID, the pwd and some self-defined information are sent through a broadcast packet or a multicast packet according to the message format of a User Datagram Protocol (UDP), the intelligent hardware receives the UDP messages and then decodes the UDP messages to obtain correct SSID, pwd and self-defined information, then a corresponding router is found to be actively connected with the router, and the distribution network is completed.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in a traditional distribution network mode, an AP hotspot is established through Internet of things equipment, then a mobile terminal is connected with the AP hotspot, and local area network communication is established, so that distribution network is completed. The existing distribution network mode needs to obtain an account number and a password in advance, and is very inconvenient for users to use.
Disclosure of Invention
The invention provides a network distribution method, a network distribution device, electronic equipment and a storage medium, which can provide a more convenient and faster network distribution mode for users and are more convenient for the users to use.
In a first aspect, an embodiment of the present invention provides a network distribution method, which is applied to an internet of things device, and the method includes:
establishing internet connection with a mobile terminal based on an AP with a preset name established on the mobile terminal in advance;
based on the internet connection established with the mobile terminal, sending a network distribution request to a cloud server through the mobile terminal, wherein the network distribution request at least comprises a unique identification code of the internet of things equipment;
receiving WIFI distribution network information returned by the cloud server through the mobile terminal based on the internet connection established with the mobile terminal;
and establishing internet connection with the cloud server by using the WIFI distribution network information.
In a second aspect, an embodiment of the present invention further provides a network distribution method, which is applied to a mobile terminal, and the method includes:
establishing internet connection with the Internet of things equipment based on the AP with the preset name established on the mobile terminal in advance;
receiving a network configuration request sent by the Internet of things equipment based on the Internet connection established with the Internet of things equipment; sending the distribution network request to a cloud server; the distribution network request comprises a unique identification code of the Internet of things equipment;
receiving WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection.
In a third aspect, an embodiment of the present invention further provides a network distribution device, where the device includes: the device comprises a first connecting module, a first sending module and a first receiving module; wherein,
the first connection module is used for establishing internet connection with the mobile terminal based on an AP with a preset name established on the mobile terminal in advance;
the first sending module is used for sending a distribution network request to a cloud server through the mobile terminal based on the internet connection established with the mobile terminal, wherein the distribution network request at least comprises the unique identification code of the internet-of-things equipment;
the first receiving module is used for receiving WIFI distribution network information returned by the cloud server through the mobile terminal based on the internet connection established with the mobile terminal;
the first connection module is further used for establishing interconnection network connection with the cloud server by using the WIFI distribution network information.
In a fourth aspect, an embodiment of the present invention further provides a network distribution device, where the device includes: the second connection module, the second receiving module and the second sending module; wherein,
the second connection module is used for establishing internet connection with the internet of things equipment based on the AP with the preset name established on the mobile terminal in advance;
the second receiving module is used for receiving a distribution network request sent by the internet of things equipment based on the internet connection established with the internet of things equipment; sending the distribution network request to a cloud server; the distribution network request comprises a unique identification code of the Internet of things equipment;
the second sending module is used for receiving WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the network distribution method according to any embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the network distribution method according to any embodiment of the present invention is implemented.
The embodiment of the invention provides a network distribution method, a network distribution device, electronic equipment and a storage medium, wherein the Internet of things equipment is firstly connected with a mobile terminal through an Internet based on an AP with a preset name, which is established on the mobile terminal in advance; then, based on the internet connection established with the mobile terminal, sending a network distribution request to a cloud server through the mobile terminal, wherein the network distribution request at least comprises a unique identification code of the internet of things equipment; then, based on the internet connection established with the mobile terminal, the WIFI distribution network information returned by the cloud server is received through the mobile terminal; and finally, establishing internet connection with the cloud server by using the WIFI distribution network information. That is to say, in the technical scheme of the invention, the internet of things equipment can acquire the WIFI distribution network information from the cloud server through the mobile terminal based on the internet connection established with the mobile terminal, so that the internet connection can be established with the cloud server by using the acquired WIFI distribution network information. In the prior art, the traditional network distribution mode is that an AP hotspot is established through internet of things equipment, and then a mobile terminal is connected to the AP hotspot to establish local area network communication, so as to complete network distribution. The existing distribution network mode needs to acquire account numbers and passwords in advance, and is very inconvenient for users to use. Therefore, compared with the prior art, the network distribution method, the network distribution device, the electronic equipment and the storage medium provided by the embodiment of the invention can provide a more convenient and faster network distribution mode for users, and are more convenient for the users to use; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Drawings
Fig. 1 is a schematic flow chart of a network distribution method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a network distribution method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a distribution network device according to a third embodiment of the present invention;
fig. 4 is a structural diagram of a distribution network device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It is to be further noted that, for the convenience of description, only a part of the structure relating to the present invention is shown in the drawings, not the whole structure.
Example one
Fig. 1 is a schematic flow chart of a network distribution method according to an embodiment of the present invention. As shown in fig. 1, the network distribution method may include the following steps:
step 101, establishing an internet connection with a mobile terminal based on an AP with a preset name established on the mobile terminal in advance.
In this step, the electronic device may establish an internet connection with the mobile terminal based on the AP of the preset name established in advance on the mobile terminal. Specifically, 1) download APP: the user can download the customized mobile terminal application in the invention at the mobile terminal; 2) account registration login: a user registers or directly logs in an account; 3) equipment registration: the user inputs the equipment information of the Internet of things equipment into the APP, and the equipment information of the Internet of things equipment is uploaded to the cloud server through the APP; 4) uploading WIFI distribution network information: the WIFI distribution network information such as SSID, passwords, encryption types and the like is associated to the Internet of things equipment and uploaded to the cloud server; 5) and the user establishes an AP with a preset name on the mobile terminal according to the prompt, and the AP has no encryption mode.
102, sending a distribution network request to a cloud server through the mobile terminal based on the internet connection established with the mobile terminal, wherein the distribution network request at least comprises a unique identification code of the internet of things equipment.
In this step, the internet of things device may send a distribution network request to the cloud server through the mobile terminal based on the internet connection established with the mobile terminal, where the distribution network request at least includes a unique identification code of the internet of things device. Specifically, under the condition that it is ensured that the AP on the mobile terminal is connected, the user triggers a distribution network process of the internet of things device, at this time, the user may press a specific key or long press a preset key (power key), and the like, and the internet of things device may actively connect the AP with the preset name, thereby establishing internet connection with the mobile terminal. After the internet connection with the mobile terminal is established, the internet of things equipment can send a network distribution request to the cloud server through the mobile terminal, and the cloud server finds the user account and the WIFI network distribution information bound to the internet of things equipment through the equipment unique identification code carried in the network distribution request and returns the user account and the WIFI network distribution information to the internet of things equipment.
And 103, receiving WIFI distribution network information returned by the cloud server through the mobile terminal based on the internet connection established with the mobile terminal.
In this step, the internet of things device may receive, through the mobile terminal, WIFI distribution network information returned by the cloud server based on the internet connection established with the mobile terminal. Specifically, the mobile terminal can receive WIFI distribution network information returned by the cloud server; and returning the WIFI network distribution information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI network distribution information is connected with the cloud server through the Internet.
And 104, establishing internet connection with the cloud server by using the WIFI distribution network information.
According to the network distribution method provided by the embodiment of the invention, the Internet of things equipment establishes Internet connection with the mobile terminal based on the AP with the preset name established on the mobile terminal in advance; then, based on the interconnection connection established with the mobile terminal, sending a distribution network request to the cloud server through the mobile terminal, wherein the distribution network request at least comprises a unique identification code of the Internet of things equipment; then, based on the internet connection established with the mobile terminal, the WIFI distribution network information returned by the cloud server is received through the mobile terminal; and finally, establishing internet connection with the cloud server by using the WIFI distribution network information. That is to say, in the technical scheme of the invention, the internet of things equipment can acquire the WIFI distribution network information from the cloud server through the mobile terminal based on the internet connection established with the mobile terminal, so that the internet connection can be established with the cloud server by using the acquired WIFI distribution network information. In the prior art, the traditional network distribution mode is that an AP hotspot is established through internet of things equipment, and then a mobile terminal is connected with the AP hotspot to establish local area network communication, so as to complete network distribution. The existing distribution network mode needs to acquire account numbers and passwords in advance, and is very inconvenient for users to use. Therefore, compared with the prior art, the network distribution method, the network distribution device, the electronic equipment and the storage medium provided by the embodiment of the invention can provide a more convenient and faster network distribution mode for users, and are more convenient for the users to use; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example two
Fig. 2 is a schematic flow chart of a network distribution method according to a second embodiment of the present invention. As shown in fig. 2, the network distribution method may include the following steps:
step 201, establishing internet connection with the internet of things device based on the preset name AP established on the mobile terminal in advance.
In this step, the mobile terminal may establish an internet connection with the internet of things device based on the AP with the preset name established in advance on the mobile terminal. Specifically, 1) download APP: the user can download the customized mobile terminal application of the invention at the mobile terminal; 2) account registration login: a user registers or directly logs in an account; 3) equipment registration: the user inputs the equipment information of the Internet of things equipment into the APP, and the equipment information of the Internet of things equipment is uploaded to the cloud server through the APP; 4) uploading WIFI distribution network information: the WIFI distribution network information such as SSID, passwords, encryption types and the like is associated to the Internet of things equipment and uploaded to the cloud server; 5) and the user establishes an AP with a preset name on the mobile terminal according to the prompt, and the AP has no encryption mode.
Step 202, receiving a distribution network request sent by the Internet of things equipment based on Internet connection established with the Internet of things equipment; sending the distribution network request to a cloud server; the distribution network request comprises a unique identification code of the Internet of things equipment.
In this step, the mobile terminal may receive a network distribution request sent by the internet of things device based on the internet connection established with the internet of things device; sending the distribution network request to a cloud server; the distribution network request comprises the unique identification code of the Internet of things equipment. Specifically, under the condition that it is ensured that the AP on the mobile terminal is connected, the user triggers the network distribution process of the internet of things device, at this time, the user may press a specific key or press a preset key (power key) for a long time, and the like, and the internet of things device will actively connect with the AP with the preset name, so as to establish internet connection with the mobile terminal. After the internet connection with the mobile terminal is established, the internet of things equipment can send a network distribution request to the cloud server through the mobile terminal, and the cloud server finds a user account and WIFI network distribution information bound with the internet of things equipment through the equipment unique identification code carried in the network distribution request and returns the user account and the WIFI network distribution information to the internet of things equipment; after the Internet of things equipment acquires the WIFI distribution network information, the Internet of things equipment is actively connected with the cloud server, so that the distribution network is completed.
Preferably, in a specific embodiment of the present application, before the mobile terminal establishes an internet connection with the internet of things device based on an AP with a preset name established in advance on the mobile terminal, the mobile terminal may further enter device information of the internet of things device into a pre-downloaded APP; and uploading the equipment information of the Internet of things equipment and the WIFI distribution network information of the Internet of things equipment to a cloud server through the APP. Specifically, the device information of the internet of things device includes but is not limited to: device name, device model, Media Access Control (MAC) address, unique identification code; the WIFI distribution network information of the internet of things device includes but is not limited to: service set identifier SSID, password, encryption type.
Step 203, receiving WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection.
In this step, the mobile terminal may receive WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection. In a specific embodiment of the present application, the internet of things device is pre-registered: binding and registering the equipment information and the WIFI distribution network information (SSID and password) in a user account of the cloud server; the device information may include a string of unique device identification codes, in addition to the conventional information such as device name, device model, MAC address, etc. And then the Internet of things equipment can establish Internet communication with the mobile terminal through the AP established on the mobile terminal, and obtain the SSID and the password of the WIFI from the cloud server according to the pre-registered equipment information. The invention combines the Internet of things distribution network and the cloud, and provides a convenient and fast distribution network mode for users. The Internet of things equipment is bound with the user account, so that even if the Internet of things equipment is switched with a network, the equipment does not need to be added repeatedly; moreover, even if the internet of things equipment restores factory settings, the user only needs to do: an encryption-free AP is established, and the Internet of things equipment can be configured with a network. In addition, if the WIFI password needs to be modified, only the new WIFI password needs to be updated to the cloud server synchronously, and after the Internet of things equipment acquires the new WIFI password, the Internet of things equipment is reconnected.
According to the network distribution method provided by the embodiment of the invention, the Internet of things equipment establishes Internet connection with the mobile terminal based on the AP with the preset name established on the mobile terminal in advance; then, based on the interconnection connection established with the mobile terminal, sending a distribution network request to the cloud server through the mobile terminal, wherein the distribution network request at least comprises a unique identification code of the Internet of things equipment; then, based on the internet connection established with the mobile terminal, the WIFI distribution network information returned by the cloud server is received through the mobile terminal; and finally, establishing internet connection with the cloud server by using the WIFI distribution network information. That is to say, in the technical scheme of the invention, the internet of things equipment can acquire the WIFI distribution network information from the cloud server through the mobile terminal based on the internet connection established with the mobile terminal, so that the internet connection can be established with the cloud server by using the acquired WIFI distribution network information. In the prior art, the traditional network distribution mode is that an AP hotspot is established through internet of things equipment, and then a mobile terminal is connected with the AP hotspot to establish local area network communication, so as to complete network distribution. The existing distribution network mode needs to acquire account numbers and passwords in advance, and is very inconvenient for users to use. Therefore, compared with the prior art, the network distribution method, the network distribution device, the electronic equipment and the storage medium provided by the embodiment of the invention can provide a more convenient and faster network distribution mode for users, and are more convenient for the users to use; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a distribution network device according to a third embodiment of the present invention. As shown in fig. 3, the distribution network apparatus may include: a first connection module 301, a first transmission module 302 and a first reception module 303; wherein,
the first connection module 301 is configured to establish an internet connection with a mobile terminal based on an AP with a preset name, which is established in advance on the mobile terminal;
the first sending module 302 is configured to send a distribution network request to a cloud server through the mobile terminal based on an internet connection established with the mobile terminal, where the distribution network request at least includes a unique identification code of the internet of things device;
the first receiving module 303 is configured to receive, by the mobile terminal, WIFI distribution network information returned by the cloud server based on the internet connection established with the mobile terminal;
the first connection module 301 is further configured to establish internet connection with the cloud server using the WIFI distribution network information.
Further, the first connection module 301 is specifically configured to actively connect to the AP with the preset name by pressing a specific key or pressing a preset key for a long time, so as to establish an internet connection with the mobile terminal.
The distribution network device can execute the method provided by the first embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the distribution network method provided in the first embodiment of the present invention, reference may be made to the technical details that are not described in detail in this embodiment.
Example four
Fig. 4 is a structural diagram of a distribution network device according to a fourth embodiment of the present invention. As shown in fig. 4, the distribution network apparatus may include: a second connection module 401, a second receiving module 402 and a second sending module 403; wherein, is controlled,
the second connection module 401 is configured to establish an internet connection with the internet of things device based on an AP with a preset name, which is established in advance on the mobile terminal;
the second receiving module 402 is configured to receive a distribution network request sent by the internet of things device based on an internet connection established with the internet of things device; sending the distribution network request to a cloud server; the distribution network request comprises a unique identification code of the Internet of things equipment;
the second sending module 403 is configured to receive WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection.
Further, the second sending module 403 is further configured to enter the device information of the internet of things device into a pre-downloaded APP; and uploading the equipment information of the Internet of things equipment and the WIFI distribution network information of the Internet of things equipment to the cloud server through the APP.
Further, the device information of the internet of things device includes but is not limited to: the device name, the device type number, the MAC address and the unique identification code; the WIFI distribution network information of the internet of things device includes but is not limited to: SSID, password, encryption type.
The distribution network device can execute the method provided by the second embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the distribution network method provided in the second embodiment of the present invention, reference may be made to the technical details not described in detail in this embodiment.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device in the fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes programs stored in the system memory 28 to execute various functional applications and data processing, for example, to implement the network distribution method provided by the embodiment of the present invention.
EXAMPLE six
The sixth embodiment of the invention provides a computer storage medium.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A network distribution method is applied to Internet of things equipment and comprises the following steps:
establishing internet connection with a mobile terminal based on an AP with a preset name established on the mobile terminal in advance;
based on the internet connection established with the mobile terminal, sending a distribution network request to a cloud server through the mobile terminal, wherein the distribution network request at least comprises a unique identification code of the internet of things equipment;
receiving WIFI distribution network information returned by the cloud server through the mobile terminal based on the internet connection established with the mobile terminal;
and establishing internet connection with the cloud server by using the WIFI distribution network information.
2. The method according to claim 1, wherein the establishing an internet connection with the mobile terminal based on the AP with the preset name established in advance on the mobile terminal comprises:
and actively connecting the AP with the preset name by pressing a specific key or pressing a preset key for a long time, and establishing the Internet connection with the mobile terminal.
3. A network distribution method is applied to a mobile terminal, and comprises the following steps:
establishing internet connection with the Internet of things equipment based on the AP with the preset name established on the mobile terminal in advance;
receiving a distribution network request sent by the Internet of things equipment based on the Internet connection established with the Internet of things equipment; sending the distribution network request to a cloud server; the distribution network request comprises a unique identification code of the Internet of things equipment;
receiving WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection.
4. The method according to claim 3, wherein before the establishing of the internet connection with the internet of things device based on the AP with the preset name established in advance on the mobile terminal, the method further comprises:
inputting the equipment information of the Internet of things equipment into a pre-downloaded application program APP; and uploading the equipment information of the Internet of things equipment and the WIFI distribution network information of the Internet of things equipment to the cloud server through the APP.
5. The method of claim 4, wherein the device information of the IOT device includes but is not limited to: device name, device model, Media Access Control (MAC) address, unique identification code; the WIFI distribution network information of the internet of things device includes but is not limited to: service set identifier SSID, password, encryption type.
6. A network-distribution apparatus, the apparatus comprising: the device comprises a first connecting module, a first sending module and a first receiving module; wherein,
the first connection module is used for establishing internet connection with the mobile terminal based on an AP with a preset name established on the mobile terminal in advance;
the first sending module is used for sending a distribution network request to a cloud server through the mobile terminal based on the internet connection established with the mobile terminal, wherein the distribution network request at least comprises a unique identification code of the internet of things equipment;
the first receiving module is used for receiving WIFI distribution network information returned by the cloud server through the mobile terminal based on the internet connection established with the mobile terminal;
the first connection module is further used for establishing internet connection with the cloud server by using the WIFI distribution network information.
7. The apparatus according to claim 6, wherein the first connection module is specifically configured to actively connect to the AP with the preset name by pressing a specific key or pressing a preset key for a long time, so as to establish an internet connection with the mobile terminal.
8. A network-distribution apparatus, the apparatus comprising: the second connection module, the second receiving module and the second sending module; wherein,
the second connection module is used for establishing internet connection with the internet of things equipment based on the AP with the preset name established on the mobile terminal in advance;
the second receiving module is used for receiving a distribution network request sent by the internet of things equipment based on the internet connection established with the internet of things equipment; sending the distribution network request to a cloud server; the distribution network request comprises a unique identification code of the Internet of things equipment;
the second sending module is used for receiving WIFI distribution network information returned by the cloud server; and returning the WIFI distribution network information to the Internet of things equipment based on the Internet connection established with the Internet of things equipment, so that the WIFI distribution network information and the cloud server establish the Internet connection.
9. The apparatus according to claim 8, wherein the second sending module is further configured to enter device information of the internet of things device into a pre-downloaded application APP; and uploading the equipment information of the Internet of things equipment and the WIFI distribution network information of the Internet of things equipment to the cloud server through the APP.
10. The apparatus of claim 9, wherein the device information of the internet of things device includes but is not limited to: device name, device model, Media Access Control (MAC) address, unique identification code; the WIFI distribution network information of the internet of things device includes but is not limited to: service set identifier SSID, password, encryption type.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the network distribution method of any of claims 1-2 or 3-5.
12. A storage medium on which a computer program is stored, which program, when being executed by a processor, carries out the network distribution method according to any one of claims 1 to 2 or 3 to 5.
CN202011459602.5A 2020-12-11 2020-12-11 Distribution network method and device, electronic equipment and storage medium Active CN112752245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459602.5A CN112752245B (en) 2020-12-11 2020-12-11 Distribution network method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459602.5A CN112752245B (en) 2020-12-11 2020-12-11 Distribution network method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112752245A true CN112752245A (en) 2021-05-04
CN112752245B CN112752245B (en) 2023-12-01

Family

ID=75649171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459602.5A Active CN112752245B (en) 2020-12-11 2020-12-11 Distribution network method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112752245B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766606A (en) * 2021-09-07 2021-12-07 四川长虹网络科技有限责任公司 Network distribution method, system, computer equipment and storage medium based on cellular communication
CN114554522A (en) * 2022-01-29 2022-05-27 青岛海尔科技有限公司 Equipment control method and device, electronic equipment and medium
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
CN116170793A (en) * 2023-03-14 2023-05-26 深圳树米网络科技有限公司 eSIM service realization method, system and readable storage medium for Internet of things equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406109A (en) * 2016-08-30 2017-02-15 无锡小天鹅股份有限公司 Household electrical appliance and distribution network method and distribution network device thereof
CN107682912A (en) * 2017-10-16 2018-02-09 广东美的环境电器制造有限公司 The quick distribution methods, devices and systems of household electrical appliance
CN107770007A (en) * 2017-09-20 2018-03-06 广东美的制冷设备有限公司 Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN108377202A (en) * 2018-02-11 2018-08-07 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
CN110225492A (en) * 2019-05-29 2019-09-10 飞天诚信科技股份有限公司 A kind of implementation method and device for cloud speaker distribution
CN110545569A (en) * 2019-08-23 2019-12-06 珠海格力电器股份有限公司 network distribution method and system of intelligent device and readable medium
CN111182515A (en) * 2019-12-14 2020-05-19 深圳市优必选科技股份有限公司 Network distribution method, device, terminal and computer storage medium
WO2020168561A1 (en) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 Device network distribution method and apparatus, electronic device, and storage medium
CN111866999A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406109A (en) * 2016-08-30 2017-02-15 无锡小天鹅股份有限公司 Household electrical appliance and distribution network method and distribution network device thereof
CN107770007A (en) * 2017-09-20 2018-03-06 广东美的制冷设备有限公司 Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN107682912A (en) * 2017-10-16 2018-02-09 广东美的环境电器制造有限公司 The quick distribution methods, devices and systems of household electrical appliance
CN108377202A (en) * 2018-02-11 2018-08-07 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
WO2020168561A1 (en) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 Device network distribution method and apparatus, electronic device, and storage medium
CN110225492A (en) * 2019-05-29 2019-09-10 飞天诚信科技股份有限公司 A kind of implementation method and device for cloud speaker distribution
CN110545569A (en) * 2019-08-23 2019-12-06 珠海格力电器股份有限公司 network distribution method and system of intelligent device and readable medium
CN111182515A (en) * 2019-12-14 2020-05-19 深圳市优必选科技股份有限公司 Network distribution method, device, terminal and computer storage medium
CN111866999A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766606A (en) * 2021-09-07 2021-12-07 四川长虹网络科技有限责任公司 Network distribution method, system, computer equipment and storage medium based on cellular communication
CN114554522A (en) * 2022-01-29 2022-05-27 青岛海尔科技有限公司 Equipment control method and device, electronic equipment and medium
CN114554522B (en) * 2022-01-29 2023-12-19 青岛海尔科技有限公司 Equipment control method and device, electronic equipment and medium
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
CN116170793A (en) * 2023-03-14 2023-05-26 深圳树米网络科技有限公司 eSIM service realization method, system and readable storage medium for Internet of things equipment

Also Published As

Publication number Publication date
CN112752245B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN112752245B (en) Distribution network method and device, electronic equipment and storage medium
US10970951B2 (en) Data management method, apparatus, device, system and storage medium for smart lock
CN111459433B (en) Screen transmission method, device and storage medium
CN111416867B (en) Message processing method, server and computer storage medium between different devices
EP3208974A1 (en) Power line carrier communication terminal control device, system and method
CN113453175B (en) 5G message processing method and device, computer equipment and storage medium
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
WO2019153722A1 (en) Terminal communication method and device, terminal and storage medium
US20140089431A1 (en) Instant messaging method, terminal, server, and system
WO2020216231A1 (en) Method of sharing wireless access point by means of instant messaging software
CN106679095B (en) A kind of method, apparatus and intelligent air-conditioning system of interconnection access
CN109309967B (en) Method, device and computer readable storage medium for transmitting file
CN105657781B (en) WiFi network access method and device
CN103974376A (en) Network connection assisting system and method
CN110831005B (en) Equipment adding method of Mesh network, gateway equipment and storage medium
CN108781217B (en) Multimedia data transmission method, server and terminal
CN112887429A (en) Data transmission method and device, electronic equipment and storage medium
EP2974159B1 (en) Method, device and system for voice communication
CN110719590A (en) One-key login method, device, equipment and storage medium based on mobile phone number
CN105391702A (en) Audio/video communication method, terminal, server and platform
CN108156586A (en) Phone number acquisition methods and system, server, storage medium
CN114158074B (en) 5G network element address determination method and device, electronic equipment and storage medium
CN113395741B (en) Network distribution system, method and device of equipment, electronic equipment and storage medium
CN101778117A (en) Network storing and processing method, device and wireless terminal
KR20020085747A (en) Realtime/on-demand wireless sightseeing information multicasting system using mobile terminal and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant