CN114095294B - Network distribution method and device of intelligent equipment, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114095294B
CN114095294B CN202111081187.9A CN202111081187A CN114095294B CN 114095294 B CN114095294 B CN 114095294B CN 202111081187 A CN202111081187 A CN 202111081187A CN 114095294 B CN114095294 B CN 114095294B
Authority
CN
China
Prior art keywords
distribution network
intelligent equipment
network
secret key
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
CN202111081187.9A
Other languages
Chinese (zh)
Other versions
CN114095294A (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 CN202111081187.9A priority Critical patent/CN114095294B/en
Publication of CN114095294A publication Critical patent/CN114095294A/en
Application granted granted Critical
Publication of CN114095294B publication Critical patent/CN114095294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a network distribution method and device of intelligent equipment, electronic equipment and a storage medium, and is applied to the technical field of intelligent home, wherein the method comprises the following steps: after a triggering instruction for the intelligent equipment to re-allocate the network is obtained, the state of the intelligent equipment to allocate the network is obtained; after the distribution network state of the intelligent equipment is determined to be the distributed network state, the intelligent equipment is indicated to reset, and the intelligent equipment is configured by adopting the first distribution network information configured by the client. The method solves the problems that in the prior art, the manual resetting process is complex in operation, the network distribution can be completed only by inputting related information for a plurality of times by a user, and the user experience is poor.

Description

Network distribution method and device of intelligent equipment, electronic equipment and storage medium
Technical Field
The application relates to the technical field of intelligent home, in particular to a network distribution method and device of intelligent equipment, electronic equipment and a storage medium.
Background
With the continuous development of intelligent devices, wireless communication modules are increasingly used in intelligent devices.
At present, the intelligent equipment receives the routing information through the wireless communication module to complete the distribution network, and then can interact with other equipment. However, if the router changes or the routing information of the router changes, the intelligent device needs to be manually reset, and after the reset is completed, the changed routing information is input again, so that the intelligent device can be configured with the network.
However, in this process, the manual reset process is complicated, and the user needs to input related information multiple times to complete the network distribution, so that the user experience is poor.
Disclosure of Invention
The application provides a network distribution method, device, electronic equipment and storage medium of intelligent equipment, which are used for solving the problems that in the prior art, the manual reset process is complex in operation, the network distribution can be completed only by inputting related information for a plurality of times by a user, and the user experience is poor.
In a first aspect, an embodiment of the present application provides a network allocation method of an intelligent device, which is applied to a client, and includes:
after a triggering instruction for the intelligent equipment to re-allocate the network is obtained, the state of the intelligent equipment to allocate the network is obtained;
after the distribution network state of the intelligent equipment is determined to be the distributed network state, the intelligent equipment is indicated to reset, and the intelligent equipment is configured by adopting the first distribution network information configured by the client.
Optionally, before the indicating the reset of the intelligent device, the method further includes:
acquiring a first distribution network key input by a user, and acquiring a verification result of the first distribution network key;
and after the verification result is that the verification is successful, executing the step of indicating the intelligent equipment to reset.
Optionally, the obtaining the verification result of the first distribution network key includes:
acquiring a second distribution network secret key; comparing the first distribution network secret key with the second distribution network secret key to obtain a comparison result; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
or alternatively, the process may be performed,
sending a verification request to a background server, wherein the verification request carries the first distribution network key; acquiring a verification response returned by the background server, wherein the verification response carries a comparison result obtained by comparing the first distribution network key with a second distribution network key bound by the intelligent equipment by the server; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; and if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify.
Optionally, the second distribution network key is obtained by:
after the first network distribution of the intelligent equipment is completed, acquiring a second network distribution secret key set by a second user;
and sending the second distribution network secret key to the background server so that the background server stores the binding relation between the second distribution network secret key and the intelligent equipment.
Optionally, the obtaining the distribution network state of the intelligent device includes:
receiving a broadcast signal sent by the intelligent equipment, wherein the broadcast signal comprises a distribution network state of the intelligent equipment, and the distribution network state comprises a distributed network state, an unassigned network state and a locking state;
and determining the distribution network state in the broadcast signal as the distribution network state of the intelligent equipment.
Optionally, the receiving the broadcast signal sent by the intelligent device includes:
and receiving the broadcast signal sent by the intelligent equipment through the short-distance wireless communication connection established with the intelligent equipment.
Optionally, the indicating the smart device to reset includes:
sending a reset instruction to the intelligent equipment through short-distance wireless communication connection established between the intelligent equipment and the intelligent equipment;
or alternatively, the process may be performed,
and sending a reset instruction for resetting the intelligent equipment to a background server, and resetting the intelligent equipment by the background server according to the reset instruction.
In a second aspect, an embodiment of the present application provides a network distribution system of an intelligent device, including: the intelligent equipment and the client;
the client is used for acquiring the distribution network state of the intelligent equipment after acquiring a triggering instruction for the intelligent equipment to re-distribute the network, indicating the intelligent equipment to reset after determining that the distribution network state of the intelligent equipment is the already-distributed network state, and sending the first distribution network information configured by the client to the intelligent equipment;
the intelligent equipment is used for broadcasting the distribution network state of the intelligent equipment outwards; and the network distribution device is used for resetting according to the indication and adopting the first network distribution information to carry out network distribution.
Optionally, the client is further configured to:
before the intelligent equipment is indicated to reset, a first distribution network key input by a user is obtained, and a verification result of the first distribution network key is obtained; and after the verification result is that the verification is successful, executing the step of indicating the intelligent equipment to reset.
Optionally, the method further comprises: a background server;
the background server is used for sending the second distribution network key bound by the intelligent equipment to the client;
the client is configured to obtain the second distribution network key; comparing the first distribution network secret key with the second distribution network secret key to obtain a comparison result; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
or alternatively, the process may be performed,
the client is used for sending a verification request to a background server, wherein the verification request carries the first distribution network key; acquiring a verification response returned by the background server, wherein the verification response carries a comparison result obtained by comparing the first distribution network key with a second distribution network key bound by the intelligent equipment by the server; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
the background server is used for receiving the verification request sent by the client, comparing the first distribution network key carried in the verification request with the second distribution network key bound by the intelligent equipment to obtain the comparison result, and returning the verification response to the client.
In a third aspect, an embodiment of the present application provides a network allocation device of an intelligent device, including:
the acquisition module is used for acquiring the distribution network state of the intelligent equipment after acquiring a triggering instruction for the intelligent equipment to re-distribute the network;
and the indicating module is used for indicating the intelligent equipment to reset after determining that the distribution network state of the intelligent equipment is the already-distributed network state, and configuring the intelligent equipment by adopting the first distribution network information configured by the client.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the network allocation method of the intelligent device according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the network allocation method of the smart device according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, after the triggering instruction for the intelligent equipment to re-allocate the network is obtained, the state of the intelligent equipment to allocate the network is obtained; after the distribution network state of the intelligent equipment is determined to be the distributed network state, the intelligent equipment is indicated to reset, and the intelligent equipment is configured by adopting the first distribution network information configured by the client. Therefore, if the intelligent equipment has the distribution network, the intelligent equipment is not required to be reset manually by a user, and the intelligent equipment is only required to be reset directly after a trigger instruction for the intelligent equipment to re-distribute the network is acquired, so that the operation of manually inputting reset related information to the intelligent equipment by the user is avoided, and the intelligent equipment is configured by the first distribution network information configured by the client side, and the distribution network to the intelligent equipment is completed.
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 of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a block diagram of a distribution network system of an intelligent device according to an embodiment of the present application;
fig. 2 is a flowchart of a network allocation method of an intelligent device according to an embodiment of the present application;
fig. 3 is a flowchart of a network allocation method of an intelligent device according to another embodiment of the present application;
fig. 4 is a block diagram of a network configuration device of an intelligent device according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of 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 apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
In this embodiment, a network distribution system of an intelligent device is provided, and specific implementation of the system may refer to description of an embodiment part of a method, and details are not repeated, as shown in fig. 1, where the system mainly includes: the intelligent device 101, the client 102 and the background server 103;
the client is used for acquiring the distribution network state of the intelligent equipment after acquiring a triggering instruction for the intelligent equipment to re-distribute the network, indicating the intelligent equipment to reset after determining that the distribution network state of the intelligent equipment is the already-distributed network state, and sending the first distribution network information configured by the client to the intelligent equipment;
the intelligent equipment is used for broadcasting the distribution network state of the intelligent equipment outwards; and the network distribution device is used for resetting according to the indication and adopting the first network distribution information to carry out network distribution.
Optionally, the client is further configured to:
before the intelligent device is instructed to reset, a first distribution network key input by a user is obtained, and a verification result of the first distribution network key is obtained; and after the verification result is that the verification is successful, executing the step of indicating the reset of the intelligent equipment.
Optionally, the network allocation system of the intelligent device further includes: a background server;
the background server is used for sending the second distribution network key bound by the intelligent equipment to the client;
the client is used for acquiring a second distribution network key; comparing the first distribution network secret key with the second distribution network secret key to obtain a comparison result; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result shows that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
or alternatively, the process may be performed,
the client is used for sending an authentication request to the background server, wherein the authentication request carries the first distribution network key; obtaining a verification response returned by the background server, wherein the verification response carries a comparison result obtained by comparing the first distribution network key with the second distribution network key bound by the intelligent equipment by the server; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result shows that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
the background server is used for receiving the verification request sent by the client, comparing the first distribution network key carried in the verification request with the second distribution network key bound by the intelligent equipment to obtain a comparison result, and returning a verification response to the client.
The embodiment of the application provides a network distribution method of intelligent equipment, which can be applied to any type of electronic equipment, such as a terminal, a client and a server arranged in the terminal. As shown in fig. 2, the network allocation method of the intelligent device includes:
step 201, after a trigger instruction for the intelligent device to re-allocate the network is obtained, the state of the intelligent device's allocation network is obtained.
In some embodiments, the triggering instruction may be triggered by the user clicking a corresponding button on an associated interface of the client.
For example, in the related art, when the intelligent device is reset, after the device reset button is often clicked, the relevant information filling interface is popped up, and after the device information is filled by the user, the intelligent device is further reset. In the application, after the user clicks the device reset button, a trigger instruction for the intelligent device to re-allocate the network can be obtained, and the intelligent device is determined to need to re-allocate the network.
The network allocation state of the intelligent device can be obtained after the terminal provided with the client is in communication connection with the intelligent device. In general, after the intelligent device is turned on, a wireless broadcast signal is broadcast outwards, where the wireless broadcast signal carries the distribution network state of the intelligent device. After the terminal where the client is located starts the wireless communication module, the broadcast signal is scanned, wireless communication connection is established with the intelligent equipment, and then the distribution network state of the intelligent equipment in the broadcast signal is extracted.
The broadcasting signal can be emitted outwards after the intelligent device starts the wireless communication module, and the wireless communication module can be a Bluetooth module, a WIFI module, an NFC module, a wireless radio frequency module or a 4G module and the like.
Preferably, the wireless communication module opened by the intelligent device is a Bluetooth module, and the terminal can acquire the distribution network state of the intelligent device by establishing Bluetooth connection between the intelligent device and the terminal where the client is located.
The Bluetooth connection is short-distance wireless communication connection, and a user using the client can connect the terminal with the intelligent device in a short distance to prevent the intelligent device from being matched by others.
It can be understood that the distribution network information can also be transmitted to the client after the terminal where the client is located is connected with the intelligent device.
Step 202, after determining that the distribution network state of the intelligent device is the already-distributed network state, indicating that the intelligent device is reset, and configuring the intelligent device by adopting the first distribution network information configured by the client.
In some embodiments, when the intelligent device is in the configured network state, the intelligent terminal is indicated to have configured network routing before, so when the intelligent terminal needs to be reconfigured, the intelligent device needs to be reset before being reconfigured. In this embodiment, after determining that the distribution network state of the intelligent device is the already-distributed network state, the intelligent device is instructed to reset, the reset operation can be completed without user input operation, and the intelligent device is configured by configuring the first distribution network information configured by the client, so that the distribution network of the intelligent device is completed.
Further, there are various ways of indicating the reset of the smart device, and the following two ways are specifically described.
First kind: and sending a reset instruction to the intelligent device through the short-distance wireless communication connection established between the intelligent device and the intelligent device.
In some embodiments, when the client obtains the network configuration state of the intelligent device, the terminal where the client is located and the intelligent device have established wireless communication connection, so that the client may send a reset instruction to the intelligent device.
Second kind: and sending a reset instruction for resetting the intelligent equipment to the background server, and resetting the intelligent equipment by the background server according to the reset instruction.
In some embodiments, since the smart device has been previously configured with the network, the smart device has established a connection with the server, and thus, a reset instruction may be sent to the smart device by the background server, so that the smart device resets according to the reset instruction.
In an alternative embodiment, before the indicating the smart device resets, the method further includes:
acquiring a first distribution network key input by a user, and acquiring a verification result of the first distribution network key; and after the verification result is that the verification is successful, executing the step of indicating the reset of the intelligent equipment.
In some embodiments, to ensure the security of the intelligent device distribution network, the situation that all people can reset the intelligent device is avoided, before the intelligent device is instructed to reset, the first distribution network key input by the user is acquired, after verification is passed, the intelligent device is instructed to reset, and the security of the intelligent device distribution network is improved.
The first distribution network key may be obtained from a client display key input box. After the client monitors that the intelligent equipment is in the network distribution state, a key input frame is displayed on a display screen, and a user inputs a first network distribution key in the key input frame of the client installed on the terminal, so that the first network distribution key is obtained.
Further, the verification result of the first distribution network key may be verified by the terminal or verified in the server.
Specifically, the obtaining the verification result of the first distribution network key may include the following steps:
acquiring a second distribution network secret key; comparing the first distribution network secret key with the second distribution network secret key to obtain a comparison result; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network key is inconsistent with the second distribution network key, determining that the first distribution network key fails to verify.
In some embodiments, the second distribution network key is a pre-configured key that may be requested by the client from the server. When a second distribution network secret key is requested from a server, a request for obtaining the secret key can be sent to the server, the request carries an identifier of the intelligent equipment (such as an unique identity number of the equipment), the second distribution network secret key corresponding to the identifier of the intelligent equipment is obtained, and therefore the first distribution network secret key and the second distribution network secret key are compared at a client, and if the first distribution network secret key and the second distribution network secret key are consistent, the first distribution network secret key is determined to be successfully verified; conversely, if the two are inconsistent, the verification failure is determined.
It can be understood that if it is determined that the verification of the first distribution network key fails, the intelligent device is not instructed to reset any more, and the user can be prompted to re-input the distribution network key again, or after clicking the forgotten key, the intelligent device is reset manually.
In addition, in an alternative embodiment, if the user inputs the first distribution key N times and does not verify the first distribution key, the client instructs the intelligent device to change its distribution network state into a distribution network locking state, and at the same time, the client jumps to a manual reset interface of the device to instruct the user to manually reset, and after the reset is successful, instructs the intelligent device to change the distribution network state into a non-distribution network state.
Specifically, the method for obtaining the verification result of the first distribution network key may further include the following steps: sending a verification request to a background server, wherein the verification request carries a first distribution network key; obtaining a verification response returned by the background server, wherein the verification response carries a comparison result obtained by comparing the first distribution network key with the second distribution network key bound by the intelligent equipment by the server; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network key is inconsistent with the second distribution network key, determining that the first distribution network key fails to verify.
In some embodiments, the first distribution network key may also be authenticated in the server. Specifically, the client sends a verification request to the server, the verification request carries a first distribution network secret key, after the server receives the verification request, the server compares the first distribution network secret key with a second distribution network secret key corresponding to the stored intelligent device, and if the comparison result of the first distribution network secret key and the second distribution network secret key is consistent, the first distribution network secret key is determined to be successfully verified; conversely, if the two are inconsistent, the verification failure is determined. And after the verification result is obtained, sending the verification result to the client.
In an alternative embodiment, the second distribution network key is obtained by:
after the first network distribution of the intelligent equipment is completed, a second network distribution secret key set by a second user is obtained; and sending the second distribution network secret key to the background server so that the background server can store the binding relation between the second distribution network secret key and the intelligent equipment.
The first distribution network refers to a first distribution network of the intelligent device or a first distribution network after the intelligent device is reset. After the intelligent device first distributes the network, the client displays a related interface, instructs the user to configure the network distribution secret key, and after the secret key configuration is completed, the server binds the intelligent device with the configured secret key, so that the input secret key can be conveniently verified when the user wants to re-distribute the network.
In a specific embodiment, the network allocation method of the intelligent device specifically includes, after starting network allocation:
step 301, acquiring a bluetooth hotspot and a distribution network state broadcasted by an intelligent device.
Step 302, determining whether the distribution network state broadcasted by the bluetooth hotspot is an unassigned network, an assigned network or a locked state, if the distribution network state is an unassigned network state, performing steps 303-304, if the distribution network state is an assigned network state, performing steps 305-307, and if the distribution network state is a locked state, performing step 311.
And 303, transmitting the information such as the route name and the password to the intelligent equipment so that the intelligent equipment can carry out network distribution according to the information such as the route name and the password.
Step 304, skip the user input re-distribution network verification key interface, after obtaining the user input key, synchronize the key to the binding of the background server and the intelligent device, and instruct the intelligent device to change the distribution network state into the already-distributed network state.
Step 305, jumping to the distribution network key verification interface to prompt the user to input the distribution network key for verification.
Step 306, request the key of the intelligent device from the background server and compare the key input by the user to verify if the key is the same, if so, execute step 307, and if not, execute step 308.
Step 307, the intelligent device is instructed to reset, and the intelligent device is configured by adopting the configured configuration network information of the client.
Step 308, if N times of key verification failure is input, step 307 is executed, and if no, step 309 is executed.
Step 309, prompting the user whether to forget the password.
Step 310, instruct the intelligent device to change the bluetooth broadcast distribution network to a distribution network locking state.
Step 311, jump the manual reset interface of the apparatus, instruct the user to reset manually, and instruct the intelligent device to change the bluetooth broadcast network allocation status to the network allocation-free status.
Based on the same conception, the embodiment of the present application provides a network configuration device for an intelligent device, and the specific implementation of the device may be referred to the description of the embodiment part of the method, and the repetition is omitted, as shown in fig. 4, where the device mainly includes:
an obtaining module 401, configured to obtain a network configuration state of the intelligent device after obtaining a trigger instruction for the intelligent device to reconfigure the network;
and the indicating module 402 is configured to instruct the intelligent device to reset after determining that the distribution network state of the intelligent device is the already-distributed network state, and configure the intelligent device by using the first distribution network information configured by the client.
Based on the same conception, the embodiment of the application also provides an electronic device, as shown in fig. 5, which mainly includes: processor 501, memory 502 and communication bus 503, wherein processor 501 and memory 502 accomplish the communication between each other through communication bus 503. The memory 502 stores a program executable by the processor 501, and the processor 501 executes the program stored in the memory 502 to implement the following steps:
after a triggering instruction for the intelligent equipment to re-allocate the network is obtained, the state of the intelligent equipment to allocate the network is obtained;
after the distribution network state of the intelligent equipment is determined to be the distributed network state, the intelligent equipment is indicated to reset, and the intelligent equipment is configured by adopting the first distribution network information configured by the client.
The communication bus 503 mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated to PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated to EISA) bus, or the like. The communication bus 503 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
The memory 502 may include random access memory (Random Access Memory, simply RAM) or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor 501.
The processor 501 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a digital signal processor (Digital Signal Processing, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program, which when run on a computer, causes the computer to perform the network allocation method of the smart device described in the above embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, by a wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, microwave, etc.) means from one website, computer, server, or data center to another. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape, etc.), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. The network distribution method of the intelligent equipment is characterized by being applied to a client and comprising the following steps of:
after a triggering instruction for the intelligent equipment to re-allocate the network is obtained, the state of the intelligent equipment to allocate the network is obtained;
after determining that the distribution network state of the intelligent equipment is the already-distributed network state, indicating the intelligent equipment to reset, and configuring the intelligent equipment by adopting the first distribution network information configured by the client;
after the network distribution state of the intelligent equipment is determined to be the network distribution state, the routing name and the password are sent to the intelligent equipment, so that the intelligent equipment distributes the network according to the routing name and the password;
after determining that the distribution network state of the intelligent equipment is a locking state, jumping to a manual reset interface of the equipment, indicating a user to manually reset, and indicating the intelligent equipment to change the Bluetooth broadcasting distribution network state into an unassigned network state;
before the intelligent device is indicated to reset, the method further comprises the following steps:
acquiring a first distribution network key input by a user, and acquiring a verification result of the first distribution network key;
and after the verification result is that the verification is successful, executing the step of indicating the intelligent equipment to reset.
2. The network deployment method of the intelligent device according to claim 1, wherein the obtaining the verification result of the first network deployment key comprises:
acquiring a second distribution network secret key; comparing the first distribution network secret key with the second distribution network secret key to obtain a comparison result; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
or alternatively, the process may be performed,
sending a verification request to a background server, wherein the verification request carries the first distribution network key; acquiring a verification response returned by the background server, wherein the verification response carries a comparison result obtained by comparing the first distribution network key with a second distribution network key bound by the intelligent equipment by the server; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; and if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify.
3. The network distribution method of the intelligent device according to claim 2, wherein the second network distribution key is obtained by:
after the first network distribution of the intelligent equipment is completed, acquiring a second network distribution secret key set by a second user;
and sending the second distribution network secret key to the background server so that the background server stores the binding relation between the second distribution network secret key and the intelligent equipment.
4. The network allocation method of the intelligent device according to claim 1, wherein the obtaining the network allocation state of the intelligent device includes:
receiving a broadcast signal sent by the intelligent equipment, wherein the broadcast signal comprises a distribution network state of the intelligent equipment, and the distribution network state comprises a distributed network state, an unassigned network state and a locking state;
and determining the distribution network state in the broadcast signal as the distribution network state of the intelligent equipment.
5. The network allocation method of the intelligent device according to claim 4, wherein the receiving the broadcast signal sent by the intelligent device comprises:
and receiving the broadcast signal sent by the intelligent equipment through the short-distance wireless communication connection established with the intelligent equipment.
6. The network allocation method of an intelligent device according to claim 1, wherein the indicating that the intelligent device is reset comprises:
sending a reset instruction to the intelligent equipment through short-distance wireless communication connection established between the intelligent equipment and the intelligent equipment;
or alternatively, the process may be performed,
and sending a reset instruction for resetting the intelligent equipment to a background server, and resetting the intelligent equipment by the background server according to the reset instruction.
7. A distribution network system for intelligent devices, comprising: the intelligent equipment and the client;
the client is used for acquiring the distribution network state of the intelligent equipment after acquiring a triggering instruction for the intelligent equipment to re-distribute the network, indicating the intelligent equipment to reset after determining that the distribution network state of the intelligent equipment is the already-distributed network state, and sending the first distribution network information configured by the client to the intelligent equipment; after the network distribution state of the intelligent equipment is determined to be the network distribution state, the routing name and the password are sent to the intelligent equipment, so that the intelligent equipment distributes the network according to the routing name and the password; after determining that the distribution network state of the intelligent equipment is a locking state, jumping to a manual reset interface of the equipment, indicating a user to manually reset, and indicating the intelligent equipment to change the Bluetooth broadcasting distribution network state into an unassigned network state;
the intelligent equipment is used for broadcasting the distribution network state of the intelligent equipment outwards; the first distribution network information is used for carrying out the distribution network;
the client is further configured to:
before the intelligent equipment is indicated to reset, a first distribution network key input by a user is obtained, and a verification result of the first distribution network key is obtained; and after the verification result is that the verification is successful, executing the step of indicating the intelligent equipment to reset.
8. The intelligent device distribution network system of claim 7, further comprising: a background server;
the background server is used for sending the second distribution network key bound by the intelligent equipment to the client;
the client is configured to obtain the second distribution network key; comparing the first distribution network secret key with the second distribution network secret key to obtain a comparison result; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
or alternatively, the process may be performed,
the client is used for sending a verification request to a background server, wherein the verification request carries the first distribution network key; acquiring a verification response returned by the background server, wherein the verification response carries a comparison result obtained by comparing the first distribution network key with a second distribution network key bound by the intelligent equipment by the server; if the comparison result shows that the first distribution network secret key is consistent with the second distribution network secret key, determining that the first distribution network secret key is successfully verified; if the comparison result is that the first distribution network secret key is inconsistent with the second distribution network secret key, determining that the first distribution network secret key fails to verify;
the background server is used for receiving the verification request sent by the client, comparing the first distribution network key carried in the verification request with the second distribution network key bound by the intelligent equipment to obtain the comparison result, and returning the verification response to the client.
9. The utility model provides a join in marriage net device of smart machine, its characterized in that, the join in marriage net device of smart machine sets up in the customer end, includes:
the acquisition module is used for acquiring the distribution network state of the intelligent equipment after acquiring a triggering instruction for the intelligent equipment to re-distribute the network;
the indication module is used for indicating the intelligent equipment to reset after determining that the distribution network state of the intelligent equipment is the already-distributed network state, and configuring the intelligent equipment by adopting the first distribution network information configured by the client;
after the network distribution state of the intelligent equipment is determined to be the network distribution state, the routing name and the password are sent to the intelligent equipment, so that the intelligent equipment distributes the network according to the routing name and the password;
after determining that the distribution network state of the intelligent equipment is a locking state, jumping to a manual reset interface of the equipment, indicating a user to manually reset, and indicating the intelligent equipment to change the Bluetooth broadcasting distribution network state into an unassigned network state;
before the intelligent device is indicated to reset, the method further comprises the following steps:
acquiring a first distribution network key input by a user, and acquiring a verification result of the first distribution network key;
and after the verification result is that the verification is successful, executing the step of indicating the intelligent equipment to reset.
10. An electronic device, comprising: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the network allocation method of the intelligent device according to any one of claims 1 to 6.
11. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the network deployment method of the smart device of any of claims 1-6.
CN202111081187.9A 2021-09-15 2021-09-15 Network distribution method and device of intelligent equipment, electronic equipment and storage medium Active CN114095294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111081187.9A CN114095294B (en) 2021-09-15 2021-09-15 Network distribution method and device of intelligent equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111081187.9A CN114095294B (en) 2021-09-15 2021-09-15 Network distribution method and device of intelligent equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114095294A CN114095294A (en) 2022-02-25
CN114095294B true CN114095294B (en) 2023-06-16

