CN114785679A - Network configuration method, network configuration device, electronic equipment, storage medium and program product - Google Patents

Network configuration method, network configuration device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN114785679A
CN114785679A CN202210366547.8A CN202210366547A CN114785679A CN 114785679 A CN114785679 A CN 114785679A CN 202210366547 A CN202210366547 A CN 202210366547A CN 114785679 A CN114785679 A CN 114785679A
Authority
CN
China
Prior art keywords
connection
distribution network
network
terminal
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.)
Granted
Application number
CN202210366547.8A
Other languages
Chinese (zh)
Other versions
CN114785679B (en
Inventor
吴飞飞
庞建荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202210366547.8A priority Critical patent/CN114785679B/en
Publication of CN114785679A publication Critical patent/CN114785679A/en
Application granted granted Critical
Publication of CN114785679B publication Critical patent/CN114785679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present application relates to a network configuration method, apparatus, electronic device, storage medium and program product as described above, the method comprising: the home equipment receives network configuration information sent by the distribution network terminal through the near field communication connection, wherein the network configuration information may include: the network connection information is used for indicating the home equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located. Furthermore, the home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, so that the home equipment can be prevented from being configured with wrong network information by other terminals, and meanwhile, the home equipment can also store the network connection information according to the offline distribution network identifier, so that the home equipment can be successfully connected to the target router when the networking triggering condition is met. Therefore, compared with a network configuration mode in the traditional technology, the network configuration method in the embodiment of the application has higher network connection success rate.

Description

Network configuration method, network configuration device, electronic equipment, storage medium and program product
Technical Field
The present application relates to the field of internet of things technology, and in particular, to a network configuration method, apparatus, electronic device, storage medium, and program product.
Background
With the development of computer network technology and internet of things technology, a lot of household equipment are developing towards intelligent household equipment, so that interconnection and intercommunication of the household equipment are realized.
In the conventional technology, a user can perform network configuration on home equipment belonging to the same router coverage area through a terminal, but if a target router to be connected with the home equipment is not located in the terminal area, network information configured by the terminal for the home equipment is not connection information of the target router, and the home equipment cannot intelligently close a near field communication broadcasting function, so that the home equipment cannot be successfully connected to the target router.
Therefore, the success rate of the network configuration mode in the traditional technology is low.
Disclosure of Invention
In view of the above, it is necessary to provide a network configuration method, an apparatus, an electronic device, a storage medium, and a program product capable of improving a success rate of network connection in order to solve the above technical problems.
In a first aspect, the present application provides a network configuration method, where the method is applied to a home device, and the method includes:
receiving network configuration information sent by a distribution network terminal through near field communication connection, wherein the network configuration information comprises: the system comprises network connection information and an offline distribution network identifier, wherein the network connection information is used for indicating the connection information of the household equipment to a target router, and the offline distribution network identifier is used for representing that the target router is not located in an area where a distribution network terminal is located;
and storing the network connection information according to the offline distribution network identifier, and closing a near field communication broadcasting function of the home equipment, wherein the near field communication broadcasting function is used for the home equipment to request a terminal to perform network configuration.
In one embodiment, the method further comprises:
connecting the target router according to the network connection information in case that a networking trigger condition is satisfied;
wherein the networking trigger condition comprises at least one of:
receiving a starting-up instruction aiming at the household equipment;
receiving a network connection instruction aiming at the household equipment;
and detecting that the household equipment is located in a preset area appointed by the distribution network terminal.
In one embodiment, the method further comprises:
and if the target router is not connected within the preset time length, starting the near field communication broadcasting function.
In one embodiment, the method further comprises:
and if the target router is successfully connected and the close-range communication connection between the household equipment and the distribution network terminal is not disconnected, sending connection success indication information to the distribution network terminal through the close-range communication connection.
In a second aspect, the present application provides a network configuration method, where the method is applied to a distribution network terminal, and the method includes:
acquiring network connection information, wherein the network connection information is used for indicating connection information of target household equipment to a target router;
sending network configuration information to the target household equipment through near field communication connection, wherein the network configuration information comprises: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In one embodiment, the acquiring the network connection information includes:
receiving the network connection information sent by the remote terminal; alternatively, the first and second electrodes may be,
and acquiring the network connection information stored by the distribution network terminal at historical time.
In one embodiment, before the receiving the network connection information sent by the remote terminal, the method further includes:
and sending a remote connection request to a server, wherein the remote connection request is used for indicating the server to establish remote connection between the remote terminal and the distribution network terminal.
In one embodiment, before the sending the network configuration information to the target home device through the short-range communication connection, the method further includes:
receiving a scanning instruction sent by the remote terminal;
performing equipment scanning according to the scanning instruction, and sending the scanned identification of each near field communication equipment to the remote terminal, so that the remote terminal can determine the target household equipment according to the identification of each near field communication equipment;
and receiving a connection instruction sent by the remote terminal, wherein the connection instruction is used for indicating the distribution network terminal to establish close range communication connection with the target household equipment.
In one embodiment, the method further comprises:
receiving equipment authentication information sent by the target household equipment through near field communication connection;
performing offline authentication on the target household equipment according to the equipment authentication information;
and if the offline authentication is passed, executing a step of sending the network configuration information to the target household equipment through near field communication connection.
In one embodiment, the device authentication information includes: the method for performing offline authentication on the target household equipment according to the equipment authentication information comprises the following steps:
decrypting the equipment certificate according to a preset secret key to obtain second equipment information;
and if the first equipment information is matched with the second equipment information, determining that the offline authentication is passed.
In a third aspect, the present application provides a network configuration method, where the method is applied in a remote terminal, and the method includes:
acquiring network connection information, wherein the network connection information is used for indicating connection information of target household equipment to a target router;
sending a connection instruction to a distribution network terminal through remote connection, wherein the connection instruction carries the network connection information, and the connection instruction is used for indicating the distribution network terminal to send network configuration information to the target household equipment through near field communication connection, and the network configuration information comprises: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In one embodiment, before sending the connection instruction to the distribution network terminal through the remote connection, the method further includes:
sending a scanning instruction to the distribution network terminal through remote connection, wherein the scanning instruction is used for instructing the distribution network terminal to carry out equipment scanning and sending the scanned identification of each near field communication equipment to the remote terminal;
determining the target home equipment according to the identification of each near field communication equipment;
correspondingly, the sending of the connection instruction to the distribution network terminal through the remote connection includes:
and carrying the identification of the target household equipment in the connection instruction and sending the identification to the distribution network terminal so as to indicate the distribution network terminal to establish close-range communication connection with the target household equipment.
In one embodiment, before sending the scanning instruction to the distribution network terminal through the remote connection, the method further includes:
and receiving a remote connection instruction sent by a server, and establishing remote connection with the distribution network terminal through the server according to the remote connection instruction.
In a fourth aspect, the present application provides a network configuration apparatus, where the apparatus is applied to a home device, and the apparatus includes:
the receiving module is used for receiving network configuration information sent by the distribution network terminal through near field communication connection, wherein the network configuration information comprises: the system comprises network connection information and an offline distribution network identifier, wherein the network connection information is used for indicating the connection information of the household equipment to a target router, and the offline distribution network identifier is used for representing that the target router is not located in an area where a distribution network terminal is located;
the storage module is used for storing the network connection information according to the offline distribution network identifier;
and the closing module is used for closing the near field communication broadcasting function of the household equipment, wherein the near field communication broadcasting function is used for the household equipment to request the terminal to perform network configuration.
In a fifth aspect, the present application provides a network configuration apparatus, where the apparatus is applied to a distribution network terminal, and the apparatus includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring network connection information, and the network connection information is used for indicating the connection information of target household equipment to a target router;
a sending module, configured to send network configuration information to the target home device through near field communication connection, where the network configuration information includes: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In a sixth aspect, the present application provides a network configuration apparatus, where the apparatus is applied in a remote terminal, and the apparatus includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring network connection information, and the network connection information is used for indicating the connection information of target household equipment to a target router;
the sending module is used for sending a connection instruction to a distribution network terminal through remote connection, wherein the connection instruction carries the network connection information, and the connection instruction is used for indicating the distribution network terminal to send network configuration information to the target household equipment through near field communication connection, and the network configuration information comprises: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In a seventh aspect, the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements, when executing the computer program, the steps in the network configuration method provided by the above first aspect of the present application, the steps in the network configuration method provided by the above second aspect of the present application, or the steps in the network configuration method provided by the above third aspect of the present application.
In an eighth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the network configuration method provided by the above-mentioned first aspect of the present application, the steps in the network configuration method provided by the above-mentioned second aspect of the present application, or the steps in the network configuration method provided by the above-mentioned third aspect of the present application.
In a ninth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the steps in the network configuration method provided by the above-mentioned first aspect of the present application, the steps in the network configuration method provided by the above-mentioned second aspect of the present application or the steps in the network configuration method provided by the above-mentioned third aspect of the present application.
According to the network configuration method, the network configuration device, the electronic equipment, the storage medium and the program product, the home equipment receives network configuration information sent by the distribution network terminal through the near field communication connection, wherein the network configuration information may include: the network connection information is used for indicating the household equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located. Furthermore, the home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, so that the home equipment can be prevented from being configured with wrong network information by other terminals, and meanwhile, the home equipment can store the network connection information according to the offline distribution network identifier, so that the home equipment can be successfully connected to the target router when the networking triggering condition is met. Therefore, compared with a network configuration mode in the traditional technology, the network configuration method in the embodiment of the application has higher network connection success rate and can improve the efficiency of network configuration of the household equipment.
Drawings
Fig. 1 is a first schematic diagram of an application environment provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an application environment provided in the embodiment of the present application;
FIG. 3 is a flow chart illustrating a network configuration method according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a network configuration method according to another embodiment of the present application;
fig. 5 is a schematic flow chart of a network configuration method according to another embodiment of the present application;
fig. 6 is a schematic flowchart of a network configuration method according to another embodiment of the present application;
fig. 7 is a schematic flowchart of a network configuration method according to another embodiment of the present application;
fig. 8 is a schematic flowchart of a network configuration method according to another embodiment of the present application;
fig. 9 is a schematic flowchart of a network configuration method according to another embodiment of the present application;
FIG. 10 is a block diagram of a network configuration device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a network configuration apparatus according to another embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. 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 network configuration method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Fig. 1 is a first schematic view of an application environment provided in the embodiment of the present application, as shown in fig. 1, the application environment of the embodiment of the present application may include but is not limited to: the system comprises a distribution network terminal 101 and household equipment 102, wherein the distribution network terminal 101 and the household equipment 102 can communicate through near field communication connection. The distribution network terminal 101 is configured to configure network connection information for the home equipment 102 in advance through near field communication connection.
The near field communication connection involved in the embodiments of the present application may include, but is not limited to: a bluetooth connection, a zigbee (zigbee) connection, an infrared connection, or a Near Field Communication (NFC) connection.
For example, after the user purchases the target home device, the store clerk may configure network connection information of the target router in the home of the user for the target home device in advance through the distribution network terminal, so that the user can connect to the target router in the home after bringing the target home device home.
The network configuration method provided by the embodiment of the application can also be applied to the application environment shown in fig. 2. Fig. 2 is a schematic view of an application environment provided in the embodiment of the present application, and as shown in fig. 2, the application environment of the embodiment of the present application may include, but is not limited to: the system comprises a distribution network terminal 101, home equipment 102, a remote terminal 103 and a server 104, wherein the distribution network terminal 101 and the home equipment 102 can communicate through near field communication connection, the distribution network terminal 101 and the server 104 can communicate through network connection, and the server 104 and the remote terminal 103 can communicate through network connection. The server 104 is configured to establish a remote connection between the distribution network terminal 101 and the remote terminal 103, and the remote terminal 103 is configured to establish a near field communication connection between the distribution network terminal 101 and the home device 102 through the remote connection, and configure network connection information for the home device 102 in advance through the near field communication connection.
For example, after the user purchases the target home device, the clerk may configure network connection information of the target router in the home of the user for the target home device in advance through the distribution network terminal with the assistance of the remote terminal, so that the user can connect to the target router in the home after bringing the target home device home.
For another example, after the user takes the purchased target home equipment away from the home equipment exclusive shop, when it is found that a network distribution cannot be provided for the target home equipment, the user may configure network connection information of the target router in the user's home for the target home equipment through the network distribution terminal with the assistance of the remote terminal, so that the user may connect the target router in the home after taking the target home equipment home.
For another example, after the user brings the purchased target home devices to home, when it is found that a network distribution cannot be provided for the target home devices, the user may configure network connection information of the target router in the home of the user for the target home devices through the network distribution terminal with the assistance of the remote terminal, so that the target home devices may connect to the target router in the home. It should be understood that in the application scenario, the network configuration information sent by the distribution network terminal to the home equipment does not need to carry an offline distribution network identifier, so that the home equipment can perform network connection after receiving the network configuration information.
Of course, the network configuration method provided in the embodiment of the present application may also be applied to other application scenarios, which are not limited in the embodiment of the present application.
The distribution network terminal 101 or the remote terminal 103 related to the embodiment of the present application may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, or smart control panels.
The household devices 102 related in the embodiment of the present application may be smart household devices, and for example, the household devices 102 may be, but are not limited to, smart speakers, smart televisions, smart air conditioners, smart washing machines, smart lighting lamps, floor sweeping robots, smart curtains, smart door locks, and the like.
In the conventional technology, a user can perform network configuration on home equipment belonging to the same router coverage area through a terminal, but if a target router to be connected with the home equipment is not located in the terminal area, the home equipment can be connected after receiving network connection information, and if the connection is unsuccessful, any terminal can be requested to perform network configuration on the home equipment through a bluetooth broadcast function, so that the situation that the home equipment cannot be successfully connected to the target router due to the fact that the network information configured by the terminal for the home equipment is not the connection information of the target router may exist. Therefore, the success rate of the network configuration mode in the traditional technology is low.
According to the network configuration method, the network configuration device, the electronic equipment, the storage medium and the program product provided by the embodiment of the application, the household equipment receives network configuration information sent by the distribution network terminal through the near field communication connection, wherein the network configuration information can comprise: the network connection information is used for indicating the household equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located. Furthermore, the home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, so that the home equipment can be prevented from being configured with wrong network information by other terminals, and meanwhile, the home equipment can also store the network connection information according to the offline distribution network identifier, so that the home equipment can be successfully connected to the target router when the networking triggering condition is met. Therefore, compared with a network configuration mode in the traditional technology, the network configuration method in the embodiment of the application has a high network connection success rate.
In an embodiment, fig. 3 is a schematic flowchart of a network configuration method in an embodiment of the present application, and as shown in fig. 3, in the embodiment of the present application, taking the application of the method to the home equipment 102 in fig. 1 or fig. 2 as an example to describe a flow of the network configuration method, the method may include the following steps:
and S301, receiving network configuration information sent by the distribution network terminal through the near field communication connection.
The network configuration information related in the embodiment of the present application may include, but is not limited to: the system comprises network connection information and an offline distribution network identifier, wherein the network connection information is used for indicating the home equipment (or called target home equipment) to be connected to the connection information of the target router, and the offline distribution network identifier is used for representing that the target router is not located in an area where a distribution network terminal is located.
By way of example, the network connection information involved in the embodiments of the present application may include, but is not limited to: network Service Set Identifier (SSID) information and connection password information.
In this step, the home device may receive network configuration information sent by the distribution network terminal through the near field communication connection, where the network configuration information carries an offline distribution network identifier for indicating that the target router is not located in the area where the distribution network terminal is located, and at this time, although the home device and the distribution network terminal are located in the same area, the target router is not located in the area where the home device is located, that is, the connection cannot be successfully performed according to the network connection information in the network configuration information.
It should be understood that the distribution network terminal may pre-establish a near field communication connection with the home device, so as to send the network configuration information to the home device through the near field communication connection.
For example, the distribution network terminal may send a near field communication connection request message to the home equipment, so that after receiving the near field communication connection request message, the home equipment may return a near field communication connection confirmation message to the distribution network terminal, and establish a near field communication connection between the distribution network terminal and the home equipment. Of course; the distribution network terminal can also establish the near field communication connection between the distribution network terminal and the household equipment in other ways, which is not limited in the embodiment of the present application.
For example, the network connection information sent by the distribution network terminal to the home device may be network connection information stored by the distribution network terminal at a historical time, or may be network connection information input by a corresponding user for the distribution network terminal, or may be network connection information sent by other terminals for the distribution network terminal; of course, the network connection information may also be obtained by the distribution network terminal in other manners, which is not limited in this embodiment of the application.
And S302, storing the network connection information according to the offline distribution network identifier, and closing the near field communication broadcasting function of the home equipment.
The near field communication broadcasting function related in the embodiment of the application is used for requesting the terminal to perform network configuration by the household equipment.
In this step, the home device can know that the target router is not located in the distribution network terminal or the home device area according to the offline distribution network identifier, so that network connection information can be stored, connection can be performed subsequently when a networking trigger condition is met, and in addition, the near field communication broadcast function of the home device can be closed, so that other terminals can be prevented from configuring wrong network information for the home device.
In the network configuration method, the home equipment receives network configuration information sent by the distribution network terminal through the near field communication connection, wherein the network configuration information may include: the network connection information is used for indicating the household equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located. Furthermore, the home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, so that the home equipment can be prevented from being configured with wrong network information by other terminals, and meanwhile, the home equipment can also store the network connection information according to the offline distribution network identifier, so that the home equipment can be successfully connected to the target router when the networking triggering condition is met. Therefore, compared with a network configuration mode in the traditional technology, the network configuration method in the embodiment of the application has higher network connection success rate.
Further, the home device may connect the target router according to the network connection information when the networking trigger condition is satisfied; wherein the networking trigger condition comprises at least one of: receiving a starting-up instruction aiming at home equipment; receiving a network connection instruction aiming at home equipment; and detecting that the household equipment is located in a preset area appointed by the distribution network terminal.
It should be understood that the network configuration information may further include identification information of a preset area designated by the distribution network terminal, so that the home device may connect to the target router according to the stored network connection information when detecting that the current location is in the preset area. For example, the identification information of the preset area referred to in the embodiments of the present application may include, but is not limited to: geographical location identification information of the preset area, and/or name identification information of the preset area.
In the embodiment of the application, after the home equipment stores the network connection information, whether the networking triggering condition is met or not can be detected in real time; and if the starting instruction aiming at the household equipment, the network connection instruction aiming at the household equipment and/or the current position of the household equipment is/are detected to be located in a preset area appointed by the distribution network terminal, the household equipment determines that the networking trigger condition is met, so that the target router can be connected according to the stored network connection information. For example, the starting instruction or the network connection instruction may be input by a corresponding user through a corresponding physical key or a virtual key of the home device, or may be sent to the home device by the corresponding user through another terminal; of course, the trigger may also be triggered by other ways for the corresponding user, which is not limited in the embodiment of the present application.
To sum up, in the embodiment of the present application, the home device connects to the target router according to the network connection information when detecting that the networking trigger condition is met, so as to facilitate improving the network connection success rate.
Further, if the target router is not connected within a preset time, the home device may start a near field communication broadcast function, so that the home device may request a terminal located within a preset range of the home device to perform network configuration for the home device.
Further, if the target router is successfully connected within the preset time and the near field communication connection between the home equipment and the distribution network terminal is not disconnected, the home equipment may send connection success indication information to the distribution network terminal through the near field communication connection, so that the distribution network terminal may know that the home equipment is successfully connected to the target router according to the connection success indication information.
In an embodiment, fig. 4 is a schematic flowchart of a network configuration method in another embodiment of the present application, and based on the above embodiment, as shown in fig. 4, the method in the embodiment of the present application is applied to the distribution network terminal 101 in fig. 1 or fig. 2 as an example to describe a flow of the network configuration method, and may include the following steps:
and step S401, acquiring network connection information.
The network connection information related in the embodiment of the present application is used to indicate the connection information of the home devices (or referred to as target home devices) connected to the target router. By way of example, the network connection information involved in the embodiments of the present application may include, but is not limited to: SSID information and connection password information.
Illustratively, the distribution network terminal may receive the network connection information sent by other terminals. For example, the distribution network terminal may receive the network connection information sent by a remote terminal, or the distribution network terminal may receive the network connection information sent by a peripheral terminal.
For another example, the distribution network terminal may obtain the network connection information that is saved by the distribution network terminal at a historical time. For another example, the distribution network terminal may receive the network connection information input by a user. Of course, the distribution network terminal may also obtain the network connection information in other manners, which is not limited in this embodiment of the application.
And S402, sending network configuration information to the target household equipment through the near field communication connection.
The network configuration information related in the embodiment of the present application may include, but is not limited to: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In this step, the distribution network terminal may send network configuration information to the target home device through the near field communication connection, wherein, the network configuration information carries an offline distribution network identifier for representing that the target router is not in the area where the distribution network terminal is located, although the target household equipment and the distribution network terminal are in the same area, but the target router is not in the area where the target home equipment is located, so that the target home equipment can know that the connection cannot be successfully carried out according to the network connection information in the network configuration information at present, thereby saving the network connection information according to the offline distribution network identification so as to be convenient for subsequent connection when the networking triggering condition is met, in addition, the near field communication broadcasting function of the target home equipment can be closed, so that other terminals can be prevented from configuring wrong network information for the target home equipment.
It should be understood that the distribution network terminal may pre-establish a near field communication connection with the target home device, so as to send the network configuration information to the target home device through the near field communication connection.
For example, the distribution network terminal may send a near field communication connection request message to the target home equipment, so that the target home equipment may return a near field communication connection confirmation message to the distribution network terminal after receiving the near field communication connection request message, and establish a near field communication connection between the distribution network terminal and the target home equipment. Of course; the distribution network terminal may also establish, through other manners, a near field communication connection between the distribution network terminal and the target home device, which is not limited in this embodiment of the application.
In the network configuration method, after obtaining the network connection information, the distribution network terminal may send the network configuration information to the target home device through the near field communication connection, where the network configuration information may include: the network connection information is used for indicating the target home equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located, so that the target home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, and therefore network information of other terminals for configuring errors for the home equipment can be prevented. Therefore, compared with a network configuration mode in the traditional technology, the network configuration method in the embodiment of the application has a high network connection success rate.
It should be understood that, for the application environment shown in fig. 2, the distribution network terminal may further send a remote connection request to the server, where the remote connection request is used to instruct the server to establish a remote connection between the remote terminal and the distribution network terminal, so that the remote terminal may remotely control the distribution network terminal to establish a near field communication connection with the target home device, and configure network connection information for the target home device through the near field communication connection.
For example, a corresponding user of the distribution network terminal may click a target icon of a target application program in the distribution network terminal to trigger the distribution network terminal to send the remote connection request to the server, so that the server may send a remote connection instruction to an idle remote terminal, thereby implementing establishment of a remote connection between the distribution network terminal and the remote terminal, where the remote connection request and the remote connection instruction may include, but are not limited to, identification information of the distribution network terminal.
For example, a corresponding user of the distribution network terminal may click a "help" icon of a target application in the distribution network terminal to trigger the distribution network terminal to send the remote connection request to the server.
Of course, the distribution network terminal may also send a remote connection request to the server in other manners, which is not limited in this embodiment of the application.
In an embodiment, fig. 5 is a schematic flowchart of a network configuration method in another embodiment of the present application, and based on the above embodiment, as shown in fig. 5, a description is given to a flow of the distribution network terminal establishing a near field communication connection with the target home device under the control of the remote terminal in the embodiment of the present application, where the flow may include the following steps:
step S501, receiving a scanning instruction sent by a remote terminal.
In this step, the distribution network terminal may receive a scanning instruction sent by a remote terminal through a remote connection, where the scanning instruction is used to instruct the distribution network terminal to scan the near field communication device.
And step S502, performing equipment scanning according to the scanning instruction, and sending the scanned identification of each near field communication equipment to the remote terminal.
In this step, the distribution network terminal may perform device scanning according to the scanning instruction, and send the identifier of each scanned near-field communication device to the remote terminal through remote connection, so that the remote terminal determines a target home device according to the identifier of each near-field communication device, and sends a connection instruction to the distribution network terminal, where the identifier of each near-field communication device may include, but is not limited to, the identifier of the target home device, and the connection instruction may include, but is not limited to, the identifier of the target home device.
For example, the remote terminal may obtain the target home devices to be distributed through the identifiers of the target home devices carried in the remote connection request, so that when the remote terminal detects that the identifiers of the near field communication devices include the identifier of the target home device, the remote terminal may send a connection instruction to the distribution network terminal, so that the distribution network terminal establishes a near field communication connection with the target home devices according to the connection instruction.
For another example, the remote terminal may query, through the identification information of the distribution network terminal carried in the remote connection request, a user corresponding to the distribution network terminal for a target home device to be distributed, so that when the remote terminal detects that the identification of each near field communication device includes the identification of the target home device, the remote terminal may send a connection instruction to the distribution network terminal, so that the distribution network terminal establishes a near field communication connection with the target home device according to the connection instruction.
Of course, the remote terminal may also obtain the target home equipment of the network to be distributed in other ways, which is not limited in this embodiment of the application.
And step S503, receiving a connection instruction sent by the remote terminal.
In this step, the distribution network terminal receives the connection instruction sent by the remote terminal through remote connection, where the connection instruction may carry an identifier of the target home device, and is used to instruct the distribution network terminal to establish close-range communication connection with the target home device, so as to send network configuration information to the target home device through close-range communication connection. It should be noted that, the connection instruction may further include, but is not limited to, the network connection information.
For example, the distribution network terminal may send a near field communication connection request message to the target home equipment, so that the target home equipment may return a near field communication connection confirmation message to the distribution network terminal after receiving the near field communication connection request message, to establish the near field communication connection between the distribution network terminal and the target home equipment. Of course; the distribution network terminal may also establish, through other manners, a near field communication connection between the distribution network terminal and the target home device, which is not limited in this embodiment of the application.
In the network configuration method, after receiving a scanning instruction sent by a remote terminal, the distribution network terminal scans equipment according to the scanning instruction and sends the scanned identification of each near field communication equipment to the remote terminal; further, the distribution network terminal receives a connection instruction sent by the remote terminal, so that near field communication connection can be established with the target home equipment according to the identification of the target home equipment carried in the connection instruction. To sum up, in the embodiment of the present application, the remote terminal may remotely control the distribution network terminal to establish a near field communication connection with the target home device, so that the remote terminal may remotely control the distribution network terminal to send network configuration information to the target home device. Therefore, the network configuration method provided by the embodiment of the application has higher flexibility.
In an embodiment, fig. 6 is a schematic flowchart of a network configuration method in another embodiment of the present application, and based on the embodiment, as shown in fig. 6, a description is given to a process of performing offline authentication on the target home device by the distribution network terminal in the embodiment of the present application, where the process may include the following steps:
step S601, receiving equipment authentication information sent by the target household equipment through the near field communication connection.
In the embodiment of the application, after the target home equipment establishes the near field communication connection with the distribution network terminal, the target home equipment may send equipment authentication information to the distribution network terminal through the near field communication connection, so that the distribution network equipment performs offline authentication on the target home equipment.
In this step, the distribution network device may receive the device authentication information sent by the target home device through the near field communication connection, where the device authentication information may include but is not limited to: the equipment certificate is used for uniquely identifying the target household equipment and the manufacturer information of the target household equipment, and the first equipment information is used for uniquely identifying the target household equipment. Illustratively, the first device information may include, but is not limited to, a first device address, such as a first Media Access Control (MAC) address.
And step S602, performing off-line authentication on the target household equipment according to the equipment authentication information.
In this step, the distribution network terminal may perform offline authentication on the target home device according to the device certificate and the first device information in the device authentication information.
For example, the distribution network terminal may decrypt the device certificate according to a preset key to obtain the second device information. It is to be understood that the second device information may include, but is not limited to, a second device address, such as a second MAC address.
If the first device information matches the second device information, the distribution network terminal may determine that offline authentication is passed, and may perform a step of sending the network configuration information to the target home device through a near field communication connection.
If the first device information does not match the second device information, the distribution network terminal may determine that the offline authentication fails, and may send offline authentication failure indication information to the target home device, so that the target home device may send device authentication information to the distribution network terminal again, so that the distribution network terminal performs offline authentication on the target home device again according to the re-received device authentication information, … …, and so on, until the offline authentication passes or the total number of times of offline authentication failures of the target home device exceeds a preset number of times.
In the network configuration method, the distribution network terminal receives the device authentication information sent by the target home equipment through the near field communication connection, and performs the offline authentication on the target home equipment according to the device authentication information, so that when the target home equipment passes the offline authentication, the network configuration information is sent to the target home equipment through the near field communication connection, and the network configuration information is not sent to the home equipment with failed offline authentication, so that the home equipment accessed to the target router can be legal security equipment, and the improvement of the equipment security accessed to the target router is facilitated.
In an embodiment, fig. 7 is a schematic flowchart of a network configuration method in another embodiment of the present application, and based on the above embodiment, as shown in fig. 7, in the embodiment of the present application, taking the method as an example of being applied to the remote terminal 103 in fig. 2 to describe a flow of the network configuration method, the method may include the following steps:
and step S701, acquiring network connection information.
The network connection information related in the embodiment of the application is used for indicating the connection information of the target household equipment to the target router. By way of example, the network connection information involved in the embodiments of the present application may include, but is not limited to: SSID information and connection password information.
For example, the remote terminal may receive the network connection information input by a customer service person to the remote terminal. For another example, the remote terminal may receive the network connection information sent by the distribution network terminal, for example, the network connection information may be carried by the distribution network terminal in a remote connection request and sent to the remote terminal through a server. Of course, the remote terminal may also obtain the network connection information in other manners, which is not limited in this embodiment of the application.
And step S702, sending a connection instruction to the distribution network terminal through remote connection.
In this step, the remote terminal may send a connection instruction to the distribution network terminal through a remote connection, where the connection instruction may include, but is not limited to, the network connection information, and the connection instruction is used to instruct the distribution network terminal to send network configuration information to the target home device through a near field communication connection, where the network configuration information may include, but is not limited to, the network connection information and an offline distribution network identifier, the offline distribution network identifier is used to represent that the target router is not located in an area where the distribution network terminal is located, and since the target home device and the distribution network terminal are located in the same area, the target router is not located in the area where the target home device is located, so that the target home device may know that the connection cannot be successfully performed according to the network connection information in the network configuration information at present, therefore, the network connection information can be stored according to the offline distribution network identifier so as to facilitate subsequent connection when the networking triggering condition is met, and in addition, the near field communication broadcasting function of the target household equipment can be closed, so that the situation that other terminals configure wrong network information for the target household equipment can be prevented.
In the network configuration method, after acquiring the network connection information, the remote terminal may send, to the distribution network terminal, a connection instruction for instructing the distribution network terminal to send the network configuration information to the target home device through the near field communication connection through the remote connection, where the network configuration information may include: the network connection information is used for indicating the target home equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located, so that the target home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, and therefore network information of other terminals for configuring errors for the home equipment can be prevented. Therefore, compared with a network configuration mode in the traditional technology, the network configuration method in the embodiment of the application has a high network connection success rate.
Further, before the step S702, the remote terminal may further receive a remote connection instruction sent by the server, and establish a remote connection with the distribution network terminal through the server according to the remote connection instruction, so that the remote terminal may remotely control the distribution network terminal to establish a near field communication connection with the target home device, and configure network connection information for the target home device through the near field communication connection.
For example, the remote terminal may receive a remote connection instruction sent by the server after receiving a remote connection request sent by the distribution network terminal, where the remote connection instruction may include, but is not limited to, identification information of the distribution network terminal; further, the remote terminal can return a remote connection response message to the server according to the remote connection instruction, so that the remote connection between the remote terminal and the distribution network terminal is established through the server.
Further, before the step S702, the remote terminal may further send a scanning instruction to the distribution network terminal through remote connection, where the scanning instruction is used to instruct the distribution network terminal to perform device scanning, and send the identifier of each scanned near-field communication device to the remote terminal, so that the remote terminal may determine the target home device according to the identifier of the near-field communication device, and when it is detected that the identifier of each near-field communication device includes the identifier of the target home device, may send the identifier of the target home device to the distribution network terminal by carrying the identifier of the target home device in the connection instruction, so that the distribution network terminal establishes near-field communication connection with the target home device.
On the basis of the foregoing embodiment, in the embodiment of the present application, taking the application environment shown in fig. 1 as an example, a process of the network configuration method in the embodiment of the present application is introduced by combining a distribution network terminal side and a home device side. Fig. 8 is a schematic flowchart of a network configuration method in another embodiment of the present application, and as shown in fig. 8, the method in the embodiment of the present application may include:
and S801, establishing near field communication connection between the distribution network terminal and the target household equipment.
And S802, the target household equipment sends equipment authentication information to the distribution network terminal through the near field communication connection.
And S803, the distribution network terminal performs offline authentication on the target household equipment according to the equipment authentication information.
Exemplarily, if the offline authentication passes, step S804 is performed; if the offline authentication fails, the distribution network terminal may send offline authentication failure indication information to the target home equipment, so that the target home equipment may send equipment authentication information to the distribution network terminal again, so that the distribution network terminal performs offline authentication on the target home equipment again according to the received equipment authentication information, … …, and so on until the offline authentication is passed or the total number of times of offline authentication failures on the target home equipment exceeds a preset number of times.
And step S804, the distribution network terminal sends network configuration information to the target household equipment through near field communication connection.
The network configuration information related in the embodiment of the present application may include: the network connection information and the offline distribution network identification are used for indicating that the target router is not located in the area where the distribution network terminal is located.
And step S805, the target household equipment stores the network connection information according to the offline distribution network identifier and closes the near field communication broadcasting function of the household equipment.
The implementation manners of each step in the embodiments of the present application may refer to the relevant contents in the embodiments of the present application, and are not described herein again.
To sum up, in this embodiment of the application, after passing the offline authentication of the target home device, the distribution network terminal sends network configuration information to the target home device through a pre-established near field communication connection, where the network configuration information may include: the network connection information is used for indicating the target home equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located, so that the target home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, and therefore network information of other terminals for configuring errors for the home equipment can be prevented. Therefore, the network configuration method of the embodiment of the application has a high success rate of network connection, and can ensure that the household equipment accessed to the target router is legal safety equipment in an off-line authentication mode, thereby being beneficial to improving the equipment safety accessed to the target router.
On the basis of the foregoing embodiments, in the embodiments of the present application, taking the application environment shown in fig. 2 as an example, a flow of the network configuration method in the embodiments of the present application is introduced by combining a distribution network terminal side, a remote terminal side, and a home device side. Fig. 9 is a schematic flowchart of a network configuration method in another embodiment of the present application, and as shown in fig. 9, the method in the embodiment of the present application may include:
step S901, the distribution network terminal sends a remote connection request to the server.
The remote connection request related to the embodiment of the application is used for instructing the server to establish remote connection between the remote terminal and the distribution network terminal.
And step S902, the server sends a remote connection instruction to the remote terminal.
And step S903, the remote terminal sends a scanning instruction to the distribution network terminal through remote connection, wherein the scanning instruction is used for instructing the distribution network terminal to perform equipment scanning, and the scanned identification of each piece of near field communication equipment is sent to the remote terminal.
And step S904, the distribution network terminal scans equipment according to the scanning instruction and sends the scanned identification of each near field communication equipment to the remote terminal.
Step S905, the remote terminal determines a target home device according to the identifier of each near field communication device, and sends a connection instruction to the distribution network terminal through remote connection, where the connection instruction may include but is not limited to: the connection instruction is used for indicating the distribution network terminal to establish close range communication connection with the target home equipment and sending network configuration information to the target home equipment through close range communication connection.
And step S906, the distribution network terminal establishes the near field communication connection with the target household equipment according to the connection instruction.
And step S907, the target household equipment sends equipment authentication information to the distribution network terminal through the near field communication connection.
And step S908, the distribution network terminal performs offline authentication on the target household equipment according to the equipment authentication information.
Exemplarily, if the offline authentication passes, step S909 is executed; if the offline authentication fails, the distribution network terminal may send offline authentication failure indication information to the target home equipment, so that the target home equipment may send equipment authentication information to the distribution network terminal again, so that the distribution network terminal performs offline authentication on the target home equipment again according to the re-received equipment authentication information, … …, and so on until the offline authentication passes or the total number of times of offline authentication failure on the target home equipment exceeds a preset number of times.
And step S909, the distribution network terminal sends network configuration information to the target home device through the near field communication connection according to the connection instruction.
The network configuration information related in the embodiment of the present application may include: the network connection information and the offline distribution network identification are used for indicating that the target router is not located in the area where the distribution network terminal is located.
And step S910, the target household equipment stores the network connection information according to the offline distribution network identifier, and closes the near field communication broadcasting function of the household equipment.
The implementation manner of each step in the embodiment of the present application may refer to the relevant content in the above embodiment of the present application, and is not described herein again.
To sum up, in this embodiment of the application, the distribution network terminal establishes a near field communication connection with the target home device under the control of the remote terminal, and sends network configuration information to the target home device through the near field communication connection after passing the offline authentication of the target home device, where the network configuration information may include: the network connection information is used for indicating the target home equipment to be connected to the target router, and the offline distribution network identifier is used for representing that the target router is not located in the area where the distribution network terminal is located, so that the target home equipment closes the near field communication broadcasting function of the home equipment according to the offline distribution network identifier, and therefore network information of other terminals for configuring errors for the home equipment can be prevented. Therefore, the network configuration method of the embodiment of the application has high success rate of network connection, the network configuration of the household equipment is realized through remote control, the flexibility of the network configuration is improved, in addition, the household equipment accessed to the target router can be ensured to be legal safety equipment through an off-line authentication mode, and the equipment safety of accessing the target router is favorably improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a network configuration apparatus for implementing the above-mentioned network configuration method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the network configuration device provided below may refer to the limitations on the network configuration method in the foregoing, and details are not described here.
In an embodiment, fig. 10 is a schematic structural diagram of a network configuration apparatus in an embodiment of the present application, and as shown in fig. 10, the network configuration apparatus provided in the embodiment of the present application may be applied to a home device, and the apparatus may include: a receive module 1001, a save module 1002, and a close module 1003.
The receiving module 1001 is configured to receive network configuration information sent by a distribution network terminal through a near field communication connection, where the network configuration information includes: the system comprises network connection information and an offline distribution network identifier, wherein the network connection information is used for indicating the connection information of the household equipment to a target router, and the offline distribution network identifier is used for representing that the target router is not located in an area where a distribution network terminal is located;
a saving module 1002, configured to save the network connection information according to the offline distribution network identifier;
a closing module 1003, configured to close a near field communication broadcast function of the home device, where the near field communication broadcast function is used for the home device to request a terminal to perform network configuration.
In one embodiment, the apparatus further comprises:
the connection module is used for connecting the target router according to the network connection information under the condition that the networking triggering condition is met;
wherein the networking trigger condition comprises at least one of:
receiving a starting-up instruction aiming at the household equipment;
receiving a network connection instruction aiming at the household equipment;
and detecting that the household equipment is located in a preset area appointed by the distribution network terminal.
In one embodiment, the apparatus further comprises:
and the starting module is used for starting the near field communication broadcasting function if the target router is not connected within the preset time length.
In one embodiment, the apparatus further comprises:
and the sending module is used for sending connection success indication information to the distribution network terminal through the close-range communication connection if the target router is successfully connected and the close-range communication connection between the household equipment and the distribution network terminal is not disconnected.
The network configuration apparatus provided in the embodiment of the present application may be configured to execute the technical solution related to the home device in the embodiment of the network configuration method of the present application, and the implementation principle and the technical effect are similar, which are not described herein again.
In an embodiment, fig. 11 is a schematic structural diagram of a network configuration device in another embodiment of the present application, and as shown in fig. 11, the network configuration device provided in the embodiment of the present application may be applied to a distribution network terminal, and the device may include: an acquisition module 1101 and a first sending module 1102.
The acquiring module 1101 is configured to acquire network connection information, where the network connection information is used to indicate connection information of a target home device to a target router;
a first sending module 1102, configured to send network configuration information to the target home device through a near field communication connection, where the network configuration information includes: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In an embodiment, the obtaining module 1101 is specifically configured to:
receiving the network connection information sent by the remote terminal; alternatively, the first and second liquid crystal display panels may be,
and acquiring the network connection information stored by the distribution network terminal at the historical moment.
In one embodiment, the apparatus further comprises:
and the second sending module is used for sending a remote connection request to a server, wherein the remote connection request is used for indicating the server to establish remote connection between the remote terminal and the distribution network terminal.
In one embodiment, the apparatus further comprises:
the first receiving module is used for receiving a scanning instruction sent by the remote terminal;
the scanning module is used for scanning the equipment according to the scanning instruction;
the third sending module is used for sending the scanned identification of each near field communication device to the remote terminal so that the remote terminal can determine the target home equipment according to the identification of each near field communication device;
and the second receiving module is used for receiving a connection instruction sent by the remote terminal, wherein the connection instruction is used for indicating the distribution network terminal to establish close-range communication connection with the target household equipment.
In one embodiment, the apparatus further comprises:
the third receiving module is used for receiving the equipment authentication information sent by the target household equipment through the near field communication connection;
the authentication module is used for performing offline authentication on the target household equipment according to the equipment authentication information;
if the offline authentication is passed, the first sending module 1102 is configured to execute a step of sending the network configuration information to the target home device through the near field communication connection.
In one embodiment, the device authentication information includes: the authentication module is specifically configured to:
decrypting the equipment certificate according to a preset secret key to obtain second equipment information;
and if the first equipment information is matched with the second equipment information, determining that the offline authentication is passed.
The network configuration device provided in the embodiment of the present application may be configured to execute the technical solution of the network configuration terminal in the embodiment of the network configuration method of the present application, and the implementation principle and the technical effect are similar, which are not described herein again.
In an embodiment, the network configuration apparatus provided in this embodiment may be applied to a remote terminal, and a schematic structural diagram of the network configuration apparatus may be as shown in fig. 11, where the apparatus may include: the device comprises an acquisition module and a first sending module.
The system comprises an acquisition module, a router and a processing module, wherein the acquisition module is used for acquiring network connection information, and the network connection information is used for indicating the connection information of target household equipment to a target router;
the first sending module is configured to send a connection instruction to a distribution network terminal through remote connection, where the connection instruction carries the network connection information, and the connection instruction is used to instruct the distribution network terminal to send network configuration information to the target home device through near field communication connection, where the network configuration information includes: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
In one embodiment, the apparatus further comprises:
the second sending module is used for sending a scanning instruction to the distribution network terminal through remote connection, wherein the scanning instruction is used for instructing the distribution network terminal to perform equipment scanning and sending the scanned identification of each piece of near field communication equipment to the remote terminal;
the determining module is used for determining the target household equipment according to the identification of each piece of near field communication equipment;
correspondingly, the first sending module is specifically configured to: and carrying the identification of the target household equipment in the connection instruction and sending the identification to the distribution network terminal so as to indicate the distribution network terminal to establish close-range communication connection with the target household equipment.
In one embodiment, the apparatus further comprises:
the receiving module is used for receiving a remote connection instruction sent by the server;
and the establishing module is used for establishing remote connection with the distribution network terminal through the server according to the remote connection instruction.
The network configuration device provided in the embodiment of the present application may be configured to execute the technical solution related to the remote terminal in the foregoing network configuration method embodiment of the present application, and the implementation principle and the technical effect are similar, which are not described herein again.
The modules in the network configuration device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment, fig. 12 is a schematic structural diagram of an electronic device in an embodiment of the present application, and optionally, the electronic device may be a home device, a distribution network terminal, or a remote terminal. As shown in fig. 12, the electronic device may include a processor, a memory, and a communication interface connected by a system bus. The electronic device may further include a display screen, an input device, and the like. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication), a Bluetooth technology, an infrared technology or other technologies. When executed by the processor, the computer program implements the relevant content related to the home equipment, the distribution network terminal or the remote terminal in the network configuration method of the present application, which is not described herein again.
If the electronic device includes a display screen and an input device, the display screen may be a liquid crystal display screen or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, or may be a key, a trackball, or a touch pad, etc. arranged on a housing of the electronic device.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, an electronic device is further provided, including a memory and a processor, where the memory stores a computer program, and the processor implements the technical solution related to the home device, the distribution network terminal, or the remote terminal in the embodiment of the network configuration method when executing the computer program, and the implementation principle and the technical effect are similar, and are not described herein again.
In an embodiment, a computer-readable storage medium is provided, where a computer program is stored, and when the computer program is executed by a processor, the technical solution of the foregoing network configuration method embodiment of the present application regarding a home device, a distribution network terminal, or a remote terminal is implemented, and the implementation principle and the technical effect are similar, and are not described herein again.
In an embodiment, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the technical solution of the network configuration method embodiment related to a home device, a distribution network terminal, or a remote terminal is implemented, and the implementation principle and the technical effect are similar, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (19)

