CN110621017B - Network configuration method, equipment and storage medium - Google Patents

Network configuration method, equipment and storage medium Download PDF

Info

Publication number
CN110621017B
CN110621017B CN201810631371.8A CN201810631371A CN110621017B CN 110621017 B CN110621017 B CN 110621017B CN 201810631371 A CN201810631371 A CN 201810631371A CN 110621017 B CN110621017 B CN 110621017B
Authority
CN
China
Prior art keywords
equipment
gateway
home
networking data
gateway equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810631371.8A
Other languages
Chinese (zh)
Other versions
CN110621017A (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.)
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Original Assignee
Foshan Shunde Midea Electrical Heating Appliances Manufacturing 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 Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd filed Critical Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority to CN201810631371.8A priority Critical patent/CN110621017B/en
Publication of CN110621017A publication Critical patent/CN110621017A/en
Application granted granted Critical
Publication of CN110621017B publication Critical patent/CN110621017B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless

Abstract

The embodiment of the invention discloses a network configuration method, equipment and a storage medium, wherein the method comprises the following steps: the home equipment acquires a search instruction; the home equipment responds to the search instruction and searches for gateway equipment meeting preset conditions; the home equipment acquires networking data of the gateway equipment according to the identifier of the gateway equipment; and the home equipment accesses the home equipment to a network corresponding to the gateway equipment according to the networking data of the gateway equipment.

Description

