CN116887382A - Network allocation method, device, equipment, medium and program product of intelligent equipment - Google Patents

Network allocation method, device, equipment, medium and program product of intelligent equipment Download PDF

Info

Publication number
CN116887382A
CN116887382A CN202310797017.3A CN202310797017A CN116887382A CN 116887382 A CN116887382 A CN 116887382A CN 202310797017 A CN202310797017 A CN 202310797017A CN 116887382 A CN116887382 A CN 116887382A
Authority
CN
China
Prior art keywords
intelligent
network
intelligent device
terminal
pairing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310797017.3A
Other languages
Chinese (zh)
Inventor
苏大明
宁飞龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Bull Intelligent Technology Co ltd
Original Assignee
Ningbo Bull Intelligent 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 Ningbo Bull Intelligent Technology Co ltd filed Critical Ningbo Bull Intelligent Technology Co ltd
Priority to CN202310797017.3A priority Critical patent/CN116887382A/en
Publication of CN116887382A publication Critical patent/CN116887382A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

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

Abstract

The application discloses a network distribution method, a device, equipment, a medium and a program product of intelligent equipment, which relate to the field of Internet of things, and the method comprises the following steps: displaying a device list in an intelligent device management program, wherein the device list comprises intelligent devices in a distribution network mode in a distribution network range, and the device list comprises first intelligent devices; generating and displaying a pairing code in response to receiving a network allocation triggering operation in the equipment list, wherein the pairing code is used for pairing between the intelligent equipment and the terminal; under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the first intelligent equipment and the pairing signal is established, wherein the pairing signal is sent after the first intelligent equipment receives the key-in of a pairing code; and establishing a binding relation with the first intelligent device in the intelligent device management program and displaying a network distribution result. The first intelligent equipment needing to be distributed with the network and the terminal can be connected through the pairing code, so that the network distribution efficiency of the intelligent equipment is improved.

Description