Family

ID=80296169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111081187.9A Active CN114095294B (en) 2021-09-15 2021-09-15 Network distribution method and device of intelligent equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114095294B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491297A (en) * 2019-01-25 2020-08-04 华为技术有限公司 Method and device for controlling intelligent household equipment to be connected with network
CN112566220A (en) * 2020-11-25 2021-03-26 中移(杭州)信息技术有限公司 Distribution network information synchronization method and device and computer equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106299910B (en) * 2016-08-01 2019-03-08 广东美的制冷设备有限公司 A kind of intelligent socket
CN109309565B (en) * 2017-07-28 2021-08-10 中国移动通信有限公司研究院 Security authentication method and device
CN108377202A (en) * 2018-02-11 2018-08-07 广东美的厨房电器制造有限公司 The distribution method, apparatus and system of smart machine
CN110730113B (en) * 2019-08-29 2021-06-18 珠海格力电器股份有限公司 Network distribution method and device of equipment, electronic equipment and storage medium
CN113194455B (en) * 2021-04-29 2023-04-11 四川虹美智能科技有限公司 Intelligent equipment network distribution method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491297A (en) * 2019-01-25 2020-08-04 华为技术有限公司 Method and device for controlling intelligent household equipment to be connected with network
CN112566220A (en) * 2020-11-25 2021-03-26 中移(杭州)信息技术有限公司 Distribution network information synchronization method and device and computer equipment

