CN113840286B - Network distribution system, method and device of equipment, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113840286B
CN113840286B CN202111088486.5A CN202111088486A CN113840286B CN 113840286 B CN113840286 B CN 113840286B CN 202111088486 A CN202111088486 A CN 202111088486A CN 113840286 B CN113840286 B CN 113840286B
Authority
CN
China
Prior art keywords
distribution network
equipment
information
request information
distribution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111088486.5A
Other languages
Chinese (zh)
Other versions
CN113840286A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111088486.5A priority Critical patent/CN113840286B/en
Publication of CN113840286A publication Critical patent/CN113840286A/en
Application granted granted Critical
Publication of CN113840286B publication Critical patent/CN113840286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • 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

Landscapes

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

Abstract

The application provides a network distribution system, a network distribution method, a network distribution device, electronic equipment and a storage medium of the equipment, wherein the system comprises: the first equipment is used for sending the distribution network request information to the second equipment after receiving the awakening information of the second equipment and accessing the wireless network after receiving the distribution network authentication information sent by the second equipment; and the second equipment is used for sending equipment awakening information to the first equipment and sending distribution network authentication information to the first equipment after receiving the distribution network request information of the first equipment, wherein the distribution network request information received by the second equipment is authenticated through the server before the distribution network authentication information is sent by the second equipment. Through the method and the device, the problem that difficulty in realizing distribution of the network among all devices in the related technology is high is solved.

Description