Network allocation method, device, equipment, medium and program product of intelligent equipment
Technical Field
The embodiment of the application relates to the field of Internet of things, in particular to a network distribution method, device, equipment, medium and program product of intelligent equipment.
Background
The process of connecting an intelligent device without a man-machine interaction module to a network is called network distribution, and a terminal device generally transmits the name and the password of a wireless local area network to the intelligent device to be network distribution.
In the related technology, the intelligent equipment enters a distribution network mode and generates a distribution network packet, wherein the distribution network packet contains related information for distribution network, and the intelligent equipment broadcasts the distribution network packet. The terminal searches the intelligent device based on the local area network and the distribution network packet, and sends the name and password information of the local area network to the intelligent device, so that the intelligent device can access the local area network. After the intelligent device is successfully accessed into the local area network, a binding relationship is established between the intelligent device and the terminal, and the terminal can control the intelligent device.
However, when there are multiple intelligent devices of the same model in the lan, the information in the network configuration packet cannot uniquely indicate the intelligent device that needs to perform network configuration, and the terminal may send the name and password information of the lan to other intelligent devices, which results in network configuration errors.
Disclosure of Invention
The embodiment of the application provides a network distribution method, device, equipment, medium and program product of intelligent equipment, which can improve the accuracy and efficiency of intelligent equipment network distribution. The technical scheme is as follows:
in one aspect, a network allocation method of an intelligent device is provided, and the method includes:
displaying a device list in an intelligent device management program, wherein the device list comprises intelligent devices in a distribution network mode in a distribution network range, and the device list comprises a first intelligent device;
generating and displaying a pairing code in response to receiving a network allocation triggering operation in the equipment list, wherein the pairing code is used for pairing between the intelligent equipment and the terminal;
under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the pairing signal and the first intelligent equipment is established, wherein the pairing signal is sent after the first intelligent equipment receives the key-in of the pairing code;
and establishing a binding relation with the first intelligent equipment in the intelligent equipment management program and displaying a network distribution result.
In another aspect, a network distribution device of an intelligent device is provided, where the device includes:
The device comprises a display module, a first intelligent device and a second intelligent device, wherein the display module displays a device list in an intelligent device management program, the device list comprises intelligent devices in a distribution network mode in a distribution network range, and the device list comprises the first intelligent device;
the generation module is used for responding to the received network allocation triggering operation in the equipment list, generating and displaying a pairing code, wherein the pairing code is used for pairing between the intelligent equipment and the terminal;
the system comprises a first intelligent device, a second intelligent device, a setting module and a communication module, wherein the setting module sets up Bluetooth communication connection with the first intelligent device under the condition of receiving a pairing signal sent by the first intelligent device, and the pairing signal is sent out after the first intelligent device receives the key-in of the pairing code;
the establishing module establishes a binding relation with the first intelligent device in the intelligent device management program and displays a network distribution result.
In another aspect, a computer device is provided, where the computer device includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a network deployment method of an intelligent device according to any one of the embodiments of the present application.
In another aspect, a computer readable storage medium is provided, where at least one instruction, at least one program, a code set, or an instruction set is stored, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a network deployment method of an intelligent device according to any one of the embodiments of the present application.
In another aspect, a computer program product or computer program is provided, the computer program product or 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, so that the computer device performs the network allocation method of the intelligent device according to any one of the above embodiments.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
the intelligent equipment management method comprises the steps that an equipment list is displayed in an intelligent equipment management program, intelligent equipment in a distribution network mode is included in the equipment list, when the first intelligent equipment and a terminal are paired, a pairing code is generated for the first intelligent equipment, connection between the first intelligent equipment needing to be distributed and the terminal can be established through the pairing code, the situation that the terminal is mistakenly paired with other intelligent equipment with the same model under the condition that a plurality of intelligent equipment with the same model exist is avoided, and the accuracy of pairing and the efficiency of intelligent equipment distribution network are improved. Under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the terminal and the first intelligent equipment is established, the pairing signal is a signal sent after the pairing code is input is received on the first intelligent equipment, a binding relation between the terminal and the first intelligent equipment is established in an intelligent equipment management program, a network distribution result is displayed, pairing of the terminal and the intelligent equipment is achieved through Bluetooth communication connection, the limitation of a wireless local area network can be avoided, and even if the local area network does not exist in the range of the intelligent equipment, the network distribution of the intelligent equipment can be achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 2 is a flowchart of a method for network allocation of intelligent devices according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a first smart device (smart door lock) provided by an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a list of devices provided by an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a pairing code displayed in a smart device management program according to an exemplary embodiment of the present application;
fig. 6 is a flowchart of a network allocation method of an intelligent device in the presence of a wireless lan according to an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of a local area network information input interface provided in accordance with an exemplary embodiment of the present application;
FIG. 8 is a schematic view of a display page of a smart device management program when establishing a binding relationship between a terminal and a first smart device, provided in an exemplary embodiment of the present application;
FIG. 9 is a schematic diagram of a display page for successfully establishing a binding relationship and successfully provisioning a network according to an exemplary embodiment of the present application;
FIG. 10 is a flowchart of a method for network allocation of intelligent devices in the absence of a wireless local area network, provided by an exemplary embodiment of the present application;
FIG. 11 is a control interface diagram of a smart device management program provided in an exemplary embodiment of the present application;
FIG. 12 is an interface schematic of intelligent door lock parameter settings provided in accordance with an exemplary embodiment of the present application;
fig. 13 is a block diagram of a configuration of a network device of an intelligent device according to an exemplary embodiment of the present application;
fig. 14 is a block diagram of a configuration of a network device of an intelligent device according to another exemplary embodiment of the present application;
fig. 15 is a block diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be noted that, the information (including but not limited to the running device information, the function information of the target application program, etc.), the data (including but not limited to the files used for testing, such as script files, script splitting files, etc.), which are all information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
It should be understood that, although the terms first, second, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter, without departing from the scope of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The process of connecting an intelligent device without a man-machine interaction module to a network is called network distribution, and a terminal device generally transmits the name and the password of a wireless local area network to the intelligent device to be network distribution.
In the related technology, the intelligent equipment enters a distribution network mode and generates a distribution network packet, wherein the distribution network packet contains related information for distribution network, and the intelligent equipment broadcasts the distribution network packet to a wireless local area network in the environment. Terminals in the same wireless local area network range can receive the network distribution packet sent by the intelligent device based on the wireless local area network, and then search the intelligent device. The terminal sends the name and password information of the wireless local area network to the intelligent equipment, so that the intelligent equipment can access the wireless local area network, and the network distribution is realized. After the intelligent device is successfully accessed into the wireless local area network, a binding relationship can be established between the intelligent device and the terminal, and the terminal can control the intelligent device based on the wireless network.
However, when there are multiple intelligent devices of the same model in the wireless lan, the terminal is likely to receive the network distribution packets of the multiple intelligent devices of the same model, and the information in the network distribution packets cannot uniquely indicate the target intelligent device needing network distribution, so that the terminal may send the name and password information of the wireless lan to other intelligent devices not needing network distribution, resulting in network distribution errors. For example, the smart device a and the smart device B are in the same wireless lan range, where the smart device a is a target smart device to be configured with a network, and the smart device B does not need to perform network configuration. The intelligent device A and the intelligent device B broadcast distribution network packets to the wireless local area network at the same time, the terminal receives the distribution network packet A from the intelligent device A and the distribution network packet B from the intelligent device B, and the terminal mistakenly sends the name and password information of the wireless local area network to the intelligent device B based on the received distribution network packet B, so that the intelligent device B is connected to the wireless local area network, and a binding relation is established between the intelligent device B and the intelligent device B. And causing the intelligent equipment A to be distributed to fail in network distribution.
The application provides a network distribution method of intelligent equipment, which adopts pairing codes to realize pairing between a terminal and the intelligent equipment and the network access of the intelligent equipment. After the target intelligent equipment of the network enters the network distribution mode, the terminal detects the intelligent equipment in the network range through Bluetooth, and if a plurality of intelligent equipment with the same model exist, only one intelligent equipment with the same model as the target intelligent equipment needs to be selected randomly, so that a unique pairing code can be generated. After the pairing code is input into the target intelligent equipment of the network to be configured, the target intelligent equipment broadcasts a pairing signal containing the pairing code to the surrounding, and the terminal can uniquely determine the target intelligent equipment of the network to be configured after receiving the pairing signal. After the terminal sends the name and password information of the wireless local area network to the target intelligent device, a binding relation is established between the terminal and the target intelligent device, and the network allocation of the target intelligent device is realized.
For a description of an implementation environment according to an embodiment of the present application, please refer to fig. 1 schematically, in this implementation environment, a first smart device 110, a terminal 120, a first server 130, and a second server 140 are involved, the terminal 120 and the first server 130 are connected through a communication network 150, the terminal 120 and the second server 140 are connected through the communication network 150, and the first server 130 and the second server 140 are connected through the communication network 150. The terminal 120 is provided with an intelligent device management program, and pairing and binding relation establishment between the first intelligent device 110 and the terminal 120 can be realized through the intelligent device management program, so that the first intelligent device 110 is accessed into the wireless local area network, and after the binding relation is established between the terminal 120 and the first intelligent device 110, the terminal 120 can control the first intelligent device 110 through the intelligent device management program.
The first intelligent device 110 and the terminal 120 are in the same wireless lan range, and after the first intelligent device 110 enters the distribution network mode, the terminal 120 displays a device list in the intelligent device management program, where the device list includes all intelligent devices in the distribution network mode and in the distribution network range of the terminal 120.
Optionally, the device list includes other smart devices besides the first smart device 110, where the other smart devices include a second smart device having the same model as the first smart device 110. And performing distribution network triggering operation in the intelligent device management program, selecting any intelligent device with the same model as the first intelligent device 110 from the device list as a paired intelligent device, generating a pairing code and displaying the pairing code on a display screen of the terminal 120. After the user types the pairing code in the first smart device 110, the first smart device 110 broadcasts a pairing signal containing the pairing code within the range of the wireless local area network. The pairing signal may uniquely indicate that the first smart device 110 is a smart device of the network to be provisioned. A step control is displayed on the interface of the smart device management program, and the step control is used to instruct the user to control the terminal 120 to perform the next step after the pairing code is entered into the first smart device 110. After receiving the triggering operation on the step control, the terminal 120 displays the lan information input interface. The user may choose to input name and password information of the wireless lan in which the first smart device 110 and the terminal 120 are located on the lan information input interface, indicating that the first smart device 110 accesses the wireless lan.
After the user types in the name and password information of the wireless local area network, the terminal 120 determines that the first intelligent device 110 with the correct pairing code is the intelligent device to be configured with the network through the intelligent device management program, and at this time, bluetooth communication connection is established between the terminal 120 and the first intelligent device 110.
After the bluetooth communication connection is established, it needs to be determined whether the first intelligent device 110 meets the condition of establishing a binding relationship with the terminal 120, which specifically includes the following steps: the terminal 120 obtains key information of the first intelligent device 110, the terminal 120 sends the key information of the first intelligent device 110 to the first server 130, the first server 130 authenticates the first intelligent device 110 based on the key information, wherein the key information is used for indicating identity information of the first intelligent device 110, and the first server 130 authenticates the first intelligent device 110 and generates an authentication result. If the authentication result indicates that the identity of the first intelligent device 110 passes the authentication, it indicates that the identity information of the first intelligent device 110 is registered in the first server 130, and the first intelligent device 110 may establish bluetooth communication connection with the terminal 120; if the authentication result indicates that the identity of the first intelligent device 110 fails to pass the authentication, it indicates that the identity information of the first intelligent device 110 is not registered in the first server 130 or the key information of the first intelligent device 110 is wrongly burned, and the first intelligent device 110 cannot establish a bluetooth communication connection with the terminal 120, and at this time, the key information needs to be sent to the first server 130 again, or the first intelligent device 110 is replaced by another intelligent device.
After the bluetooth communication connection is established and the authentication of the first server 130 is passed, the terminal 120 sends the name and password information of the wireless local area network to the first intelligent device 110 through the bluetooth communication connection, the first intelligent device 110 is connected to the second server 140 based on the name and password information of the wireless local area network, and the second server 140 verifies the identity of the first intelligent device 110 and generates a verification result. If the verification result indicates that the identity of the first intelligent device 110 passes the verification, it indicates that the first intelligent device 110 can access the wireless local area network; if the verification result indicates that the identity of the first intelligent device 110 fails to pass the verification, it is indicated that the first intelligent device 110 cannot access the wireless lan, and at this time, whether the name and password information of the wireless lan are wrong or not needs to be checked, or the wireless lan is replaced by another wireless lan. After the first smart device 110 passes the verification of the first server 130 and the second server 140 at the same time, the terminal 120 may establish a binding relationship with the first smart device 110 in the smart device management program based on the bluetooth communication connection and display a network configuration result.
In some embodiments, the wireless lan does not exist in the environment where the first smart device 110 and the terminal 120 are located, the user may choose to skip the step of entering the name and password information of the wireless lan, directly establish a bluetooth communication connection between the terminal 120 and the first smart device 110, establish a binding relationship with the first smart device 110 in the smart device management program based on the bluetooth communication connection if the first server 130 authenticates the first smart device 110, and display the network configuration result.
The terminal 120 may be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer, an intelligent television, a vehicle-mounted terminal, an intelligent home device, and other various terminal devices, and the intelligent device (including the first intelligent device 110) may be an intelligent door lock, an intelligent sound device, an intelligent home device, and other various intelligent devices.
It should be noted that the above servers (including the first server 130 and the second server 140) may be independent physical servers, may be a server cluster or a distributed system formed by a plurality of physical servers, and may also be cloud servers that provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Cloud technology (Cloud technology) refers to a hosting technology that unifies serial resources such as hardware, software, networks and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied by the cloud computing business mode, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
In some embodiments, the servers described above may also be implemented as nodes in a blockchain system.
The network configuration method of the intelligent device provided by the application is described by combining the noun introduction and the application scene, the method can be executed by a server or a terminal, or the server and the terminal can jointly execute the method, in the embodiment of the application, the method is executed by the terminal as an example, as shown in fig. 2, and fig. 2 is a flowchart of the network configuration method of the intelligent device provided by an exemplary embodiment of the application. The method comprises the following steps.
Step 210, displaying a device list in the smart device management program.
The device list comprises intelligent devices in a distribution network mode within the distribution network range, and the device list comprises first intelligent devices.
The first intelligent device is an intelligent device which needs to be connected with the terminal in a network. The intelligent device management program is an application program deployed on the terminal, and after the binding relationship is established between the intelligent device and the terminal, the terminal can manage and control the intelligent device through the intelligent device management program. Optionally, the intelligent device management program logs in a user account corresponding to the terminal.
Optionally, the type of the first smart device is taken as a smart door lock for exemplary illustration, as shown in fig. 3, and fig. 3 is a schematic diagram of the first smart device (smart door lock). At least one target control exists on the first smart device 300, each corresponding to a different function, such as: the first target control 310 is used to cause the first smart device 300 to enter the distribution mode, and the second target control 320 is used to implement other functions of the first smart device 300, such as: the second target control 320 is used to control the on/off/low battery state of the first smart device 300. Optionally, the kinds of target controls include, but are not limited to: (1) a physical control; (2) virtual controls, such as: the virtual control may be touched.
After triggering the first target control 310, the first intelligent device 300 enters a network configuration mode, and optionally, the triggering manner is as follows: pressing the first target control 310 for a long time reaches a preset duration. If the preset duration for the first intelligent device 300 to enter the network configuration mode is 3 seconds, the first intelligent device 300 enters the network configuration mode after the duration for the long pressing of the first target control 310 reaches 3 seconds.
As shown in fig. 4, a device adding target control 401 for adding an intelligent device is displayed in an intelligent device management program, when a first intelligent device is in a network distribution mode and the device adding target control 401 is triggered, the intelligent device management program automatically scans all intelligent devices in the network distribution range in a bluetooth mode, and correspondingly displays a device list containing the first intelligent device.
The device list includes at least one intelligent device in a distribution network mode. Optionally, in addition to the first smart device, there are other smart devices in the device list, and optionally, there is a second smart device of the same model as the first smart device.
As shown in fig. 4, the device list 400 includes a first smart device 410 and a second smart device 420, where the models and related parameter information of the first smart device 410 and the second smart device 420 are the same, such as: the brand, maximum output power, and three-dimensional size of the first smart device 410 and the second smart device 420 are the same. In some embodiments, when the smart device management program automatically scans for the smart devices that are present around, a missing recognition may occur, at which time the scan target control 402 may be triggered to scan for the smart devices that are not recognized. Alternatively, the device may be added manually, typing in the model of the first smart device.
Step 220, in response to receiving the configuration network trigger operation in the device list, generating and displaying a pairing code.
The pairing code is used for pairing between the intelligent equipment and the terminal. The operation of network allocation triggering in the device list refers to selecting one of the intelligent devices in the device list to perform network allocation. And determining the first intelligent device as the intelligent device to be distributed according to the model of the first intelligent device.
When the device list further includes at least one target smart device having the same model as the first smart device, the first smart device cannot be uniquely determined from the device list. In response to receiving a selection operation of the target smart device or the first smart device in the device list, a pairing code is generated and displayed.
As shown in fig. 4, the second smart device 420 is a target smart device with the same model as the first smart device 410, and one smart device is arbitrarily selected from the first smart device 410 and the second smart device 420 as a matching network, and a matching code is randomly generated by a smart device management program.
The form of the pairing code includes, but is not limited to: the number form, the letter form, the number and letter collocation form, and the length of the pairing code (the number of digits of the number or the letter) can be fixed or arbitrary.
Optionally, taking the pairing code as the 6-bit random number 406606 as an example for explanation, after the pairing code is input to the first intelligent device, the first intelligent device sends a pairing signal for pairing to the terminal within the range of the distribution network.
Schematically, as shown in fig. 5, fig. 5 is a schematic diagram showing a pairing code in the smart device management program.
The first intelligent device is taken as an intelligent door lock for explanation. Within the display page 500 are included an operation prompt screen 510, operation prompt text 520, a pairing code input completion control 530, and a pairing code 540. The operation prompt screen 510 and the operation prompt text 520 are used to instruct the user to enter the pairing code 540 through the designated input module on the first smart device. Illustratively, the operation prompt text 520 is: 1. the battery panel was opened and the pairing was performed by pressing the menu key for 3 seconds. 2. And inputting a pairing code on a door lock keyboard.
When the user types the pairing code 540 into the corresponding position of the first smart device, the pairing code input completion control 530 is triggered to indicate that the pairing code input is completed, and the page corresponding to the subsequent step is skipped. In response to receiving a trigger operation of the pairing code input completion control 530, the terminal receives a pairing signal sent by the first smart device.
It is noted that the manner in which the user types the pairing code may be arbitrary, and the location of the designated input module for typing the pairing code on the first smart device may be arbitrary.
In step 230, a bluetooth communication connection with the first intelligent device is established when a pairing signal sent by the first intelligent device is received.
The pairing signal is a signal sent by the first intelligent device after the first intelligent device receives the key-in of the pairing code.
Optionally, the first smart device transmits the pairing signal to the terminal in a broadcast manner. And the terminal receives the broadcast information sent by the first intelligent device, wherein the broadcast information comprises a pairing code. And under the condition that the pairing code in the broadcast information is matched with the pairing code generated by the terminal, establishing Bluetooth communication connection with the first intelligent device.
Step 240, establishing a binding relation with the first intelligent device in the intelligent device management program and displaying the network distribution result.
Optionally, the kind of first smart machine is intelligent lock, and intelligent lock includes bluetooth module, wireless LAN module and locking end.
The binding relationship between the terminal and the first intelligent device includes, but is not limited to, the following: (1) A first binding relation between a Bluetooth module of the intelligent door lock and a terminal (or an intelligent equipment management program);
(2) And a second binding relation between the wireless local area network module of the intelligent door lock and the terminal (or the intelligent equipment management program). When a binding relationship is established between the terminal and the first intelligent device, the terminal can manage and control the first intelligent device through an intelligent device management program.
In some embodiments, a wireless local area network exists in a network allocation environment where the first intelligent device and the terminal are located, and then a first binding relationship and a second binding relationship can be established at the same time, wherein the network allocation result is used for indicating the condition that the first intelligent device is accessed to the wireless local area network, including the condition that the first intelligent device is accessed successfully and the condition that the first intelligent device is accessed unsuccessfully, and the terminal can control the first intelligent device in a Bluetooth mode and a wireless local area network mode; if the wireless local area network does not exist in the distribution network environment where the first intelligent device and the terminal are located, a first binding relationship can be established, and a second binding relationship cannot be established, wherein the distribution network result is used for indicating the condition that the first intelligent device accesses the Bluetooth network of the terminal, and the condition comprises access success and access failure, and the terminal can control the first intelligent device in a Bluetooth mode.
It is noted that before the binding relationship between the terminal and the first intelligent device is established, whether the first intelligent device meets the condition of establishing the binding relationship or not needs to be judged, that is, identity information of the first intelligent device is verified, and when the first intelligent device passes the verification, the binding relationship between the terminal and the first intelligent device can be established. The terminal can control and manage the first intelligent device based on the binding relation and the intelligent device management program. Because the intelligent device management program is an application program installed on the terminal, the application program logs in a terminal account corresponding to the terminal, so that the establishment of the binding relationship between the terminal and the first intelligent device can be regarded as the establishment of the binding relationship between the intelligent device management program logged in the terminal account and the first intelligent device.
It should be noted that, when the binding relationship between the terminal and the first intelligent device is established, a case may also occur in which the first intelligent device has established a binding relationship with other terminals in a history period. In general, in order to ensure the security of the intelligent device in the use process, after the user a realizes the network allocation of the intelligent device through the first terminal and establishes a binding relationship, the user a must unbind the network, and the intelligent device can reconfigure the network and establish a new binding relationship with other terminals. When the intelligent device is returned and sold again, if the last buyer forgets to unbind, the current user who purchases the intelligent device cannot reconfigure the network for the intelligent device. In order to solve the above-mentioned problem, in some embodiments, when the binding relationship is established based on the bluetooth communication connection, it should also be determined first whether the first smart device has established a binding relationship with other terminals, and unbinding is performed if the binding relationship has been established. The method comprises the following steps:
(1) Displaying first prompt information under the condition that the first intelligent equipment and other terminals establish a history binding relationship, wherein the first prompt information is used for prompting to unbind the history binding relationship;
Optionally, the first prompt information is text content: the first intelligent device establishes a binding relation with other terminals, and unbinding is carried out first. At this time, the user replies the factory setting operation to the first intelligent device based on the first prompt information.
Optionally, the first intelligent device is taken as an intelligent door lock for illustration, and the intelligent door lock comprises a bluetooth module and a locking end. And the user manually restores the intelligent door lock to a factory setting state, wherein the states of the Bluetooth module and the lock end are respectively marked as factory setting restoration states.
In some embodiments, the intelligent door lock further comprises a wireless local area network module, and the wireless local area network module is used for accessing the intelligent device to the wireless local area network when the accessible wireless local area network exists in the distribution network range where the intelligent device is located.
(2) Removing the history binding relation between the first intelligent device and other terminals;
and determining the setting state of the first intelligent equipment, and sending unbinding information to a server based on the Bluetooth communication connection under the condition that the first intelligent equipment is restored to the factory setting state, wherein the server is used for unbinding the historical binding relation between the first intelligent equipment and other terminals based on the unbinding information.
Optionally, the server includes a first server and a second server, and when the wireless local area network does not exist in the range of the distribution network, the unbinding message may be sent to the first server only based on the bluetooth communication connection, so as to delete the historical binding relationship registered in the first server. When a wireless local area network exists in the distribution network range, unbinding messages are respectively sent to the first server and the second server based on Bluetooth communication connection, and the historical binding relations registered in the first server and the second server are deleted.
(3) Under the condition that the historical binding relationship is released, the binding relationship with the first intelligent device is established in the intelligent device management program based on Bluetooth communication connection, and the network distribution result is displayed.
Similarly, after the binding relationship is established between the first intelligent device and the terminal, if the first intelligent device needs to be replaced by other intelligent devices in the middle, the binding relationship is established by unbinding the first intelligent device and the terminal and pairing the other intelligent devices and the terminal, so that the network distribution of the other intelligent devices is realized.
In summary, in the method provided by the application, the device list is displayed in the intelligent device management program, the device list comprises the intelligent devices in the distribution network mode in the distribution network range, when the first intelligent devices and the terminals are paired, the pairing codes are generated for the first intelligent devices, the connection between the first intelligent devices needing to be distributed with the network and the terminals can be established through the pairing codes, the situation that the terminals are mistakenly paired with the intelligent devices of the same model under the condition that a plurality of intelligent devices of the same model exist is avoided, and the accuracy of pairing and the efficiency of intelligent device distribution network are improved. Under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the terminal and the first intelligent equipment is established, the pairing signal is a signal sent after the pairing code is input is received on the first intelligent equipment, a binding relation between the terminal and the first intelligent equipment is established in an intelligent equipment management program, a network distribution result is displayed, pairing of the terminal and the intelligent equipment is achieved through Bluetooth communication connection, the limitation of a wireless local area network can be avoided, and even if the local area network does not exist in the range of the intelligent equipment, the network distribution of the intelligent equipment can be achieved.
According to the method, pairing between the terminal and the intelligent equipment to be distributed in the network is achieved through random generation of the pairing code, the intelligent equipment which needs to be distributed in the network can not be found due to the fact that a plurality of intelligent equipment with the same model exist in the network distribution range is avoided, and accuracy and efficiency of the network distribution are improved.
According to the method provided by the embodiment, after the pairing code is input into the first intelligent device, the first intelligent device sends the pairing signal containing the pairing code to all terminal devices in the network distribution range in a broadcasting mode, and after receiving the pairing signal, the terminal can judge whether the first intelligent device is the intelligent device to be network distribution or not based on the pairing code. Under the condition that the pairing codes are matched, the first intelligent device is determined to be the intelligent device of which the terminal device needs to be paired, and the accuracy of the distribution network can be improved.
In some embodiments, a wireless local area network exists in a distribution network range where the terminal and the first intelligent device to be distributed are located, and in the distribution network process, name and password information of the wireless local area network need to be sent to the first intelligent device based on bluetooth communication connection, so that the first intelligent device can access the wireless local area network. Fig. 6 is a flow chart of a method of network allocation for intelligent devices in the presence of a wireless local area network, comprising the following steps.
At step 610, a list of devices is displayed in the smart device management program.
The device list comprises intelligent devices in a distribution network mode within the distribution network range, and the device list comprises first intelligent devices.
The first intelligent device is an intelligent device which needs to be connected with the terminal in a network. The intelligent device management program is an application program deployed on the terminal, and after the binding relationship is established between the intelligent device and the terminal, the terminal can manage and control the intelligent device through the intelligent device management program. Optionally, the intelligent device management program logs in a user account corresponding to the terminal.
In step 620, in response to receiving the configuration network trigger operation in the device list, a pairing code is generated and displayed.
The pairing code is used for pairing between the intelligent equipment and the terminal. The operation of network allocation triggering in the device list refers to selecting one of the intelligent devices in the device list to perform network allocation. And determining the first intelligent device as the intelligent device to be distributed according to the model of the first intelligent device.
Step 630, displaying the LAN information input interface and receiving the information filling operation.
The information filling operation is used for inputting local area network information of the network environment where the first intelligent device is located.
The lan information includes the name and password of the wireless lan.
Alternatively, as shown in fig. 7, fig. 7 is a schematic diagram of a lan information input interface. The lan information input interface 700 includes a lan name entry box 710, a lan password entry box 720, and a step target control 730. After entering the names of the wireless local area networks within the distribution network of the terminal and the first intelligent device in the local area network name entry box 710 and entering the passwords of the wireless local area networks within the distribution network of the terminal and the first intelligent device in the local area network password entry box 720, triggering the step target control 730 to perform subsequent steps.
Step 640, establishing a bluetooth communication connection with the first intelligent device when the pairing signal sent by the first intelligent device is received.
The pairing signal is a signal sent by the first intelligent device after the first intelligent device receives the key-in of the pairing code.
Optionally, the first smart device transmits the pairing signal to the terminal in a broadcast manner. And the terminal receives the broadcast information sent by the first intelligent device, wherein the broadcast information comprises a pairing code. And under the condition that the pairing code in the broadcast information is matched with the pairing code generated by the terminal, establishing Bluetooth communication connection with the first intelligent device. It should be noted that the order between the steps 630 and 640 may be arbitrary, that is, the steps 630 and 640 may be performed first, the steps 640 may be performed first, and then the steps 630 may be performed, or the steps 630 and 640 may be performed simultaneously, which is not limited in the present application.
Step 650, obtain key information of the first smart device.
The key information is used for representing identity information of the first intelligent device, and the key information is information of the first intelligent device and is sent to the terminal through Bluetooth communication connection by the first intelligent device.
Step 660, the key information is sent to the first server.
The first server is used for authenticating the identity of the first intelligent device based on the secret key information and generating an authentication result. The identity information of at least one intelligent device is registered/stored in the first server in advance, and in order to ensure the safety of the binding relationship between the intelligent device and the terminal, the terminal can only establish the binding relationship with the intelligent device with the identity information registered in the first server in advance. The process by which the first server determines whether the first smart device identity information is registered based on the key information is referred to as authentication.
If the authentication is passed, the first intelligent equipment can establish a binding relation with the terminal; if the authentication is not passed, it is indicated that the first intelligent device cannot establish a binding relationship with the terminal, and at this time, it is necessary to further determine the reason why the binding relationship cannot be established, including but not limited to the following: (1) The key information of the first intelligent device is burnt and recorded in error, and the first intelligent device is required to send the key information to the terminal again; (2) The identity information of the first smart device is not registered by the first server, the first smart device is replaced with another smart device that can establish a binding relationship with the terminal, and steps 610 to 660 are re-performed.
Step 670, receiving an authentication result sent by the first server.
A communication connection is established between the terminal and the first server, for example: bluetooth communication connection, wireless local area network communication connection, and the like, and the terminal receives an authentication result sent by the first server based on the communication connection.
In step 680, if the authentication result indicates that the identity of the smart device passes authentication, local area network information is sent to the first smart device based on the bluetooth communication connection.
The local area network information is used for indicating the first intelligent equipment to access the local area network.
Specifically, under the condition that the authentication result indicates that the identity of the intelligent device passes authentication, local area network information is sent to the first intelligent device based on Bluetooth communication connection, wherein the first intelligent device is used for establishing communication connection with the second server through the local area network after accessing the local area network based on the local area network information, and the second server is used for verifying the identity of the first intelligent device and generating a verification result.
And under the condition that the verification result indicates that the identity of the first intelligent equipment passes verification, determining that the network distribution result is that the first intelligent equipment is successfully accessed to the local area network.
Step 690, establishing a binding relation with the first intelligent device in the intelligent device management program and displaying the network distribution result.
Optionally, the kind of first smart machine is intelligent lock, and intelligent lock includes bluetooth module, wireless LAN module and locking end.
The binding relationship between the terminal and the first intelligent device includes, but is not limited to, the following: (1) A first binding relation between a Bluetooth module of the intelligent door lock and a terminal (or an intelligent equipment management program);
(2) And a second binding relation between the wireless local area network module of the intelligent door lock and the terminal (or the intelligent equipment management program). When a binding relationship is established between the terminal and the first intelligent device, the terminal can manage and control the first intelligent device through an intelligent device management program.
Schematically, as shown in fig. 8, fig. 8 is a schematic view of a display page of the smart device management program when a binding relationship between the terminal and the first smart device is established. The display page 800 includes a prompt message 810, where the prompt message 810 is used to prompt the remaining time required for establishing the binding relationship.
As shown in fig. 9, fig. 9 is a schematic diagram of a display page in which a binding relationship is successfully established and a network is successfully configured. The display page 900 includes prompt information 910, smart device control target control 920, and screen identifier 930 of the controlled smart device. The prompt information 910 is used for prompting that a binding relationship has been successfully established between the terminal and the first intelligent device, and triggering the intelligent device control target control 920 can control the first intelligent device through the terminal (i.e. the intelligent device management program), and the picture identifier 930 of the controlled intelligent device is used for indicating the types and related information of all intelligent devices that the terminal can control (for example, the types of the intelligent devices are intelligent door locks, and the related information is the login account name of the intelligent device management program).
In summary, in the method provided by the application, the device list is displayed in the intelligent device management program, the device list comprises the intelligent devices in the distribution network mode in the distribution network range, when the first intelligent devices and the terminals are paired, the pairing codes are generated for the first intelligent devices, the connection between the first intelligent devices needing to be distributed with the network and the terminals can be established through the pairing codes, the situation that the terminals are mistakenly paired with the intelligent devices of the same model under the condition that a plurality of intelligent devices of the same model exist is avoided, and the accuracy of pairing and the efficiency of intelligent device distribution network are improved. Under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the terminal and the first intelligent equipment is established, the pairing signal is a signal sent after the pairing code is input is received on the first intelligent equipment, a binding relation between the terminal and the first intelligent equipment is established in an intelligent equipment management program, a network distribution result is displayed, pairing of the terminal and the intelligent equipment is achieved through Bluetooth communication connection, the limitation of a wireless local area network can be avoided, and even if the local area network does not exist in the range of the intelligent equipment, the network distribution of the intelligent equipment can be achieved.
According to the method provided by the embodiment, the first server authenticates the identity information of the first intelligent device, so that the first intelligent device can be ensured to be the intelligent device with the registered identity information, and the security of the binding relationship between the terminal and the first intelligent device and the security of the network distribution process are improved.
According to the method provided by the embodiment, the second server verifies the identity information of the first intelligent device, so that the first intelligent device is ensured to be the intelligent device conforming to the condition of accessing the wireless local area network, information leakage of name passwords and the like of the wireless local area network can be avoided under the condition that the first server and the second server jointly determine the identity of the intelligent device, and the safety of the binding relationship establishment and network distribution process between the terminal and the first intelligent device is improved.
According to the method provided by the embodiment, the local area network information input interface is arranged, so that a user can autonomously select the wireless local area network which is hoped to be accessed by the first intelligent device in the network distribution range, the user is required to input the name and password information of the wireless local area network, the first intelligent device is prevented from being connected to other wireless local area networks, and the security of the network distribution process is improved.
In some embodiments, the wireless local area network does not exist in the distribution network range where the terminal and the first intelligent device to be distributed are located, and at this time, the first intelligent device cannot access the wireless local area network. The terminal can establish a binding relation with the first intelligent device based on Bluetooth communication connection, and control of the terminal on the first intelligent device is achieved in a Bluetooth mode, so that the first intelligent device is accessed to a Bluetooth network of the terminal. Fig. 10 is a flowchart of a method for network allocation of intelligent devices in the absence of a wireless local area network, comprising the following steps.
Step 1010, a list of devices is displayed in the smart device management program.
The device list comprises intelligent devices in a distribution network mode within the distribution network range, and the device list comprises first intelligent devices.
The first intelligent device is an intelligent device which needs to be connected with the terminal in a network. The intelligent device management program is an application program deployed on the terminal, and after the binding relationship is established between the intelligent device and the terminal, the terminal can manage and control the intelligent device through the intelligent device management program. Optionally, the intelligent device management program logs in a user account corresponding to the terminal.
In step 1020, a pairing code is generated and displayed in response to receiving a configuration network trigger operation in the device list.
The pairing code is used for pairing between the intelligent equipment and the terminal. The operation of network allocation triggering in the device list refers to selecting one of the intelligent devices in the device list to perform network allocation. And determining the first intelligent device as the intelligent device to be distributed according to the model of the first intelligent device.
Step 1030, displaying a local area network information input interface.
The local area network information input interface also comprises a skip control. As shown in fig. 7, the step of filling in the lan information input interface may be skipped after the skip control 740 is triggered.
In step 1040, in response to receiving the trigger operation of the skip control, a bluetooth communication connection with the first intelligent device is established when a pairing signal sent by the first intelligent device is received.
The pairing signal is a signal sent by the first intelligent device after the first intelligent device receives the key-in of the pairing code.
Optionally, the first smart device transmits the pairing signal to the terminal in a broadcast manner. And the terminal receives the broadcast information sent by the first intelligent device, wherein the broadcast information comprises a pairing code. And under the condition that the pairing code in the broadcast information is matched with the pairing code generated by the terminal, establishing Bluetooth communication connection with the first intelligent device. It should be noted that the order between the steps 1030 and 1040 may be arbitrary, that is, the steps 1030 and 1040 may be performed first, the steps 1040 may be performed first, and then the steps 1030 may be performed, or the steps 1030 and 1040 may be performed simultaneously, which is not limited in the present application.
Step 1050, obtain key information of the first smart device.
The key information is used for representing identity information of the first intelligent device, and the key information is information of the first intelligent device and is sent to the terminal through Bluetooth communication connection by the first intelligent device.
Step 1060, the key information is sent to the first server.
The first server is used for authenticating the identity of the first intelligent device based on the secret key information and generating an authentication result. The identity information of at least one intelligent device is registered/stored in the first server in advance, and in order to ensure the safety of the binding relationship between the intelligent device and the terminal, the terminal can only establish the binding relationship with the intelligent device with the identity information registered in the first server in advance. The process by which the first server determines whether the first smart device identity information is registered based on the key information is referred to as authentication.
If the authentication is passed, the first intelligent equipment can establish a binding relation with the terminal; if the authentication is not passed, it is indicated that the first intelligent device cannot establish a binding relationship with the terminal, and at this time, it is necessary to further determine the reason why the binding relationship cannot be established, including but not limited to the following: (1) The key information of the first intelligent device is burnt and recorded in error, and the first intelligent device is required to send the key information to the terminal again; (2) The identity information of the first smart device is not registered by the first server, and the first smart device is replaced with another smart device that can establish a binding relationship with the terminal, and steps 1010 to 1060 are re-executed.
Step 1070, receiving an authentication result sent by the first server.
It is noted that, because the wireless local area network does not exist in the distribution network range where the terminal and the first intelligent device are located, the binding relationship established between the terminal and the first intelligent device only includes the first binding relationship, that is, only the first server is required to authenticate the identity information of the first intelligent device, and the second server is not required to verify the identity information of the first intelligent device.
Step 1080, establishing a binding relationship with the first intelligent device in the intelligent device management program based on the bluetooth communication connection and displaying a network distribution result.
And under the condition that the authentication result indicates that the first intelligent equipment passes authentication, establishing a binding relation between the terminal and the first intelligent equipment, and the network distribution result is that the network distribution of the first intelligent equipment is successful. The terminal may control and manage the first smart device based on the bluetooth communication connection.
In summary, in the method provided by the application, the device list is displayed in the intelligent device management program, the device list comprises the intelligent devices in the distribution network mode in the distribution network range, when the first intelligent devices and the terminals are paired, the pairing codes are generated for the first intelligent devices, the connection between the first intelligent devices needing to be distributed with the network and the terminals can be established through the pairing codes, the situation that the terminals are mistakenly paired with the intelligent devices of the same model under the condition that a plurality of intelligent devices of the same model exist is avoided, and the accuracy of pairing and the efficiency of intelligent device distribution network are improved. Under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the terminal and the first intelligent equipment is established, the pairing signal is a signal sent after the pairing code is input is received on the first intelligent equipment, a binding relation between the terminal and the first intelligent equipment is established in an intelligent equipment management program, a network distribution result is displayed, pairing of the terminal and the intelligent equipment is achieved through Bluetooth communication connection, the limitation of a wireless local area network can be avoided, and even if the local area network does not exist in the range of the intelligent equipment, the network distribution of the intelligent equipment can be achieved.
According to the method provided by the embodiment, the skip control is arranged on the local area network information input interface, when the wireless local area network does not exist in the distribution network range where the terminal and the first intelligent equipment are located, the binding relationship between the terminal and the first intelligent equipment can be established through Bluetooth communication connection, the distribution network is realized, the intelligent equipment can be controlled and managed independently of the wireless local area network, and the richness of the distribution network mode is improved.
Fig. 11 is a control interface of a smart device management program, and as shown in fig. 11, in the case where a binding relationship is established between a terminal and a first smart device, a control interface 1100 is displayed in the smart device management program, where the control interface 1100 is used to control the first smart device.
The terminal controls the first intelligent device through the binding relationship, and the control interface 1100 includes at least one status identifier of the bluetooth connection status identifier 1110 and the lan connection status identifier 1120, where the status identifier is used to indicate a manner in which the terminal controls the first intelligent device. The bluetooth connection status identifier 1110 is used to indicate that the terminal is controlling the first intelligent device through a bluetooth communication connection, and the lan connection status identifier 1120 is used to indicate that the terminal is controlling the first intelligent device through a wireless lan that is commonly accessed.
In some embodiments, the terminal may control the first smart device by using both bluetooth and wireless lan, or may control the first smart device by using only any one of these methods. Among them, the bluetooth connection status identifier 1110 and the lan connection status identifier 1120 are displayed in a manner including, but not limited to:
(1) The status identifier corresponding to the target control mode is displayed in a highlighting mode, such as: the terminal controls the first smart device using both bluetooth and wireless lan, where both bluetooth connection status identification 1110 and lan connection status identification 1120 are highlighted.
(2) Only the state identification corresponding to the target mode is displayed, such as: the terminal controls the first smart device only using the bluetooth mode, and only the bluetooth connection status identification 1110 is displayed at this time.
Optionally, in addition to the bluetooth connection status identifier 1110 and the lan connection status identifier 1120, the control interface 1100 further includes:
1. smart device status identifier 1130: the intelligent device state identifier 1130 is used for indicating the open/close state of the intelligent device, taking the first intelligent device as an example of the intelligent door lock, and if the intelligent door lock is not closed, displaying a simulation picture of the door lock which is not closed correspondingly, so as to prompt a user to close the intelligent door lock in time;
2. View control 1140 in real time: a camera is installed on the first intelligent device, and after the real-time viewing control 1140 is triggered, a picture around the first intelligent device can be viewed;
3. share password control 1150: the password sharing method is used for sharing passwords required for starting the first intelligent device to other users, such as: a family member;
4. log control 1160: the on/off record used for recording the first intelligent device is convenient for the user to know the working condition of the first intelligent device, such as: the intelligent door lock is opened/closed several times and respectively at what time;
5. user management control 1170: the terminal account number used for logging in the intelligent device management program is managed, for example: and switching the current account number to other account numbers.
In some embodiments, after triggering any one of the bluetooth connection status identifier 1110 and the lan connection status identifier 1120, the relevant parameters of the first smart device may be further set, as shown in fig. 12, and the first smart device smart door lock is taken as an example to describe, and fig. 12 is an interface schematic diagram of parameter setting of the smart door lock.
The door lock setting interface 1200 includes the following functional controls and corresponding selection boxes:
1. Real-time view control 1201: if the control is selected, it is displayed on the control interface 1100 as shown in fig. 11;
2. sound and volume control 1202: the intelligent door lock is used for controlling the sound effect and volume of the prompt sound when the intelligent door lock is opened/closed;
3. double verification control 1203: if the control is selected, the user needs to verify the identity in two ways when controlling the intelligent door lock, such as: fingerprint verification, password verification, face recognition verification and the like;
4. tamper proof measurement and control piece 1204: if the control is selected, the user can detect whether the intelligent door lock is being removed/destroyed through the intelligent equipment management program;
5. administrator password verification control 1205: if the control is selected, only a preset password can be used when the administrator logs in the terminal account;
6. automatic locking time setting control 1206: if the control is selected to be opened, the automatic locking time of the intelligent door lock can be set, for example: the automatic locking time is set to be 2 minutes, and when the intelligent door lock is opened for more than 2 minutes, the intelligent door lock is automatically closed, so that potential safety hazards caused by the fact that a user forgets to close the lock can be reduced;
7. anti-false touch mode control 1207: if the control is selected, preventing the user from touching the intelligent door lock by mistake when controlling the intelligent door lock;
8. Power saving mode control 1208: if the control is selected, the power consumption of the intelligent door lock can be reduced when the intelligent door lock works, and the cruising ability is improved;
9. night auto-turn down volume control 1209: if the control is selected, if the intelligent door lock generates opening/closing actions in a night time period (the time period can be freely set), the prompting sound quantity can be automatically reduced, and other users are prevented from being disturbed;
10. human body induction setting control 1210: if the control is selected, when a human body approaches the intelligent door lock, the intelligent door lock correspondingly sends a prompt;
11. face recognition control 1211: if the control is selected, when the user does not carry the terminal or is inconvenient to input the password, the intelligent door lock can be opened by means of the pre-recorded face information.
In summary, the control interface of the first intelligent device provided in this embodiment includes multiple functions, and the corresponding functional control is triggered in the intelligent device management program of the terminal, so that the first intelligent device can implement the corresponding function, and the man-machine interaction efficiency and the convenience for the user to control the first intelligent device are improved.
Fig. 13 is a block diagram of a configuration of a network device of an intelligent device according to an exemplary embodiment of the present application, and as shown in fig. 13, the device includes the following parts.
A display module 1310, configured to display a device list in an intelligent device management program, where the device list includes an intelligent device in a distribution network mode within a distribution network range, and the device list includes a first intelligent device;
a generating module 1320, configured to generate and display a pairing code in response to receiving a network allocation trigger operation in the device list, where the pairing code is used to pair between the smart device and the terminal;
the establishing module 1330 is configured to establish a bluetooth communication connection with the first intelligent device when a pairing signal sent by the first intelligent device is received, where the pairing signal is sent after the first intelligent device receives a key input of the pairing code;
the establishing module 1330 is further configured to establish a binding relationship with the first intelligent device in the intelligent device management program and display a network configuration result.
In an optional embodiment, the establishing module 1330 is further configured to receive broadcast information sent by the first smart device, where the broadcast information includes the pairing code; and under the condition that the pairing code in the broadcast information is matched with the pairing code generated by the terminal, establishing Bluetooth communication connection with the first intelligent equipment.
In an alternative embodiment, after the establishing module 1330, as shown in fig. 14, the apparatus further includes:
an obtaining module 1340, configured to obtain key information of the first smart device, where the key information is used to represent identity information of the first smart device;
a sending module 1350, configured to send the key information to a first server, where the first server is configured to authenticate an identity of the first smart device based on the key information and generate an authentication result;
a receiving module 1360, configured to receive the authentication result sent by the first server;
the sending module 1350 is further configured to send the local area network information to the first intelligent device based on the bluetooth communication connection if the authentication result indicates that the identity of the intelligent device passes authentication.
In an alternative embodiment, after the generation module 1320,
the receiving module 1360 is further configured to display a local area network information input interface and receive an information filling operation, where the information filling operation is used to input local area network information of a network environment where the first intelligent device is located;
the establishing module 1330 is further configured to, after the bluetooth communication connection is established with the first intelligent device in the case that the pairing signal sent by the first intelligent device is received, further include:
The sending module 1350 is further configured to send the lan information to the first intelligent device based on the bluetooth communication connection, where the lan information is used to instruct the first intelligent device to access a lan.
In an optional embodiment, the sending module 1350 is further configured to send the local area network information to the first smart device based on the bluetooth communication connection, where the first smart device is configured to establish a communication connection with a second server through the local area network after accessing the local area network based on the local area network information, and the second server is configured to verify an identity of the first smart device and generate a verification result; and under the condition that the verification result indicates that the identity of the first intelligent equipment passes verification, determining that the network distribution result is that the first intelligent equipment is successfully accessed to the local area network.
In an alternative embodiment, the local area network information input interface further includes a skip control;
the display module 1310 is further configured to display the lan information input interface;
the establishing module 1330 is further configured to establish a bluetooth communication connection with the first intelligent device when receiving a pairing signal sent by the first intelligent device in response to receiving a trigger operation on the skip control; and establishing a binding relation with the first intelligent equipment in the intelligent equipment management program based on the Bluetooth communication connection and displaying the network distribution result.
In an optional embodiment, the display module 1310 is further configured to display, in the smart device management program, a control interface for controlling the first smart device if a binding relationship is established between the first smart device and the first smart device, where the terminal controls the first smart device through the binding relationship, and the control interface includes at least one status identifier of a bluetooth connection status identifier and a local area network connection status identifier, where the status identifier is used to indicate a manner in which the terminal controls the first smart device.
In an optional embodiment, the device list further includes at least one target smart device with the same model as the first smart device; the generating module 1320 is further configured to generate and display the pairing code in response to receiving a selection operation of the target smart device or the first smart device in the device list.
In an alternative embodiment, the setup module 1330 may be preceded by,
the display module 1310 is further configured to display a pairing code input completion control in the intelligent device management program;
the receiving module 1360 is further configured to receive the pairing signal sent by the first intelligent device in response to receiving a triggering operation of the pairing code input completion control.
In summary, in the device provided by the application, the device list is displayed in the intelligent device management program, the device list comprises the intelligent devices in the distribution network mode in the distribution network range, when the first intelligent devices and the terminals are paired, the pairing codes are generated for the first intelligent devices, the connection between the first intelligent devices needing to be distributed with the network and the terminals can be established through the pairing codes, the situation that the terminals are mistakenly paired with the intelligent devices of the same model under the condition that a plurality of intelligent devices of the same model exist is avoided, and the accuracy of pairing and the efficiency of intelligent device distribution network are improved. Under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the terminal and the first intelligent equipment is established, the pairing signal is a signal sent after the pairing code is input is received on the first intelligent equipment, a binding relation between the terminal and the first intelligent equipment is established in an intelligent equipment management program, a network distribution result is displayed, pairing of the terminal and the intelligent equipment is achieved through Bluetooth communication connection, the limitation of a wireless local area network can be avoided, and even if the local area network does not exist in the range of the intelligent equipment, the network distribution of the intelligent equipment can be achieved.
It should be noted that: the network configuration device of the intelligent device provided in the above embodiment is only exemplified by the division of the above functional modules, and in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the network distribution device of the intelligent device and the network distribution method embodiment of the intelligent device provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, which is not described herein again.
Fig. 15 shows a block diagram of a computer device 1500 provided in accordance with an exemplary embodiment of the present application. The computer device 1500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. The computer device 1500 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, and the like.
In general, the computer device 1500 includes: a processor 1501 and a memory 1502.
The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1501 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1501 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1501 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1502 may include one or more computer-readable storage media, which may be non-transitory. Memory 1502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1502 is configured to store at least one instruction for execution by processor 1501 to implement the network deployment method of the smart device provided by the method embodiments of the present application.
In some embodiments, computer device 1500 also includes other components, and those skilled in the art will appreciate that the structure illustrated in FIG. 15 is not limiting of terminal 1500, and may include more or fewer components than shown, or may combine certain components, or employ a different arrangement of components.
Alternatively, the computer-readable storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), solid state disk (SSD, solid State Drives), or optical disk, etc. The random access memory may include resistive random access memory (ReRAM, resistance Random Access Memory) and dynamic random access memory (DRAM, dynamic Random Access Memory), among others. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The embodiment of the application also provides a computer device, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the network allocation method of the intelligent device according to any one of the embodiment of the application.
The embodiment of the application also provides a computer readable storage medium, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by a processor to realize the network allocation method of the intelligent device according to any one of the embodiments of the application.
Embodiments of the present application also provide a computer program product or 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, so that the computer device performs the network allocation method of the intelligent device according to any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (13)

