CN114339787A - Network distribution method of intelligent device, terminal device and computer readable storage medium - Google Patents

Network distribution method of intelligent device, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN114339787A
CN114339787A CN202111678792.4A CN202111678792A CN114339787A CN 114339787 A CN114339787 A CN 114339787A CN 202111678792 A CN202111678792 A CN 202111678792A CN 114339787 A CN114339787 A CN 114339787A
Authority
CN
China
Prior art keywords
terminal device
network
terminal equipment
terminal
ble
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
CN202111678792.4A
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.)
Shenzhen Ubtech Technology Co ltd
Original Assignee
Shenzhen Ubtech Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ubtech Technology Co ltd filed Critical Shenzhen Ubtech Technology Co ltd
Priority to CN202111678792.4A priority Critical patent/CN114339787A/en
Publication of CN114339787A publication Critical patent/CN114339787A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a network distribution method of an intelligent device, a terminal device and a computer readable storage medium, and relates to the technical field of terminals, wherein the method comprises the following steps: after the Bluetooth Low Energy (BLE) connection is established with the second terminal equipment, whether the first terminal equipment is matched with the second terminal equipment is determined according to a secret key sent by the second terminal equipment; receiving login information sent by the second terminal device, wherein the login information is sent after the second terminal device is determined to be matched with the first terminal device; and accessing the network according to the login information. According to the technical scheme, the first terminal equipment is distributed in a network in a BLE mode, and based on the characteristic of high-speed transmission of BLE, the success rate of distribution of the first terminal equipment and the speed of distribution of the first terminal equipment can be improved.

Description

