CN112332998A - Network distribution method and system of equipment and computer readable storage medium - Google Patents

Network distribution method and system of equipment and computer readable storage medium Download PDF

Info

Publication number
CN112332998A
CN112332998A CN202010786044.7A CN202010786044A CN112332998A CN 112332998 A CN112332998 A CN 112332998A CN 202010786044 A CN202010786044 A CN 202010786044A CN 112332998 A CN112332998 A CN 112332998A
Authority
CN
China
Prior art keywords
distribution network
equipment
distribution
network
target
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
CN202010786044.7A
Other languages
Chinese (zh)
Other versions
CN112332998B (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 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 CN202010786044.7A priority Critical patent/CN112332998B/en
Publication of CN112332998A publication Critical patent/CN112332998A/en
Application granted granted Critical
Publication of CN112332998B publication Critical patent/CN112332998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • 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

Abstract

The invention discloses a network distribution method, a network distribution system and a computer readable storage medium of equipment, wherein the method comprises the following steps: after a distribution network starting instruction is received, historical distribution network equipment is obtained, and current distribution network equipment is determined based on the historical distribution network equipment; acquiring equipment information corresponding to the current distribution network equipment, and searching whether target distribution network equipment exists according to the equipment information; and if the target distribution network equipment exists, starting a distribution network mode, and distributing the network to the target distribution network equipment based on the distribution network mode. According to the distribution network starting method and device, after the distribution network starting instruction is received, the historical distribution network equipment is obtained, the current distribution network equipment is determined based on the historical distribution network equipment, the target distribution network equipment is searched based on the equipment information corresponding to the current distribution network equipment, the distribution network mode is started according to the searching result, and the target distribution network equipment is distributed based on the distribution network mode, so that the distribution network efficiency of the equipment distribution network is improved.

Description

Network distribution method and system of equipment and computer readable storage medium
Technical Field
The invention relates to the field of intelligent control and intelligent gateways, in particular to a network distribution method and system of equipment and a computer readable storage medium.
Background
The existing equipment network distribution method mainly comprises the steps that a terminal is connected with a routing device and a gateway device, first connection information of the routing device is obtained and sent to the gateway device, intelligent equipment connected with the gateway device obtains the first connection information, and then the routing device is connected according to the first connection information. Therefore, the distribution efficiency of the conventional equipment distribution method is low.
Disclosure of Invention
The invention mainly aims to provide a network distribution method and system of equipment and a computer readable storage medium, and aims to solve the technical problem of low network distribution efficiency of the existing network distribution method of equipment.
In order to achieve the above object, the present invention provides a network distribution method for a device, which comprises the following steps:
after a distribution network starting instruction is received, historical distribution network equipment is obtained, and current distribution network equipment is determined based on the historical distribution network equipment;
acquiring equipment information corresponding to the current distribution network equipment, and searching whether target distribution network equipment exists according to the equipment information;
and if the target distribution network equipment exists, starting a distribution network mode, and distributing the network to the target distribution network equipment based on the distribution network mode.
Optionally, if the target distribution network device is found to exist, starting a distribution network mode, and distributing the network to the target distribution network device based on the distribution network mode includes:
if the target distribution network equipment exists, starting the distribution network mode, and displaying the target distribution network equipment on a distribution network page of the distribution network mode;
and if a click instruction triggered by the target distribution network equipment in the distribution network page is detected, carrying out distribution network on the target distribution network equipment corresponding to the click instruction through a router.
Optionally, if a click instruction triggered by a target distribution network device in the distribution network page is detected, the step of distributing the network to the target distribution network device corresponding to the click instruction through a router includes:
if a click instruction triggered by a target distribution network device in the distribution network page is detected, acquiring a first SSID, a distribution network password and a first device feature code of the target distribution network device corresponding to the click instruction;
and carrying out network distribution on the target network distribution equipment through the router based on the first SSID, the network distribution password and the first equipment feature code.
Optionally, after receiving a distribution network starting instruction, obtaining historical distribution network devices, and determining a current distribution network device based on the historical distribution network devices includes:
after a distribution network starting instruction is received, acquiring historical distribution network equipment in a distribution network equipment list through a second equipment feature code, and acquiring corresponding first distribution network sub-equipment in the historical distribution network equipment, wherein the data transmission quantity of the first distribution network sub-equipment to target equipment is larger than a preset data quantity;
and acquiring a first device name and a second SSID corresponding to the first distribution network sub-device, and determining the current distribution network device based on the first device name and the second SSID.
Optionally, the step of determining the current network-distribution device based on the first device name and the second SSID comprises:
matching the first equipment name with a preset name to determine a first matching result, and matching the second SSID with a preset identifier to determine a second matching result;
and determining a second distribution network sub-device based on the first matching result and the second matching result, detecting the operation times corresponding to the second distribution network sub-device, and determining the current distribution network device based on the operation times.
Optionally, the determining, based on the first matching result and the second matching result, a second distribution network sub-device, and detecting an operation number corresponding to the second distribution network sub-device, where the determining, based on the operation number, the current distribution network device includes:
detecting whether a target distribution network sub-device exists, wherein the first matching result and the second matching result corresponding to the target distribution network sub-device are both successfully matched;
if the target distribution network sub-device is detected to exist, determining that the target distribution network sub-device is the second distribution network sub-device, and acquiring the operation times corresponding to the second distribution network sub-device;
and detecting whether the operation times are greater than preset times, and if the operation times are greater than the preset times, determining that the second distribution network sub-equipment is the current distribution network equipment.
Optionally, the step of obtaining device information corresponding to the current distribution network device and searching whether a target distribution network device exists according to the device information includes:
acquiring the number of devices and the name of a second device corresponding to the current distribution network device, and detecting whether the number of the devices is greater than a preset number;
and if the number of the devices is larger than the preset number, searching whether the target distribution network devices matched with the second device names exist or not through preset time length.
Optionally, after the step of searching whether there is a target distribution network device matched with the second device name through a preset duration if it is detected that the number of devices is greater than the preset number, the method further includes:
if the target distribution network equipment which is not matched with the second equipment name exists through the preset duration, returning prompt information of the target distribution network equipment which is not searched.
In addition, in order to achieve the above object, the present invention further provides a network distribution system of a device, where the network distribution system of the device includes a memory, a processor, and a network distribution program of the device stored in the memory and running on the processor, and the steps of the network distribution method of the device are implemented when the network distribution program of the device is completed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where a distribution network program of a device is stored on the computer-readable storage medium, and when the distribution network program of the device is completed by a processor, the steps of the distribution network method of the device are implemented as described above.
According to the invention, after a distribution network starting instruction is received, historical distribution network equipment is obtained, current distribution network equipment is determined based on the historical distribution network equipment, equipment information corresponding to the current distribution network equipment is obtained, whether target distribution network equipment exists or not is searched according to the equipment information, if the target distribution network equipment exists, a distribution network mode is started, and distribution network is carried out on the target distribution network equipment based on the distribution network mode. Therefore, in the process of distributing the network by the target equipment, after a distribution network starting instruction is received, the historical distribution network equipment is obtained, so that the plurality of historical distribution network equipment can be obtained at one time, the plurality of current distribution network equipment can be determined based on the plurality of historical distribution network equipment, the distribution network speed of the equipment is accelerated, then the target distribution network equipment is searched based on the equipment information of the current distribution network equipment, the plurality of target distribution network equipment can be determined based on the equipment information of the plurality of current distribution network equipment, the distribution network mode is started after the target distribution network equipment is searched, and then the plurality of target distribution network equipment are distributed at one time through the distribution network mode, so that the distribution network efficiency of the distribution network of the equipment is improved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a network distribution method of the device of the present invention;
FIG. 2 is a schematic diagram of a preferred configuration of a distribution network device of the apparatus of the present invention;
fig. 3 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a network distribution method of equipment, and referring to fig. 1, fig. 1 is a schematic flow diagram of a first embodiment of the network distribution method of the equipment.
The embodiments of the present invention provide an embodiment of a network distribution method for a device, and it should be noted that although a logic sequence is shown in a flowchart, in some data, the steps shown or described may be completed in a sequence different from that here.
The network distribution method of the equipment comprises the following steps:
step S10, after receiving the distribution network starting instruction, obtaining historical distribution network equipment, and determining the current distribution network equipment based on the historical distribution network equipment.
Before the intelligent gateway system receives a distribution network starting instruction, a user clicks an equipment adding button in a batch adding page of target equipment to trigger the distribution network starting instruction, and the target equipment sends the distribution network starting instruction to the intelligent gateway system when detecting the distribution network starting instruction. After the intelligent gateway system receives a distribution network starting instruction sent by a target device, a distribution network device list of the intelligent gateway system is obtained, all historical distribution network devices in the distribution network device list are obtained, then a batch sub-device screening module is started to screen all the historical distribution network devices, whether the historical distribution network devices meet preset screening conditions or not is detected, and all the historical distribution network devices meeting the preset screening conditions are determined as current distribution network devices. The target device is a device for data communication with an intelligent network relationship system, and includes but is not limited to a mobile phone, a tablet computer and a personal computer. The preset screening condition is set according to the requirement, and the embodiment is not limited.
It should be noted that, the intelligent gateway system records all connected distribution network devices and device information corresponding to the distribution network devices, where the device information includes, but is not limited to, names of the distribution network devices, connection times of the distribution network devices, operation times of the distribution network devices, data transmission amounts of the distribution network devices, and the like, and guides all the distribution network devices into a distribution network device list according to a certain sequence.
Further, the step S10 includes:
step a, after a distribution network starting instruction is received, acquiring historical distribution network equipment in a distribution network equipment list through a second equipment feature code, and acquiring corresponding first distribution network sub-equipment in the historical distribution network equipment, wherein the data transmission quantity transmitted to target equipment by the first distribution network sub-equipment is larger than a preset data quantity;
and b, acquiring a first device name and a second SSID corresponding to the first distribution network sub-device, and determining the current distribution network device based on the first device name and the second SSID.
Specifically, after the intelligent gateway system receives a distribution network starting instruction, historical distribution network equipment corresponding to each second equipment feature code is obtained in a distribution network equipment list through each second equipment feature code, then first distribution network sub-equipment with a data sending quantity larger than a preset data quantity and corresponding to a target equipment is obtained in the historical distribution network equipment, a first equipment name and a second SSID (Service Set Identifier) corresponding to the first distribution network sub-equipment are obtained, then the first equipment name and the second SSID are matched with the equipment name and the SSID in the intelligent gateway system, and the current distribution network equipment is determined according to a matching result.
The target device includes, but is not limited to, a mobile phone device, a camera device, and a home appliance device. The equipment feature code is an identity character of the distribution network equipment, and each distribution network equipment corresponds to one identity character. The preset data amount is set according to the requirement, and the embodiment is not limited.
Further, the step b comprises:
c, matching the first equipment name with a preset name to determine a first matching result, and matching the second SSID with a preset identifier to determine a second matching result;
and d, determining second distribution network sub-equipment based on the first matching result and the second matching result, detecting the operation times corresponding to the second distribution network sub-equipment, and determining the current distribution network equipment based on the operation times.
Specifically, the intelligent gateway system compares the first device name with a corresponding preset name in the intelligent gateway system, namely, the first equipment name is matched with the corresponding supplier name in the intelligent gateway system, a first matching result is determined, then matching the second SSID in all the sub-networks with the corresponding preset identification in the intelligent gateway system, determining a second matching result, when the intelligent gateway system detects that the first matching result and the second matching result are both matched successfully, the first matching result and the second matching result are both the second distribution network sub-equipment of the distribution network equipment corresponding to successful matching, and then acquiring the operation times corresponding to the second distribution network sub-equipment, detecting whether the operation times corresponding to the second distribution network sub-equipment meet the preset times in the intelligent gateway system, and determining whether the second distribution network sub-equipment is the current distribution network equipment according to the detection result. And the matching result comprises matching success and matching failure. The preset name and the preset number are preset in the intelligent gateway system according to the requirement, and the embodiment is not limited.
It should be noted that, when the second SSIDs in all the subnetworks match the preset identifiers in the intelligent gateway system, the second matching result is a successful match.
Further, the step d includes:
step e, detecting whether a target distribution network sub-device exists, wherein the first matching result and the second matching result corresponding to the target distribution network sub-device are both successfully matched;
step f, if the target distribution network sub-equipment is detected to exist, determining that the target distribution network sub-equipment is the second distribution network sub-equipment, and acquiring the operation times corresponding to the second distribution network sub-equipment;
and g, detecting whether the operation times are greater than preset times, and if the operation times are greater than the preset times, determining that the second distribution network sub-device is the current distribution network device.
Specifically, the intelligent gateway system detects whether a first matching result and a second matching result are target distribution network sub-devices which are successfully matched, if the target distribution network sub-devices are detected to exist, the intelligent gateway system determines that the target distribution network sub-devices are the second distribution network sub-devices, obtains the operation times corresponding to the second distribution network sub-devices, then detects whether the operation times corresponding to the second distribution network sub-devices are greater than preset times, if the operation times corresponding to the second distribution network sub-devices are detected to be greater than the preset times, the intelligent gateway system determines that the second distribution network sub-devices are current distribution network devices, and if the operation times corresponding to the second distribution network sub-devices are detected to be less than or equal to the preset times, the intelligent gateway system sets the corresponding second distribution network sub-devices as non-acquisition distribution network devices. If the target distribution network sub-equipment is detected not to exist, the intelligent gateway system keeps the detection state, and continues to detect and determine the target distribution network sub-equipment.
And step S20, acquiring the equipment information corresponding to the current distribution network equipment, and searching whether the target distribution network equipment exists according to the equipment information.
After the intelligent gateway system obtains the current distribution network equipment, whether the intelligent gateway receives connection requests of batch to-be-connected equipment is detected, if the connection requests are detected, the intelligent gateway system obtains equipment information corresponding to the front distribution network equipment, then searching is carried out in the to-be-connected equipment according to the equipment information corresponding to the front distribution network equipment, and whether target distribution network equipment which accords with the equipment information corresponding to the front distribution network equipment exists in the to-be-connected equipment is searched. If the connection request is not detected, the intelligent gateway system keeps the detection state and continues to detect the connection request. The gateway in this embodiment is specifically a G3 gateway.
Further, the step S20 includes:
step h, acquiring the number of the devices corresponding to the current distribution network device and the name of a second device, and detecting whether the number of the devices is greater than a preset number;
and i, if the number of the devices is detected to be larger than the preset number, searching whether the target distribution network devices matched with the second device names exist or not through preset time length.
Specifically, after the intelligent gateway system detecting gateway receives connection requests of batch devices to be connected, the number of the devices to be connected is obtained, the number of the devices corresponding to the current distribution network devices and the names of the second devices corresponding to the current distribution network devices are obtained, whether the number of the devices corresponding to the current distribution network devices is larger than the preset number is detected, and if the number of the devices is larger than the preset number, the intelligent gateway system searches whether target distribution network devices matched with the names of the second devices exist in the devices to be connected through preset time length. And if the number of the devices is smaller than or equal to the preset number, the intelligent gateway system restarts the system and re-determines the number of the devices corresponding to the current distribution network device. The preset time length is determined by the number of the devices to be connected, and the number of the devices to be connected is in direct proportion to the preset time length. The number of the devices is the number of times of the operation commands of the control device in the wireless router to the current distribution network device, and is set according to the requirement, which is not limited in this embodiment.
In this embodiment, for example, after the detection gateway of the intelligent gateway system receives the connection requests of the batches of devices to be connected, the number of the devices to be connected is 10, and the preset time length is set to be 60s (seconds) according to the number of the devices to be connected, which is 10. And the intelligent gateway system acquires that the number of the devices to be connected is 50, and sets the preset time to be 6min (minutes) according to the number of the devices to be connected, which is 50.
Step S30, if the target distribution network equipment exists, starting a distribution network mode, and distributing the network to the target distribution network equipment based on the distribution network mode.
If the intelligent gateway system searches that the target distribution network equipment exists, the distribution network mode is started, then the searched target distribution network equipment is displayed, a state button is embedded into the target distribution network equipment, and the target distribution network equipment is distributed by clicking the state button.
Further, the step S30 includes:
j, if the target distribution network equipment is found, starting the distribution network mode, and displaying the target distribution network equipment on a distribution network page of the distribution network mode;
and k, if a click instruction triggered by the target distribution network equipment in the distribution network page is detected, distributing the network to the target distribution network equipment corresponding to the click instruction through a router.
Specifically, if the intelligent gateway system searches that the target distribution network equipment exists, the distribution network mode is started, each target distribution network equipment is displayed in a distribution network page of the distribution network mode in a list mode, then whether a user triggers a click command of a state button corresponding to the target distribution network equipment in the distribution network page is detected, if the click command is detected, the intelligent gateway system sends connection information of the target distribution network equipment corresponding to the click command to the target equipment through a router, whether the state button corresponding to the target distribution network equipment is switched from ' adding ' to ' adding success ' within preset time is detected, if the state button corresponding to the target distribution network equipment is switched from ' adding ' to ' adding success ' within preset time is detected, the intelligent gateway system determines that the distribution network of the target distribution network equipment is successful, and if the state button corresponding to the target distribution network equipment is switched from ' adding ' to ' adding failure ' or from ' adding ' to ' adding within preset time is detected And the intelligent gateway system determines that the distribution network of the target distribution network equipment fails, displays the overtime connection and pops up a dialog box for continuing to add. If the click command is not detected, the intelligent gateway system sends out a prompt tone for one time within a preset interval time until the click command is detected. The preset time and the preset interval duration are set according to actual conditions, and the embodiment is not limited.
It should be noted that the click command may be clicked by a plurality of target distribution network devices at the same time, and the sequence and manner of the click command are not limited. The status button is in an inoperable state when the status button displays "add success", "add failure", and "add in", and is in an operable state only when the status button displays "add".
Further, the step k includes:
step l, if a click instruction triggered by a target distribution network device in the distribution network page is detected, acquiring a first SSID, a distribution network password and a first device feature code of the target distribution network device corresponding to the click instruction;
and m, carrying out network distribution on the target network distribution equipment through the router based on the first SSID, the network distribution password and the first equipment feature code.
Specifically, if the intelligent gateway system detects a click command triggered by a target distribution network device in a distribution network page, a first SSID, a distribution network password and a first device feature code of the target distribution network device corresponding to the click command are obtained, then the first SSID, the distribution network password and the first device feature code corresponding to the target distribution network device are sent to the target device through an IoT (IoT cloud) channel through a router, the target device verifies the first SSID, the distribution network password and the first device feature code corresponding to the target distribution network device after receiving the first SSID, the distribution network password and the first device feature code corresponding to the target distribution network device, after the verification is passed, prompt information of successful verification is returned to the intelligent gateway system, and after the intelligent gateway system receives the prompt information of successful verification, the target distribution network device is distributed.
The first SSID, the distribution network password, and the first device feature code are Wi-Fi (Wireless Fidelity, Wireless local area network) information corresponding to the target distribution network device.
According to the embodiment, after a distribution network starting instruction is received, historical distribution network equipment is obtained, the current distribution network equipment is determined based on the historical distribution network equipment, equipment information corresponding to the current distribution network equipment is obtained, whether target distribution network equipment exists or not is searched according to the equipment information, if the target distribution network equipment exists, a distribution network mode is started, and distribution of a distribution network is carried out on the target distribution network equipment based on the distribution network mode. Therefore, in the process of distributing the network by the target equipment, after a distribution network starting instruction is received, the historical distribution network equipment is obtained, so that the plurality of historical distribution network equipment can be obtained at one time, the plurality of current distribution network equipment can be determined based on the plurality of historical distribution network equipment, the distribution network speed of the equipment is accelerated, then the target distribution network equipment is searched based on the equipment information of the current distribution network equipment, the plurality of target distribution network equipment can be determined based on the equipment information of the plurality of current distribution network equipment, the distribution network mode is started after the target distribution network equipment is searched, and then the plurality of target distribution network equipment are distributed at one time through the distribution network mode, so that the distribution network efficiency of the distribution network of the equipment is improved.
Further, a second embodiment of a network distribution method of the device of the present invention is provided.
The second embodiment of the network distribution method of the device is different from the first embodiment of the network distribution method of the device in that the network distribution method of the device further includes:
and n, if the target distribution network equipment which is not matched with the second equipment name is searched for through the preset time length, returning prompt information of the target distribution network equipment which is not searched.
Specifically, if the intelligent gateway system searches that the target distribution network equipment which is not matched with the name of the second equipment exists through the preset time length, the intelligent gateway system returns the prompt information of the target distribution network equipment which is not searched, and restarts the searching state.
In this embodiment, if the target distribution network device which is not matched with the second device name is found through the preset duration, the prompt information of the target distribution network device which is not found is returned. Therefore, the target distribution network equipment which is not matched with the name of the second equipment is searched for by the implementation through the preset time length, the prompt information of the target distribution network equipment which is not searched is returned by the intelligent network relation, and the searching state is restarted without manual operation and restarting, so that the distribution network efficiency of the distribution network equipment is accelerated.
In addition, the present invention also provides a network distribution device of an apparatus, and referring to fig. 2, the network distribution device of the apparatus includes:
the acquisition module 10 is configured to acquire historical distribution network equipment after receiving a distribution network starting instruction;
a determining module 20, configured to determine a current distribution network device based on the historical distribution network devices;
the obtaining module 10 is further configured to obtain device information corresponding to the current distribution network device;
the searching module 30 is configured to search whether a target distribution network device exists according to the device information;
the starting module 40 is configured to start a distribution network mode if the target distribution network device is found;
and the distribution network module 50 is configured to distribute a network to the target distribution network device based on the distribution network mode.
Further, the starting module 40 is further configured to start the distribution network mode if the target distribution network device is found to exist;
further, the search module 30 includes:
and the display module is used for displaying the target distribution network equipment on the distribution network page in the distribution network mode.
Further, the distribution network module 50 is further configured to, if a click instruction triggered by a target distribution network device in the distribution network page is detected, perform distribution network on the target distribution network device corresponding to the click instruction through a router.
Further, the obtaining module 10 is further configured to obtain a first SSID, a distribution network password, and a first device feature code of a target distribution network device corresponding to a click instruction if the click instruction triggered by the target distribution network device in the distribution network page is detected;
the distribution network module 50 is further configured to distribute a network to the target distribution network device through the router based on the first SSID, the distribution network password, and the first device feature code.
Further, the obtaining module 10 is further configured to obtain the historical distribution network device from a distribution network device list through a second device feature code after receiving a distribution network starting instruction; acquiring corresponding first distribution network sub-equipment from the historical distribution network equipment, wherein the data transmission quantity of the first distribution network sub-equipment to the target equipment is larger than a preset data quantity; acquiring a first device name and a second SSID corresponding to the first distribution network sub-device;
the determining module 20 is further configured to determine the current network distribution device based on the first device name and the second SSID; matching the first equipment name with a preset name to determine a first matching result, and matching the second SSID with a preset identifier to determine a second matching result; and determining a second distribution network sub-device based on the first matching result and the second matching result.
Further, the distribution network module 50 includes:
and the first detection unit is used for detecting the operation times corresponding to the second distribution network sub-equipment.
Further, the distribution network module 50 is further configured to determine the current distribution network device based on the operation times.
Further, the determining module 20 includes:
and the second detection unit is used for detecting whether a target distribution network sub-device exists, wherein the first matching result and the second matching result corresponding to the target distribution network sub-device are both successfully matched.
Further, the determining module 20 is further configured to determine that the target distribution network sub-device is the second distribution network sub-device if it is detected that the target distribution network sub-device exists;
the obtaining module 10 is further configured to obtain operation times corresponding to the second distribution network sub-device;
the second detection unit is also used for detecting whether the operation times are greater than preset times;
the determining module 20 is further configured to determine that the second distribution network sub-device is the current distribution network device if it is detected that the operation times are greater than the preset times.
Further, the obtaining module 10 is further configured to obtain the number of devices and the name of the second device corresponding to the current distribution network device.
Further, the search module 30 includes:
and the third detection unit is used for detecting whether the number of the equipment is greater than the preset number.
Further, the searching module 30 is further configured to search whether a target distribution network device matching the name of the second device exists through a preset duration if it is detected that the number of devices is greater than the preset number.
Further, the network distribution device of the apparatus further includes:
and the returning module is used for returning prompt information of the target distribution network equipment which is not searched if the target distribution network equipment which is not matched with the second equipment name is searched through the preset time length.
The specific implementation of the device-based distribution network apparatus of the present invention is substantially the same as the embodiments of the device-based distribution network method described above, and will not be described herein again.
In addition, the invention also provides a distribution network system of the equipment. As shown in fig. 3, fig. 3 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 3 may be a schematic structural diagram of a hardware operating environment of a distribution network system of the device.
As shown in fig. 3, the network distribution system of the device may include: a processor 1001, such as a CPU (Central Processing Unit), a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. A communication bus 1002 is used to enable connection communications between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a keyboard (board), and the optional user interface 1003 may include a standard wired interface (e.g., a USB (Universal Serial Bus) interface), and a wireless interface (e.g., a bluetooth interface). The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the distribution network system of the device may further include an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like.
Those skilled in the art will appreciate that the configuration of the distribution network system of the devices shown in fig. 3 does not constitute a limitation of the distribution network system of the devices, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a kind of computer storage medium, may include therein an operating device, a network communication module, a user interface module, and a distribution network program of the device. The operation device is a program for managing and controlling hardware and software resources of the distribution network system of the device, and supports the operation of the distribution network program of the device and other software or programs.
In the distribution network system of the device shown in the figure, the user interface 1003 is mainly used for the target device to send a distribution network starting instruction and a click instruction to the intelligent gateway system for data communication with the intelligent network relation system; the network interface 1004 is mainly used for the intelligent gateway system to perform data communication with a target device; the processor 1001 may be configured to call the distribution network program of the device stored in the memory 1005 and complete the steps of the control method of the distribution network system of the device as described above.
The specific implementation of the network distribution system of the device of the present invention is basically the same as the embodiments of the network distribution method of the device described above, and is not described herein again.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a distribution network program of a device is stored on the computer-readable storage medium, and when the distribution network program of the device is completed by a processor, the steps of the distribution network method of the device are implemented.
The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of each embodiment of the network distribution method of the above-mentioned device, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation manner in many cases. Based on such understanding, the technical solution of the present invention or portions thereof contributing to the prior art may be embodied in the form of software cargo, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a distribution network system of a device to perform the method according to the embodiments of the present invention.

Claims (10)

1. A network distribution method of equipment is characterized by comprising the following steps:
after a distribution network starting instruction is received, historical distribution network equipment is obtained, and current distribution network equipment is determined based on the historical distribution network equipment;
acquiring equipment information corresponding to the current distribution network equipment, and searching whether target distribution network equipment exists according to the equipment information;
and if the target distribution network equipment exists, starting a distribution network mode, and distributing the network to the target distribution network equipment based on the distribution network mode.
2. The method for network distribution of devices according to claim 1, wherein the step of starting a network distribution mode if the target network distribution device is found to exist, and performing network distribution on the target network distribution device based on the network distribution mode comprises:
if the target distribution network equipment exists, starting the distribution network mode, and displaying the target distribution network equipment on a distribution network page of the distribution network mode;
and if a click instruction triggered by the target distribution network equipment in the distribution network page is detected, carrying out distribution network on the target distribution network equipment corresponding to the click instruction through a router.
3. The method for network distribution of equipment according to claim 2, wherein if a click command triggered by a target distribution network equipment in the distribution network page is detected, the step of distributing the network to the target distribution network equipment corresponding to the click command through a router comprises:
if a click instruction triggered by a target distribution network device in the distribution network page is detected, acquiring a first SSID, a distribution network password and a first device feature code of the target distribution network device corresponding to the click instruction;
and carrying out network distribution on the target network distribution equipment through the router based on the first SSID, the network distribution password and the first equipment feature code.
4. The method for configuring a network of devices according to claim 1, wherein the step of obtaining historical network devices after receiving a network distribution start command, and determining the current network distribution devices based on the historical network distribution devices comprises:
after a distribution network starting instruction is received, acquiring historical distribution network equipment in a distribution network equipment list through a second equipment feature code, and acquiring corresponding first distribution network sub-equipment in the historical distribution network equipment, wherein the data transmission quantity of the first distribution network sub-equipment to target equipment is larger than a preset data quantity;
and acquiring a first device name and a second SSID corresponding to the first distribution network sub-device, and determining the current distribution network device based on the first device name and the second SSID.
5. The method for networking of devices of claim 4, wherein said step of determining said current network-configuring device based on said first device name and said second SSID comprises:
matching the first equipment name with a preset name to determine a first matching result, and matching the second SSID with a preset identifier to determine a second matching result;
and determining a second distribution network sub-device based on the first matching result and the second matching result, detecting the operation times corresponding to the second distribution network sub-device, and determining the current distribution network device based on the operation times.
6. The device distribution network method of claim 5, wherein the determining a second distribution network sub-device based on the first matching result and the second matching result and detecting a corresponding number of operations of the second distribution network sub-device, and the determining the current distribution network device based on the number of operations comprises:
detecting whether a target distribution network sub-device exists, wherein the first matching result and the second matching result corresponding to the target distribution network sub-device are both successfully matched;
if the target distribution network sub-device is detected to exist, determining that the target distribution network sub-device is the second distribution network sub-device, and acquiring the operation times corresponding to the second distribution network sub-device;
and detecting whether the operation times are greater than preset times, and if the operation times are greater than the preset times, determining that the second distribution network sub-equipment is the current distribution network equipment.
7. The method for network distribution of devices according to any one of claims 1 to 6, wherein the step of obtaining device information corresponding to the current network distribution device and searching whether a target network distribution device exists according to the device information includes:
acquiring the number of devices and the name of a second device corresponding to the current distribution network device, and detecting whether the number of the devices is greater than a preset number;
and if the number of the devices is larger than the preset number, searching whether the target distribution network devices matched with the second device names exist or not through preset time length.
8. The method for network distribution of devices according to claim 7, wherein, after the step of searching whether the target network distribution device matching the second device name exists through a preset duration if it is detected that the number of devices is greater than the preset number, the method further comprises:
if the target distribution network equipment which is not matched with the second equipment name exists through the preset duration, returning prompt information of the target distribution network equipment which is not searched.
9. A distribution network system of devices, characterized in that the distribution network system of devices comprises a memory, a processor and a distribution network program of devices stored on the memory and running on the processor, which when completed by the processor implements the steps of the distribution network method of devices according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a distribution network program of devices, which when executed by a processor implements the steps of the distribution network method of the devices according to any one of claims 1 to 8.
CN202010786044.7A 2020-08-06 2020-08-06 Network allocation method and system for equipment and computer readable storage medium Active CN112332998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010786044.7A CN112332998B (en) 2020-08-06 2020-08-06 Network allocation method and system for equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010786044.7A CN112332998B (en) 2020-08-06 2020-08-06 Network allocation method and system for equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112332998A true CN112332998A (en) 2021-02-05
CN112332998B CN112332998B (en) 2024-02-13

Family

ID=74303090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010786044.7A Active CN112332998B (en) 2020-08-06 2020-08-06 Network allocation method and system for equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112332998B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN2015CH04995A (en) * 2015-09-18 2015-10-09 Wipro Ltd
CN105848253A (en) * 2016-04-28 2016-08-10 努比亚技术有限公司 Smart network searching method, device and mobile terminal
CN107087291A (en) * 2016-11-29 2017-08-22 海尔优家智能科技(北京)有限公司 Method and router and terminal device that a kind of Auto-reconnect connects
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances
CN108243482A (en) * 2017-12-25 2018-07-03 惠州Tcl移动通信有限公司 A kind of network collocating method, storage medium and electronic equipment
CN109936845A (en) * 2017-12-19 2019-06-25 九阳股份有限公司 A kind of smart machine distribution method and apparatus
WO2020020313A1 (en) * 2018-07-27 2020-01-30 杭州博联智能科技股份有限公司 Device network configuration apparatus, system and method
CN110831112A (en) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 Network connection method, intelligent household equipment, intelligent gateway and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN2015CH04995A (en) * 2015-09-18 2015-10-09 Wipro Ltd
CN105848253A (en) * 2016-04-28 2016-08-10 努比亚技术有限公司 Smart network searching method, device and mobile terminal
CN107087291A (en) * 2016-11-29 2017-08-22 海尔优家智能科技(北京)有限公司 Method and router and terminal device that a kind of Auto-reconnect connects
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances
CN109936845A (en) * 2017-12-19 2019-06-25 九阳股份有限公司 A kind of smart machine distribution method and apparatus
CN108243482A (en) * 2017-12-25 2018-07-03 惠州Tcl移动通信有限公司 A kind of network collocating method, storage medium and electronic equipment
WO2020020313A1 (en) * 2018-07-27 2020-01-30 杭州博联智能科技股份有限公司 Device network configuration apparatus, system and method
CN110831112A (en) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 Network connection method, intelligent household equipment, intelligent gateway and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴进伟;苏恺;董文斌;: "基于混沌反馈控制的物联网配网物资数据选择算法研究", 电子设计工程, no. 12 *

Also Published As

Publication number Publication date
CN112332998B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
US11888644B2 (en) Network configuration method for home appliance, home appliance, mobile terminal, and storage medium
US11310730B2 (en) Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
CN111866998A (en) Bluetooth network distribution method, equipment and storage medium
EP3151628A1 (en) Method, device and system for accessing a wireless network
CN110545569A (en) network distribution method and system of intelligent device and readable medium
CN113133086B (en) Intelligent device network distribution method and device, electronic device and storage medium
CN107770762B (en) Method and device for establishing Bluetooth connection
CN112448873B (en) Binding method and device for equipment and computer readable storage medium
CN107818046B (en) A/B test method and device for application program page
CN113271578B (en) Network distribution method, device, equipment and computer readable storage medium
CN107371234B (en) Registration method, device and terminal
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN112306437A (en) Terminal screen projection method, device, equipment, system and computer readable storage medium
CN106973380B (en) Method and device for switching APN
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN111934961A (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN111818613A (en) Wireless network configuration method, device and storage medium
CN108307479B (en) Communication module, network distribution method and device thereof, storage medium, equipment and terminal
CN112436986A (en) Network distribution method and device, network distribution equipment and computer readable storage medium
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN107659933B (en) Bidirectional pairing connection method for wireless equipment, wireless equipment and storage medium
CN112332998B (en) Network allocation method and system for equipment and computer readable storage medium
CN108632957B (en) Network connection method, equipment and storage medium based on voice control
CN110891265B (en) Wireless connection control method and device, mobile terminal and storage medium

Legal Events

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