1. A network allocation method for an intelligent device, performed by a terminal, the method comprising:
displaying a device list in an intelligent device management program, wherein the device list comprises intelligent devices in a distribution network mode in a distribution network range, and the device list comprises a first intelligent device;
generating and displaying a pairing code in response to receiving a network allocation triggering operation in the equipment list, wherein the pairing code is used for pairing between the intelligent equipment and the terminal;
under the condition that a pairing signal sent by the first intelligent equipment is received, bluetooth communication connection between the pairing signal and the first intelligent equipment is established, wherein the pairing signal is sent after the first intelligent equipment receives the key-in of the pairing code;
And establishing a binding relation with the first intelligent equipment in the intelligent equipment management program and displaying a network distribution result.
2. The method of claim 1, wherein the establishing a bluetooth communication connection with the first smart device upon receiving a pairing signal sent by the first smart device comprises:
receiving broadcast information sent by the first intelligent equipment, wherein the broadcast information comprises the pairing code;
and under the condition that the pairing code in the broadcast information is matched with the pairing code generated by the terminal, establishing Bluetooth communication connection with the first intelligent equipment.
3. The method according to claim 2, wherein, in the case that the pairing code in the broadcast information matches the pairing code generated by the terminal, after establishing a bluetooth communication connection with the first smart device, further comprises:
obtaining key information of the first intelligent device, wherein the key information is used for representing identity information of the first intelligent device;
the secret key information is sent to a first server, and the first server is used for authenticating the identity of the first intelligent device based on the secret key information and generating an authentication result;
Receiving the authentication result sent by the first server;
and under the condition that the authentication result indicates that the identity of the intelligent equipment passes authentication, transmitting the local area network information to the first intelligent equipment based on the Bluetooth communication connection.
4. A method according to any one of claims 1 to 3, wherein after generating and displaying a pairing code in response to receiving a network allocation trigger operation in the device list, further comprises:
displaying a local area network information input interface and receiving an information filling operation, wherein the information filling operation is used for inputting local area network information of a network environment where the first intelligent equipment is located;
and under the condition that a pairing signal sent by the first intelligent equipment is received, after the Bluetooth communication connection between the first intelligent equipment and the first intelligent equipment is established, the method further comprises the following steps:
and sending the local area network information to the first intelligent device based on the Bluetooth communication connection, wherein the local area network information is used for indicating the first intelligent device to access a local area network.
5. The method of claim 4, wherein the sending the local area network information to the first smart device based on the bluetooth communication connection comprises:
The local area network information is sent to the first intelligent device based on the Bluetooth communication connection, wherein the first intelligent device is used for establishing communication connection with a second server through the local area network after the first intelligent device is accessed to the local area network based on the local area network information, and the second server is used for verifying the identity of the first intelligent device and generating a verification result;
and under the condition that the verification result indicates that the identity of the first intelligent equipment passes verification, determining that the network distribution result is that the first intelligent equipment is successfully accessed to the local area network.
6. The method of claim 4, wherein the local area network information input interface further comprises a skip control;
the method further comprises the steps of:
displaying the local area network information input interface;
in response to receiving a trigger operation of the skip control, establishing Bluetooth communication connection with the first intelligent device under the condition of receiving a pairing signal sent by the first intelligent device;
and establishing a binding relation with the first intelligent equipment in the intelligent equipment management program based on the Bluetooth communication connection and displaying the network distribution result.
7. A method according to any one of claims 1 to 3, wherein the method further comprises:
and under the condition that a binding relation is established between the terminal and the first intelligent equipment, displaying a control interface for controlling the first intelligent equipment in the intelligent equipment management program, wherein the terminal controls the first intelligent equipment through the binding relation, the control interface comprises at least one state identifier in a Bluetooth connection state identifier and a local area network connection state identifier, and the state identifier is used for indicating a mode that the terminal controls the first intelligent equipment.
8. A method according to any one of claims 1 to 3, wherein the list of devices further comprises at least one target smart device of the same model as the first smart device;
the responding to the receiving of the configuration network triggering operation in the equipment list generates and displays a pairing code, and the method comprises the following steps:
the pairing code is generated and displayed in response to receiving a selection operation of the target smart device or the first smart device in the device list.
9. A method according to any one of claims 1 to 3, wherein, before the bluetooth communication connection with the first smart device is established in the case of receiving the pairing signal sent by the first smart device, the method further comprises:
Displaying a pairing code input completion control in the intelligent device management program;
and receiving the pairing signal sent by the first intelligent device in response to receiving the triggering operation of the pairing code input completion control.
10. A network distribution device for an intelligent device, the device comprising:
the device comprises a display module, a first intelligent device and a second intelligent device, wherein the display module displays a device list in an intelligent device management program, the device list comprises intelligent devices in a distribution network mode in a distribution network range, and the device list comprises the first intelligent device;
the generation module is used for responding to the received network allocation triggering operation in the equipment list, generating and displaying a pairing code, wherein the pairing code is used for pairing between the intelligent equipment and the terminal;
the system comprises a first intelligent device, a second intelligent device, a setting module and a communication module, wherein the setting module sets up Bluetooth communication connection with the first intelligent device under the condition of receiving a pairing signal sent by the first intelligent device, and the pairing signal is sent out after the first intelligent device receives the key-in of the pairing code;
the establishing module establishes a binding relation with the first intelligent device in the intelligent device management program and displays a network distribution result.
11. A computer device, characterized in that it comprises a processor and a memory, in which at least one program is stored, which is loaded and executed by the processor to implement the network deployment method of the smart device according to any of claims 1 to 9.
12. A computer readable storage medium, wherein at least one program is stored in the storage medium, and the at least one program is loaded and executed by a processor to implement the network deployment method of the smart device according to any one of claims 1 to 9.
13. A computer program product comprising a computer program which, when executed by a processor, implements a network deployment method for a smart device according to any of claims 1 to 9.
CN202310797017.3A 2023-06-30 2023-06-30 Network allocation method, device, equipment, medium and program product of intelligent equipment Pending CN116887382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310797017.3A CN116887382A (en) 2023-06-30 2023-06-30 Network allocation method, device, equipment, medium and program product of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310797017.3A CN116887382A (en) 2023-06-30 2023-06-30 Network allocation method, device, equipment, medium and program product of intelligent equipment

