CN111867003A - Equipment network distribution method, device, equipment and computer readable storage medium - Google Patents

Equipment network distribution method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111867003A
CN111867003A CN202010734774.2A CN202010734774A CN111867003A CN 111867003 A CN111867003 A CN 111867003A CN 202010734774 A CN202010734774 A CN 202010734774A CN 111867003 A CN111867003 A CN 111867003A
Authority
CN
China
Prior art keywords
equipment
networked
information
distributed
nfc
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
CN202010734774.2A
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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202010734774.2A priority Critical patent/CN111867003A/en
Publication of CN111867003A publication Critical patent/CN111867003A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

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

Abstract

The invention discloses a device network distribution method, a device and a computer readable storage medium, wherein the device network distribution method is applied to terminal equipment and comprises the following steps: if the NFC verification information stored by an NFC data module in the equipment to be networked is read, carrying out Bluetooth pairing with the equipment to be networked based on the NFC verification information, and establishing Bluetooth connection with the equipment to be networked; and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received. The method and the device increase the safety of connection between the equipment to be distributed and the terminal equipment, so that the distribution network information in the terminal equipment is not easy to steal, and the safety of the terminal equipment in the distribution process of the equipment to be distributed is improved.

Description

Equipment network distribution method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for configuring a network.
Background
At present, a lot of intelligent devices such as story machines and intelligent robots are not provided with external interface display devices and input devices, so that the network distribution of the devices is a relatively complicated matter.
In the existing network distribution process of equipment, a wireless access mode is started through one end of terminal equipment or equipment to be distributed, the other end of the terminal equipment is accessed through a fixed WiFi account and a WiFi password, connection between the terminal equipment and the equipment to be distributed is established, and then the terminal equipment is used for distributing a network for the equipment to be distributed. However, the fixed WiFi account and the WiFi password are used for establishing connection in the network distribution process of the equipment, and the fixed WiFi account and the WiFi password are easy to crack, so that the safety between the terminal equipment and the equipment to be distributed is low.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for equipment network distribution and a computer readable storage medium, and aims to solve the technical problem of low security between terminal equipment and equipment to be network distributed.
In order to achieve the above object, the present invention provides a device network distribution method, which is applied to a terminal device, and comprises the following steps:
if the NFC verification information stored by an NFC data module in the equipment to be networked is read, carrying out Bluetooth pairing with the equipment to be networked based on the NFC verification information, and establishing Bluetooth connection with the equipment to be networked;
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received.
Optionally, the NFC verification information is device information of the device to be connected with the network;
the step of carrying out Bluetooth pairing with the equipment to be networked and establishing Bluetooth connection with the equipment to be networked based on the NFC verification information comprises the following steps:
and carrying out Bluetooth pairing on the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked, wherein the equipment to be networked generates the NFC verification information based on the equipment information of the equipment to be networked, and writes the NFC verification information into the NFC data module.
Optionally, the device information of the device to be configured includes a hardware address of the device to be configured, a vendor ID of the device to be configured, a device model of the device to be configured, a device name of the device to be configured, or an account ID of a preset application program in the device to be configured, the device to be configured randomly selects one or more of the hardware address, the vendor ID, the device model, the device name, or the account ID to obtain random information, and generates the NFC verification information based on the random information.
Optionally, the WiFi distribution network information includes a target WiFi name and a target WiFi password;
the method comprises the following steps of transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the step of networking the equipment to be distributed based on the WiFi distribution network information comprises the following steps:
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the equipment to be distributed scans connectable equipment, determines target equipment in the connectable equipment based on the target WiFi name, and establishes wireless network connection with the target equipment based on the target WiFi password.
Optionally, the NFC verification information is device information of the device to be connected with the network;
if the NFC verification information stored by the NFC data module in the device to be networked is read, the step of carrying out Bluetooth pairing on the device to be networked and the device to be networked based on the NFC verification information and establishing Bluetooth connection with the device to be networked comprises the following steps of:
if the NFC verification information stored by the NFC data module in the equipment to be networked is read, scanning connectable Bluetooth equipment, and determining the equipment to be networked in the connectable Bluetooth equipment based on the equipment information of the equipment to be networked;
and carrying out Bluetooth pairing with the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked.
Optionally, the device information of the device to be configured includes a hardware address of the device to be configured, a vendor ID of the device to be configured, a device model of the device to be configured, a device name of the device to be configured, or an account ID of a preset application program in the device to be configured.
Optionally, the NFC data module includes an NFC data interaction module or an NFC tag.
In addition, to achieve the above object, the present invention further provides an apparatus network distribution device, including:
the pairing module is used for carrying out Bluetooth pairing on the to-be-networked equipment based on NFC verification information and establishing Bluetooth connection with the to-be-networked equipment if the NFC verification information stored by the NFC data module in the to-be-networked equipment is read;
and the networking module is used for transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received.
In addition, to achieve the above object, the present invention further provides a device network distribution device, where the device network distribution device includes: the device distribution method comprises a memory, a processor and a device distribution program stored on the memory and capable of running on the processor, wherein the device distribution program realizes the steps of the device distribution method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where a device distribution network program is stored, and when executed by a processor, the computer-readable storage medium implements the steps of the device distribution network method as described above.
According to the method, if NFC verification information stored by an NFC data module in the equipment to be networked is read, Bluetooth pairing is carried out on the equipment to be networked and the equipment to be networked based on the NFC verification information, and Bluetooth connection is established between the equipment to be networked and the equipment to be networked; and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received. In the embodiment, the terminal device reads the NFC verification information stored by the NFC data module in the device to be networked by approaching the device to be networked, and establishes Bluetooth connection with the device to be networked based on the NFC verification information, because the NFC verification information can be acquired only by approaching the device to be networked, and the device to be networked can be networked after the terminal device is connected with the device to be networked by verification based on the NFC verification information, the terminal device can be approached to the device to be networked by a user manually, and the device to be networked can be networked, so that other devices can not acquire and crack the NFC verification information indirectly, and the connection safety between the device to be networked and the terminal device is improved; because the safety of connection between the network equipment to be distributed and the terminal equipment is ensured, WiFi distribution network information in the terminal equipment is further difficult to steal, and the safety of the terminal equipment to the network distribution process of the network equipment to be distributed is improved.
Drawings
Fig. 1 is a schematic structural diagram of a device distribution network device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a network distribution method of the device of the present invention;
fig. 3 is a schematic structural diagram of a terminal device and a device to be networked in the device networking method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a device distribution network device in a hardware operating environment according to an embodiment of the present invention.
The equipment distribution network equipment of the embodiment of the invention can be a PC, and can also be a mobile terminal equipment with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compression standard Audio Layer 4) player, a portable computer and the like.
As shown in fig. 1, the device network distribution device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the device distribution network device may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that turns off the display screen and/or the backlight when the device distribution network device moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the device is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for identifying the attitude of equipment distribution network equipment, and vibration identification related functions (such as pedometer and tapping); of course, the equipment distribution network equipment may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein again.
Those skilled in the art will appreciate that the device-distribution network device configuration shown in fig. 1 does not constitute a limitation of device-distribution network devices, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, a user interface module, and a device distribution network program therein.
In the device distribution network device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and processor 1001 may be used to invoke the device distribution network program stored in memory 1005.
In this embodiment, the device network distribution device includes: the system comprises a memory 1005, a processor 1001 and a device distribution network program which is stored in the memory 1005 and can run on the processor 1001, wherein when the processor 1001 calls the device distribution network program stored in the memory 1005, the following operations are executed:
if the NFC verification information stored by an NFC data module in the equipment to be networked is read, carrying out Bluetooth pairing with the equipment to be networked based on the NFC verification information, and establishing Bluetooth connection with the equipment to be networked;
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
and carrying out Bluetooth pairing on the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked, wherein the equipment to be networked generates the NFC verification information based on the equipment information of the equipment to be networked, and writes the NFC verification information into the NFC data module.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the equipment to be distributed scans connectable equipment, determines target equipment in the connectable equipment based on the target WiFi name, and establishes wireless network connection with the target equipment based on the target WiFi password.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
if the NFC verification information stored by the NFC data module in the equipment to be networked is read, scanning connectable Bluetooth equipment, and determining the equipment to be networked in the connectable Bluetooth equipment based on the equipment information of the equipment to be networked;
and carrying out Bluetooth pairing with the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked.
The invention also provides a device network distribution method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the device network distribution method of the invention.
In this embodiment, the device network distribution method is applied to a terminal device, and includes the following steps:
step S10, if NFC verification information stored by an NFC data module in the equipment to be networked is read, carrying out Bluetooth pairing with the equipment to be networked based on the NFC verification information, and establishing Bluetooth connection with the equipment to be networked;
in an embodiment, the equipment network distribution method provided by the invention is applied to equipment to be distributed and terminal equipment, wherein the equipment to be distributed is an intelligent terminal which is not networked, and the equipment to be distributed can comprise electronic equipment such as an intelligent sound box, an intelligent television, an air conditioner, a robot, an unmanned aerial vehicle and the like; the terminal equipment is used for distributing a network for the equipment to be distributed, and the terminal equipment can comprise electronic equipment such as a smart phone, a tablet, a notebook computer and a portable computer. As shown in fig. 3, the device to be networked includes a processor, a bluetooth module, a WiFi module, an NFC write-in module, and an NFC data module, where the WiFi module, the NFC write-in module, and the bluetooth module of the device to be networked are respectively electrically connected to the processor, the NFC write-in module of the device to be networked is electrically connected to the NFC data module, and the NFC data module of the device to be networked includes an NFC data interaction module and an NFC tag. The terminal equipment comprises a processor, an NFC reading module and a Bluetooth module, wherein the NFC reading module and the Bluetooth module of the terminal equipment are respectively and electrically connected with the processor, and the NFC reading module in the terminal equipment is used for reading NFC data.
When the distance between the terminal device and the device with the NFC function is within the range of the NFC communication distance, the NFC detection module of the terminal device can detect that the NFC data exchange device currently exists, namely the distance between the terminal device and the device to be networked is within the range of the NFC communication distance, and when the terminal device detects that the device to be networked for data exchange exists, the NFC verification information in the NFC data module of the device to be networked is read through the NFC reading module of the terminal device. The NFC verification information is NFC verification data provided by the equipment to be networked to the terminal equipment, the verification data generated by the equipment to be networked, and the NFC verification information is equipment information of the equipment to be networked.
After the terminal device reads data content in an NFC data module in the device to be networked and obtains NFC verification information of the device to be networked, the NFC data module of the terminal device transmits the NFC verification information to a Bluetooth module of the terminal device through a processor, the Bluetooth module of the terminal device performs Bluetooth pairing with the device to be networked based on the NFC verification information and establishes Bluetooth connection with the device to be networked, and the NFC verification information is device information of the device to be networked.
Further, the device to be networked randomly selects preset text content, character strings, numbers, symbols and the like to obtain random information based on a preset time period, generates NFC verification information according to a preset combination mode or randomly combines the selected random information, and writes the NFC verification information into an NFC data module through an NFC writing module to be identified and read by other devices. Therefore, the equipment to be networked periodically generates the changed NFC verification information so that the terminal equipment can acquire the changed NFC verification information and is connected with the equipment to be networked based on the NFC verification information, and the NFC verification information generated by the equipment to be networked changes along with time, so that the risk of stealing the verification information is reduced, the safety of connection between the equipment to be networked and the terminal equipment can be improved, WiFi distribution network information in the terminal equipment is not easy to steal, and the safety of the terminal equipment to the distribution network process of the equipment to be networked is improved.
Specifically, the device to be networked randomly selects text content with a first preset digit, digits with a second preset digit and symbols with a third preset digit from preset text content, digits and symbols to obtain random information, randomly combines the random information to generate NFC verification information, and writes the NFC verification information into the NFC data module by the device to be networked. The text content may include english, chinese, or other languages, etc.
Step S20, WiFi distribution network information is transmitted to the equipment to be distributed on the basis of the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the equipment to be distributed is networked on the basis of the WiFi distribution network information.
In an embodiment, after the terminal device and the device to be networked are successfully paired and a bluetooth communication connection is established, the terminal device sends WiFi network distribution information to the device to be networked. The network distribution equipment to be distributed receives WiFi distribution network information sent by the terminal equipment, so that wireless network connection is established with the target equipment based on the WiFi distribution network information, and the target equipment is accessed to a wireless network where the target equipment is located to share data or use network flow. The WiFi distribution network information includes a target WiFi name and a target WiFi password for connecting the target device, and the target device may be a network node device such as a router.
Further, in one embodiment, step S20 includes:
s201, WiFi distribution network information is transmitted to the equipment to be distributed on the basis of the Bluetooth connection, when the WiFi distribution network information sent by the terminal equipment is received, the equipment to be distributed scans connectable equipment, target equipment is determined in the connectable equipment on the basis of the target WiFi name, and wireless network connection is established with the target equipment on the basis of the target WiFi password.
In an embodiment, a device to be configured receives WiFi distribution network information sent by a terminal device, and scans surrounding connectable devices after receiving the distribution network information, where the WiFi distribution network information includes a target WiFi name and a target WiFi password. Acquiring a connectable device set by scanning surrounding connectable devices; determining target equipment matched with the target WiFi name in the connectable equipment set based on the target WiFi name in the WiFi distribution network information; after the target equipment is determined, the equipment to be networked establishes wireless network connection with the target equipment through the target WiFi name and the target WiFi password, so that the equipment to be networked is accessed into a wireless network where the target equipment is located to share data or use network flow.
According to the device network distribution method provided by the embodiment, if the NFC verification information stored by the NFC data module in the device to be networked is read, the device to be networked is subjected to Bluetooth pairing with the device to be networked based on the NFC verification information, and Bluetooth connection is established between the device to be networked and the device to be networked; and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received. In the embodiment, the terminal device reads the NFC verification information stored by the NFC data module in the device to be networked by approaching the device to be networked, and establishes Bluetooth connection with the device to be networked based on the NFC verification information, because the NFC verification information can be acquired only by approaching the device to be networked, and the device to be networked can be networked after the terminal device is connected with the device to be networked by verification based on the NFC verification information, the terminal device can be approached to the device to be networked by a user manually, and the device to be networked can be networked, so that other devices can not acquire and crack the NFC verification information indirectly, and the connection safety between the device to be networked and the terminal device is improved; because the safety of connection between the network equipment to be distributed and the terminal equipment is ensured, WiFi distribution network information in the terminal equipment is further difficult to steal, and the safety of the terminal equipment to the network distribution process of the network equipment to be distributed is improved.
Based on the first embodiment, a second embodiment of the device network distribution method of the present invention is provided, in this embodiment, step S10 includes:
step S101, carrying out Bluetooth pairing on the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked, wherein the equipment to be networked generates the NFC verification information based on the equipment information of the equipment to be networked, and writes the NFC verification information into the NFC data module.
Before the terminal device reads the NFC verification information of the device to be networked, the device to be networked writes the NFC verification information into the data module in advance, and the specific process is as follows: the method comprises the steps that equipment to be distributed acquires equipment information of the equipment to be distributed, and NFC verification information is generated based on the equipment information of the equipment to be distributed; and then writing the NFC verification information into the NFC data module, and setting the NFC verification information as Bluetooth pairing information of the equipment to be distributed. The device information of the device to be networked comprises a hardware address of the device to be networked, a manufacturer ID of the device to be networked, a device model of the device to be networked, a device name of the device to be networked or an account ID of a preset application program in the device to be networked, and the NFC data module comprises an NFC data interaction module and an NFC label. It is understood that the other device may establish a bluetooth connection with the device to be networked based on the bluetooth pairing information of the device to be networked. Specifically, the device to be networked selects one or more of a hardware address of the device to be networked, a manufacturer ID of the device to be networked, a device model of the device to be networked, a device name of the device to be networked, and an account ID of a preset application program in the device to be networked at random to obtain random information based on a custom algorithm, and generates the NFC verification information according to a preset combination manner or random combination of the selected random information. Further, randomly selecting any equipment information (random information), acquiring a special character string, and adding the special character string before the random information to obtain NFC verification information; or randomly selecting any two pieces of equipment information (random information), and combining the two pieces of equipment information in the random information to obtain the NFC verification information.
Further, the device to be networked generates, based on a preset time period, NFC verification information for verification connection with the terminal device from a hardware address of the device to be networked, a manufacturer ID of the device to be networked, a device model of the device to be networked, a device name of the device to be networked, or an account ID of a preset application program in the device to be networked, and writes the NFC verification information into the NFC data module. Therefore, the equipment to be networked periodically generates the changed NFC verification information so that the terminal equipment can acquire the changed NFC verification information and is connected with the equipment to be networked based on the NFC verification information, and the NFC verification information connected with the equipment to be networked changes along with time, so that the risk of stealing the NFC verification information is reduced, the safety of Bluetooth connection between the equipment to be networked and the terminal equipment is improved, the distribution network information is not easy to steal, and the safety of the terminal equipment to the distribution network process of the equipment to be networked is improved.
Further, in one embodiment, step S10 includes:
step S102, if NFC verification information stored by an NFC data module in equipment to be networked is read, scanning connectable Bluetooth equipment, and determining the equipment to be networked in the connectable Bluetooth equipment based on equipment information of the equipment to be networked;
and S103, carrying out Bluetooth pairing with the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked.
In an embodiment, the NFC authentication information is device information of a device to be networked. After the terminal device reads the NFC verification information of the network module to be distributed, scanning surrounding connectable Bluetooth devices to obtain a connectable Bluetooth device set; the terminal equipment determines target Bluetooth equipment matched with the equipment information of the equipment to be networked in the connectable equipment set based on the equipment information of the equipment to be networked, wherein the target Bluetooth equipment is the equipment to be networked; after the network equipment to be distributed is determined, the terminal equipment performs Bluetooth pairing with the network equipment information to be distributed through the equipment information of the network equipment to be distributed, and establishes Bluetooth connection with the network equipment to be distributed.
The device information of the device to be networked includes a hardware address of the device to be networked, a manufacturer ID of the device to be networked, a device model of the device to be networked, a device name of the device to be networked, or an account ID of a preset application program in the device to be networked.
In addition, an apparatus network distribution device is further provided in an embodiment of the present invention, where the apparatus network distribution device includes:
the pairing module is used for carrying out Bluetooth pairing on the to-be-networked equipment based on NFC verification information and establishing Bluetooth connection with the to-be-networked equipment if the NFC verification information stored by the NFC data module in the to-be-networked equipment is read;
and the networking module is used for transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received.
Further, the pairing module is further configured to:
and carrying out Bluetooth pairing on the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked, wherein the equipment to be networked generates the NFC verification information based on the equipment information of the equipment to be networked, and writes the NFC verification information into the NFC data module.
Further, the device information of the device to be configured includes a hardware address of the device to be configured, a vendor ID of the device to be configured, a device model of the device to be configured, a device name of the device to be configured, or an account ID of a preset application program in the device to be configured, the device to be configured randomly selects one or more of the hardware address, the vendor ID, the device model, the device name, or the account ID to obtain random information, and generates the NFC verification information based on the random information.
Further, the networking module is further configured to:
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the equipment to be distributed scans connectable equipment, determines target equipment in the connectable equipment based on the target WiFi name, and establishes wireless network connection with the target equipment based on the target WiFi password.
Further, the pairing module is further configured to:
if the NFC verification information stored by the NFC data module in the equipment to be networked is read, scanning connectable Bluetooth equipment, and determining the equipment to be networked in the connectable Bluetooth equipment based on the equipment information of the equipment to be networked;
and carrying out Bluetooth pairing with the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an apparatus distribution network program is stored on the computer-readable storage medium, and when executed by a processor, the apparatus distribution network program implements the steps of the apparatus distribution network method according to any one of the above.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the device distribution network method described above, and details are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for distributing a network for equipment is applied to terminal equipment and comprises the following steps:
if the NFC verification information stored by an NFC data module in the equipment to be networked is read, carrying out Bluetooth pairing with the equipment to be networked based on the NFC verification information, and establishing Bluetooth connection with the equipment to be networked;
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received.
2. The device network distribution method according to claim 1, wherein the NFC authentication information is device information of the device to be distributed;
the step of carrying out Bluetooth pairing with the equipment to be networked and establishing Bluetooth connection with the equipment to be networked based on the NFC verification information comprises the following steps:
and carrying out Bluetooth pairing on the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked, wherein the equipment to be networked generates the NFC verification information based on the equipment information of the equipment to be networked, and writes the NFC verification information into the NFC data module.
3. The device network distribution method according to claim 2, wherein the device information of the device to be distributed includes a hardware address of the device to be distributed, a vendor ID of the device to be distributed, a device model of the device to be distributed, a device name of the device to be distributed, or an account ID of a preset application program in the device to be distributed, the device to be distributed randomly selects one or more of the hardware address, the vendor ID, the device model, the device name, or the account ID to obtain random information, and the NFC verification information is generated based on the random information.
4. The device network distribution method of claim 1, wherein the WiFi network distribution information comprises a target WiFi name and a target WiFi password;
the method comprises the following steps of transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the step of networking the equipment to be distributed based on the WiFi distribution network information comprises the following steps:
and transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein when the WiFi distribution network information sent by the terminal equipment is received, the equipment to be distributed scans connectable equipment, determines target equipment in the connectable equipment based on the target WiFi name, and establishes wireless network connection with the target equipment based on the target WiFi password.
5. The device network distribution method according to claim 1, wherein the NFC authentication information is device information of the device to be distributed;
if the NFC verification information stored by the NFC data module in the device to be networked is read, the step of carrying out Bluetooth pairing on the device to be networked and the device to be networked based on the NFC verification information and establishing Bluetooth connection with the device to be networked comprises the following steps of:
if the NFC verification information stored by the NFC data module in the equipment to be networked is read, scanning connectable Bluetooth equipment, and determining the equipment to be networked in the connectable Bluetooth equipment based on the equipment information of the equipment to be networked;
and carrying out Bluetooth pairing with the equipment to be networked based on the equipment information of the equipment to be networked, and establishing Bluetooth connection with the equipment to be networked.
6. The device network distribution method according to claim 5, wherein the device information of the device to be distributed includes a hardware address of the device to be distributed, a vendor ID of the device to be distributed, a device model of the device to be distributed, a device name of the device to be distributed, or an account ID of a preset application program in the device to be distributed.
7. The device network distribution method of any one of claims 1 to 6, wherein the NFC data module comprises an NFC data interaction module or an NFC tag.
8. An equipment distribution network apparatus, the equipment distribution network apparatus comprising:
the pairing module is used for carrying out Bluetooth pairing on the to-be-networked equipment based on NFC verification information and establishing Bluetooth connection with the to-be-networked equipment if the NFC verification information stored by the NFC data module in the to-be-networked equipment is read;
and the networking module is used for transmitting WiFi distribution network information to the equipment to be distributed based on the Bluetooth connection, wherein the equipment to be distributed is networked based on the WiFi distribution network information when the WiFi distribution network information sent by the terminal equipment is received.
9. An equipment distribution network device, the equipment distribution network device comprising: memory, a processor and a device distribution program stored on the memory and executable on the processor, the device distribution program when executed by the processor implementing the steps of the device distribution network method of any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a device distribution network program which, when executed by a processor, implements the steps of the device distribution network method of any of claims 1 to 7.
CN202010734774.2A 2020-07-24 2020-07-24 Equipment network distribution method, device, equipment and computer readable storage medium Pending CN111867003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010734774.2A CN111867003A (en) 2020-07-24 2020-07-24 Equipment network distribution method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010734774.2A CN111867003A (en) 2020-07-24 2020-07-24 Equipment network distribution method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111867003A true CN111867003A (en) 2020-10-30