Network configuration method, equipment and storage medium
Technical Field
The present invention relates to wireless network distribution technologies, and in particular, to a network configuration method, device, and storage medium.
Background
At present, all smart home devices sold in the market in the field of smart home basically have a function of connecting to a Wireless local area network (WiFi). If the smart home device wants to connect with the WiFi, the account and the password of the WiFi need to be found naturally, namely, the account and the password of the WiFi are manually input on a user interface of the smart home device by a user, and then the smart home device can be connected with the WiFi. However, if there are many smart home devices in a home, the user needs to manually input an account and a password of WiFi one by one, which wastes a lot of time for the user.
Disclosure of Invention
In view of this, embodiments of the present invention provide a network configuration method, a device, and a storage medium, in which a home device automatically obtains networking data of a gateway device through an intranet and extranet penetration function of the home device, so as to automatically access a network corresponding to the gateway device, which is convenient for a user to use and can quickly connect to the network.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a network configuration method, which is applied to household equipment and comprises the following steps:
the home equipment acquires a search instruction;
the home equipment responds to the search instruction and searches for gateway equipment meeting preset conditions;
the home equipment acquires networking data of the gateway equipment according to the identifier of the gateway equipment;
and the home equipment accesses the home equipment to a network corresponding to the gateway equipment according to the networking data of the gateway equipment.
The embodiment of the invention provides a network configuration method, which is applied to gateway equipment and comprises the following steps:
the gateway equipment receives a data request sent by at least one piece of home equipment through the internal and external network penetration function of the gateway equipment;
the gateway equipment responds to the data request and sends networking data of the gateway equipment to the at least one piece of home equipment;
The gateway equipment receives an authentication request containing networking data sent by the at least one piece of home equipment;
and if the authentication request is matched with a preset request condition, the gateway equipment sends an authentication passing message to the at least one household equipment.
An embodiment of the present invention provides a network configuration device, where the device at least includes: a processor and a storage medium configured to store executable instructions, wherein:
the processor is configured to execute stored executable instructions configured to perform the network configuration method described above; alternatively, the executable instructions are configured to perform the network configuration method described above.
An embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the above-mentioned network configuration method; alternatively, the executable instructions are configured to perform the network configuration method described above.
The embodiment of the invention provides a network configuration method, equipment and a storage medium, wherein home equipment acquires a search instruction; the home equipment responds to the search instruction and searches for gateway equipment meeting preset conditions; the home equipment acquires networking data of the gateway equipment according to the identifier of the gateway equipment; the home equipment accesses the home equipment to a network corresponding to the gateway equipment according to the networking data of the gateway equipment; therefore, the home equipment automatically acquires the networking data of the gateway equipment through the self internal and external network penetration function, so that the network corresponding to the gateway equipment is automatically accessed, and the home equipment is convenient for a user to use and can be quickly connected with the network.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic flow chart illustrating a method for implementing network configuration according to an embodiment of the present invention;
FIG. 2 is an interaction diagram of a network configuration method according to an embodiment of the present invention;
FIG. 3 is another schematic interaction diagram for implementing a network configuration method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a system architecture for implementing a network configuration method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an apparatus structure according to an embodiment of the present invention.
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.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The home devices may be implemented in various forms. For example, the devices described in the present invention may include devices such as intelligent refrigerators, intelligent washing machines, intelligent washing devices, intelligent kitchen appliances, intelligent televisions, intelligent floor sweeping robots, other intelligent household appliances, and the like.
While the following description will be given by way of example of a smart home device, it will be appreciated by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to other devices of a fixed type, in addition to elements particularly used for mobile purposes.
In order to better understand the network configuration method provided in the embodiment of the present invention, first, the implementation of the internal and external network penetration function in the related art is described.
The intranet is also called a local area network. In the range, an intranet is a small portion of a network. For example, the simplest intranet is an intranet formed by connecting two computers by a network cable. A general specific environment is an intranet, such as a campus network of a school; a company's local area network, etc. Internet Protocol (IP) addresses of the intranet are commonly known, such as 192.168.1.8 or 127.0.0.3. The intranet IP is not directly connected to the extranet.
The extranet, also called the internet. By way of example only, a worldwide internetwork is meant. If a host is connected with the network in which the host is located and also connected with the network in other areas, the host needs to be connected with the network through an external network to access the network. The extranet IP address is globally connectible.
The process of internal and external net penetration can be simplified into the following steps:
in the first step, it is assumed that host a and host B are in an unused intranet (i.e., host a is connected to an extranet with respect to host B).
In the second step, host a and host B in different intranets are connected to the processor, respectively, so that a channel (which may be considered as a "hole") is opened on each processor, so that the port number and ID address of each host are informed to the other.
And thirdly, after receiving the connection between the host A and the host B, the processor acquires the port numbers and ID addresses of the host A and the host B, and then sends the port numbers and the ID addresses to the host A and the host B. Therefore, the host a and the host B can directly communicate with each other by connecting to the network of the other. The processor serves as a 'microphone' here, and informs the port number and the ID address of the host A and the host B to each other; obviously, the household equipment with the function of penetrating the internal and external networks, which is realized by other technical means, is also within the protection scope of the embodiment.
An embodiment of the present invention provides a network configuration method, fig. 1 is a flowchart illustrating a method for implementing network configuration according to an embodiment of the present invention, and as shown in fig. 1, the method is executed by a home device, and the method includes the following steps:
step S101, the home equipment acquires a search instruction.
Here, the household device may be an intelligent refrigerator, an intelligent washing machine, an intelligent washing device, an intelligent kitchen appliance, an intelligent television, an intelligent floor sweeping robot, other intelligent household appliance small devices, and the like. The home device obtains the search instruction, and it can be understood that the home device starts the function of the search gateway device when the user powers on the home device.
And S102, responding to the search instruction by the household equipment, and searching for gateway equipment meeting preset conditions.
Here, the gateway device may be a network switch having a three-layer switching function, a router, a host that has a routing function enabled by software, or the like, a network device having a routing function, or a host device; the gateway device that satisfies the preset condition may be determined to be the gateway device that satisfies the preset condition if the transmission power of the gateway device is greater than a preset threshold. Before the home equipment responds to the search instruction, the home equipment sends a data request to a plurality of gateway equipment (namely all gateway equipment capable of receiving the data request sent by the home equipment) according to the internal and external network penetration function of the home equipment, and acquires networking data of the plurality of gateway equipment; and then the household equipment searches for the gateway equipment meeting the preset conditions from the plurality of gateway equipment.
And step S103, the home equipment acquires the networking data of the gateway equipment according to the identification of the gateway equipment.
Here, the networking data includes at least an ID address of the gateway device, an access password of the gateway device. The identifier of the gateway device is information capable of uniquely identifying the gateway device, and may be, for example, a serial number of the gateway device or a model of the gateway device.
And step S104, the home equipment accesses the home equipment to a network corresponding to the gateway equipment according to the networking data of the gateway equipment.
Here, the home device accesses itself to the network corresponding to the gateway device according to the networking data of the gateway device, which can be understood as that the home device accesses to the network corresponding to the gateway device according to the obtained ID address and password of the gateway device.
In the network configuration method provided by the embodiment of the invention, firstly, home equipment acquires a search instruction; then, the home equipment responds to the search instruction and searches for gateway equipment meeting preset conditions; the home equipment acquires networking data of the gateway equipment according to the identifier of the gateway equipment; finally, the home equipment accesses the home equipment to a network corresponding to the gateway equipment according to the networking data of the gateway equipment; so, home equipment pierces through the function through the internal and external networks of self, acquires gateway equipment's networking data automatically to automatically, the network that gateway equipment corresponds is accessed into, and both convenience of customers uses and can the high-speed joint network, has promoted user experience greatly and has felt.
In other embodiments, before the step S101, that is, before the home equipment acquires the search instruction, the method further includes the following steps:
and step S11, the household equipment starts the internal and external network penetration function of the household equipment.
Here, once the household device is powered on, the household device starts its own internal and external network penetration function.
And step S12, the home equipment sends a data request to the gateway equipment through the internal and external network penetration function of the home equipment.
Here, the home device uses its own intranet and extranet penetration function to send data requests to multiple gateway devices (i.e., to all gateway devices that can receive data requests of the home device).
Step S13, the home equipment receives the networking data of the gateway equipment and the identification of the gateway equipment which are sent by the gateway equipment after the gateway equipment responds to the data request, and obtains a corresponding relation list of the identification of the gateway equipment and the networking data.
Before responding to a search instruction, the home equipment acquires the networking data of all gateway equipment in a searchable range and the identifications of the gateway equipment by adopting the internal and external network penetration function of the home equipment, then generates a corresponding relation list of the identifications of the gateway equipment and the networking data, and stores the corresponding relation list in the home equipment, so that after receiving the search instruction later, the home equipment can directly search the gateway equipment meeting the conditions and the networking data of the gateway equipment in the corresponding relation list.
And step S14, the home equipment responds to the search instruction and searches for the gateway equipment meeting the preset conditions.
Here, the home device may be a gateway device that searches for a gateway device that satisfies a preset condition from gateway devices that return data requests; the home devices may also be gateway devices that directly search for a gateway device that meets a preset condition within a searchable range, and after the gateway device is searched, the process proceeds to step S15.
Step S15, inquiring the corresponding relation list according to the identification of the gateway device to obtain the networking data of the gateway device.
Here, the home device queries the correspondence list according to the identifier of the gateway device satisfying the preset condition, and finds the networking data of the gateway device satisfying the preset condition.
In the embodiment of the invention, before starting the search, the electronic equipment acquires the networking data of all gateway equipment, finds the gateway equipment meeting the conditions after receiving the search instruction, and then obtains the networking data of the gateway equipment from the corresponding relation list; therefore, when the home equipment is connected with the network, the networking data of the gateway equipment meeting the conditions is directly searched from the corresponding relation list, so that the searching time is saved, and the speed of accessing the home equipment to the network is increased.
In other embodiments, after the step S101, that is, after the home equipment acquires the search instruction, the method further includes the following steps:
and step S21, responding to the search instruction, and starting the internal and external network penetration function of the home equipment.
Here, when the home device receives the search command, the intranet/extranet penetration function is first started.
And step S22, the home equipment sends a data request to the gateway equipment through the internal and external network penetration function of the home equipment.
Here, the home device uses its own intranet and extranet penetration function to send data requests to multiple gateway devices (i.e., to all gateway devices that can receive data requests of the home device).
Step S23, the home device receives the networking data of the gateway device sent by the gateway device after the gateway device responds to the data request.
Here, the networking data refers to data transmitted by all gateway devices responding to the data request.
Step S24, determining a gateway device that satisfies a preset condition from among gateway devices that transmit networking data of the gateway device.
Here, in step S24, it is understood that, from all gateway devices transmitting networking data, a gateway device satisfying a preset condition, that is, a gateway device having a transmission power greater than a preset threshold value is selected.
In this embodiment, after receiving the search instruction, all gateway devices are searched to obtain networking data of all gateway devices, and then, a gateway device meeting the condition is selected from all gateway devices to obtain networking data of the gateway device meeting the condition; therefore, when the household equipment needs to be networked, all the nearby gateway equipment are searched first, and the gateway equipment with a strong signal is selected from the gateway equipment, so that the fluency of the network connected with the household equipment is ensured.
An embodiment of the present invention provides a network configuration method, fig. 2 is an interaction schematic diagram of a network configuration method implemented in an embodiment of the present invention, and as shown in fig. 2, the method is interactively executed by a home device and a gateway device, and the method includes the following steps:
step S201, the home equipment acquires a search instruction.
Here, the search instruction may be to start the home device, or may be input by the user after starting the home device, for example, the user clicks a search button.
Step S202, responding to the search instruction, and starting the internal and external network penetration function of the home equipment.
Step S203, the home equipment sends a data request to the gateway equipment through the internal and external network penetration function of the home equipment.
Here, the home device sends a data request to all searchable gateway devices through its own intranet and extranet penetration function.
And step S204, the gateway equipment receives a data request sent by at least one household equipment through the internal and external network penetration function of the gateway equipment.
Here, one gateway device connects multiple home devices, for example, a network to which all home devices in the same room are connected is a network covered by the same router.
And S205, the gateway equipment responds to the data request and sends networking data of the gateway equipment to the at least one household equipment.
Here, the networking data includes at least an ID address of the gateway device, an access password of the gateway device.
Step S206, the home equipment receives the networking data of the gateway equipment sent by the gateway equipment after the gateway equipment responds to the data request.
Here, the networking data refers to data transmitted by all gateway devices responding to the data request.
And step S207, searching for the gateway equipment meeting the preset conditions by the household equipment.
Here, the home devices search for gateway devices that satisfy a preset condition from among all gateway devices that transmit networking data to the home devices.
And S208, the home equipment acquires the networking data of the gateway equipment according to the identifier of the gateway equipment.
Here, the home device acquires, according to the identifier of the gateway device, networking data corresponding to the identifier of the gateway device from all the networking data transmitted to the home device.
Step S209, the home device sends an authentication request including the networking data to the gateway device.
Step S210, the gateway device receives an authentication request containing networking data sent by the at least one home device.
Step S211, if the authentication request matches a preset request condition, the gateway device sends an authentication passing message to the at least one home device.
Here, the authentication request matches the preset request condition, and may be understood as networking data (i.e., an ID address and a networking password) included in the authentication request is the same as the preset ID address and the networking password.
Step S212, the home device receives the authentication passing message sent by the gateway device.
Here, after the home device receives the authentication passing message, the home device successfully accesses the network corresponding to the gateway device.
In the embodiment of the invention, after the home equipment acquires the search instruction, the networking data of the plurality of gateway devices are acquired, and then the gateway devices meeting the preset conditions are selected from the networking data and the networking data is acquired, so that the gateway devices are accessed into the network of the gateway devices.
In other embodiments, after the step S212, that is, after the home device receives the authentication passing message sent by the gateway device, the method further includes the following steps:
step S221, when the networking data of the gateway equipment is updated, the household equipment receives the updated networking data sent by the gateway equipment.
Here, the updating of the networking data of the gateway device may be considered to be the changing of the networking data, for example, the changing of an account number and an access password of WiFi. That is to say, after the networking data of the gateway device is changed, the gateway device automatically sends the changed networking data to the home equipment which is within the coverage of the gateway device and is not accessed to the gateway device for the first time, so that on one hand, the home equipment connected with the gateway device is ensured not to be disconnected due to the change of the networking data; on the other hand, other devices which want to talk off the network cannot access the gateway device.
Step S222, the home equipment accesses the home equipment to the network corresponding to the gateway equipment again according to the updated networking data, and updates the corresponding relation list.
Here, the home device receives the updated networking data, and updates the networking data of the gateway device in the correspondence list to the updated networking data.
In this embodiment, when the networking data of the gateway device is updated, the gateway device automatically sends the updated networking data to the home equipment which is not accessed for the first time, so that the home equipment which has been accessed to the network once cannot be disconnected from the network due to the change of the networking data of the gateway device, and the user does not need to manually input the updated networking data again into the home equipment, which is not only convenient for the user to use, but also does not influence the normal work of the home equipment.
In other embodiments, after the step S212, that is, after the home device receives the authentication passing message sent by the gateway device, the method further includes the following steps:
in step S231, after the gateway device executes the input clearing operation, the gateway device receives the set networking data pushed by the cloud.
Here, the clearing operation includes: and restoring factory settings of the gateway equipment, restarting the gateway equipment or updating networking data of the gateway equipment. For example, when the gateway device is a router, the router is restored to factory settings or restarted. When the router is restarted, the cloud sends the set networking data (namely the set login account and the set password of the router) stored in the cloud to the router. The set networking data can be the same as the networking data of the router before the router is not restarted or factory settings are restored, namely after the router is restarted, the cloud sends the account and the password before the router to the router so that the router does not change the login account and the access password of the router; therefore, the situation that the household equipment changes an access account and an access password for accessing the gateway equipment is omitted; obviously, the set networking data may also be the same as the networking data of the router before the factory settings are not restarted or restored, and at this time, the router is required to retransmit the received set networking data to the home device, so that the home device can successfully access the network of the gateway device.
Step S232, if the set networking data is different from the networking data before the gateway equipment executes the input clearing operation, the gateway equipment sends the set networking data to the household equipment.
In the embodiment of the invention, when the gateway equipment is restarted or factory settings of the gateway equipment are restored, the cloud automatically pushes the set networking data to the gateway equipment, and if the set networking data is different from the previous networking data, the gateway equipment actively sends the set networking data to the home equipment, so that a user does not need to input a connection account and a password again, the time of the user is saved, and the networking speed of the home equipment can be higher.
In other embodiments, the method further comprises the steps of:
and step S241, outputting the connection state of the household equipment and the gateway equipment on a visual interface of the gateway equipment.
Here, the visual interface may be a visual User Interface (UI) installed on the gateway device, or may be a display interface of an application program of the gateway device. For example, the connection state of the home device and the gateway device is displayed in an application program corresponding to the gateway device, and a user can check the connection state of the home device and the gateway device by logging in the application program corresponding to the gateway device. After the user can log in the application program, the connection between the household equipment and the gateway equipment is disconnected through sliding or clicking operation.
Step S242, if the disconnection operation input on the visual interface is detected, the gateway device responds to the disconnection operation and disconnects from the home device.
Here, the disconnection operation may be a click operation or a slide operation input by the user on the visual interface.
In this embodiment, a user may input a disconnection or connection operation in a visual interface (i.e., a display interface of an application program corresponding to the gateway device or a display interface of a web page corresponding to the gateway device), so as to control a connection state between the gateway device and the home device if the disconnection operation input in the visual interface is detected, which is convenient for the user to use.
An embodiment of the present invention provides a network configuration method, fig. 3 is another schematic interaction diagram illustrating an implementation of the network configuration method according to the embodiment of the present invention, and as shown in fig. 3, the method is interactively executed by a home device and a gateway device, and the method includes the following steps:
step S301, the household equipment starts the internal and external network penetration function of the household equipment.
Here, after the household equipment is powered on, the household equipment starts the internal and external network penetration function of the household equipment; the household equipment can be a plurality of equipment, such as an intelligent refrigerator, an intelligent washing machine, an intelligent electric cooker and the like in a home.
And step S302, the household equipment sends a data request to the gateway equipment within a preset range through the internal and external network penetration function of the household equipment.
Step S303, the gateway device receives a data request sent by at least one household device through the internal and external network penetration function of the gateway device.
Step S304, the gateway device responds to the data request and sends the networking data of the gateway device to the at least one household device.
Step S305, the home equipment receives the networking data of the gateway equipment and the identification of the gateway equipment which are sent by the gateway equipment after the gateway equipment responds to the data request, and obtains a corresponding relation list of the identification of the gateway equipment and the networking data.
And S306, the home equipment acquires a search instruction.
And S307, the home equipment responds to the search instruction and searches for the gateway equipment meeting the preset conditions.
Step S308, the home equipment inquires the corresponding relation list according to the identification of the gateway equipment to obtain the networking data of the gateway equipment.
Here, when the networking data of the gateway device is updated, the gateway device sends the updated networking data to the home equipment, and the home equipment updates the corresponding relationship list according to the identifier of the gateway device and the updated networking data; when the gateway device is restarted or factory settings are restored to the gateway device, the set networking data acquired by the gateway device from the cloud end is sent to the home equipment, and then the home equipment updates the corresponding relation list according to the identification of the gateway device and the set networking data; therefore, the corresponding relation list is updated in time, and the home equipment can be rapidly accessed to the network when the home equipment needs to be accessed to the network.
Step S309, the home device sends an authentication request including the networking data to the gateway device.
Step S310, the gateway device receives an authentication request containing networking data sent by the at least one household device.
Step S311, if the authentication request matches a preset request condition, the gateway device sends an authentication passing message to the at least one home device.
Here, the authentication request matches with a preset request condition, and may be understood as that the networking data (i.e., the ID address and the networking password) included in the authentication request is the same as the preset ID address and the networking password.
And step S312, the home equipment receives the authentication passing message sent by the gateway equipment.
Here, after the home device receives the authentication passing message, the home device successfully accesses the network corresponding to the gateway device.
In this embodiment, after the home device receives the search instruction, the gateway device meeting the preset conditions is searched, the correspondence list is queried according to the identifier of the gateway device, the networking data of the gateway device is acquired from the correspondence list, it is avoided that all gateway devices are searched for each access, and no manual input of a user is required, so that the condition of password input error is avoided, the device and the gateway are connected internally, the password is not leaked to the user, and the security of network connection is ensured.
An embodiment of the present invention provides a network configuration method, fig. 4 is a schematic diagram of a system architecture for implementing the network configuration method according to the embodiment of the present invention, as shown in fig. 4, in a practical home scene, a plurality of home devices 40 are connected to a gateway device 41, that is, a kitchen electrical device 401, a refrigerator 402, a water heater 403, a small household electrical appliance 404, a washing device 405, a sweeping robot 406, a movie and television device 407, an air conditioner/air purification device 408, and other home devices 409 are all connected to a network corresponding to the gateway device 41 by a line through the gateway device 400; the connection process of the plurality of home devices and the gateway device can be realized through the following steps:
in a first step, the home appliance 40 is designed as an appliance having a function of penetration of an internal and external net.
In the second step, when the home device 40 is started, the home device 40 obtains networking data (i.e. a login account and an access password of the gateway device) of the gateway device 41 according to its own intranet and extranet penetration function.
Thirdly, the home device 40 can access to the network corresponding to the gateway device 41 through the networking data, thereby completing the network connection process.
In the whole network connection process, the access account and the password (namely networking data) of the gateway equipment do not need to be manually input into the home equipment by a user, but the home equipment automatically acquires the networking data of the gateway equipment, so that the network connection process is accurately and quickly completed.
When the networking data of the gateway device 41 changes, the corresponding networking procedure includes the following two cases:
in the first case: the gateway device 41 updates the networking data (for example, the account and the plane of the router are changed), and if the networking data of the gateway device 41 is updated, the gateway device 41 automatically sends the updated networking data to the home devices 40 for the home devices 40 that have been connected to the gateway device 41 once. Then, the home devices 40 access to the network corresponding to the gateway device 41 according to the updated networking data.
In the second case: if the gateway device 41 is restored to the factory device or the gateway device 41 is restarted, the gateway device 41 receives the set networking data pushed from the cloud 42, and the set networking data pushed by the general cloud 42 is the same as the previous networking data pushed by the gateway device 41, so that the home device 40 can continue to access to the network corresponding to the gateway device 41 without acquiring the networking data again. If the set networking data is different from the previous networking data of the gateway device 41 (i.e. the networking data when the gateway device is not restored to factory settings or restarted), the gateway device 41 sends the set networking data to the home device 40; then the home equipment 40 accesses to the network corresponding to the gateway equipment 41 according to the set networking data; therefore, the set networking data stored in the cloud end is distributed and issued to the home equipment of the whole house quickly by one key, and the aims of re-searching the network and linking the network without manual operation of a user are fulfilled.
On an application program corresponding to the gateway device 41 or a web page corresponding to the gateway device 41, the connection state of the home appliances 40 and the gateway device 41, that is, the connection state of the kitchen appliances 401, the refrigerator 402, the water heater 403, the small home appliances 404, the washing device 405, the cleaning robot 406, the movie equipment 407, the air conditioning/air purifying equipment 408 and other home appliances 409 and the gateway device 41 is displayed, and a user can input a disconnection operation (for example, click a disconnection button) in the display interface, that is, the connection between the home appliances and the gateway device can be disconnected; the user can monitor the connection condition of the household equipment and the gateway equipment at any time through the display interface, supervise whether equipment which is not accessed is accessed into the gateway equipment or not, and disconnect the equipment which is not accessed through input disconnection operation once the equipment is found; so, the webpage through visual interface or gateway equipment in time looks over and controls the connection status of house equipment and gateway equipment, has still guaranteed the security of internet access, and the user can accomplish house equipment's networking or disconnected net through a key operation to safe quick access to the network that this gateway equipment corresponds, satisfied user's demand to quick networking.
It should be noted that, in the embodiment of the present invention, if the network configuration method is implemented in the form of a software functional module and is sold or used as a standalone product, the network configuration method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which may be a personal computer, a processor, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present invention provides a computer storage medium, where a computer-executable instruction is stored in the computer storage medium, and the computer-executable instruction is configured to execute the network configuration method on the home device side provided in the foregoing embodiment, or the computer-executable instruction is configured to execute the network configuration method on the gateway device side provided in the foregoing embodiment.
Correspondingly, an embodiment of the present invention provides a network configuration device (including a home device and a gateway device), fig. 5 is a schematic structural diagram of a network configuration device according to an embodiment of the present invention, and as shown in fig. 5, the network configuration device 500 at least includes: a processor 501 and a storage medium 502 configured to store executable instructions, wherein:
the processor 501 is configured to execute stored executable instructions, where the executable instructions are used to implement the network configuration method on the home device side provided in the foregoing embodiment; or, the executable instruction is used in the network configuration method at the gateway device side provided in the foregoing embodiment.
It should be noted that, the above description of the embodiments of the gateway device and the home device is similar to the description of the above method embodiments, and has similar beneficial effects to the method embodiments. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
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 in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a computer, a processor, an air conditioner, or a smart home device, etc.) to execute the methods described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A network configuration method is applied to household equipment, and is characterized by comprising the following steps:
the household equipment starts the penetration function of the internal and external networks;
the home equipment sends a data request to gateway equipment within a preset range through the internal and external network penetration function of the home equipment;
the home equipment receives the networking data of the gateway equipment and the identification of the gateway equipment which are sent by the gateway equipment after the gateway equipment responds to the data request, and obtains a corresponding relation list of the identification of the gateway equipment and the networking data;
the home equipment acquires a search instruction;
the home equipment responds to the search instruction and searches for gateway equipment meeting preset conditions;
inquiring the corresponding relation list according to the identification of the gateway equipment to obtain networking data of the gateway equipment;
and the home equipment accesses the home equipment to a network corresponding to the gateway equipment according to the networking data of the gateway equipment.
2. The method as recited in claim 1, wherein the networking data includes at least an ID address of the gateway device, an access password of the gateway device; correspondingly, the home equipment accesses itself to the network corresponding to the gateway equipment according to the networking data of the gateway equipment, including:
The home equipment sends an authentication request containing the ID address and the access password to the gateway equipment;
and the home equipment receives the authentication passing message sent by the gateway equipment.
3. The method according to any one of claims 1 to 2, wherein after the home devices access themselves to the network corresponding to the gateway device according to the networking data of the gateway device, the method further comprises:
when the networking data of the gateway equipment is updated, the household equipment receives the updated networking data sent by the gateway equipment;
and the home equipment accesses the home equipment to the network corresponding to the gateway equipment again according to the updated networking data, and updates the corresponding relation list.
4. A network configuration method is applied to a gateway device, and is characterized in that the method comprises the following steps:
the method comprises the steps that gateway equipment receives a data request sent to a preset range by at least one piece of home equipment through an internal and external network penetration function of the gateway equipment;
the gateway equipment responds to the data request and sends networking data of the gateway equipment to the at least one piece of home equipment;
the gateway equipment receives an authentication request containing networking data sent by the at least one piece of home equipment; the networking data is obtained by the home equipment inquiring a corresponding relation list between the identification of the gateway equipment and the networking data according to the identification of the gateway equipment; the corresponding relation list of the identification of the gateway equipment and the networking data is obtained by the home equipment according to the networking data of the gateway equipment and the identification of the gateway equipment, which are sent after the data request is responded by the receiving gateway equipment;
And if the authentication request is matched with a preset request condition, the gateway equipment sends an authentication passing message to the at least one household equipment.
5. The method as recited in claim 4, wherein said method further comprises:
after the gateway equipment executes the input clearing operation, the gateway equipment receives set networking data pushed by a cloud end; the clearing operation includes: restoring factory settings of the gateway equipment, restarting the gateway equipment or updating networking data of the gateway equipment;
and if the set networking data is different from the networking data before the gateway equipment executes the input clearing operation, the gateway equipment sends the set networking data to the household equipment.
6. The method as recited in claim 4, wherein said method further comprises:
outputting the connection state of the household equipment and the gateway equipment on a visual interface of the gateway equipment;
and if the disconnection operation input on the visual interface is detected, the gateway equipment responds to the disconnection operation and is disconnected from the household equipment.
7. A network configuration device, characterized in that it comprises at least: a processor and a storage medium configured to store executable instructions, wherein:
The processor is configured to execute stored executable instructions configured to perform the network configuration method provided by any of the preceding claims 1 to 3; alternatively, the executable instructions are configured to perform the network configuration method provided by any of the above claims 4 to 6.
8. A computer-readable storage medium having stored therein computer-executable instructions configured to perform the network configuration method provided by any one of the preceding claims 1 to 3; alternatively, the executable instructions are configured to perform the network configuration method provided by any of the above claims 4 to 6.
CN201810631371.8A 2018-06-19 2018-06-19 Network configuration method, equipment and storage medium Active CN110621017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810631371.8A CN110621017B (en) 2018-06-19 2018-06-19 Network configuration method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810631371.8A CN110621017B (en) 2018-06-19 2018-06-19 Network configuration method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110621017A CN110621017A (en) 2019-12-27
CN110621017B true CN110621017B (en) 2022-06-10