Network distribution system, method and device of equipment, electronic equipment and storage medium
Technical Field
The present application relates to the field of distribution networks of devices, and in particular, to a distribution network system, method, apparatus, electronic device, and storage medium of a device.
Background
In the current internet era of rapid development, household appliances and other equipment tend to be intelligent more and more, people use and utilize various equipment in multiple modes, air conditioners, refrigerators, rice cookers and washing machines in the household appliance industry are intelligent, great convenience is brought to people, convenience and personalized services are provided for users, at present, intelligent equipment is connected to the internet in multiple modes, and the equipment is connected to the internet in multiple modes such as WIFI, bluetooth and zigbee.
In the current various network distribution modes, the related technology is that a user provides an account and a password for equipment, and in the network distribution connection stage, the user needs manual operation to connect the equipment with repeaters such as a router, so that the equipment is various in types and complex in operation, and certain difficulty is brought to the user to use an intelligent product conveniently.
Therefore, the related art has the problem of high difficulty in equipment distribution.
Disclosure of Invention
The application provides a network distribution system, a network distribution method, a network distribution device, electronic equipment and a storage medium of equipment, and at least solves the problem that the difficulty of network distribution of the equipment is high in the related technology.
According to an aspect of an embodiment of the present application, there is provided an equipment distribution network system, including: the first equipment is used for sending the distribution network request information to the second equipment after receiving the awakening information of the second equipment and accessing a wireless network provided by the second equipment after receiving the distribution network authentication information sent by the second equipment; and the second equipment is gateway equipment and is used for sending equipment awakening information and sending distribution network authentication information to the first equipment after receiving the distribution network request information of the first equipment, wherein the distribution network request information received by the second equipment is authenticated through the server before the distribution network authentication information is sent by the second equipment.
Optionally, the distribution network request information includes: at least one of a public key of the first device, a private key of the first device, and an authentication certificate of the first device.
Optionally, the distribution network request information is sent in three times, where the content sent for the first time includes a public key of the first device, the content sent for the second time includes a private key of the first device, and the content sent for the third time includes an authentication certificate of the first device.
Optionally, if the distribution network request information sent by the first device to the second device exceeds a preset number of times and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the preset time length is exceeded after the first device sends the distribution network request information to the second device, and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the distribution network request information sent to the second device exceeds a preset number of times and the distribution network authentication information is not received after a preset time length, the first device enters a sleep mode.
Optionally, before the first device enters the sleep mode, the method further includes: the first device blacklists the second device, wherein the blacklist is used to prohibit the first device from receiving and/or responding to any information sent by the second device.
Optionally, before the second device sends the distribution network authentication information, the method further includes: and uploading the received distribution network request information to a server, and authenticating the distribution network request information by the server.
Optionally, if the authentication result of the server for the distribution network request information is passed, the second device sends the distribution network authentication information to the first device; and if the authentication result of the server to the distribution network request information is failed, the second equipment discards the distribution network request information.
According to another aspect of the embodiment of the application, a network distribution method of a device is further provided, which is applied to a first device, and the method includes: after receiving wake-up information of the second equipment, sending network configuration request information, wherein the wake-up information is information for switching the first equipment from a sleep mode to a working mode; and after receiving the distribution network authentication information of the second equipment, accessing the second equipment to a wireless network, wherein the wireless network is a wireless network provided by the second equipment.
Optionally, the distribution network request information includes: at least one of a public key of the first device, a private key of the first device, and an authentication certificate of the first device.
Optionally, the distribution network request information is sent in three times, where the content sent for the first time includes a public key of the first device, the content sent for the second time includes a private key of the first device, and the content sent for the third time includes an authentication certificate of the first device.
Optionally, if the distribution network request information sent by the first device to the second device exceeds a preset number of times and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the distribution network request information sent by the first device to the second device exceeds a preset time period and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the distribution network request information sent to the second device exceeds a preset number of times and the distribution network authentication information is not received after a preset time length, the first device enters a sleep mode.
Optionally, before the first device enters the sleep mode, the method further includes: the first device blacklists the second device, wherein the blacklist is used to prohibit the first device from receiving and/or responding to any information sent by the second device.
According to another aspect of the embodiments of the present application, there is provided a network distribution method for a device, which is applied to a second device, and the method includes: broadcasting wake-up information through a predetermined channel, wherein the wake-up information is used for switching the first equipment from a sleep mode to a working mode; after the distribution network request information of the first equipment is received, distribution network authentication information is sent to the first equipment, and the distribution network authentication information is used for allowing the first equipment to be accessed to a network provided by the second equipment.
Optionally, before the second device sends the distribution network authentication information, the method further includes: and uploading the received distribution network request information to a server, and authenticating the distribution network request information by the server.
Optionally, if the authentication result of the server for the distribution network request information is passed, the second device sends the distribution network authentication information to the first device; and if the authentication result of the server to the distribution network request information is failed, the second equipment discards the distribution network request information.
According to another aspect of the embodiments of the present application, there is provided a network distribution apparatus for a device, which is applied to a first device, the apparatus including: the receiving unit is used for receiving the awakening information sent by the second equipment and/or receiving the distribution network authentication information of the second equipment;
the sending unit is used for sending the distribution network request information to the second equipment, wherein the second equipment is used for allowing the first equipment to access a wireless network provided by the second equipment under the condition of receiving the distribution network request information and passing the verification;
and the access unit is used for accessing the wireless network after receiving the distribution network authentication information of the second equipment.
According to another aspect of the embodiments of the present application, there is provided a network distribution apparatus for a device, which is applied to a second device, the apparatus including: the device comprises a sending unit and a distribution network authentication unit, wherein the sending unit is used for sending wake-up information and/or distribution network authentication information, the wake-up information is used for switching a first device in a sleep mode to a working mode, and the distribution network authentication information is used for allowing the first device to access a wireless network provided by a second device;
and the receiving unit is used for receiving the distribution network request information.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are configured to communicate with each other via the communication bus, and the memory is configured to store a computer program; a processor for executing the computer program stored on the memory to perform the method steps in any of the above embodiments.
According to a further aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method steps of any of the above embodiments when executed.
In the embodiment of the application, a mode of combining a first intelligent device, a second intelligent device and a server is adopted, the second device sends device awakening information, and after the distribution network request information of the first device is received, distribution network authentication information is sent to the first device, wherein before the distribution network authentication information is sent by the second device, the distribution network request information received by the second device is authenticated through a server; and if the authentication result of the server to the distribution network request information is passed, the second equipment sends the distribution network authentication information to the first equipment, and the first equipment accesses a wireless network provided by the second equipment after receiving the distribution network authentication information sent by the second equipment. Because the first device and the second intelligent device of the application do not need human intervention in the distribution network, the purposes of simple operation and reduction of the difficulty of the distribution network can be realized, and the problem of high difficulty in the distribution network among the devices in the prior art is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a system diagram of a distribution network system of an alternative device according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a network distribution method of an optional device according to an embodiment of the present application;
fig. 3 is a flow diagram illustrating a network distribution method for another alternative device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a distribution network apparatus of an optional device according to an embodiment of the present application;
fig. 5 is a block diagram of a distribution network apparatus of another alternative device according to an embodiment of the present application;
fig. 6 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related technology, a user provides an account and a password for equipment, and in a distribution network connection stage, the user needs to manually operate to connect the equipment with relays such as a router, so that the equipment is frequently connected and complex in operation, and certain difficulty is brought to the user to conveniently use an intelligent product. In order to solve the problem that difficulty in realizing a distribution network among devices is high, an embodiment of the present application provides a distribution network system of devices, where as shown in fig. 1, the system includes:
the first device 11 is a device capable of entering a sleep mode, and the first device is used for sending the distribution network request information to the second device after receiving the wake-up information of the second device, and accessing a wireless network provided by the second device after receiving the distribution network authentication information sent by the second device;
and the second device 12 is configured to send device wake-up information, and send distribution network authentication information to the first device after receiving the distribution network request information of the first device, where the distribution network request information received by the second device is authenticated by the server before the distribution network authentication information is sent by the second device.
Optionally, the second device is a gateway device.
Optionally, the distribution network request information includes: at least one of a public key of the first device, a private key of the first device, and an authentication certificate of the first device.
Optionally, the distribution network request information is sent in three times, where the content sent for the first time includes a public key of the first device, the content sent for the second time includes a private key of the first device, and the content sent for the third time includes an authentication certificate of the first device.
Optionally, after receiving the private key sent by the first device, the second device sends the private key information to the server for authentication, and after the server successfully authenticates, the second device sends the account and/or the key thereof to the first device, so that the first device successfully accesses the network.
Optionally, after receiving the public key sent by the first device, the second device sends the public key information to the server for authentication, and after the server successfully authenticates, the second device sends the self account and/or the secret key to the first device, so that the first device successfully accesses the network.
Optionally, after receiving the authentication certificate sent by the first device, the second device sends the authentication certificate information to the server for authentication, and after the server successfully authenticates, the second device sends the self account and/or the key to the first device, so that the first device successfully accesses the network.
Optionally, after receiving the private key, the public key, and the authentication certificate sent by the first device, the second device sends the private key, the public key, and the authentication certificate of the first device to the server for authentication, and after the server successfully authenticates, the second device sends the account and/or the key thereof to the first device, so that the first device successfully accesses the network.
Optionally, if the distribution network request information sent by the first device to the second device exceeds a preset number of times and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the first device sends the distribution network request information to the second device more than 30 times and does not receive the distribution network authentication information, the first device enters the sleep mode.
Optionally, if the preset time length is exceeded after the first device sends the distribution network request information to the second device, and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the time period exceeds 3 minutes after the first device sends the distribution network request information to the second device and the distribution network authentication information is not received, the first device enters the sleep mode.
Optionally, if the distribution network request information sent to the second device exceeds a preset number of times and the distribution network authentication information is not received after a preset time length, the first device enters a sleep mode.
Optionally, if the distribution network request information is sent to the second device more than 30 times and the distribution network authentication information is not received for more than 3 minutes, the first device enters the sleep mode.
Optionally, before the first device enters the sleep mode, the method further includes: the first device blacklists the second device, wherein the blacklist is used to prohibit the first device from receiving and/or responding to any information sent by the second device. It is to be understood that the user may unlink the blacklist by the first device.
Optionally, before the second device sends the distribution network authentication information, the method further includes: and uploading the received distribution network request information to a server, and authenticating the distribution network request information by the server.
Optionally, if the authentication result of the server for the distribution network request information is passed, the second device sends the distribution network authentication information to the first device; and if the authentication result of the server on the distribution network request information is that the distribution network request information does not pass, the second equipment discards the distribution network request information.
Optionally, the first device determines whether to successfully access a network provided by the second device; if successful access is achieved, the first equipment sends out prompt information to remind the user of successful networking.
Optionally, the first device determines whether to successfully access the network provided by the second device; if the network access fails, the first equipment reminds the user of adopting a manual distribution network; if the manual network distribution is successful, the first equipment sends prompt information to remind a user of successful network distribution; and if the manual distribution network fails, the first equipment reminds the user to contact the after-sale process.
In the embodiment of the application, a mode of combining a first device, a second device and a server is adopted, the second device sends device awakening information, and after network distribution request information of the first device is received, network distribution authentication information is sent to the first device, wherein before the second device sends the network distribution authentication information, the server authenticates the network distribution request information received by the second device; and if the authentication result of the server to the distribution network request information is passed, the second equipment sends the distribution network authentication information to the first equipment, and the first equipment accesses a wireless network provided by the second equipment after receiving the distribution network authentication information sent by the second equipment. Because the first device and the second intelligent device in the application are distributed with the network, the purposes of simple operation and network distribution difficulty reduction can be realized without human intervention, and the problem of higher difficulty in realizing the network distribution among the devices in the prior art is solved; furthermore, the first device can enter a sleep mode when the network distribution is not needed, and the power consumption of the device is reduced.
According to another aspect of the embodiment of the present application, there is also provided a network distribution method for a device, which is applied to a second smart device, and as shown in fig. 2, the method includes:
step S201, after receiving the awakening information of the second equipment, sending the distribution network request information to the second equipment, wherein the awakening information is information for switching the first equipment from the sleep mode to the working mode;
step S202, after receiving the distribution network authentication information of the second device, accessing a wireless network, wherein the wireless network is a wireless network provided by the second device.
Optionally, the distribution network request information includes: at least one of a public key of the first device, a private key of the first device, and an authentication certificate of the first device.
Optionally, the distribution network request information is sent in three times, where the content sent for the first time includes a public key of the first device, the content sent for the second time includes a private key of the first device, and the content sent for the third time includes an authentication certificate of the first device.
Optionally, after receiving the private key sent by the first device, the second device sends the private key information to the server for authentication, and after the server successfully authenticates, the second device sends the self account and/or the secret key to the first device, so that the first device successfully accesses the network.
Optionally, after receiving the public key sent by the first device, the second device sends the public key information to the server for authentication, and after the server successfully authenticates, the second device sends the self account and/or the secret key to the first device, so that the first device successfully accesses the network.
Optionally, after receiving the authentication certificate sent by the first device, the second device sends the authentication certificate information to the server for authentication, and after the server successfully authenticates, the second device sends the self account and/or the key to the first device, so that the first device successfully accesses the network.
Optionally, after receiving the private key, the public key, and the authentication certificate sent by the first device, the second device sends the private key, the public key, and the authentication certificate of the first device to the server for authentication, and after the server successfully authenticates, the second device sends the account number and/or the secret key of the second device to the first device, so that the first device successfully accesses the network.
Optionally, if the distribution network request information sent by the first device to the second device exceeds a preset number of times and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the distribution network request information is sent to the second device more than 30 times and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the preset time length is exceeded after the first device sends the distribution network request information to the second device, and the distribution network authentication information is not received, the first device enters a sleep mode.
Optionally, if the time period exceeds 3 minutes after the first device sends the distribution network request information to the second device and the distribution network authentication information is not received, the first device enters the sleep mode.
Optionally, if the distribution network request information sent to the second device exceeds a preset number of times and the distribution network authentication information is not received after a preset time length, the first device enters a sleep mode.
Optionally, if the distribution network request information is sent to the second device more than 30 times and the distribution network authentication information is not received for more than 3 minutes, the first device enters the sleep mode.
Optionally, before the first device enters the sleep mode, the method further includes: the first device blacklists the second device, wherein the blacklist is used to prohibit the first device from receiving and/or responding to any information sent by the second device. It is understood that the user may unlink the blacklist by the first device.
Optionally, the first device determines whether to successfully access the network provided by the second device; if successful access is achieved, the first equipment sends out prompt information to remind the user of successful networking.
Optionally, the first device determines whether to successfully access a network provided by the second device; if the network access fails, the first equipment reminds the user of adopting a manual distribution network; if the manual network distribution is successful, the first equipment sends prompt information to remind a user of successful network distribution; if the manual distribution network fails, the first device reminds the user to contact after-sale processing.
In the embodiment of the application, a mode of combining a first intelligent device, a second intelligent device and a server is adopted, the second device sends device awakening information, and after distribution network request information of the first device is received, distribution network authentication information is sent to the first device, wherein before the second device sends the distribution network authentication information, the distribution network request information received by the second device is authenticated through a server; and if the authentication result of the server to the distribution network request information is passed, the second equipment sends the distribution network authentication information to the first equipment, and the first equipment accesses a wireless network provided by the second equipment after receiving the distribution network authentication information sent by the second equipment. Because the first device and the second intelligent device in the application are distributed with the network, the purposes of simple operation and network distribution difficulty reduction can be realized without human intervention, and the problem of higher difficulty in realizing the network distribution among the devices in the prior art is solved; furthermore, the first device can enter a sleep mode when the network configuration is not needed, so that the power consumption of the device is reduced.
According to another aspect of the embodiment of the present application, there is also provided a network distribution method for a device, which is applied to a first intelligent device, and as shown in fig. 3, the method includes:
step S301, broadcasting awakening information through a preset channel, wherein the awakening information is used for switching the first equipment from a sleep mode to a working mode;
step S302, after receiving the distribution network request information of the first device, sending distribution network authentication information to the first device, wherein the distribution network authentication information is used for accessing the first device to a network provided by the second device.
Optionally, before the second device sends the distribution network authentication information, the method further includes: and uploading the received distribution network request information to a server, and authenticating the distribution network request information by the server.
Optionally, if the authentication result of the server for the distribution network request information is passed, the second device sends the distribution network authentication information to the first device; and if the authentication result of the server on the distribution network request information is that the distribution network request information does not pass, the second equipment discards the distribution network request information.
Optionally, the first device determines whether to successfully access the network provided by the second device; if successful access is achieved, the first device sends out prompt information to remind the user of successful networking.
Optionally, the first device determines whether to successfully access the network provided by the second device; if the network access fails, the first equipment reminds the user of adopting a manual distribution network; if the manual network distribution is successful, the first equipment sends prompt information to remind a user of successful network distribution; and if the manual distribution network fails, the first equipment reminds the user to contact the after-sale process.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application or portions of the contribution to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk), and includes several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the embodiments of the present application.
According to another aspect of the embodiment of the application, a network distribution device of the equipment for implementing the network distribution method of the equipment is further provided. Fig. 4 is a block diagram of a configuration network apparatus of an optional device according to an embodiment of the present application, and as shown in fig. 4, the apparatus may include:
a receiving unit 401, configured to receive wake-up information sent by the second device and/or receive distribution network authentication information of the second device;
a sending unit 402, configured to send distribution network request information to the second device, where the second device is configured to allow the first device to access a wireless network provided by the second device when the distribution network request information is received and verified;
the access unit 403 is configured to access the wireless network after receiving the distribution network authentication information of the second device.
Through the module, the mode that a first intelligent device, a second intelligent device and a server are combined is adopted, the second device sends device awakening information, and after the distribution network request information of the first device is received, distribution network authentication information is sent to the first device, wherein before the second device sends the distribution network authentication information, the distribution network request information received by the second device is authenticated through the server; and if the distribution network request information is authenticated by the server to be passed, the second equipment sends the distribution network authentication information to the first equipment, and the first equipment accesses a wireless network provided by the second equipment after receiving the distribution network authentication information sent by the second equipment. Because the first device and the second intelligent device of the application do not need human intervention in the distribution network, the purposes of simple operation and reduction of the difficulty of the distribution network can be realized, and the problem of high difficulty in the distribution network among the devices in the prior art is solved.
According to another aspect of the embodiment of the application, a network distribution device of the equipment for implementing the network distribution method of the equipment is further provided. Fig. 5 is a block diagram of a distribution network apparatus of another optional device according to an embodiment of the present application, and as shown in fig. 5, the apparatus may include:
a sending unit 501, configured to send wake-up information and distribution network authentication information, where the wake-up information is used to wake up a first device in a sleep mode to a working mode, and the distribution network authentication information is used to allow the first device to access a wireless network provided by a second device;
the receiving unit 502 is configured to receive distribution network request information.
According to another aspect of the embodiments of the present application, an electronic device for implementing a network distribution method of the above device is further provided, where the electronic device may be a server, a terminal, or a combination thereof.
Fig. 6 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete communications with each other through the communication bus 604, where,
a memory 603 for storing a computer program;
the processor 601, when executing the computer program stored in the memory 603, implements the following steps:
the method comprises the steps that S1, after wake-up information of second equipment is received, distribution network request information is sent to the second equipment, wherein the wake-up information is information for enabling the first equipment to be switched from a sleep mode to a working mode;
and S2, after receiving the distribution network authentication information of the second equipment, accessing a wireless network, wherein the wireless network is a wireless network provided by the second equipment.
Alternatively, in the present embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The memory may include RAM, and may also include non-volatile memory, such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
As an example, as shown in fig. 6, the memory 603 may include, but is not limited to, a receiving unit 401, a transmitting unit 402, and an accessing unit 403 in the distribution network apparatus including the above devices. In addition, the device may further include, but is not limited to, other module units in the distribution network apparatus of the foregoing device, which is not described in detail in this example.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also DSPs (Digital Signal Processing), ASICs (Application Specific Integrated circuits), FPGAs (Field Programmable Gate arrays) or other Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
In addition, the electronic device further includes: and the display is used for the distribution network result of the equipment.
Optionally, for a specific example in this embodiment, reference may be made to the example described in the foregoing embodiment, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration, and the device implementing the network distribution method of the device may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android Mobile phone, an iOS Mobile phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 6 does not limit the structure of the electronic device. For example, the terminal device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
According to still another aspect of an embodiment of the present application, there is also provided a storage medium. Optionally, in this embodiment, the storage medium may be used to execute a program code of a network distribution method of a device.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
the method comprises the steps that S1, after wake-up information of second equipment is received, distribution network request information is sent to the second equipment, wherein the wake-up information is information for enabling the first equipment to be switched from a sleep mode to a working mode;
and S2, after receiving the distribution network authentication information of the second equipment, accessing a wireless network, wherein the wireless network is a wireless network provided by the second equipment.
Optionally, the first device determines whether to successfully access the network provided by the second device; if successful access is achieved, the first device sends out prompt information to remind the user of successful networking.
Optionally, the first device determines whether to successfully access the network provided by the second device; if the network access fails, the first equipment reminds the user of adopting a manual distribution network; if the manual network distribution is successful, the first equipment sends prompt information to remind a user of successful network distribution; if the manual distribution network fails, the first device reminds the user to contact after-sale processing.
Optionally, the specific example in this embodiment may refer to the example described in the above embodiment, which is not described again in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
According to yet another aspect of an embodiment of the present application, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium; the processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the steps of the network distribution method of the device in any of the above embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application, in essence or a part of the technical solution contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the network distribution method of the devices of the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, and may also be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. An equipment distribution network system comprising: the system comprises a first device, a second device and a server;
the first equipment sends the distribution network request information to the second equipment after receiving the awakening information of the second equipment, wherein the distribution network request information comprises: at least one of a private key of the first device or an authentication certificate of the first device;
the method comprises the steps that a first device sends distribution network request information to a second device for more than a preset number of times or more than a preset duration, and does not receive distribution network authentication information, the first device enters a sleep mode, before the first device enters the sleep mode, the first device lists the second device in a blacklist, and the blacklist is used for forbidding the first device to receive and/or respond to information sent by the second device;
after the second device receives the distribution network request information of the first device, the server is used for authenticating the distribution network request information received by the second device, and if the distribution network request information is authenticated by the server, the second device sends the distribution network authentication information to the first device;
the method comprises the steps that after the first equipment receives distribution network authentication information sent by the second equipment, the first equipment is accessed to a wireless network provided by the second equipment; when the first equipment is successfully accessed into the network, the first equipment sends out prompt information to remind a user of successful networking; and when the first equipment fails to access the network, the user is reminded of adopting a manual distribution network.
2. The device distribution network system of claim 1, wherein the first device comprises:
the receiving unit is used for receiving the awakening information sent by the second equipment and/or receiving the distribution network authentication information of the second equipment;
the device comprises a sending unit and a second device, wherein the sending unit is used for sending the distribution network request information to the second device, and the second device is used for allowing the first device to access a wireless network provided by the second device under the condition of receiving the distribution network request information and verifying the distribution network request information;
and the access unit is used for accessing the wireless network after receiving the distribution network authentication information of the second equipment.
3. The device distribution network system of claim 1, wherein the second device comprises:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending wake-up information and/or distribution network authentication information, the wake-up information is used for switching a first device in a sleep mode to a working mode, and the distribution network authentication information is used for allowing the first device to access a wireless network provided by a second device;
and the receiving unit is used for receiving the distribution network request information.
4. A method for network distribution of a device, applied to a first device in a network distribution system of the device of claim 1, the method comprising:
after receiving the awakening information of the second equipment, sending distribution network request information to the second equipment; if the distribution network request information sent to the second equipment exceeds the preset times and/or the distribution network authentication information is not received after the preset time length is exceeded, the first equipment enters a sleep mode, before the first equipment enters the sleep mode, the first equipment lists the second equipment into a blacklist, and the blacklist is used for forbidding the first equipment from receiving and/or responding to the information sent by the second equipment;
after receiving the distribution network authentication information of the second equipment, accessing a wireless network provided by the second equipment;
the distribution network request information comprises at least one of the following information: the method comprises the steps that a public key of a first device, a private key of the first device and an authentication certificate of the first device are obtained;
the distribution network request information is sent in three times, wherein the content sent for the first time comprises a public key of the first device, the content sent for the second time comprises a private key of the first device, and the content sent for the third time comprises an authentication certificate of the first device.
5. The method of claim 4, wherein the distribution network authentication information of the second device comprises:
and uploading the received distribution network request information to a server before the second equipment sends the distribution network authentication information, and authenticating the distribution network request information by the server.
6. The method of claim 5, further comprising:
the distribution network request information is authenticated, and if the authentication result of the server on the distribution network request information is passed, the second equipment sends the distribution network authentication information to the first equipment;
and if the authentication result of the server to the distribution network request information is that the distribution network request information does not pass, the second equipment discards the distribution network request information.
7. A method for network distribution of a device, applied to a second device of the network distribution system of the device of claim 1, the method comprising:
broadcasting wake-up information through a predetermined channel, wherein the wake-up information is used for switching the first device from a sleep mode to a working mode;
after receiving the distribution network request information of the first device, sending distribution network authentication information to the first device, wherein the distribution network authentication information is used for allowing the first device to access to a network provided by the second device.
8. The method of claim 7, further comprising:
the method comprises the steps that before distribution network authentication information is sent, received distribution network request information is uploaded to a server, and the server authenticates the distribution network request information.
9. The method of claim 8, comprising:
the distribution network request information is authenticated, and if the server passes the authentication result of the distribution network request information, the second equipment sends the distribution network authentication information to the first equipment;
and if the authentication result of the server on the distribution network request information is that the distribution network request information does not pass, the second equipment discards the distribution network request information.
10. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein said processor, said communication interface and said memory communicate with each other via said communication bus,
the memory for storing a computer program;
the processor configured to perform the method of any one of claims 4 to 9 by executing the computer program stored on the memory.
11. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 4 to 9 when executed.
CN202111088486.5A 2021-09-16 2021-09-16 Network distribution system, method and device of equipment, electronic equipment and storage medium Active CN113840286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111088486.5A CN113840286B (en) 2021-09-16 2021-09-16 Network distribution system, method and device of equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111088486.5A CN113840286B (en) 2021-09-16 2021-09-16 Network distribution system, method and device of equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113840286A CN113840286A (en) 2021-12-24
CN113840286B true CN113840286B (en) 2023-02-17

