CN112929224A - Network distribution method and device of equipment, server and computer readable storage medium - Google Patents

Network distribution method and device of equipment, server and computer readable storage medium Download PDF

Info

Publication number
CN112929224A
CN112929224A CN202110273551.5A CN202110273551A CN112929224A CN 112929224 A CN112929224 A CN 112929224A CN 202110273551 A CN202110273551 A CN 202110273551A CN 112929224 A CN112929224 A CN 112929224A
Authority
CN
China
Prior art keywords
network
distribution
equipment
distribution network
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110273551.5A
Other languages
Chinese (zh)
Inventor
王乃稳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110273551.5A priority Critical patent/CN112929224A/en
Publication of CN112929224A publication Critical patent/CN112929224A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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

Abstract

The application discloses a network distribution method, a network distribution device, a server and a computer readable storage medium of equipment, wherein the network distribution method of the equipment comprises the following steps: selecting one of the distributed network devices as a clone template device; sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password; and receiving distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information. By cloning the distribution network information of the distributed network equipment and distributing the network to the to-be-distributed network equipment based on the distribution network information, a user does not need to input a network name and a distribution network password for distribution network operation, and meanwhile, the distribution network flow of the IOT equipment is simplified, so that the distribution network success rate is improved, and the distribution network difficulty and the distribution network duration of the user are reduced.

Description