Family

ID=68920103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810631371.8A Active CN110621017B (en) 2018-06-19 2018-06-19 Network configuration method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110621017B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185253A (en) * 2013-05-20 2014-12-03 海尔集团公司 Method for accessing wireless router, related device and system thereof
CN105792315A (en) * 2016-02-25 2016-07-20 珠海市魅族科技有限公司 Wireless local area network access method and access apparatus, and station

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8555364B2 (en) * 2011-09-30 2013-10-08 Time Warner Cable Enterprises Llc System and method for cloning a wi-fi access point
CN102394950B (en) * 2011-12-23 2013-12-11 中国电信股份有限公司 Method and system for IP address distribution of network security terminal under home gateway
CN104640231B (en) * 2013-11-15 2018-03-02 环旭电子股份有限公司 The method for setting wireless network and system of intelligent appliance
CN104678906A (en) * 2013-12-02 2015-06-03 深圳市易居智能科技有限公司 Internet of things intelligent housing system
KR102210670B1 (en) * 2014-06-20 2021-02-02 삼성전자 주식회사 Method and apparatus for registering device to gateway
US9026840B1 (en) * 2014-09-09 2015-05-05 Belkin International, Inc. Coordinated and device-distributed detection of abnormal network device operation
CN104660728B (en) * 2015-02-13 2018-01-19 上海交通大学 NAT penetrating methods based on intelligent home control system
CN105282823A (en) * 2015-09-18 2016-01-27 普联技术有限公司 Network access method and apparatus of intelligent device
TWI590693B (en) * 2015-12-07 2017-07-01 宏碁股份有限公司 Method and system for setting network of connected device
CN105446305A (en) * 2015-12-30 2016-03-30 深圳众乐智府科技有限公司 Intelligent household gateway network configuration method and intelligent household system
CN106162828A (en) * 2016-08-31 2016-11-23 深圳市双赢伟业科技股份有限公司 The method for network access of internet-of-things terminal and device
CN107181653A (en) * 2017-06-28 2017-09-19 广东美的制冷设备有限公司 Intelligent home device match somebody with somebody network method and intelligent domestic system
CN107222504B (en) * 2017-07-11 2020-06-12 深圳市斑点猫信息技术有限公司 P2P communication method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185253A (en) * 2013-05-20 2014-12-03 海尔集团公司 Method for accessing wireless router, related device and system thereof
CN105792315A (en) * 2016-02-25 2016-07-20 珠海市魅族科技有限公司 Wireless local area network access method and access apparatus, and station