1. A network configuration method is applied to household equipment, and is characterized in that the method comprises the following steps:
receiving network configuration information sent by a distribution network terminal through near field communication connection, wherein the network configuration information comprises: the system comprises network connection information and an offline distribution network identifier, wherein the network connection information is used for indicating the connection information of the household equipment to a target router, and the offline distribution network identifier is used for representing that the target router is not located in an area where a distribution network terminal is located;
and storing the network connection information according to the offline distribution network identifier, and closing a near field communication broadcasting function of the home equipment, wherein the near field communication broadcasting function is used for the home equipment to request a terminal to perform network configuration.
2. The method of claim 1, further comprising:
connecting the target router according to the network connection information in case that a networking trigger condition is satisfied;
wherein the networking trigger condition comprises at least one of:
receiving a starting-up instruction aiming at the household equipment;
receiving a network connection instruction aiming at the household equipment;
and detecting that the household equipment is located in a preset area appointed by the distribution network terminal.
3. The method of claim 2, further comprising:
and if the target router is not connected within the preset time, starting the near field communication broadcasting function.
4. The method of claim 3, further comprising:
and if the target router is successfully connected and the close-range communication connection between the household equipment and the distribution network terminal is not disconnected, sending connection success indication information to the distribution network terminal through the close-range communication connection.
5. A network configuration method is applied to a distribution network terminal, and comprises the following steps:
acquiring network connection information, wherein the network connection information is used for indicating connection information of target household equipment to a target router;
sending network configuration information to the target home equipment through near field communication connection, wherein the network configuration information comprises: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
6. The method of claim 5, wherein the obtaining network connection information comprises:
receiving the network connection information sent by the remote terminal; alternatively, the first and second liquid crystal display panels may be,
and acquiring the network connection information stored by the distribution network terminal at historical time.
7. The method of claim 6, wherein before the receiving the network connection information sent by the remote terminal, the method further comprises:
and sending a remote connection request to a server, wherein the remote connection request is used for indicating the server to establish remote connection between the remote terminal and the distribution network terminal.
8. The method according to claim 6, wherein prior to sending the network configuration information to the target home device over the close-range communication connection, the method further comprises:
receiving a scanning instruction sent by the remote terminal;
performing equipment scanning according to the scanning instruction, and sending the scanned identification of each near field communication equipment to the remote terminal, so that the remote terminal can determine the target household equipment according to the identification of each near field communication equipment;
and receiving a connection instruction sent by the remote terminal, wherein the connection instruction is used for indicating the distribution network terminal to establish close range communication connection with the target household equipment.
9. The method according to any one of claims 5-8, further comprising:
receiving equipment authentication information sent by the target household equipment through near field communication connection;
performing offline authentication on the target household equipment according to the equipment authentication information;
and if the offline authentication is passed, executing a step of sending the network configuration information to the target household equipment through near field communication connection.
10. The method of claim 9, wherein the device authentication information comprises: the method for performing offline authentication on the target household equipment according to the equipment authentication information comprises the following steps:
decrypting the equipment certificate according to a preset secret key to obtain second equipment information;
and if the first equipment information is matched with the second equipment information, determining that the offline authentication is passed.
11. A network configuration method is applied to a remote terminal, and the method comprises the following steps:
acquiring network connection information, wherein the network connection information is used for indicating connection information of target household equipment to a target router;
sending a connection instruction to a distribution network terminal through remote connection, wherein the connection instruction carries the network connection information, and the connection instruction is used for indicating the distribution network terminal to send network configuration information to the target household equipment through near field communication connection, and the network configuration information comprises: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
12. The method of claim 11, wherein before sending the connection instruction to the distribution network terminal through the remote connection, the method further comprises:
sending a scanning instruction to the distribution network terminal through remote connection, wherein the scanning instruction is used for instructing the distribution network terminal to carry out equipment scanning and sending the scanned identification of each near field communication equipment to the remote terminal;
determining the target home equipment according to the identification of each near field communication equipment;
correspondingly, the sending of the connection instruction to the distribution network terminal through the remote connection includes:
and carrying the identification of the target household equipment in the connection instruction and sending the identification to the distribution network terminal so as to indicate the distribution network terminal to establish close-range communication connection with the target household equipment.
13. The method according to claim 12, wherein before sending the scanning instruction to the distribution network terminal through the remote connection, the method further comprises:
and receiving a remote connection instruction sent by a server, and establishing remote connection with the distribution network terminal through the server according to the remote connection instruction.
14. A network configuration device is applied to household equipment, and the device comprises:
the receiving module is used for receiving network configuration information sent by the distribution network terminal through near field communication connection, wherein the network configuration information comprises: the system comprises network connection information and an offline distribution network identifier, wherein the network connection information is used for indicating the connection information of the household equipment to a target router, and the offline distribution network identifier is used for representing that the target router is not located in an area where a distribution network terminal is located;
the storage module is used for storing the network connection information according to the offline distribution network identifier;
and the closing module is used for closing the near field communication broadcasting function of the household equipment, wherein the near field communication broadcasting function is used for the household equipment to request the terminal to perform network configuration.
15. A network configuration device, wherein the device is applied in a distribution network terminal, the device comprises:
the system comprises an acquisition module, a routing module and a routing module, wherein the acquisition module is used for acquiring network connection information, and the network connection information is used for indicating connection information of target household equipment to a target router;
a sending module, configured to send network configuration information to the target home device through near field communication, where the network configuration information includes: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
16. A network configuration apparatus, wherein the apparatus is applied in a remote terminal, the apparatus comprises:
the system comprises an acquisition module, a routing module and a routing module, wherein the acquisition module is used for acquiring network connection information, and the network connection information is used for indicating connection information of target household equipment to a target router;
the sending module is used for sending a connection instruction to a distribution network terminal through remote connection, wherein the connection instruction carries the network connection information, and the connection instruction is used for indicating the distribution network terminal to send network configuration information to the target household equipment through near field communication connection, and the network configuration information comprises: the network connection information and the offline distribution network identification are used for representing that the target router is not located in the area where the distribution network terminal is located.
17. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the method of any of claims 1 to 4, the steps of the method of any of claims 5 to 10, or the steps of the method of any of claims 11 to 13.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any of claims 1 to 4, the steps of the method of any of claims 5 to 10, or the steps of the method of any of claims 11 to 13.
19. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4, the steps of the method of any one of claims 5 to 10, or the steps of the method of any one of claims 11 to 13.
CN202210366547.8A 2022-04-08 2022-04-08 Network configuration method, device, electronic equipment, storage medium and program product Active CN114785679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210366547.8A CN114785679B (en) 2022-04-08 2022-04-08 Network configuration method, device, electronic equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210366547.8A CN114785679B (en) 2022-04-08 2022-04-08 Network configuration method, device, electronic equipment, storage medium and program product