Network distribution method and device of equipment, server and computer readable storage medium
Technical Field
The present application relates to the field of internet of things technology, and in particular, to a network distribution method and apparatus for a device, a server, and a computer-readable storage medium.
Background
In a common distribution network scheme, each device of a smart home Application (APP) distribution network needs to perform complex distribution network operation, a user needs to input a home wireless communication technology (Wi-Fi) and a password each time, and the Wi-Fi and the password of a common home may be forgotten, which is the most complex step in a distribution network process of the Internet of Things (Internet of Things, IoT for short), so that the complexity of the distribution network of the user is increased, and when the user successfully distributes a network, the user cannot quickly perform one-key or foolproof distribution network for the second, third or more devices. Meanwhile, in a distributed network, if the distance between the distributed network equipment and the equipment to be distributed is long, due to the characteristics of weak hot spot signal shared by the equipment and poor wall penetrating performance, the distributed network equipment can not share Wi-Fi and passwords to the equipment to be distributed easily.
Disclosure of Invention
The embodiment of the application provides a method, a device, a server and a computer readable storage medium for network distribution of equipment, and aims to solve the problem that the network distribution step of the equipment is complex.
In order to achieve the above object, in one aspect, the present application provides a network distribution method for a device, where the network distribution method is used for a network distribution device, and the network distribution method for the device includes the following steps:
selecting one of the distributed network devices as a clone template device;
sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and receiving the distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information.
Optionally, the step of performing a distribution network operation according to the distribution network information includes:
sending a distribution network instruction to indicate the equipment to be distributed to carry out distribution network according to the distribution network information; alternatively, the first and second electrodes may be,
and detecting whether the network is in a state of waiting for distribution, and if so, accessing the corresponding network according to the distribution network information.
Optionally, after the step of selecting one of the devices with the network being distributed as the clone template device, the method includes:
sending a clone ID request to the server according to user information so that the server generates a corresponding clone ID according to the user information, wherein the clone ID is a parameter associated with the user ID;
and receiving the clone IDs, and determining users for carrying out network distribution on the equipment to be distributed according to the clone IDs, wherein one clone ID corresponds to one user, and one user corresponds to a plurality of clone IDs.
In addition, to achieve the above object, another aspect of the present application further provides a network distribution method for a device, where the network distribution method is used for a server, and the network distribution method includes:
receiving a request for acquiring distribution network information of the clone template equipment, which is sent by the distribution network equipment;
and cloning the distribution network information of the cloned template equipment according to the request, and sending the cloned distribution network information to the distribution network equipment.
Optionally, after the step of receiving the request for obtaining the distribution network information of the clone template device, the method includes:
receiving a clone ID request sent by the distribution network equipment;
and acquiring user information in the clone ID request, generating a corresponding clone ID according to the user information, and sending the clone ID to the distribution network equipment.
Optionally, after the step of sending the clone ID to the distribution network device, the method includes:
receiving equipment information sent by the distribution network equipment, and registering the distribution network equipment according to the equipment information; alternatively, the first and second electrodes may be,
receiving equipment information sent by equipment to be distributed, and registering the equipment to be distributed according to the equipment information;
the device information includes the clone ID, the distribution network information, the device ID and the MAC address of the device.
Optionally, after the step of registering the network distribution device according to the device information, or after the step of registering the device to be distributed according to the device information, the method includes:
acquiring a mapping relation between the clone ID and a user ID;
and searching a user for carrying out network distribution on the equipment to be distributed according to the mapping relation, and binding the equipment to be distributed to the user.
In addition, in order to achieve the above object, another aspect of the present application further provides a network distribution device of an apparatus, where the network distribution device includes:
the selection module is used for selecting one of the distributed network devices as a clone template device;
the request sending module is used for sending a request for obtaining distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and the distribution network module is used for receiving the distribution network information of the clone template equipment and carrying out distribution network operation according to the distribution network information.
In addition, to achieve the above object, another aspect of the present application further provides a server, including:
the receiving module is used for receiving a request for acquiring the distribution network information of the clone template equipment, which is sent by the distribution network equipment;
and the cloning module is used for cloning the distribution network information of the cloning template equipment according to the request and sending the cloned distribution network information to the distribution network equipment.
In addition, in order to achieve the above object, another aspect of the present application further provides a network distribution device of an apparatus, where the network distribution device of the apparatus includes a memory, a processor, and a network distribution program of the apparatus stored in the memory and running on the processor, and the processor implements the steps of any one of the network distribution methods of the apparatus when executing the network distribution program of the apparatus.
In addition, to achieve the above object, another aspect of the present application further provides a computer-readable storage medium, where a distribution network program of a device is stored, and when executed by a processor, the distribution network program of the device implements the steps of any one of the distribution network methods of the device described above.
In this embodiment, one of the distributed network devices is selected as a clone template device from all the distributed network devices; sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password; and receiving distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information. By cloning the distribution network information of the distributed network equipment and distributing the network to the equipment to be distributed based on the distribution network information, a user does not need to input a network name and a distribution network password for distribution network operation, meanwhile, the distribution network flow of the IoT equipment is simplified, the distribution network success rate is improved, and the distribution network difficulty and the distribution network duration of the user are reduced.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first embodiment of a network distribution method of the device of the present application;
fig. 3 is a schematic flow chart of a second embodiment of a network distribution method of the device of the present application;
fig. 4 is a schematic flow chart of a network distribution method according to a third embodiment of the device of the present application.
The implementation, functional features and advantages of the objectives of the present application 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 present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: selecting one of the distributed network devices as a clone template device; sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password; and receiving the distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information.
According to the method, one of the devices which are already distributed is selected as a clone template device from all the devices which are already distributed; sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password; and receiving distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information. By cloning the distribution network information of the distributed network equipment and distributing the network to the to-be-distributed network equipment based on the distribution network information, a user does not need to perform distribution network operation of inputting a network name and a distribution network password, and meanwhile, the distribution network flow of the IoT equipment is simplified, so that the distribution network success rate is improved, and the distribution network difficulty and the distribution network duration of the user are reduced.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless 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 terminal may further include a camera, RF (Radio Frequency) circuitry, sensors, a remote control, audio circuitry, a Wi-Fi module, detectors, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal device 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. 1, a memory 1005, which is a kind of computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a distribution network program of the device therein.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the distribution network program of the device in the memory 1005, and perform the following operations:
selecting one of the distributed network devices as a clone template device;
sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and receiving the distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a network distribution method of the device of the present application.
The present application provides 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 cases, the steps shown or described may be executed in a sequence different from that here.
The network distribution method of the equipment comprises the following steps:
step S10, selecting one of the distributed network devices as a clone template device;
in this embodiment, a network to be distributed is distributed through a distribution network device, where the distribution network device may be a mobile phone, a tablet computer, a notebook computer, a smart wearable device, and the like, and the distribution network device supports installation of various application programs, such as one or more of the following application programs: a distribution network application, a shopping application, a gaming application, a telephone application, an instant messaging application, or a web browsing application, among others. Through the distribution network application program, the distribution network equipment can effectively implement distribution network on the equipment to be distributed.
The method comprises the steps that a user sends a request for obtaining a list of the distributed network devices to a cloud end through a distribution network application program, after the cloud end receives the request, information corresponding to the distributed network devices is searched from a database, the information corresponding to the distributed network devices is generated into a list, and the list is sent to the distribution network application program. And determining one of the distributed devices in the distribution device list as a clone template device by the user, wherein the clone template device is a device for providing distribution network information for the device to be distributed. The device to be networked and the cloning template device can be any appropriate electronic device capable of wireless communication, including a refrigerator, a television, a water dispenser, various sensors and the like.
Furthermore, in order to ensure the reliability of the distribution network and improve the success rate of the distribution network, the Wi-Fi information corresponding to the distributed network equipment can be acquired and screened, so that the Wi-Fi information which can be stably connected can be screened out, and the verification success rate of the Wi-Fi configuration information of the equipment end to be distributed is improved. Specifically, scanning all Wi-Fi information in the local area network, wherein the Wi-Fi information comprises one or more of a Wi-Fi signal strength value, a Wi-Fi signal transmission channel, a Wi-Fi network name, an MAC address of a Wi-Fi network, Wi-Fi signal fluctuation characteristic information and the like; sequencing the scanned Wi-Fi information according to a certain sequence, and generating a corresponding sequencing table, if the Wi-Fi information is a Wi-Fi signal intensity value, sequencing the Wi-Fi signal intensity value from large to small; if the channel is a Wi-Fi signal transmission channel, the number of transmission channels is sorted from most to few, and the like, wherein the sorting information in the sorting table is automatically updated every a period of time (such as 1 minute). Further acquiring Wi-Fi information of all the distributed network devices, comparing the Wi-Fi information with all the information in the sorting table to determine the distributed network device with the strongest Wi-Fi signal intensity value and the highest stability, and taking the distributed network device as a clone template device.
Step S20, sending a request for obtaining distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
before the network to be distributed is accessed to the network, the network to be distributed needs to acquire corresponding distribution network information, such as network names, distribution network passwords and the like, wherein each network corresponds to one network name, namely a Service Set Identifier (SSID) and a corresponding distribution network password, and the corresponding network name and the distribution network password can be preset by a user. In an embodiment, after determining the clone template device, the distribution network application program needs to send a request for obtaining the distribution network information of the clone template device to the server, and obtain the distribution network information of the clone template device according to the request, wherein after receiving the request sent by the distribution network application program, the server clones the distribution network information of the clone template device, that is, copies the distribution network information of the clone template device.
And step S30, receiving the distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information.
In this embodiment, the device to be networked includes two devices, the first device itself may install a distribution network application program, and the first device performs network distribution on itself through the installed distribution network application program, that is, the device to be networked and the distribution network device are the same device, such as a mobile phone, a television, a tablet computer, and the like; the second device is a device which needs to install a distribution network application program through a third party and carry out distribution network through the distribution network application program of the third party, such as an air conditioner, a refrigerator, a washing machine and the like, and the device to be distributed has no interface for a user to input distribution network information.
When the device to be configured with the network is the first device, the network-configuring device performs network configuration on the device by receiving the network-configuring information sent by the server, for example, the router is configured with a service set identifier SSID and a network-configuring password, and the network-configuring device is connected to the router by the service set identifier SSID and the network-configuring password after acquiring the service set identifier SSID and the network-configuring password.
When the equipment to be networked is the second equipment, namely the equipment to be networked needs to be networked through the distribution network equipment, at the moment, after the distribution network equipment receives the distribution network information sent by the server, the distribution network equipment sends a distribution network instruction to the equipment to be networked, the distribution network information is sent to the equipment to be networked, the equipment to be networked carries out distribution network according to the distribution network information, for example, the current distribution network equipment is a mobile phone, the equipment to be networked is an air conditioner, after the mobile phone receives the distribution network information sent by the server, the distribution network information is sent to the air conditioner, and the air conditioner is connected with a router according to a network name and a distribution network password in the distribution network information. Further, since there are a plurality of devices to be connected to the network, before the network is connected to the devices to be connected to the network, the target devices to be connected to the network need to be determined by the network connection devices, and then the network is connected to the target devices. Specifically, a user may scan a peripheral device to be networked that has entered a distribution network state through a distribution network application program in a mobile phone, for example, when a scanning function is started, the mobile phone automatically scans the device to be networked that has entered the distribution network state within a set range (e.g., 50 meters, 100 meters, etc.), and displays the scanned device to be networked in a form of a list on a screen, and the user may determine a target device to be distributed based on the list.
Optionally, in order to prevent malicious damage from attacking the network backend or maliciously aggravating the operation load of the network backend, in an embodiment, after the device to be networked accesses the router, the network backend is required to authenticate the identity of the device to be networked, and then the device to be networked can communicate with the network backend through the router. Specifically, when the device to be configured with the network is accessed to the router, the router carries a corresponding identity, judges whether the identity is stored, and authenticates the target device to be configured with the network based on the identity; if the identity is stored, the equipment to be networked can communicate with the network background through the router; and if the identity is not stored, the equipment to be networked cannot communicate with the network background.
In this embodiment, one of the distributed network devices is selected as a clone template device from all the distributed network devices; sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password; and receiving distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information. The distribution network information of the distributed network equipment is cloned, the distribution network is carried out on the equipment to be distributed on the basis of the distribution network information, a user does not need to carry out distribution network operation of inputting a network name and a distribution network password, on the basis of the distributed network equipment, the user can carry out one-key foolproof distribution network second and third or more equipment, the complexity of user operation is reduced, a more convenient distribution network mode is provided for the user, meanwhile, the distribution network flow of the IoT equipment is simplified, the distribution network success rate is improved, and the distribution network difficulty and the distribution network duration of the user are reduced.
Further, referring to fig. 3, a second embodiment of a network distribution method of the device of the present application is provided.
The difference between the second embodiment of the network distribution method of the device and the first embodiment of the network distribution method of the device is that after the step of selecting one of the distributed devices as the clone template device, the method comprises the following steps:
step S11, sending a clone ID request to the server according to the user information, so that the server generates a corresponding clone ID according to the user information, wherein the clone ID is a parameter associated with the user ID;
step S12, receiving the clone IDs, and determining users for carrying out network distribution on the equipment to be distributed according to the clone IDs, wherein one clone ID corresponds to one user, and one user corresponds to a plurality of clone IDs.
After the distribution network is successfully distributed, the device to be distributed needs to be bound to a specific user name, at this time, a clone ID is needed, and the device to be distributed with the successful distribution network is bound with the user based on the clone ID, wherein the clone ID is a parameter associated with the user ID and is used for representing which user currently distributes the distribution network to the device to be distributed, so that the user can control the operation of the device to be distributed through the APP.
The distribution network application program acquires user information in advance, such as user name, user ID, user state and the like, and sends a clone ID request to the server based on the user information, namely the clone ID request carries the user information. After receiving the clone ID request, the server obtains the user information carried by the clone ID request, and generates a corresponding clone ID based on the user information, for example, generates a corresponding clone ID based on the user ID. The server issues the clone IDs to the APP, and the APP sends the clone IDs to the equipment to be distributed, so that the equipment to be distributed determines users of the corresponding distribution network based on the clone IDs, wherein one clone ID corresponds to one user, and one user corresponds to a plurality of clone IDs.
In this embodiment, the APP sends a clone ID request to the server based on the user information, and the server generates a corresponding clone ID based on the user information, so that the device to be configured determines the user of the corresponding distribution network based on the clone ID.
Further, referring to fig. 4, a third embodiment of a network distribution method of the device of the present application is provided.
The third embodiment of the network distribution method of the device is different from the first and second embodiments of the network distribution method of the device in that the method is used for a server and comprises the following steps:
step S40, receiving a request for obtaining distribution network information of the clone template equipment sent by the distribution network equipment;
the method comprises the steps that a server receives a request for obtaining distribution network information of a clone template device, wherein the request is sent by a distribution network device through a network, and the server is a cloud server.
And step S50, cloning the distribution network information of the cloning template equipment according to the request, and sending the cloned distribution network information to the distribution network equipment.
After receiving a request for acquiring distribution network information of a clone template device, a server determines the current clone template device (namely the distributed network device), and searches a database for a device matched with the clone template device; if the corresponding matched equipment is found, the cloning template equipment is reported in the server, and the distribution network information of the cloning template equipment is stored in the server. And further acquiring distribution network information of the cloned template equipment, cloning the distribution network information to obtain cloned distribution network information, and sending the cloned distribution network information to a distribution network application program. When the distribution network of each device is successful, the corresponding distribution network information is sent to the server, and the server stores the distribution network information.
In an embodiment, after receiving a clone ID request sent by a distribution network application program, a server obtains user information in the clone ID request, such as a user name, a user ID, a user state, and the like, generates a corresponding clone ID according to the user information, and sends the clone ID to the distribution network application program, for example, if the user ID in the user information is 3246889.6, the user ID is cloned, and the cloned ID is 3246889.6, where the user ID is a unique identifier representing a user, and the clone ID is used to characterize which user performs distribution network operation on a device to be distributed, so that the server binds the device with successful distribution network to the corresponding client based on the clone ID.
The server sends the corresponding distribution network information to the APP based on the clone request by receiving the clone request sent by the APP, so that when the equipment is distributed with a network, a user does not need to manually input a network name and a distribution network password, the operation of the distribution network is simplified, and the efficiency of the distribution network is improved.
Further, in a fourth embodiment of the network distribution method of the device of the present application:
the fourth embodiment of the network distribution method of the device is different from the first, second and third embodiments of the network distribution method of the device in that, after the step of sending the clone ID to the network distribution application program, the method includes:
step S51, receiving the equipment information sent by the distribution network equipment, and registering the distribution network equipment according to the equipment information;
alternatively, the first and second electrodes may be,
and step S52, receiving equipment information sent by equipment to be distributed, and registering the equipment to be distributed according to the equipment information.
The device information includes the clone ID, the distribution network information, the device ID and the MAC address of the device.
In this embodiment, after accessing a router, a device to be configured sends corresponding device information to a server, where the device information includes a clone ID, distribution network information, a device ID, and a device MAC address; wherein the device ID is used to characterize which device, e.g., refrigerator, air conditioner, etc.; the device MAC address is used to define the location of the target device to be networked. Specifically, if the equipment to be networked and the distribution network equipment are the same equipment (if the television is the distribution network equipment and the television end detects that the television is in a state of not being distributed, the television is also the equipment to be networked), the server receives equipment information sent by the distribution network equipment and registers the distribution network equipment according to the equipment information; if the equipment to be networked is non-network-distribution equipment (for example, the network-distribution equipment is a user mobile phone, and the network-distribution equipment is any one or more of intelligent terminals such as an air conditioner, a washing machine and a refrigerator in a user home), the server receives equipment information sent by the network-distribution equipment, and registers the network-distribution equipment according to the equipment information. The server registers the equipment according to the received equipment information, namely the server stores the equipment information into a database, and the registration refers to a process of storing the equipment data into the database. After the server registers the equipment information, the equipment represents that the network is distributed, when a request for acquiring a list of the distributed equipment is received, the equipment information of the distributed equipment is directly inquired from the database, a corresponding list is generated, and the list is sent to the corresponding network distribution equipment.
After registering the equipment to be distributed, the server acquires the mapping relation between the clone ID and the user ID, searches the user for distributing the network to the equipment to be distributed according to the mapping relation, binds the equipment to be distributed to the user, namely establishes the association relation between the equipment to be distributed and the user, wherein the clone template equipment can also be searched based on the clone ID.
Optionally, after the binding between the target device to be configured and the user is completed, the server sends information of successful network distribution to the network distribution application program, so that the network distribution application program displays the information of successful network distribution, and prompts the user that the current device has successfully configured a network.
In this embodiment, the device to be distributed is registered through the device information sent by the device to be distributed, and the corresponding user can be searched through the mapping relationship between the clone ID and the user ID, so as to complete the binding between the device to be distributed and the user.
In order to better explain the network distribution method of the device of the present application, in an embodiment, a method for performing cloned network distribution based on the distributed network device is provided, and if a user is in the existing network distribution device, the user only needs to select the distributed network device as a cloning template device, that is, the cloned information can be used to perform one-key network distribution on the device to be distributed. The main process of the distribution network comprises the following steps:
firstly, when the equipment A successfully distributes the network, uploading and storing the home Wi-Fi and the password of the distribution network to an IoT cloud;
secondly, the equipment B to be distributed enters a distribution network state, and the APP scans the equipment;
thirdly, clicking the equipment B to be distributed, and selecting the equipment A to be cloned and distributed;
fourthly, the APP requests the family Wi-Fi and the password of the distributed network device A from the IOT cloud, and applies a clone ID to the IoT cloud, wherein the clone ID is associated with the user, one clone ID only has one user, and one user can have a plurality of clone IDs;
fifthly, the APP sends the Wi-Fi, the password and the clone ID to the equipment B to be distributed;
sixthly, after receiving the home Wi-Fi and the password, the device B to be networked connects the home Wi-Fi, and after connecting the Wi-Fi, sends and registers the clone ID, the device ID, the MAC address of the device, the Wi-Fi of the distribution network and the password to the IoT cloud.
And seventhly, the IoT cloud stores the information of the equipment, reversely searches a corresponding user through the clone ID, maps the equipment B to be distributed under the user name in an associated manner, takes the user as the equipment owner of the equipment B to be distributed, and pushes a distribution network success message to the APP of the user.
In the embodiment, under the condition of the existing distribution network equipment, the distributed network equipment is selected as the clone template equipment, and the one-key distribution network can be performed on the to-be-distributed network equipment by using the clone information, so that the distribution network steps of inputting a network name and a distribution network password by a user are reduced, and meanwhile, the distribution network flow of the IoT equipment is simplified, so that the distribution network success rate is improved, and the distribution network difficulty and the distribution network duration of the user are reduced.
The present application further provides a network distribution device of an apparatus, in an embodiment, the network distribution device of the apparatus includes a memory, a processor, and a network distribution program of the apparatus stored on the memory and capable of running on the processor, and when executed by the processor, the network distribution program of the apparatus implements the following steps:
selecting one of the distributed network devices as a clone template device;
sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and receiving the distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information.
In one embodiment, the distribution network device of the equipment comprises a selection module, a request sending module and a distribution network module.
The selection module is used for selecting one of the distributed network devices as a clone template device;
the request sending module is used for sending a request for obtaining distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and the distribution network module is used for receiving the distribution network information of the clone template equipment and carrying out distribution network operation according to the distribution network information.
Further, the distribution network module comprises a distribution network unit;
the distribution network unit is used for sending a distribution network instruction to indicate the equipment to be distributed to carry out distribution network according to the distribution network information;
and the distribution network unit is also used for detecting whether the distribution network unit is in a state to be distributed, and if so, accessing the corresponding network according to the distribution network information.
Further, the selection module comprises a sending unit and a receiving unit;
the sending unit is used for sending a clone ID request to the server according to user information so that the server generates a corresponding clone ID according to the user information, wherein the clone ID is a parameter associated with the user ID;
the receiving unit is used for receiving the clone IDs and determining users for carrying out network distribution on the equipment to be distributed according to the clone IDs, wherein one clone ID corresponds to one user, and one user corresponds to a plurality of clone IDs.
The implementation of the functions of each module of the distribution network device of the above-mentioned apparatus is similar to the process in the above-mentioned method embodiment, and is not described herein again.
The present application further provides a server, in an embodiment, the server includes a memory, a processor, and a distribution network program of a device stored on the memory and operable on the processor, where the distribution network program of the device, when executed by the processor, implements the following steps:
receiving a request for acquiring distribution network information of the clone template equipment, which is sent by the distribution network equipment;
and cloning the distribution network information of the cloned template equipment according to the request, and sending the cloned distribution network information to the distribution network equipment.
In one embodiment, the server includes a receiving module and a cloning module.
The receiving module is used for receiving a request for acquiring the distribution network information of the clone template equipment, which is sent by the distribution network equipment;
and the cloning module is used for cloning the distribution network information of the cloning template equipment according to the request and sending the cloned distribution network information to the distribution network equipment.
Further, the cloning module comprises a receiving unit and a cloning unit;
the receiving unit is used for receiving a clone ID request sent by the distribution network equipment;
and the cloning unit is used for acquiring the user information in the cloning ID request, generating a corresponding cloning ID according to the user information, and sending the cloning ID to the distribution network equipment.
Further, the receiving unit is further configured to receive device information sent by the distribution network device, and register the distribution network device according to the device information; alternatively, the first and second electrodes may be,
the receiving unit is further configured to receive device information sent by a device to be configured, and register the device to be configured according to the device information; the device information includes the clone ID, the distribution network information, the device ID and the MAC address of the device.
Further, the receiving unit comprises an acquiring subunit and a searching subunit;
the obtaining subunit is configured to obtain a mapping relationship between the clone ID and a user ID;
and the searching subunit is used for searching the user for the network distribution of the equipment to be distributed according to the mapping relation and binding the equipment to be distributed to the user.
The implementation of the functions of each module of the server is similar to the process in the embodiment of the method, and is not described in detail here.
In addition, the present application also provides a network distribution device of an apparatus, where the network distribution device of the apparatus includes a memory, a processor, and a network distribution program of the apparatus stored in the memory and running on the processor, and the processor implements the steps of the network distribution method of the apparatus when executing the network distribution program of the apparatus.
In addition, the present application also provides a computer readable storage medium, on which a distribution network program of a device is stored, and when executed by a processor, the distribution network program of the device implements the steps of the distribution network method of the device as described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (11)