Also Published As

Publication number Publication date
CN110621017A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
EP3506031B1 (en) Smart household control method and system
CN105245596B (en) A kind of long-range control method and server
US20070174382A1 (en) Home code setting method for home network system
US20140282481A1 (en) Information Processing Apparatus, Relay Server, Information Relay Method, Non-Transitory Computer-Readable Medium Storing Information Relay Program, and Communication System
CN103973748A (en) Intelligent home system and monitoring method implemented by same
KR102283610B1 (en) Instrument control method and device
US20130271672A1 (en) Television manipulation method, handheld device, television, and television manipulation system
US11368463B2 (en) Method and device for sharing control rights of appliances, storage medium, and server
JP2006221674A (en) Service system using home device and service method using the same
CN104052897A (en) Relay Apparatus, Image Processing Apparatus And Communication System
CN105159121B (en) Household electrical appliance and its on-off control method and system and smart machine
EP3065013B1 (en) Device control method, server, system and computer storage medium
CN104881014A (en) Control method and intelligent household control device
CN113110147B (en) Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN112312515B (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
CN109639692A (en) Method, apparatus, equipment, system and the storage medium logged in offline
CN105812402A (en) File transmission method and device based on Internet of things
CN105722089A (en) Equipment authentication method
WO2022247373A1 (en) Method and apparatus for controlling home appliance, and appliance
CN103345828A (en) Method and system for controlling computer through intelligent terminal
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
JP2006261827A (en) Network apparatus, management apparatus thereof, network connection method, and network connection management method thereof
KR102017631B1 (en) Terminal apparatus and method for transmitting and receiving data
CN110621017B (en) Network configuration method, equipment 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