Network distribution method of intelligent device, terminal device and computer readable storage medium
Technical Field
The application relates to a terminal technology, in particular to a network distribution method of an intelligent device, a terminal device and a computer readable storage medium, and belongs to the technical field of terminals.
Background
With the continuous development of terminal equipment, not only can the mobile phone be accessed to a wireless network, but also other intelligent equipment (such as a bracelet, an intelligent watch and other wearable equipment) can be accessed to the wireless network, so that the other intelligent equipment can complete operations such as data synchronization and system updating after being accessed to the network.
In the related art, the smart device may not have a touch screen, and the smart device needs to assist the smart device to access the wireless network through an interface displayed by the mobile phone in the process of accessing the wireless network. However, when the mobile phone uses bluetooth or WiFi (Wireless Fidelity) to assist the smart device to access the Wireless network, the speed of the smart device accessing the Wireless network is slow and has a certain failure rate.
Disclosure of Invention
In view of this, embodiments of the present application provide a network distribution method for an intelligent device, a terminal device, and a computer-readable storage medium, so as to solve the problems that the speed of accessing a wireless network by the intelligent device is slow and the intelligent device has a certain failure rate.
In a first aspect, an embodiment of the present application provides a network distribution method for an intelligent device, which is applied to a first terminal device of a network distribution system, where the network distribution system includes: the first terminal device and the second terminal device, the method comprising:
after the Bluetooth Low Energy (BLE) connection is established with the second terminal equipment, whether the first terminal equipment is matched with the second terminal equipment is determined according to a secret key sent by the second terminal equipment;
receiving login information sent by the second terminal device, wherein the login information is sent after the second terminal device is determined to be matched with the first terminal device;
and accessing the network according to the login information.
Optionally, before determining whether the first terminal device and the second terminal device are matched according to the key sent by the second terminal device, the method further includes:
turning on the BLE function;
transmitting a service-specific BLE broadcast through the BLE function.
Optionally, after accessing the network according to the login information, the method further includes:
and sending successful distribution network information to the second terminal equipment, wherein the successful distribution network information is used for indicating that the first terminal equipment is successfully accessed into the network.
Optionally, the method further includes:
if the first terminal equipment is matched with the second terminal equipment, stopping sending BLE broadcast of the specified service;
and sending matching information to the second terminal equipment, wherein the matching information is used for indicating that the first terminal equipment is matched with the second terminal equipment.
Optionally, the method further includes:
and if the first terminal equipment is not matched with the second terminal equipment, disconnecting the BLE connection with the second terminal equipment.
In a second aspect, an embodiment of the present application provides a network distribution method for an intelligent device, which is applied to a second terminal device of a network distribution system, where the network distribution system includes: a first terminal device and the second terminal device, the method comprising:
according to the BLE broadcast of the designated service sent by the first terminal equipment, establishing BLE connection with the first terminal equipment;
sending a key to the first terminal device, wherein the key is used for determining whether the first terminal device is matched with the second terminal device;
and if the first terminal equipment is matched with the second terminal equipment, sending login information to the first terminal equipment, wherein the login information is used for accessing a network.
Optionally, after sending the login information to the first terminal device, the method further includes:
receiving distribution network success information sent by the first terminal device, wherein the distribution network success information is used for indicating that the first terminal device successfully accesses the network;
and displaying a distribution network success interface.
Optionally, if the first terminal device is matched with the second terminal device, sending login information to the first terminal device includes:
receiving matching information sent by the first terminal device, wherein the matching information is sent to the second terminal device after the first terminal device is determined to be matched with the second terminal device;
and sending the login information to the first terminal equipment according to the matching information.
In a third aspect, an embodiment of the present application provides a network distribution apparatus for an intelligent device, where the apparatus includes:
the matching module is used for determining whether the first terminal device is matched with the second terminal device according to a secret key sent by the second terminal device after the Bluetooth Low Energy (BLE) connection is established with the second terminal device;
a receiving module, configured to receive login information sent by the second terminal device, where the login information is sent after the second terminal device determines to be matched with the first terminal device;
and the distribution network module is used for accessing a network according to the login information.
Optionally, the apparatus further comprises:
a turn-on module to turn on the BLE function;
a first transmitting module, configured to transmit a BLE broadcast specifying a service through the BLE function.
Optionally, the apparatus further comprises:
and the second sending module is used for sending successful distribution network information to the second terminal equipment, wherein the successful distribution network information is used for indicating that the first terminal equipment is successfully accessed to the network.
Optionally, the apparatus further comprises:
a stopping module, configured to stop sending a BLE broadcast of a specified service if the first terminal device matches the second terminal device;
and the second sending module is further configured to send matching information to the second terminal device, where the matching information is used to indicate that the first terminal device is matched with the second terminal device.
Optionally, the apparatus further comprises:
a disconnection module, configured to disconnect the BLE connection with the second terminal device if the first terminal device is not matched with the second terminal device.
In a fourth aspect, an embodiment of the present application provides a network distribution device for an intelligent device, where the device includes:
the connection module is used for establishing BLE connection with the first terminal equipment according to the BLE broadcast of the specified service sent by the first terminal equipment;
a first sending module, configured to send a key to the first terminal device, where the key is used to determine whether the first terminal device and the second terminal device are matched;
and the second sending module is used for sending login information to the first terminal equipment if the first terminal equipment is matched with the second terminal equipment, wherein the login information is used for accessing a network.
Optionally, the apparatus further comprises:
the receiving module is used for receiving the successful distribution network information sent by the first terminal device, wherein the successful distribution network information is used for indicating that the first terminal device is successfully accessed to the network;
and the display module is used for displaying a successful interface of the distribution network.
Optionally, the second sending module is specifically configured to receive matching information sent by the first terminal device, where the matching information is sent by the first terminal device to the second terminal device after the first terminal device is determined to match the second terminal device; and sending the login information to the first terminal equipment according to the matching information.
In a fifth aspect, an embodiment of the present application provides a terminal device, including: a memory for storing a computer program and a processor; the processor is configured to perform the method of any of the first aspects, or the method of any of the second aspects, when the computer program is invoked.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method according to any one of the first aspect, or implements the method according to any one of the second aspect.
In a seventh aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor, the processor is coupled with a memory, and the processor, when executing a computer program stored in the memory, implements the method according to the first aspect or any implementation manner of the first aspect.
According to the network distribution method of the intelligent device, after the first terminal device establishes BLE connection with the second terminal device, the first terminal device determines whether the first terminal device is matched with the second terminal device according to a secret key sent by the second device; and then, the first terminal equipment receives login information sent by the second terminal equipment after the second terminal equipment is matched with the first terminal equipment, and then accesses the network according to the login information to complete the distribution network. The first terminal equipment is distributed in a BLE mode, and based on the high-speed transmission characteristic of BLE, the distribution network success rate and the distribution network speed of the first terminal equipment can be improved.
Drawings
Fig. 1 is a system schematic diagram of a distribution network system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a network distribution method for an intelligent device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a network distribution device of an intelligent device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another distribution network apparatus of an intelligent device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
First, a distribution network system related to a distribution network method of an intelligent device provided by the embodiment of the present application is introduced. Referring to fig. 1, fig. 1 is a system schematic diagram of a distribution network system according to an embodiment of the present application. As shown in fig. 1, the distribution network system includes: a first terminal device 110 and a second terminal device 120.
The first terminal device 110 may be a bracelet, a smart watch, or other small smart devices, and the second terminal device 120 may be a mobile phone, a tablet, or other terminal devices with a display screen.
When the first terminal device 110 is connected to the network through the second terminal device 120, the first terminal device 110 may first start a BLE (bluetooth Low Energy) function, and broadcast the identification information of the first terminal device 110 through BLE.
Accordingly, the second terminal device 120 may receive the identification information broadcast by the first terminal device 110, and establish a connection with the first terminal device 110 according to the identification information. Thereafter, the second terminal device 120 may send a key to the first terminal device 110, so that the first terminal device 110 verifies the validity of the second terminal device 120, that is, verifies whether the second terminal device 120 matches the first terminal device 110.
After determining that the second terminal device 120 matches the first terminal device 110, the second terminal device may send login information (e.g., an account password) to the first terminal device 110. The first terminal device 110 may access the current network according to the login information, and complete the network distribution of the first terminal device 110.
It should be noted that, the distribution network system is described by taking one first terminal device 110 and one second terminal device 120 as an example, but in practical application, the distribution network system may include a plurality of first terminal devices 110 and a plurality of second terminal devices 120, and the number of the first terminal devices 110 and the second terminal devices 120 is not limited in the embodiment of the present application.
In the following, still taking the first terminal device 110 and the second terminal device 120 in the distribution network system as an example, a method for the first terminal device 110 to perform distribution through the second terminal device 120 is described, so as to improve the success rate of the first terminal device 110 in distribution network.
Fig. 2 is a schematic flowchart of a network distribution method for an intelligent device according to an embodiment of the present disclosure, which may be applied to a first terminal device and a second terminal device in the foregoing distributed scenario by way of example and not limitation, and referring to fig. 2, the method includes:
step 201, the first terminal device starts a BLE function, and transmits a BLE broadcast of a designated service through the BLE function.
Wherein the BLE broadcast of the designated service is a broadcast of a BLE service of the designated first terminal device. Each service included in BLE corresponds to a different UUID (Universally Unique Identifier).
For example, the BLE broadcast of the specific service may be a BLE broadcast including two feature values (characteristics), namely received data (receivercharateristic) and notification data (notifycharactestic), where the notifycharactestic further has a bluetooth attribute service (Descriptor) describing attribute content, and the service identification information of the first terminal device is not limited in this embodiment of the present application.
The first terminal device is affected by the hardware capability, and usually needs the assistance of other terminal devices (such as the second terminal device in the embodiment of the present application) when accessing the network of the current scenario. Therefore, when the first terminal device needs to access the network, the identification information of the first terminal device may be broadcast, so that in the subsequent step, the second terminal device may assist the first terminal device in the network distribution according to the received identification information.
Specifically, the first terminal device may determine that the network needs to be accessed currently according to the operation of detecting the trigger. The first terminal device may then turn on the BLE function and send identification information of the first terminal device via BLE broadcast.
For example, after detecting the distribution network operation triggered by the user, the first terminal device may turn on the BLE function and the WiFi function, and turn on an indicator light of the first terminal device to indicate that the first terminal device has entered the distribution network mode.
It should be noted that the first terminal device may further turn on a WiFi function and be in an sta (station) mode, so that in the subsequent steps, the first terminal device may access the network in the current scene through the WiFi function to complete the network distribution of the first terminal device.
Step 202, the second terminal device receives and establishes BLE connection with the first terminal device according to the BLE broadcast of the designated service.
Corresponding to step 201, the second terminal device may receive a BLE broadcast of the designated service sent by the first terminal device, and determine that the network distribution needs to be performed on the first terminal device according to the BLE broadcast, and then the second terminal device may find the first terminal device according to the BLE broadcast and establish a BLE connection with the first terminal device.
It should be noted that, in practical applications, the second terminal device may also turn on the BLE function according to an operation triggered by the user, so that the second terminal device may scan a BLE broadcast sent by the first terminal device and specifying a service.
Further, the second terminal device may start an application program for configuring the network for the first terminal device, and prompt the user to input information (such as an SSID (Service Set Identifier) and a password) of the network to be accessed in the application program, so that the second terminal device may access the corresponding network according to the input information in the subsequent step.
Step 203, the second terminal device sends the key to the first terminal device.
After the second terminal device establishes the BLE connection with the first terminal device, the second terminal device may send a preset secret key to the first terminal device, so that the first terminal device may verify the validity of the second terminal device according to the secret key, that is, determine whether the first terminal device is matched with the second terminal device.
For example, the second terminal device may transmit the preset key to the first terminal device through a bluetooth attribute service (Descriptor) of BLE function.
And step 204, the first terminal device determines whether the first terminal device is matched with the second terminal device according to the key sent by the second terminal device.
The first terminal device may receive the key sent by the second terminal device, and determine whether the key sent by the second terminal device matches the key stored by the first terminal device, in combination with the key stored in advance by the first terminal device.
Specifically, after receiving the key sent by the second terminal device, the first terminal device may obtain the key stored in advance by the first terminal device, and decrypt the key sent by the second terminal device by using the key of the first terminal device.
If the first terminal device is successfully decrypted, the second terminal device is legal, and the first terminal device is matched with the second terminal device. Accordingly, the first terminal device may perform steps 205 to 210 to complete the network distribution of the first terminal device.
If the decryption of the first terminal device fails, it is indicated that the second terminal device is not a legal device, and the first terminal device is not matched with the second terminal device. Accordingly, the first terminal device may execute step 211 to stop performing network distribution on the first terminal device through the second terminal device.
Step 205, if the first terminal device matches the second terminal device, the first terminal device stops sending BLE broadcast of the specified service.
After the first terminal device is determined to be matched with the second terminal device, the first terminal device can stop sending the BLE broadcast of the designated service, the phenomenon that other terminal devices establish BLE connection with the first terminal device again after receiving the BLE broadcast is avoided, and the first terminal device is prevented from being connected with the plurality of terminal devices at the same time to cause failure of the first terminal device in network distribution.
Step 206, the first terminal device sends the matching information to the second terminal device.
The matching information is used for indicating that the first terminal equipment is matched with the second terminal equipment.
After the first terminal device is matched with the second terminal device, matching information can be generated, and the matching information is sent to the second terminal device, so that in the subsequent step, the second terminal device can assist the first terminal device to distribute the network according to the matching information.
It should be noted that, in the embodiment of the present application, the first terminal device performs step 205 first and then performs step 206 as an example for description, but in practical applications, the first terminal device may also perform step 206 first and then perform step 205, or perform step 205 and step 206 at the same time, which is not limited in the embodiment of the present application.
And step 207, the second terminal device receives and sends login information to the first terminal device according to the matching information sent by the first terminal device.
The login information is used for assisting the first terminal device to access the network.
After receiving the matching information, the second terminal device determines that the first terminal device is matched with the second terminal device, that is, the validity of the second terminal device is verified, and then the second terminal device can generate and send login information to the first terminal device to assist the first terminal device in distribution of the network.
For example, after receiving the matching information, the second terminal device may obtain an SSID and a password of a router in a current scene, generate login information according to the SSID and the password, and send the login information to the first terminal device.
And step 208, the first terminal device receives and accesses the network according to the login information sent by the second terminal device.
After receiving the login information, the first terminal device may complete the network distribution of the first terminal device by using the WiFi function turned on in step 201 and combining the router of the login information access network, that is, the first terminal device is accessed to the network of the current scene.
For example, corresponding to the example in step 207, the first terminal device may first extract the SSID and the password in the login information, and then verify the validity of the SSID and the password. If the legitimacy of the SSID and the password meets the requirement, a wireless network consistent with the SSID can be searched through the WiFi function, and then the wireless network is connected with a router of the wireless network according to the password. And then, the first terminal equipment calls a Dynamic Host Configuration Protocol (DHCP) to allocate an IP (Internet Protocol) address to the first terminal equipment, so that a wireless network is accessed, and the network distribution of the first terminal equipment is completed. However, if the validity of the SSID and the password does not meet the requirement, the distribution network failure is prompted.
And step 209, the first terminal equipment sends the distribution network success information to the second terminal equipment.
The distribution network success information is used for indicating that the first terminal equipment successfully accesses the network.
After the first terminal device successfully distributes the network, the first terminal device can send successful distribution network information to the second terminal device, so that the second terminal device can inform a user that the first terminal device has successfully distributed the network according to the successful distribution network information.
It should be noted that the distribution network success information may include information such as an IP Address, a Media Access Control Address (MAC Address), a name, and the like of the first terminal device, and the distribution network success information is not limited in this embodiment of the application.
And 210, the second terminal device receives the successful distribution network information sent by the first terminal device and displays a successful distribution network interface.
After receiving the successful distribution network information, the second terminal device can generate a successful distribution network interface according to the successful distribution network information, and display the successful distribution network interface to the user to inform the user that the first terminal device has successfully completed distribution network.
The successful distribution network interface can display information such as the name, the IP address and the MAC address of the first terminal device in the network to a user.
Step 211, if the first terminal device is not matched with the second terminal device, the first terminal device and the second terminal device are disconnected from BLE.
If the first terminal device fails to decrypt the key sent by the second terminal device in step 204, the first terminal device cannot verify the validity of the second terminal device, which indicates that the first terminal device is not matched with the second terminal device, and the first terminal device cannot complete the distribution network with the assistance of the second terminal device.
Therefore, the first terminal device may disconnect the BLE connection with the second terminal device and continue to broadcast the identification information to other terminal devices, so that the distribution network of the first terminal device is completed with the assistance of the other terminal devices.
To sum up, according to the network distribution method for the intelligent device provided by the embodiment of the application, after the first terminal device establishes the BLE connection with the second terminal device, the first terminal device determines whether the first terminal device is matched with the second terminal device according to the secret key sent by the second device; and then, the first terminal equipment receives login information sent by the second terminal equipment after the second terminal equipment is matched with the first terminal equipment, and then accesses the network according to the login information to complete the distribution network. The first terminal equipment is distributed in a BLE mode, and based on the high-speed transmission characteristic of BLE, the distribution network success rate and the distribution network speed of the first terminal equipment can be improved.
Moreover, the first terminal device verifies the key sent by the second terminal device, so that the data of the first terminal device can be prevented from being damaged due to the connection between the first terminal device and the illegal device, and the security of the distribution network of the first terminal device can be improved.
In addition, the first terminal equipment stops sending the BLE broadcast after verifying the validity of the second terminal equipment, so that the first terminal equipment and the plurality of terminal equipment can be prevented from establishing BLE connection at the same time, the failure of distribution network is avoided, and the success rate of distribution network of the first terminal equipment can be improved.
Based on the same inventive concept, as an implementation of the foregoing method, an embodiment of the present application provides a network distribution device for an intelligent device, where an embodiment of the device corresponds to the foregoing method embodiment, and for convenience of reading, details in the foregoing method embodiment are not repeated in this device embodiment one by one, but it should be clear that the device in this embodiment can correspondingly implement all the contents in the foregoing method embodiment.
Fig. 3 is a schematic structural diagram of a network distribution device of an intelligent device according to an embodiment of the present application, and as shown in fig. 3, the device according to this embodiment includes:
a matching module 301, configured to determine whether the first terminal device is matched with the second terminal device according to a secret key sent by the second terminal device after a low-power-consumption bluetooth BLE connection is established with the second terminal device;
a receiving module 302, configured to receive login information sent by the second terminal device, where the login information is sent after the second terminal device is determined to be matched with the first terminal device;
and the distribution network module 303 is configured to access a network according to the login information.
Optionally, the apparatus further comprises:
an enabling module 304, configured to enable the BLE function;
a first transmitting module 305, configured to transmit a BLE broadcast specifying a service through the BLE function.
Optionally, the apparatus further comprises:
a second sending module 306, configured to send distribution network success information to the second terminal device, where the distribution network success information is used to indicate that the first terminal device successfully accesses the network.
Optionally, the apparatus further comprises:
a stopping module 307, configured to stop sending a BLE broadcast of a specified service if the first terminal device matches the second terminal device;
the second sending module 306 is further configured to send matching information to the second terminal device, where the matching information is used to indicate that the first terminal device matches with the second terminal device.
Optionally, the apparatus further comprises:
a disconnecting module 308, configured to disconnect the BLE connection from the second terminal device if the first terminal device does not match the second terminal device.
The embodiment of the present application provides another distribution network device for an intelligent device, and fig. 4 is a schematic structural diagram of the distribution network device for the intelligent device provided in the embodiment of the present application, as shown in fig. 4, the device provided in this embodiment includes:
in a fourth aspect, an embodiment of the present application provides another network distribution device for an intelligent device, where the device includes:
a connection module 401, configured to establish a BLE connection with the first terminal device according to a BLE broadcast of the specified service sent by the first terminal device;
a first sending module 402, configured to send a key to the first terminal device, where the key is used to determine whether the first terminal device and the second terminal device are matched;
a second sending module 403, configured to send login information to the first terminal device if the first terminal device matches the second terminal device, where the login information is used to access a network.
Optionally, the apparatus further comprises:
a receiving module 404, configured to receive the successful distribution network information sent by the first terminal device, where the successful distribution network information is used to indicate that the first terminal device successfully accesses the network;
and a display module 405, configured to display a distribution network success interface.
Optionally, the second sending module 403 is specifically configured to receive matching information sent by the first terminal device, where the matching information is sent by the first terminal device to the second terminal device after the first terminal device is determined to match the second terminal device; and sending the login information to the first terminal equipment according to the matching information.
To sum up, in the distribution network device of the intelligent device provided in the embodiment of the present application, after the first terminal device establishes the BLE connection with the second terminal device, the first terminal device determines whether the first terminal device is matched with the second terminal device according to the secret key sent by the second device; and then, the first terminal equipment receives login information sent by the second terminal equipment after the second terminal equipment is matched with the first terminal equipment, and then accesses the network according to the login information to complete the distribution network. The first terminal equipment is distributed in a BLE mode, and based on the high-speed transmission characteristic of BLE, the distribution network success rate and the distribution network speed of the first terminal equipment can be improved.
The distribution network device of the intelligent device provided by this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Based on the same inventive concept, the embodiment of the application also provides the terminal equipment. Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 5, the terminal device according to the embodiment includes: a memory 51 and a processor 50, the memory 51 being for storing computer programs; the processor 50 is arranged to perform the method according to the above-described method embodiment when the computer program 52 is invoked.
The terminal device provided in this embodiment may execute the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method described in the above method embodiments.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/device and method may be implemented in other ways. For example, the above-described apparatus/device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A network distribution method of an intelligent device is applied to a first terminal device of a network distribution system, and the network distribution system comprises: the first terminal device and the second terminal device, the method comprising:
after the Bluetooth Low Energy (BLE) connection is established with the second terminal equipment, whether the first terminal equipment is matched with the second terminal equipment is determined according to a secret key sent by the second terminal equipment;
receiving login information sent by the second terminal device, wherein the login information is sent after the second terminal device is determined to be matched with the first terminal device;
and accessing the network according to the login information.
2. The method according to claim 1, wherein before said determining whether the first terminal device and the second terminal device are matched according to the key sent by the second terminal device, the method further comprises:
turning on the BLE function;
transmitting a service-specific BLE broadcast through the BLE function.
3. The method of claim 1, wherein after said accessing a network according to said login information, said method further comprises:
and sending successful distribution network information to the second terminal equipment, wherein the successful distribution network information is used for indicating that the first terminal equipment is successfully accessed into the network.
4. The method of any of claims 1 to 3, further comprising:
if the first terminal equipment is matched with the second terminal equipment, stopping sending BLE broadcast of the specified service;
and sending matching information to the second terminal equipment, wherein the matching information is used for indicating that the first terminal equipment is matched with the second terminal equipment.
5. The method of any of claims 1 to 3, further comprising:
and if the first terminal equipment is not matched with the second terminal equipment, disconnecting the BLE connection with the second terminal equipment.
6. A network distribution method of an intelligent device is applied to a second terminal device of a network distribution system, and the network distribution system comprises: a first terminal device and the second terminal device, the method comprising:
according to the BLE broadcast of the designated service sent by the first terminal equipment, establishing BLE connection with the first terminal equipment;
sending a key to the first terminal device, wherein the key is used for determining whether the first terminal device is matched with the second terminal device;
and if the first terminal equipment is matched with the second terminal equipment, sending login information to the first terminal equipment, wherein the login information is used for accessing a network.
7. The method of claim 6, wherein after said sending login information to said first terminal device, said method further comprises:
receiving distribution network success information sent by the first terminal device, wherein the distribution network success information is used for indicating that the first terminal device successfully accesses the network;
and displaying a distribution network success interface.
8. The method of claim 6, wherein sending login information to the first terminal device if the first terminal device matches the second terminal device comprises:
receiving matching information sent by the first terminal device, wherein the matching information is sent to the second terminal device after the first terminal device is determined to be matched with the second terminal device;
and sending the login information to the first terminal equipment according to the matching information.
9. A terminal device, comprising: a memory for storing a computer program and a processor; the processor is configured to perform the method of any of claims 1 to 5, or the method of any of claims 6 to 8, when the computer program is invoked.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 5, or carries out the method of any one of claims 6 to 8.
CN202111678792.4A 2021-12-31 2021-12-31 Network distribution method of intelligent device, terminal device and computer readable storage medium Pending CN114339787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111678792.4A CN114339787A (en) 2021-12-31 2021-12-31 Network distribution method of intelligent device, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111678792.4A CN114339787A (en) 2021-12-31 2021-12-31 Network distribution method of intelligent device, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114339787A true CN114339787A (en) 2022-04-12