1. A network distribution method of equipment is used for the network distribution equipment, and comprises the following steps:
selecting one of the distributed network devices as a clone template device;
sending a request for acquiring distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and receiving the distribution network information of the clone template equipment, and carrying out distribution network operation according to the distribution network information.
2. The method for network distribution of the device according to claim 1, wherein the step of performing network distribution operation according to the distribution network information comprises:
sending a distribution network instruction to indicate the equipment to be distributed to carry out distribution network according to the distribution network information;
alternatively, the first and second electrodes may be,
and detecting whether the network is in a state of waiting for distribution, and if so, accessing the corresponding network according to the distribution network information.
3. The method for network distribution of devices according to claim 1, wherein the step of selecting one of the devices in the network-distributed devices as the clone template device comprises:
sending a clone ID request to the server according to user information so that the server generates a corresponding clone ID according to the user information, wherein the clone ID is a parameter associated with the user ID;
and receiving the clone IDs, and determining users for carrying out network distribution on the equipment to be distributed according to the clone IDs, wherein one clone ID corresponds to one user, and one user corresponds to a plurality of clone IDs.
4. A network distribution method of equipment is used for a server, and comprises the following steps:
receiving a request for acquiring distribution network information of the clone template equipment, which is sent by the distribution network equipment;
and cloning the distribution network information of the cloned template equipment according to the request, and sending the cloned distribution network information to the distribution network equipment.
5. The method for network distribution of devices according to claim 4, wherein the step of receiving the request for obtaining the distribution network information of the cloned template device from the distribution network device comprises:
receiving a clone ID request sent by the distribution network equipment;
and acquiring user information in the clone ID request, generating a corresponding clone ID according to the user information, and sending the clone ID to the distribution network equipment.
6. The method for network distribution of devices of claim 5, wherein the step of sending the clone ID to the network distribution device is followed by:
receiving equipment information sent by the distribution network equipment, and registering the distribution network equipment according to the equipment information; alternatively, the first and second electrodes may be,
receiving equipment information sent by equipment to be distributed, and registering the equipment to be distributed according to the equipment information;
the device information includes the clone ID, the distribution network information, the device ID and the MAC address of the device.
7. The device network distribution method according to claim 6, wherein after the step of registering the network distribution device according to the device information or after the step of registering the device to be distributed according to the device information, the method comprises:
acquiring a mapping relation between the clone ID and a user ID;
and searching a user for carrying out network distribution on the equipment to be distributed according to the mapping relation, and binding the equipment to be distributed to the user.
8. A network-distribution apparatus of a device, the network-distribution apparatus comprising:
the selection module is used for selecting one of the distributed network devices as a clone template device;
the request sending module is used for sending a request for obtaining distribution network information of the clone template equipment to a server, wherein the distribution network information comprises a network name and a distribution network password;
and the distribution network module is used for receiving the distribution network information of the clone template equipment and carrying out distribution network operation according to the distribution network information.
9. A server, characterized in that the server comprises:
the receiving module is used for receiving a request for acquiring the distribution network information of the clone template equipment, which is sent by the distribution network equipment;
and the cloning module is used for cloning the distribution network information of the cloning template equipment according to the request and sending the cloned distribution network information to the distribution network equipment.
10. A network distribution apparatus of a device, characterized in that the network distribution apparatus of the device comprises a memory, a processor and a network distribution program of the device stored on the memory and running on the processor, and the processor implements the steps of the method according to any one of claims 1 to 3 or the steps of the method according to any one of claims 4 to 7 when executing the network distribution program of the device.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a distribution network program of a device, which distribution network program of the device, when executed by a processor, carries out the steps of the method of any one of claims 1 to 3, or the steps of the method of any one of claims 4 to 7.
CN202110273551.5A 2021-03-12 2021-03-12 Network distribution method and device of equipment, server and computer readable storage medium Pending CN112929224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110273551.5A CN112929224A (en) 2021-03-12 2021-03-12 Network distribution method and device of equipment, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110273551.5A CN112929224A (en) 2021-03-12 2021-03-12 Network distribution method and device of equipment, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112929224A true CN112929224A (en) 2021-06-08