Publications (1)

Publication Number Publication Date
CN116887382A true CN116887382A (en) 2023-10-13

Family

ID=88254079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310797017.3A Pending CN116887382A (en) 2023-06-30 2023-06-30 Network allocation method, device, equipment, medium and program product of intelligent equipment

Country Status (1)

Country Link
CN (1) CN116887382A (en)

Similar Documents

Publication Publication Date Title
KR102511811B1 (en) Techniques for securely authenticating bot users
CN103491056B (en) The control method and device of application permission
CN113595968B (en) Login method and system based on cloud application instance and related equipment
CN108632253B (en) Client data security access method and device based on mobile terminal
CN105227321B (en) Information processing method, server and client
CN108469972B (en) Method and device for supporting display of multiple windows in WEB page
CN106101091B (en) Method and device for processing data between terminals
WO2014176808A1 (en) Authorization authentication method and apparatus
CN105024986A (en) Account login method, device and system
CN107864144A (en) Obtain method and device, computer installation and the storage medium of dynamic password
CN106470145B (en) Instant messaging method and device
US20230239294A1 (en) Access processing method and device for remotely controlling terminal and storage medium
CN106656985B (en) Backup account login method, device and system
CN112073289A (en) Instant messaging control method and device
CN108123961A (en) Information processing method, apparatus and system
CN111191200B (en) Three-party linkage authentication page display method and device and electronic equipment
CN109726545A (en) A kind of information display method, equipment, computer readable storage medium and device
EP3528152A1 (en) Method and apparatus for user authentication
CN114491582A (en) Authentication method and device and terminal equipment
CN116743496A (en) Device remote operation method, device, computer device and storage medium
CN113946739A (en) Sensitive data query method, device, equipment and storage medium
CN110661789B (en) Address resetting method, device, equipment and computer readable storage medium
CN109391587B (en) Unlocking method and device and storage medium
CN116094814A (en) VPN access method, device, electronic equipment and storage medium
CN116887382A (en) Network allocation method, device, equipment, medium and program product of intelligent equipment

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