Family

ID=81022928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111678792.4A Pending CN114339787A (en) 2021-12-31 2021-12-31 Network distribution method of intelligent device, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114339787A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519760A (en) * 2019-07-24 2019-11-29 华为技术有限公司 Method for network access, device, equipment and storage medium
CN110545318A (en) * 2019-08-19 2019-12-06 钟代笛 data communication method and system for carrying out adaptation depending on GATT and indication
CN111866998A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Bluetooth network distribution method, equipment and storage medium
CN112165712A (en) * 2020-09-30 2021-01-01 青岛海尔科技有限公司 Method, device, system and storage medium for intelligent equipment to access wireless network
CN112566113A (en) * 2019-09-06 2021-03-26 阿里巴巴集团控股有限公司 Key generation and terminal network distribution method, device and equipment
CN113365271A (en) * 2021-04-22 2021-09-07 宁波奥克斯电气股份有限公司 Safe connection distribution network binding method and device of intelligent air conditioner and air conditioner
CN113630727A (en) * 2021-07-09 2021-11-09 珠海荣邦智能科技有限公司 Intelligent household network distribution method, device, system, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519760A (en) * 2019-07-24 2019-11-29 华为技术有限公司 Method for network access, device, equipment and storage medium
CN110545318A (en) * 2019-08-19 2019-12-06 钟代笛 data communication method and system for carrying out adaptation depending on GATT and indication
CN112566113A (en) * 2019-09-06 2021-03-26 阿里巴巴集团控股有限公司 Key generation and terminal network distribution method, device and equipment
CN111866998A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Bluetooth network distribution method, equipment and storage medium
CN112165712A (en) * 2020-09-30 2021-01-01 青岛海尔科技有限公司 Method, device, system and storage medium for intelligent equipment to access wireless network
CN113365271A (en) * 2021-04-22 2021-09-07 宁波奥克斯电气股份有限公司 Safe connection distribution network binding method and device of intelligent air conditioner and air conditioner
CN113630727A (en) * 2021-07-09 2021-11-09 珠海荣邦智能科技有限公司 Intelligent household network distribution method, device, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11310239B2 (en) Network connection method, hotspot terminal and management terminal
US10637668B2 (en) Authentication method, system and equipment
CN110266480B (en) Data transmission method, device and storage medium
CN107153961B (en) Payment method, payment server, transaction server and readable storage medium
EP2753108B1 (en) Wireless local area network authentication method and mobile terminal
CN112492580B (en) Information processing method and device, communication equipment and storage medium
KR20160003992A (en) METHOD AND APPARATUS FOR PROFILE DOWNLOAD FOR eUICC
CN107154935B (en) Service request method and device
CN113259301A (en) Account data sharing method and electronic equipment
CN112532629B (en) Data transmission method, device, equipment and medium
EP4290931A1 (en) Information processing methods, devices, and storage medium
CN115915492A (en) Communication method and system among distributed devices and related devices
CN111479263A (en) Communication connection method, terminal and computer storage medium
CN115686542A (en) Application installation method, device, equipment and storage medium
CN108174378B (en) Number identification method, device, terminal and storage medium
CN114339787A (en) Network distribution method of intelligent device, terminal device and computer readable storage medium
CN113596827B (en) Key generation method, device, electronic equipment and storage medium
CN113055254B (en) Address configuration method, device, access server and storage medium
CN113709849A (en) Network access method and device of equipment to be accessed to network, storage medium and electronic device
CN113677039A (en) Bluetooth-based equipment connection method and device, electronic equipment and storage medium
CN108769989B (en) Wireless network connection method, wireless access device and equipment
CN116684942B (en) Network access method, electronic equipment and storage medium
CN110740150B (en) Message interaction method and device
CN112929862B (en) Bluetooth Beacon protocol-based device connection method
CN114007214A (en) Client terminal equipment, network switching method thereof and server

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