Family

ID=76174913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110273551.5A Pending CN112929224A (en) 2021-03-12 2021-03-12 Network distribution method and device of equipment, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112929224A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747476A (en) * 2021-09-22 2021-12-03 华帝股份有限公司 Automatic network distribution method and system
CN114258050A (en) * 2021-12-20 2022-03-29 珠海格力电器股份有限公司 Method and module for batch distribution of multiple devices and batch network unbinding
CN115996172A (en) * 2021-10-18 2023-04-21 芜湖美的厨卫电器制造有限公司 Equipment network distribution method and device
WO2023078350A1 (en) * 2021-11-08 2023-05-11 美的集团股份有限公司 Network distribution method and system for household appliance, and electronic device and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011726A (en) * 2016-11-02 2018-05-08 九阳股份有限公司 A kind of household electrical appliances distribution method and system
CN108234220A (en) * 2018-02-11 2018-06-29 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
CN109412911A (en) * 2018-11-21 2019-03-01 广东美的制冷设备有限公司 Equipment distribution method, apparatus, household appliance and server
CN110912761A (en) * 2019-12-31 2020-03-24 美的集团股份有限公司 Binding method and false allocation prevention method for automatic distribution network of equipment and cloud server
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112152853A (en) * 2020-09-23 2020-12-29 青岛海尔科技有限公司 Equipment network distribution method and device, computer-readable storage medium and electronic device
CN112436985A (en) * 2020-11-10 2021-03-02 深圳Tcl新技术有限公司 Network distribution method, device, terminal equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011726A (en) * 2016-11-02 2018-05-08 九阳股份有限公司 A kind of household electrical appliances distribution method and system
CN108234220A (en) * 2018-02-11 2018-06-29 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
CN109412911A (en) * 2018-11-21 2019-03-01 广东美的制冷设备有限公司 Equipment distribution method, apparatus, household appliance and server
CN110912761A (en) * 2019-12-31 2020-03-24 美的集团股份有限公司 Binding method and false allocation prevention method for automatic distribution network of equipment and cloud server
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112152853A (en) * 2020-09-23 2020-12-29 青岛海尔科技有限公司 Equipment network distribution method and device, computer-readable storage medium and electronic device
CN112436985A (en) * 2020-11-10 2021-03-02 深圳Tcl新技术有限公司 Network distribution method, device, terminal equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747476A (en) * 2021-09-22 2021-12-03 华帝股份有限公司 Automatic network distribution method and system
CN115996172A (en) * 2021-10-18 2023-04-21 芜湖美的厨卫电器制造有限公司 Equipment network distribution method and device
WO2023078350A1 (en) * 2021-11-08 2023-05-11 美的集团股份有限公司 Network distribution method and system for household appliance, and electronic device and computer storage medium
CN114258050A (en) * 2021-12-20 2022-03-29 珠海格力电器股份有限公司 Method and module for batch distribution of multiple devices and batch network unbinding