Family

ID=72947590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010734774.2A Pending CN111867003A (en) 2020-07-24 2020-07-24 Equipment network distribution method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111867003A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055867A (en) * 2021-03-08 2021-06-29 Oppo广东移动通信有限公司 Method and device for auxiliary network distribution of terminal and electronic equipment
CN114698064A (en) * 2020-12-25 2022-07-01 深圳Tcl新技术有限公司 Bluetooth network distribution method, device, system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967997A (en) * 2015-05-28 2015-10-07 广东欧珀移动通信有限公司 Wireless network accessing method, Wi-Fi equipment, terminal equipment and system
CN107317606A (en) * 2017-07-03 2017-11-03 飞天诚信科技股份有限公司 A kind of method and apparatus of bluetooth anti-tracking
CN107864471A (en) * 2017-02-10 2018-03-30 问众智能信息科技(北京)有限公司 A kind of intelligent back vision mirror that bluetooth connection is carried out based on NFC and attaching method thereof
WO2018082482A1 (en) * 2016-11-01 2018-05-11 惠州Tcl移动通信有限公司 Network sharing method, and method and system for accessing network
CN109005541A (en) * 2018-07-20 2018-12-14 北京海泰方圆科技股份有限公司 Bluetooth connecting method, device and system
CN110972233A (en) * 2019-10-22 2020-04-07 珠海格力电器股份有限公司 Distribution network state display method and device for intelligent equipment
CN111148095A (en) * 2020-01-03 2020-05-12 华为技术有限公司 Method for establishing Wi-Fi connection between terminal and wireless access point
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967997A (en) * 2015-05-28 2015-10-07 广东欧珀移动通信有限公司 Wireless network accessing method, Wi-Fi equipment, terminal equipment and system
WO2018082482A1 (en) * 2016-11-01 2018-05-11 惠州Tcl移动通信有限公司 Network sharing method, and method and system for accessing network
CN107864471A (en) * 2017-02-10 2018-03-30 问众智能信息科技(北京)有限公司 A kind of intelligent back vision mirror that bluetooth connection is carried out based on NFC and attaching method thereof
CN107317606A (en) * 2017-07-03 2017-11-03 飞天诚信科技股份有限公司 A kind of method and apparatus of bluetooth anti-tracking
CN109005541A (en) * 2018-07-20 2018-12-14 北京海泰方圆科技股份有限公司 Bluetooth connecting method, device and system
CN110972233A (en) * 2019-10-22 2020-04-07 珠海格力电器股份有限公司 Distribution network state display method and device for intelligent equipment
CN111148095A (en) * 2020-01-03 2020-05-12 华为技术有限公司 Method for establishing Wi-Fi connection between terminal and wireless access point
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114698064A (en) * 2020-12-25 2022-07-01 深圳Tcl新技术有限公司 Bluetooth network distribution method, device, system and storage medium
CN113055867A (en) * 2021-03-08 2021-06-29 Oppo广东移动通信有限公司 Method and device for auxiliary network distribution of terminal and electronic equipment

Similar Documents

Publication Publication Date Title
US10866914B2 (en) Method and apparatus for controlling operations of electronic device
CN111867000A (en) Equipment network distribution method and device and computer readable storage medium
CN111935802A (en) Equipment network distribution method and device and computer readable storage medium
KR102270129B1 (en) Wireless control method, control apparatus and server thereof
KR102400580B1 (en) Electronic device for performing an authentication of another electronic device and method of operating the same
CN108288154B (en) Starting method and device of payment application program and mobile terminal
US11395132B2 (en) Method for transferring subscription and electronic device for supporting the same
KR102173242B1 (en) Local wireless data communication system, method and apparatus for automactic setup of imformation
CN108551521B (en) Login information prompting method and mobile terminal
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN108170723B (en) Webpage resource acquisition method, terminal equipment, server and system
US11250656B2 (en) Electronic apparatus and operating method thereof
CN109215640B (en) Speech recognition method, intelligent terminal and computer readable storage medium
CN111277807A (en) Projection implementation method, wearable device, display device and storage medium
CN111867003A (en) Equipment network distribution method, device, equipment and computer readable storage medium
CN110855534B (en) Method and apparatus for searching and controlling controllee in smart home system
CN111818499B (en) Quick pairing method, device, equipment and computer readable storage medium
US20150142937A1 (en) Method and system for remote equipment data installation
KR20150104697A (en) Method and apparatus for grouping of personal electronic device using qr code and system therefor
US20200296193A1 (en) Electronic device for providing different services according to external device
CN111954164B (en) Equipment network distribution method and device and computer readable storage medium
KR20200079081A (en) Method for sharing content and electronic device thereof
CN113590248A (en) Screen projection method and device of vehicle-mounted terminal and readable storage medium
CN108052416B (en) Method and terminal for acquiring historical installation record information of application program
KR20210122541A (en) Method of providing data and electronic device supporting same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030