Publications (2)

Publication Number Publication Date
CN114785679A true CN114785679A (en) 2022-07-22
CN114785679B CN114785679B (en) 2024-02-20

Family

ID=82426954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210366547.8A Active CN114785679B (en) 2022-04-08 2022-04-08 Network configuration method, device, electronic equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN114785679B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160105412A1 (en) * 2014-03-03 2016-04-14 Tencent Technology (Shenzhen) Company Limited Network connection method, application authentication server, terminal and router
CN108377202A (en) * 2018-02-11 2018-08-07 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
CN109246683A (en) * 2017-06-02 2019-01-18 中兴通讯股份有限公司 A kind of method for network access and message processing apparatus
CN109787769A (en) * 2018-12-25 2019-05-21 深圳市安信认证系统有限公司 Offline authentication method, user terminal and the device end of internet of things equipment
CN110098984A (en) * 2018-01-29 2019-08-06 九阳股份有限公司 A kind of household appliance networking implementation method
CN111866996A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium
CN112165417A (en) * 2020-09-07 2021-01-01 珠海格力电器股份有限公司 Networking method of household appliance, electronic device and storage medium
CN112867041A (en) * 2020-12-28 2021-05-28 美的集团股份有限公司 Network distribution method of household appliance, mobile terminal and medium
CN113055867A (en) * 2021-03-08 2021-06-29 Oppo广东移动通信有限公司 Method and device for auxiliary network distribution of terminal and electronic equipment
CN114200848A (en) * 2021-12-02 2022-03-18 北京小米移动软件有限公司 Remote control method, system and device of household equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160105412A1 (en) * 2014-03-03 2016-04-14 Tencent Technology (Shenzhen) Company Limited Network connection method, application authentication server, terminal and router
CN109246683A (en) * 2017-06-02 2019-01-18 中兴通讯股份有限公司 A kind of method for network access and message processing apparatus
CN110098984A (en) * 2018-01-29 2019-08-06 九阳股份有限公司 A kind of household appliance networking implementation method
CN108377202A (en) * 2018-02-11 2018-08-07 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
CN109787769A (en) * 2018-12-25 2019-05-21 深圳市安信认证系统有限公司 Offline authentication method, user terminal and the device end of internet of things equipment
CN111866996A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium
CN112165417A (en) * 2020-09-07 2021-01-01 珠海格力电器股份有限公司 Networking method of household appliance, electronic device and storage medium
CN112867041A (en) * 2020-12-28 2021-05-28 美的集团股份有限公司 Network distribution method of household appliance, mobile terminal and medium
CN113055867A (en) * 2021-03-08 2021-06-29 Oppo广东移动通信有限公司 Method and device for auxiliary network distribution of terminal and electronic equipment
CN114200848A (en) * 2021-12-02 2022-03-18 北京小米移动软件有限公司 Remote control method, system and device of household equipment and storage medium