Similar Documents

Publication Publication Date Title
CN108259643B (en) Binding method and device of intelligent device and user operation terminal, and electronic device
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN110545569B (en) Network distribution method and system of intelligent device and readable medium
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
US20220239524A1 (en) Network configuration method for home appliance, home appliance, mobile terminal, and storage medium
US20180041893A1 (en) Method and system of multi-terminal mapping to a virtual sim card
WO2020103360A1 (en) Device network configuration method and apparatus, and household appliance and server
US20160255081A1 (en) System, Device And Method For Network Authorization Based On No Password Or Random Password
US20190014532A1 (en) Adss enabled global roaming system
KR102015236B1 (en) A method, terminal device, and server system for connecting communication devices
CN113132973B (en) Equipment network distribution method and system and computer readable storage medium
US11075895B2 (en) Cloud operation interface sharing method, related device, and system
CN106789470B (en) Terminal resource sharing method, device and system
CN111262865B (en) Method, device and system for making access control strategy
CN106375442B (en) Method and device for cross-platform management of equipment information
US11172520B2 (en) Connection method and device
CN112738046B (en) One-key login method, terminal and system server
CN105792215A (en) Detection method of pseudo base station and terminal thereof
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
CN107612883B (en) Automatic login method and system for mobile application program
CN109429239B (en) Method and device for connecting wireless network
CN108134999B (en) WiFi connection method, connection device, terminal equipment and computer-readable storage medium
TWI811558B (en) Information processing method, device, device, and computer-readable storage medium
CN113132929A (en) Equipment network access method, device, computer equipment and storage medium
CN107135075B (en) Authorization method and device for user operation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210608

RJ01 Rejection of invention patent application after publication