Family

ID=78959621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111088486.5A Active CN113840286B (en) 2021-09-16 2021-09-16 Network distribution system, method and device of equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113840286B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666196B (en) * 2022-04-08 2023-11-24 深圳市欧瑞博科技股份有限公司 Distribution network method and device of low-power-consumption equipment, proxy equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591760A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Method, apparatus, and system for waking up terminal device
WO2019047139A1 (en) * 2017-09-08 2019-03-14 Telefonaktiebolaget Lm Ericsson (Publ) Waking up configuration of communication device
CN111030897A (en) * 2019-12-10 2020-04-17 杭州涂鸦信息技术有限公司 Wired network distribution method and device, electronic equipment and storage medium
CN112291100A (en) * 2020-11-03 2021-01-29 北京小米移动软件有限公司 Network distribution method, network distribution device and storage medium
CN113395741A (en) * 2021-05-24 2021-09-14 珠海格力电器股份有限公司 Network distribution system, method and device of equipment, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591760A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Method, apparatus, and system for waking up terminal device
WO2019047139A1 (en) * 2017-09-08 2019-03-14 Telefonaktiebolaget Lm Ericsson (Publ) Waking up configuration of communication device
CN111030897A (en) * 2019-12-10 2020-04-17 杭州涂鸦信息技术有限公司 Wired network distribution method and device, electronic equipment and storage medium
CN112291100A (en) * 2020-11-03 2021-01-29 北京小米移动软件有限公司 Network distribution method, network distribution device and storage medium
CN113395741A (en) * 2021-05-24 2021-09-14 珠海格力电器股份有限公司 Network distribution system, method and device of equipment, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113840286A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
JP6668407B2 (en) Terminal authentication method and apparatus used in mobile communication system
CN103619019B (en) Network access authentication method for wireless network
WO2013117041A1 (en) Access authentication method and device for wireless local area network hotspot
US9590987B2 (en) Dynamic distribution of authentication sessions
EP3051921A1 (en) Method and system for automatically switching user modes by identifying imsis
CN104639538A (en) Identity card information obtaining method and system
TWI569679B (en) Home control gateway and gateway control method thereof
CN107484032A (en) Prevent the verification method and device brushed
CN113840286B (en) Network distribution system, method and device of equipment, electronic equipment and storage medium
CN110430280A (en) Account automatic logging method and system, storage medium and cloud desktop server
KR20100099625A (en) Method and apparatus for storing subscriber information at machine-to-machine module
CN115442171A (en) Household appliance ad hoc network method, device, equipment and storage medium
CN108966367A (en) A kind of method, apparatus, storage medium and intelligent terminal for managing internet behavior
TW201605203A (en) Home control gateway and home control network connection method thereof
JP2023531797A (en) 5G authentication method, 5G account opening method and system, electronic device, and computer readable storage medium
CN105409259A (en) Providing telephony services over WIFI for non-cellular devices
CN113395741B (en) Network distribution system, method and device of equipment, electronic equipment and storage medium
CN113132333B (en) Networking login method, household appliance equipment, household appliance system and storage medium
CN110099080B (en) Equipment networking activation method and device and cloud network equipment
CN113518021A (en) Method, system, device and equipment for binding user account
CN110930546B (en) Information processing method, device and system, storage medium and processor
CN113099453A (en) Authentication method, device and equipment for access server and readable storage medium
CN113132332A (en) Networking login method, household appliance equipment, household appliance system and storage medium
CN107466088A (en) A kind of WiFi cut-in methods and device
CN109246147A (en) A kind of decryption system of the smart home based on dynamic address table

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