Also Published As

Publication number Publication date
CN114785679B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
US11979274B2 (en) Network management method and apparatus
EP3356961B1 (en) Peer-to-peer syncable storage system
TWI787383B (en) Device connection method, device and system
EP3905671B1 (en) Method and device for processing request
US9894630B2 (en) ADSS enabled global roaming system
US20180041893A1 (en) Method and system of multi-terminal mapping to a virtual sim card
CN112738805A (en) Device control method and apparatus, storage medium, and electronic device
US20140177615A1 (en) Method for scanning a wireless fidelity (wi-fi) direct device and terminal device for the same
CN113940037B (en) Resource subscription method, device, computer equipment and storage medium
CN114760112B (en) Wireless local area network-oriented intelligent home equipment networking method, system, equipment and storage medium
KR20160130457A (en) Determination method and corresponding terminal, computer program product and storage medium
US20150178068A1 (en) Electric product and method for updating firmware of the same
CN114666155B (en) Equipment access method, system, device, internet of things equipment and gateway equipment
CN114785679A (en) Network configuration method, network configuration device, electronic equipment, storage medium and program product
CN111935698A (en) Network access method, device, terminal and storage medium
CN111193655B (en) Information processing method, information processing apparatus, server, and storage medium
CN106656479A (en) Equipment password authentication method, servers and terminal
WO2021134252A1 (en) Inter-device communication method and apparatus, and storage medium
JP2009122898A (en) Community communication network, communication control method, user terminal, terminal control method, and program
CN114666154B (en) Device communication method, device, gateway, device, system, medium and product
CN104063659A (en) Network connection safety improvement method and electronic equipment
CN114666151B (en) Equipment binding method, device, terminal, internet of things equipment and storage medium
CN114726757B (en) Equipment networking test method, device, computer equipment and storage medium
CN111194070B (en) Wireless network processing and access method, device, system, storage medium and equipment
WO2022247765A1 (en) Authentication method and authentication apparatus

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