Also Published As

Publication number Publication date
CN114095294A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
US20220264431A1 (en) Method for Provisioning of Smart Device, System, and Readable Medium
CN110178393B (en) Method, device and server for downloading subscription data set
US10887932B2 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
JP6135963B2 (en) Method, terminal, server, and system for sharing a virtual SIM card among a plurality of terminals
US10516774B2 (en) Method for configuring a wireless device
CN108093277B (en) Method for accessing broadcast television system
US20190020640A1 (en) Cloud operation interface sharing method, related device, and system
JP7043497B2 (en) Methods and equipment for installing and managing eSIM profiles
MX2015004797A (en) Devices and method for controlling access to an account.
CN112448873A (en) Equipment binding method and device and computer readable storage medium
JP7481498B2 (en) Home appliance and network setting method thereof, control terminal, and computer storage medium
CN114095294B (en) Network distribution method and device of intelligent equipment, electronic equipment and storage medium
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
US20150312512A1 (en) Switching tv channels using a mobile device and a set-top box
CN112165417B (en) Networking method of household appliance, electronic device and storage medium
CN113596030B (en) Equipment network distribution method and device, storage medium and electronic equipment
CN111132266A (en) Terminal access method and system and cloud server
CN107135075B (en) Authorization method and device for user operation
CN111787642B (en) Third-party application based authentication networking method and device
CN111159693A (en) Electronic equipment permission verification method, device and system and readable medium
CN115580869A (en) Network access method and device of equipment to be accessed to network, storage medium and electronic device
CN111741510A (en) Method for automatically updating networking information, intelligent equipment and router
CN114245405B (en) Equipment network distribution method, electronic equipment and storage medium
CN107679392B (en) Control method, device and system of intelligent hardware
KR101548529B1 (en) Local service providing apparatus, method for providing local service and recording medium for the same

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