CN111954164B - Equipment network distribution method and device and computer readable storage medium - Google Patents

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

Info

Publication number
CN111954164B
CN111954164B CN202010728537.5A CN202010728537A CN111954164B CN 111954164 B CN111954164 B CN 111954164B CN 202010728537 A CN202010728537 A CN 202010728537A CN 111954164 B CN111954164 B CN 111954164B
Authority
CN
China
Prior art keywords
information
equipment
broadcast data
nfc
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010728537.5A
Other languages
Chinese (zh)
Other versions
CN111954164A (en
Inventor
叶新民
陈土福
曹黎
肖水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010728537.5A priority Critical patent/CN111954164B/en
Priority to PCT/CN2020/113027 priority patent/WO2022016670A1/en
Publication of CN111954164A publication Critical patent/CN111954164A/en
Application granted granted Critical
Publication of CN111954164B publication Critical patent/CN111954164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (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 a device to be distributed with a network, and comprises the following steps: receiving broadcast data broadcasted by first terminal equipment; and if the NFC verification information stored by the NFC data module in the second terminal equipment is read, performing networking operation based on the NFC verification information and the broadcast data. According to the method and the device, the NFC verification process between the device to be networked and the terminal device is added, so that the device to be networked performs NFC verification on the received broadcast data of the terminal device, and the device to be networked close to the terminal device can only be distributed, so that the technical problem that devices of the same type of other users are easily distributed when the network is distributed to the surrounding device to be networked in a broadcast mode is solved, and the terminal device is prevented from distributing the network to the devices to be networked of other users.

Description

Equipment network distribution method and device and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring a network for a device, and a computer-readable storage medium.
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.
The existing equipment network distribution process distributes a network to surrounding equipment to be distributed in a broadcasting mode through terminal equipment, namely the terminal equipment sends network distribution information of the network to be distributed to the equipment to be distributed in a broadcasting mode, and the equipment to be distributed receives the network distribution information broadcasted by the terminal equipment for networking, so that the terminal equipment can distribute the network to the equipment to be distributed. However, in the process of distributing the network to the device to be distributed by broadcasting the distribution network information, the devices of the same type of other users are easily distributed, so that the use experience of the users is reduced.
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 and a device for equipment distribution and a computer readable storage medium, and aims to solve the technical problem that the distribution of surrounding equipment to be distributed is easy to cause the distribution of the same type of equipment of other users in a broadcasting mode.
In order to achieve the above object, the present invention provides an apparatus network distribution method, which is applied to an apparatus to be distributed, and the apparatus network distribution method includes the following steps:
receiving broadcast data broadcasted by first terminal equipment;
and if the NFC verification information stored by the NFC data module in the second terminal equipment is read, performing networking operation based on the NFC verification information and the broadcast data.
Optionally, the broadcast data includes first device information of the first terminal device and WiFi distribution network information, and the step of performing networking operation based on the NFC verification information and the broadcast data includes:
verifying the first device information based on the NFC verification information;
and when the first equipment information passes the verification, performing networking operation based on the WiFi distribution network information.
Optionally, the NFC authentication information is second device information of the second terminal device, and the step of authenticating the first device information based on the NFC authentication information includes:
and determining that the second device information is matched with the first device information, wherein when the second device information is matched with the first device information, the first device information is judged to be verified.
Optionally, the first device information includes a MAC address of the first terminal device, the second device information includes a MAC address of the second terminal device, and the step of verifying the first device information based on the NFC verification information includes:
and determining that the MAC address of the second terminal device is matched with the MAC address of the first terminal device, wherein when the MAC address of the second terminal device is matched with the MAC address of the first terminal device, the first device information is judged to be verified.
Optionally, the WiFi distribution network information includes a target WiFi name and a target WiFi password corresponding to the target WiFi name, and the step of performing the networking operation based on the WiFi distribution network information includes:
scanning connectable devices and determining a target device among the connectable devices based on the target WiFi name;
and establishing wireless network connection with the target equipment based on the target WiFi password.
Optionally, the first terminal device includes a plurality of first terminal devices, and the step of receiving broadcast data broadcast by the first terminal devices includes:
receiving a broadcast data set broadcast by a plurality of first terminal devices;
the step of performing networking operations based on the NFC authentication information and the broadcast data comprises:
determining target broadcast data in the set of broadcast data based on the NFC authentication information;
and determining WiFi distribution network information in the target broadcast data based on the target broadcast data so as to perform networking operation based on the WiFi distribution network information.
Optionally, the broadcast data includes bluetooth broadcast data or WiFi broadcast data, and the NFC data module of the second terminal device includes an NFC data interaction module or an NFC tag.
Optionally, the second terminal device generates the NFC verification information based on second device information of the second terminal device, and writes the NFC verification information into the NFC data module.
In addition, to achieve the above object, the present invention further provides an apparatus network distribution device, including: 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.
The invention receives the broadcast data broadcasted by the first terminal device; and if the NFC verification information stored by the NFC data module in the second terminal equipment is read, performing networking operation based on the NFC verification information and the broadcast data. In this embodiment, when a second terminal device approaches a device to be distributed, an NFC reading module of the device to be distributed reads NFC verification information of the second terminal device, the device to be distributed verifies previously received broadcast data of a first terminal device through the NFC verification information, when the broadcast data of the first terminal device passes verification, a distribution network is performed based on the broadcast data sent by the first terminal device, and at this time, the first terminal device is the second terminal device which is to be distributed and is currently approaching the device to be distributed. According to the method and the device, the NFC verification process between the device to be networked and the terminal device is added, so that the device to be networked verifies the received broadcast data of the terminal device, the terminal device is prevented from carrying out network distribution on the device to be networked of other users, and only the device to be networked close to the terminal device can be carried out network distribution, so that the technical problem that the devices of the same type of other users are easily distributed when the network is distributed to the surrounding device to be networked in a broadcasting mode is solved. Furthermore, the network distribution method and the network distribution system have the advantages that the terminal equipment can be close to the equipment to be distributed to carry out network distribution on the equipment to be distributed, so that a user does not need to carry out clicking operation on the network distribution interface of the preset APP to carry out network distribution on the equipment to be distributed, the network distribution process is simplified, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic structural diagram of an equipment 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 according to the device network distribution 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 apparatus in a hardware operating environment according to an embodiment of the present invention.
The equipment distribution network device 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 apparatus 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 apparatus 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 equipment distribution network apparatus 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 of identifying the posture of a distribution network device of equipment (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer and tapping) and the like; of course, the equipment distribution network device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the configuration of the equipment distribution network apparatus shown in fig. 1 does not constitute a limitation of the equipment distribution network apparatus 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 network distribution apparatus 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 apparatus 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:
receiving broadcast data broadcasted by first terminal equipment;
and if the NFC verification information stored by the NFC data module in the second terminal equipment is read, performing networking operation based on the NFC verification information and the broadcast data.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
verifying the first device information based on the NFC verification information;
and when the first equipment information passes the verification, performing networking operation based on the WiFi distribution network information.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
and determining that the second device information is matched with the first device information, wherein when the second device information is matched with the first device information, the first device information is judged to be verified.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
and determining that the MAC address of the second terminal device is matched with the MAC address of the first terminal device, wherein when the MAC address of the second terminal device is matched with the MAC address of the first terminal device, the first device information is judged to be verified.
Further, the processor 1001 may call the device distribution network program stored in the memory 1005, and further perform the following operations:
scanning connectable devices and determining a target device among the connectable devices based on the target WiFi name;
and establishing 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:
receiving a broadcast data set broadcast by a plurality of first terminal devices;
the step of performing networking operations based on the NFC authentication information and the broadcast data comprises:
determining target broadcast data in the set of broadcast data based on the NFC authentication information;
and determining WiFi distribution network information in the target broadcast data based on the target broadcast data so as to perform networking operation based on the WiFi distribution network information.
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 includes the following steps:
step S10, receiving broadcast data broadcast by the first terminal device;
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 be 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 be 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, an NFC reading module, and a WiFi module, where the NFC reading module and the WiFi module of the device to be networked are respectively electrically connected to the processor, and the NFC reading module in the terminal device is configured to read NFC data. The terminal equipment comprises an NFC writing module and an NFC data module, the NFC writing module of the terminal equipment is electrically connected with the NFC data module, and the NFC data module of the equipment to be networked comprises an NFC data interaction module and an NFC label. Further, the terminal device may further include a data broadcasting module, where the data broadcasting module is configured to broadcast bluetooth broadcast data or WiFi broadcast data, and the data broadcasting module includes a bluetooth module and/or a WiFi module, the bluetooth module is configured to broadcast the bluetooth broadcast data, and the WiFi module is configured to broadcast the WiFi broadcast data.
The first terminal device broadcasts broadcast data outwards at a preset working frequency, wherein the broadcast data comprises Bluetooth broadcast data or WiFi broadcast data. When the Bluetooth module of the equipment to be distributed is started to be in a Bluetooth working mode or the WiFi module is started to be in a WiFi working mode, the equipment to be distributed receives broadcast data broadcasted by the first terminal equipment. It should be noted that the first terminal device may include multiple terminal devices, and if there are multiple broadcast data broadcasted by the first terminal devices, the device to be networked receives the broadcast data transmitted by the multiple first terminal devices.
Further, the broadcast data includes bluetooth broadcast data or WiFi broadcast data, and the NFC data module of the second terminal device includes an NFC data interaction module or an NFC tag.
Step S20, if the NFC authentication information stored in the NFC data module in the second terminal device is read, perform networking operation based on the NFC authentication information and the broadcast data.
When the distance between the device to be networked and the device with the NFC function is within the range of the NFC communication distance, the device to be networked can detect that the device with NFC data exchange currently exists. When the distance between the device to be networked and the second terminal device is within the range of the NFC communication distance, the device to be networked detects that the second terminal device available for data exchange exists, and the NFC verification information in the NFC data module of the second terminal device is read through the NFC reading module of the device to be networked. Therefore, when the second terminal device approaches the device to be networked, the device to be networked can read the NFC verification information of the second terminal device, so that the device to be networked can be verified with the second terminal device. The NFC verification information is verification information used for mutual verification between the network device to be distributed and the second terminal device, and the verification information that can change over time and is generated by the second terminal device may be a character string matched with the first device information of the first terminal device or second device information of the second terminal device.
After the network distribution equipment reads the NFC verification information of the second terminal equipment, the broadcast data of the first terminal equipment is verified through a preset equipment verification rule based on the NFC verification information. And if the broadcast data of the first terminal equipment passes the verification, performing networking operation based on the broadcast data. Specifically, the device to be networked analyzes the broadcast data, extracts WiFi distribution network information in the broadcast data, and finally performs networking operation based on the WiFi distribution network information, wherein the WiFi distribution network information includes a target WiFi name and a target WiFi password of the target device.
It should be noted that the first terminal device may include multiple terminal devices, and if there are multiple broadcast data broadcasted by the first terminal devices, the device to be networked receives the broadcast data transmitted by the multiple first terminal devices; after the to-be-configured network equipment reads the NFC verification information of the second terminal equipment, the received broadcast data corresponding to each first terminal equipment is sequentially verified through a preset equipment verification rule so as to verify the plurality of first terminal equipment, and target broadcast data are screened out from the broadcast data sets of the plurality of first terminal equipment.
In the device network distribution method provided by this embodiment, broadcast data broadcast by a first terminal device is received; and if the NFC verification information stored by the NFC data module in the second terminal equipment is read, performing networking operation based on the NFC verification information and the broadcast data. In this embodiment, when a second terminal device approaches a device to be distributed, an NFC reading module of the device to be distributed reads NFC verification information of the second terminal device, the device to be distributed verifies previously received broadcast data of a first terminal device through the NFC verification information, when the broadcast data of the first terminal device passes verification, a distribution network is performed based on the broadcast data sent by the first terminal device, and at this time, the first terminal device is the second terminal device which is to be distributed and is currently approaching the device to be distributed. According to the method and the device, the NFC verification process between the device to be networked and the terminal device is added, so that the device to be networked verifies the received broadcast data of the terminal device, the terminal device is prevented from carrying out network distribution on the device to be networked of other users, and only the device to be networked close to the terminal device can be carried out network distribution, so that the technical problem that the devices of the same type of other users are easily distributed when the network is distributed to the surrounding device to be networked in a broadcasting mode is solved. Furthermore, the network distribution method and the network distribution system have the advantages that the terminal equipment can be close to the equipment to be distributed to carry out network distribution on the equipment to be distributed, so that a user does not need to carry out clicking operation on the network distribution interface of the preset APP to carry out network distribution on the equipment to be distributed, the network distribution process is simplified, and the use experience of the user 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 S20 includes:
step S201, verifying the first device information based on the NFC verification information;
step S202, when the first equipment information passes verification, networking operation is carried out based on the WiFi distribution network information.
The broadcast data comprises first equipment information of the first terminal equipment and WiFi distribution network information.
After the network to be distributed device reads the NFC verification information of the second terminal device, extracting first device information in the broadcast data of the first terminal device. And verifying the first equipment information of the first terminal equipment through a preset equipment verification rule based on the NFC verification information. If the first device information of the first terminal device passes verification, the device to be networked analyzes the broadcast data, extracts WiFi distribution network information in the broadcast data, and finally performs networking operation based on the WiFi distribution network information, wherein the WiFi distribution network information comprises a target WiFi name and a target WiFi password of the target device.
It should be noted that the first terminal device may include multiple terminal devices, and if there are multiple broadcast data broadcasted by the first terminal devices, the device to be networked receives the broadcast data transmitted by the multiple first terminal devices; after the device to be networked reads the NFC verification information of the second terminal device, sequentially verifying the received first device information corresponding to each first terminal device through a preset device verification rule so as to verify a plurality of first terminal devices; and screening target broadcast data matched with the first equipment information from the broadcast data sets of the plurality of first terminal equipment.
Further, in an embodiment, the NFC authentication information is second device information of the second terminal device, and the step of authenticating the first device information based on the NFC authentication information includes:
step S2011, determining that the second device information matches the first device information, where when the second device information matches the first device information, it is determined that the first device information is verified.
The NFC authentication information is second device information of the second terminal device. After the network to be distributed device reads the NFC verification information of the second terminal device, extracting first device information in the broadcast data of the first terminal device. And verifying the first equipment information of the first terminal equipment based on the second equipment information of the second terminal equipment, namely matching the second equipment information of the second terminal equipment with the first equipment information of the first terminal equipment. And if the second equipment information of the second terminal equipment is matched with the first equipment information of the first terminal equipment, judging that the first equipment information is verified. And then, analyzing the broadcast data by the equipment to be networked, extracting WiFi distribution network information in the broadcast data, and finally performing networking operation based on the WiFi distribution network information, wherein the WiFi distribution network information comprises a target WiFi name and a target WiFi password of the target equipment.
Further, in an embodiment, the first device information includes a MAC address of the first terminal device, the second device information includes a MAC address of the second terminal device, and the step of verifying the first device information based on the NFC authentication information includes:
and determining that the MAC address of the second terminal device is matched with the MAC address of the first terminal device, wherein when the MAC address of the second terminal device is matched with the MAC address of the first terminal device, the first device information is judged to be verified.
The first device information includes a MAC address of the first terminal device, and the second device information includes a MAC address of the second terminal device. After the network to be distributed device reads the MAC address of the second terminal device in the NFC data module, the MAC address of the first terminal device in the broadcast data of the first terminal device is extracted. And verifying the MAC address of the first terminal equipment based on the MAC address of the second terminal equipment, namely matching the MAC address of the second terminal equipment with the MAC address of the first terminal equipment. And if the MAC address of the second terminal equipment is matched with the MAC address of the first terminal equipment, judging that the MAC address of the first terminal equipment passes the verification. And then, analyzing the broadcast data by the equipment to be networked, extracting WiFi distribution network information in the broadcast data, and finally performing networking operation based on the WiFi distribution network information, wherein the WiFi distribution network information comprises a target WiFi name and a target WiFi password of the target equipment.
Further, in an embodiment, the WiFi distribution network information includes a target WiFi name and a target WiFi password corresponding to the target WiFi name, and the step of performing the networking operation based on the WiFi distribution network information includes:
step S2021, scanning connectable devices, and determining a target device in the connectable devices based on the target WiFi name;
step S2022, establishing a wireless network connection with the target device based on the target WiFi password.
After the first device information is verified, the device to be configured analyzes the broadcast data, extracts WiFi distribution network information in the broadcast data, and scans surrounding connectable devices, wherein the WiFi distribution network information comprises a target WiFi name and a target WiFi password. The method comprises the steps that a device to be distributed acquires a connectable device set by scanning surrounding connectable devices; the device to be configured determines target devices matched with the target WiFi names in the connectable device set based on the target WiFi names in the WiFi distribution network information; after the target equipment is determined by the equipment to be networked, 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.
Further, in an embodiment, the first terminal device includes a plurality of first terminal devices, and the step of receiving broadcast data broadcast by the first terminal devices includes:
step S101, receiving a broadcast data set broadcast by a plurality of first terminal devices;
the step of performing networking operations based on the NFC authentication information and the broadcast data comprises:
step S102, determining target broadcast data in the broadcast data set based on the NFC verification information;
step S103, based on the target broadcast data, WiFi distribution network information in the target broadcast data is determined, and networking operation is carried out based on the WiFi distribution network information.
The first terminal device may include a plurality of terminal devices, and if there is a plurality of broadcast data broadcasted by the first terminal device, the device to be networked receives the broadcast data transmitted by the first terminal device; after the device to be networked reads the NFC verification information of the second terminal device, sequentially verifying the received first device information corresponding to each first terminal device through a preset device verification rule so as to verify a plurality of first terminal devices; and screening target broadcast data matched with the first equipment information from the broadcast data sets of the plurality of first terminal equipment. And then, the equipment to be configured extracts WiFi distribution network information in the target broadcast data, and performs distribution network based on the WiFi distribution network information, wherein the WiFi distribution network information comprises a target WiFi name and a target WiFi password. It can be understood that the device to be networked can perform networking operation based on the target WiFi name and the target WiFi password, that is, a wireless network connection is established based on the target WiFi name and the target WiFi password and the target device corresponding to the target WiFi name.
Further, in an embodiment, the second terminal device generates the NFC verification information based on second device information of the second terminal device, and writes the NFC verification information into the NFC data module.
And the second terminal equipment generates NFC verification information used for verification connection with the equipment to be networked from second equipment information of the second terminal equipment based on a preset time period, and writes the NFC verification information into the NFC data module. The second device information of the second terminal device includes a hardware address of the second terminal device, a manufacturer ID of the second terminal device, a device model of the second terminal device, a device name of the second terminal device, or an account ID of a preset application program in the second terminal device.
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 (8)

1. The equipment network distribution method is applied to equipment to be distributed, and comprises the following steps:
receiving broadcast data broadcasted by first terminal equipment, wherein the broadcast data comprises first equipment information of the first terminal equipment and WiFi distribution network information;
if the NFC verification information stored by an NFC data module in second terminal equipment is read, determining whether second equipment information in the NFC verification information is matched with first equipment information in the broadcast data, wherein the NFC verification information comprises the second equipment information of the second terminal equipment;
and when the second equipment information is matched with the first equipment information, performing networking operation based on the WiFi distribution network information.
2. The device network distribution method of claim 1, wherein the first device information comprises a MAC address of the first terminal device, the second device information comprises a MAC address of the second terminal device, and the determining whether the second device information in the NFC authentication information matches the first device information in the broadcast data comprises:
and determining that the MAC address of the second terminal device is matched with the MAC address of the first terminal device, wherein when the MAC address of the second terminal device is matched with the MAC address of the first terminal device, the first device information is judged to be verified.
3. The device network distribution method of claim 1, wherein the WiFi network distribution information comprises a target WiFi name and a target WiFi password corresponding to the target WiFi name, and the step of performing the networking operation based on the WiFi network distribution information comprises:
scanning connectable devices and determining a target device among the connectable devices based on the target WiFi name;
and establishing wireless network connection with the target equipment based on the target WiFi password.
4. The device network distribution method of claim 1, wherein the first terminal device comprises a plurality of first terminal devices, and the step of receiving the broadcast data broadcast by the first terminal devices comprises:
receiving a broadcast data set broadcast by a plurality of first terminal devices;
the step of performing networking operations based on the NFC authentication information and the broadcast data comprises:
determining target broadcast data in the set of broadcast data based on the NFC authentication information;
and determining WiFi distribution network information in the target broadcast data based on the target broadcast data so as to perform networking operation based on the WiFi distribution network information.
5. The device network distribution method of claim 1, wherein the broadcast data comprises bluetooth broadcast data or WiFi broadcast data, and the NFC data module of the second terminal device comprises an NFC data interaction module or an NFC tag.
6. The device network distribution method according to any one of claims 1 to 5, wherein the second terminal device generates the NFC verification information based on second device information of the second terminal device, and writes the NFC verification information into the NFC data module.
7. An equipment distribution network apparatus, the equipment distribution network apparatus 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 6.
8. 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 6.
CN202010728537.5A 2020-07-24 2020-07-24 Equipment network distribution method and device and computer readable storage medium Active CN111954164B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010728537.5A CN111954164B (en) 2020-07-24 2020-07-24 Equipment network distribution method and device and computer readable storage medium
PCT/CN2020/113027 WO2022016670A1 (en) 2020-07-24 2020-09-02 Network configuration method and apparatus for device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010728537.5A CN111954164B (en) 2020-07-24 2020-07-24 Equipment network distribution method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111954164A CN111954164A (en) 2020-11-17
CN111954164B true CN111954164B (en) 2021-09-24

Family

ID=73339594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010728537.5A Active CN111954164B (en) 2020-07-24 2020-07-24 Equipment network distribution method and device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111954164B (en)
WO (1) WO2022016670A1 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8860551B2 (en) * 2009-03-23 2014-10-14 International Business Machines Corporation Automated RFID reader detection
US9344404B2 (en) * 2013-01-31 2016-05-17 Dell Products L.P. System and method for synchronizing connection credentials
CN104683938A (en) * 2015-02-10 2015-06-03 小米科技有限责任公司 Configuration method and device for intelligent equipment
CN106211163B (en) * 2016-07-29 2019-08-16 Oppo广东移动通信有限公司 The method and apparatus of safe networking
CN106102065A (en) * 2016-08-15 2016-11-09 深圳Tcl智能家庭科技有限公司 The networking collocation method of a kind of WiFi equipment and system
CN106211051A (en) * 2016-09-13 2016-12-07 广东欧珀移动通信有限公司 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal
KR20180096130A (en) * 2017-02-20 2018-08-29 삼성전자주식회사 Electronic Apparatus And Communication Setup Method Thereof
CN107493565A (en) * 2017-09-19 2017-12-19 深圳天珑无线科技有限公司 Wi Fi connection methods, mobile terminal and computer-readable recording medium
CN108092998A (en) * 2018-02-05 2018-05-29 广东司法警官职业学院 A kind of family WIFI cipher safe protecting methods and system
CN109348521B (en) * 2018-09-30 2020-01-07 百度在线网络技术(北京)有限公司 Network distribution method, device and equipment of intelligent equipment and computer readable medium
CN109348457A (en) * 2018-10-22 2019-02-15 四川长虹电器股份有限公司 A kind of Wi-Fi equipment distribution network systems and match network method
CN110324831B (en) * 2019-07-04 2023-07-28 深圳创维数字技术有限公司 Distribution network method and device, electronic equipment, terminal and storage medium

Also Published As

Publication number Publication date
WO2022016670A1 (en) 2022-01-27
CN111954164A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN111107667B (en) Bluetooth headset pairing method and device and readable storage medium
CN111935802A (en) Equipment network distribution method and device and computer readable storage medium
CN111867000A (en) Equipment network distribution method and device and computer readable storage medium
EP2671153B1 (en) Apparatus and method for providing application auto-install function in digital device
US11395132B2 (en) Method for transferring subscription and electronic device for supporting the same
CN110035181B (en) Method and terminal for setting theme of quick application card
CN111867003A (en) Equipment network distribution method, device, equipment and computer readable storage medium
CN108170723B (en) Webpage resource acquisition method, terminal equipment, server and system
CN111818499B (en) Quick pairing method, device, equipment and computer readable storage medium
CN108833515B (en) Block chain node optimization method and device and computer readable storage medium
CN111324813A (en) Recommendation method, device, equipment and computer readable storage medium
CN108009031B (en) Application program control method and mobile terminal
CN108021379B (en) Application program upgrading method, mobile terminal and server
CN113873279A (en) Video data decoding method, system and storage medium
CN107493518B (en) IPTV terminal network outlet switching method, device and readable storage medium
CN111954164B (en) Equipment network distribution method and device and computer readable storage medium
CN106454299A (en) Screen projection method and device between terminals, and terminal
CN107979688B (en) application program management method and mobile terminal
CN113590248B (en) Screen projection method and device of vehicle-mounted terminal and readable storage medium
KR20200079081A (en) Method for sharing content and electronic device thereof
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
CN113037868A (en) Cross-border store login method, device, equipment and computer readable storage medium
CN110580166A (en) system application installation method and device and storage medium
CN114697216A (en) Upgrading method and device for passive optical network equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant