CN113411866A - Safe and efficient multicast network distribution system, electronic equipment and storage medium - Google Patents
Safe and efficient multicast network distribution system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113411866A CN113411866A CN202110615877.1A CN202110615877A CN113411866A CN 113411866 A CN113411866 A CN 113411866A CN 202110615877 A CN202110615877 A CN 202110615877A CN 113411866 A CN113411866 A CN 113411866A
- Authority
- CN
- China
- Prior art keywords
- distribution network
- information
- multicast
- product end
- distribution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 50
- 238000004891 communication Methods 0.000 claims abstract description 12
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 7
- 230000037430 deletion Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
- H04W12/106—Packet or message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application relates to the technical field of WiFi distribution network, in particular to a safe and efficient multicast distribution network side system, electronic equipment and a storage medium, wherein the method comprises the following steps: the mobile equipment acquires a WiFi name of the current WiFi; acquiring distribution network information of a current WiFi name; encrypting the distribution network information; establishing a communication channel with a product end; sending a distribution network packet containing distribution network information to a product end by using a multicast mode; and searching unicast information from the product end for confirming the success of the distribution network. The method has the effect of simplifying the network distribution method for connecting the mobile equipment with the network distribution product.
Description
Technical Field
The application relates to the technical field of WiFi distribution network field, in particular to a safe and efficient multicast distribution network side system, electronic equipment and a storage medium.
Background
In the rapid development of the internet of things, more and more equipment products are operated depending on the network, but the equipment products do not have the function of actively connecting the network, and a user needs to distribute the network to the equipment products through mobile intelligent equipment.
The mobile intelligent device end is connected with a hotspot (AP) needing a distribution network device product, a user is required to switch WiFi connection of the mobile intelligent device for many times, connection between the mobile intelligent device and the distribution network product is established, transmission of distribution network data is guaranteed, connection between the mobile intelligent device and the WIFI is established, and feedback of the distribution network product to the user after successful network access is guaranteed. The complicated operation increases the learning cost of the user.
Aiming at the related technologies, the inventor thinks that the defects that the WiFi connection of the mobile intelligent equipment needs to be switched for many times when the mobile intelligent equipment distributes a network for a network distribution product and the operation is complex exist.
Disclosure of Invention
In order to simplify a network distribution method for connecting a mobile device with a network distribution product, the application provides a safe and efficient multicast network distribution side system, electronic equipment and a storage medium.
In a first aspect, the secure and efficient multicast distribution network method provided by the present application adopts the following technical scheme:
a safe and efficient multicast network distribution method comprises the following steps:
the mobile equipment acquires a WiFi name of the current WiFi;
acquiring distribution network information of a current WiFi name;
encrypting the distribution network information;
establishing a communication channel with a product end;
sending a distribution network packet containing distribution network information to a product end by using a multicast mode;
and searching unicast information from the product end for confirming the success of the distribution network.
By adopting the technical scheme, the mobile equipment transmits the distribution network information to the product end in a multicast mode by establishing a communication channel with the product end, the product end can directly search the corresponding WiFi after receiving the distribution network information, and the WiFi is connected by analyzing the key acquired by the distribution network information, so that the WiFi does not need to be switched for many times in the distribution network process of the mobile equipment, the method for connecting the mobile equipment with the product end to distribute the network is simplified, and the operation of a user is simple.
Preferably, the unicast information carries IP information of a product end, and the method further includes:
if the unicast information is searched, deleting the IP information corresponding to the unicast information from the current IP group;
and continuously using a multicast mode to send the distribution network packet containing the distribution network information to the product end corresponding to the current IP group.
Through adopting above-mentioned technical scheme, in the family use, the product end can be multiple intelligent house, because the function of intelligent house is different, the intelligent house can be placed in different positions, and the net package is joined in the multicast sending, can have some product end and connect wiFi earlier, through linking the product end IP earlier and deleting by the IP of multicast in organizing, can make operating personnel accurately learn the connection condition of product end, also reduce the condition of connecting the product end and repeatedly receiving and joining in marriage net information.
Preferably, the distribution network packet further comprises notification information, wherein the notification information comprises a protocol header, a version number and a length of the distribution network packet, and notifies the product end of entering a distribution network state and provides the product end for verifying the integrity of the distribution network information;
when the distribution network packet is sent by multicast, the distribution network packet is divided into notification information and distribution network information segment transmission, and the notification information is sent before the distribution network information.
By adopting the technical scheme, the notification information is used for reminding the product end of receiving subsequent distribution network information so as to reduce omission of data transmission, and the product end can prepare in advance and judge which information is useful data.
Preferably, the establishing a communication channel with the product side includes:
and repeatedly sending the protocol header in a multicast mode, so that the product end locks the channel and establishes point-to-point connection with the mobile equipment, and the product end receives the distribution network information.
By adopting the technical scheme, the protocol header is sent for multiple times, so that the product end locks the channel when receiving the protocol header, and subsequent data transmission is facilitated.
Preferably, the distribution network packet containing the distribution network information is sent to the product end in one of the following two ways according to the resource occupation condition of the mobile device in a multicast way:
the first method comprises the following steps: after the unicast information of the distribution network successfully distributed by the product end is obtained each time, the group broadcasting and the network distribution package sending are stopped, the IP in the unicast information is deleted by the IP group, then whether the number of the IP in the IP group is larger than zero or not is judged, and if the number of the IP in the IP group is larger than zero, the group broadcasting and the network distribution package sending are continued; if the number of the network packets is less than zero, stopping group broadcasting and transmitting the network packets;
and the second method comprises the following steps: and continuously transmitting the network distribution packet in a multicast circulation mode until a signal for stopping transmitting is obtained. .
By adopting the technical scheme, the multicast sending mode is selected according to the resource occupation condition of the mobile equipment, so that the memory occupation is reduced when the resource occupation of the mobile equipment is serious, and the mobile equipment is not easy to jam.
Preferably, the method further comprises the following steps:
analyzing the unicast information content after the unicast information from the product end is searched, wherein the unicast information also comprises the redistribution network encryption key information;
and storing the encryption key information of the redistribution network.
By adopting the technical scheme, the encryption key information of the re-distribution network is updated after the network connection is established, so that the product end is used when a new WiFi needs to be re-distributed, the use of the same distribution network encryption mode is reduced, and other people can rapidly analyze the WiFi key after acquiring the distribution network information by adopting an aerial packet capture, thereby causing the password exposure condition.
Preferably, when the product end needs to re-distribute the network, the encryption key information of the re-distribution network and the encrypted distribution network information are subjected to logic operation, and then the distribution network information in the distribution network packet for multicast transmission is generated.
By adopting the technical scheme, the distribution network information is secondarily encrypted by the re-distribution network encryption key information, so that the leakage of a WiFi key is reduced, and the distribution network information is further encrypted.
In a second aspect, the present application provides a method for network distribution by multicast, which adopts the following technical scheme:
a method for multicast distribution network, for use with the method of any of claims 1 to 7, the method for multicast distribution network comprising:
the product end receives a distribution network packet from the mobile equipment;
the distribution network packet is decrypted, and distribution network information is analyzed;
connecting the current WiFi through distribution network information;
and after the WiFi connection is successful, sending unicast information to the mobile equipment.
In a third aspect, the present application provides a multicast distribution network system, which adopts the following technical solutions:
a multicast distribution network system comprising:
the WiFi name acquisition module is used for the mobile equipment to acquire the WiFi name of the current WiFi;
the distribution network information acquisition module is used for acquiring distribution network information of the current WiFi name;
the encryption module is used for encrypting the distribution network information;
the channel establishing module is used for establishing a communication channel with a product end;
the multicast sending module is used for sending the distribution network packet containing the distribution network information to a product end in a multicast mode;
and the searching module is used for searching unicast information from the product end for confirming the success of the distribution network.
In a fourth aspect, the present application provides an electronic device, which adopts the following technical solutions:
an electronic device comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and executed to perform any of the methods as described above.
In a fifth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium storing a computer program that can be loaded by a processor and executed to perform a method according to any one of the preceding claims.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the mobile equipment establishes a communication channel with the product end, transmits the distribution network information to the product end in a multicast mode, can directly search corresponding WiFi after the product end receives the distribution network information, and is connected with the WiFi through a key acquired by analyzing the distribution network information, the mobile equipment does not need to switch the WiFi for many times in the distribution network process, and the user operation is simple;
2. in the family use, the product end can be various intelligent homes, because the functions of the intelligent homes are different, the intelligent homes can be placed at different positions, the distribution network packet is multicast and sent, part of the product end is firstly connected with WiFi, and the IP of the product end connected firstly is deleted from the IP group of the multicast, so that an operator can accurately know the connection condition of the product end, and the condition that the connected product end repeatedly receives the distribution network information is reduced;
3. the notification information is used for reminding the product end of receiving subsequent distribution network information so as to reduce omission of data transmission, and is also convenient for the product end to prepare in advance and judge which information is useful data.
Drawings
Fig. 1 is a flowchart of a secure and efficient multicast distribution network method according to an embodiment of the present application;
fig. 2 is a flow chart of a secure and efficient multicast distribution network method according to another embodiment of the present application;
fig. 3 is a flowchart of a secure and efficient multicast distribution network method according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to fig. 1-3 and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The embodiment of the application discloses a safe and efficient multicast network distribution method. Referring to fig. 1, the multicast distribution network method includes the following steps, and it should be noted that the step combination order defined in this embodiment is only used to illustrate this embodiment, and is not used to define other combination orders of the steps in this application:
s1: the mobile device obtains a WiFi name of a current WiFi.
Specifically, the mobile device may be an intelligent device such as a mobile phone and a notebook, which is capable of networking and has a function of scanning surrounding WIFI signals; in the application, taking a mobile phone as an example, a program is preset in a memory of the mobile phone, and when the setting of scanning WiFi around the mobile phone is turned on, the preset program obtains a WiFi name scanned by the mobile phone.
S2: and acquiring the distribution network information of the current WiFi name.
Specifically, in this embodiment, the distribution network information is SSIDS and a key of WiFi.
Taking the operation of the mobile phone as an example, a preset program in the mobile phone is opened, a WiFi name acquired by the preset program of the mobile phone is displayed on a screen of the mobile phone, and an operator can input the distribution network information by clicking the WiFi name; optionally, the WiFi connection setting of the mobile phone may also be opened for an operator, one of the surrounding WiFi signals is connected, then a preset program in the mobile phone is started, and the preset program directly acquires the WiFi name and the distribution network information of the current connection of the mobile phone.
S3: and encrypting the distribution network information.
The encryption mode is an encryption mode agreed with a product end in advance, the product end refers to a product needing a distribution network, in the embodiment, the distribution network information is encrypted by adopting an AES encryption algorithm, and encrypted transmission is carried out by adopting BASE 64. But other encryption algorithms can be adopted, so that when the distribution network information is sent, other people are prevented from easily acquiring the distribution network information in a mode of grabbing empty packets, and the password leakage is prevented.
S4: a communication channel is established with the product side.
In this embodiment, the product end can be intelligent refrigerator, intelligent oven, intelligent robot of sweeping the floor etc. in intelligent house.
The communication channel between the mobile equipment and the product end is established, so that the equipment ID of the product end is known in advance, and the connection is established with the equipment end through the equipment ID; the product side may also be scanned for available channels around and receive data packets from the mobile device.
S5: and sending the distribution network packet containing the distribution network information to a product end by using a multicast mode.
In this embodiment, taking a mobile phone as an example, after a preset program on the mobile phone obtains the distribution network information, an IP group sent by multicast may be popped up, and an operator may set the IP group according to an actual situation, for example, set the IP group to be 227.1-227.255.
S6: and searching unicast information from the product end for confirming the success of the distribution network.
After receiving the distribution network information, the product end analyzes the SSID and the secret key according to a preset encryption mode, and when the distribution network is successfully distributed, the product end sends unicast information to the mobile equipment for operators to confirm, and optionally stops sending the distribution network package after receiving the unicast information.
Referring to fig. 2, optionally, in another embodiment, the unicast information carries IP information of the product side, and the foregoing method further includes the following steps:
s7: and if the unicast information is searched, deleting the IP information corresponding to the unicast information from the current IP group.
When a network is distributed, a plurality of distribution network products may need to be distributed, and in an intelligent home, the distribution network products are different in placement position due to different functions, for example, an intelligent refrigerator is generally placed in a kitchen, and an intelligent sound box is generally placed in a living room; because the positions of the distribution network products are different, the strength of signals for receiving data of the distribution network products is easily different, and the time for accessing the distribution network is different. After the distribution network of the distribution network product is successful, the mobile device receives the unicast information, analyzes the IP information in the unicast information, and then deletes the IP of the device which has successfully distributed the network from the preset IP group, so that the situation that the distribution network information is repeatedly sent to the distribution network product which has successfully distributed the network is avoided, and the operator can know which distribution network products have not successfully distributed the network, and can timely check the reason why the distribution network has not succeeded.
In this embodiment, a predetermined port may be opened at the mobile device to multicast transmit the distribution network packet and receive unicast information.
S8: and continuously using a multicast mode to send the distribution network packet containing the distribution network information to the product end corresponding to the current IP group.
After the IP of the product end which has successfully distributed the network is deleted by the IP group, the mobile equipment continues to multicast the network distribution packet, so that the product ends in the IP group are all successfully distributed with the network.
Optionally, in an embodiment, the setting of the multicast sending mode may include, but is not limited to, the following two types:
(1) stopping the group broadcasting and transmitting the distribution network package after the unicast information of the successful distribution network of the product end is obtained every time, deleting the IP in the unicast information from the IP group through a preset program, then judging whether the number of the IP in the IP group is greater than zero, and if so, continuing to group and transmit the distribution network package; and if the number of the multicast packets is less than zero, stopping multicast and transmitting the distribution network packet.
(2) And continuously and circularly transmitting the network distribution package by multicast until a transmission stopping signal is obtained, and clicking by an operator to stop transmitting the signal to trigger the transmission stopping.
The mobile equipment is preset with a setting capable of selecting a corresponding mode, and the first mode is adopted, so that the condition of accessing a distribution network can be accurately known, and the intelligent control effect is achieved, but a judgment and deletion program needs to be additionally installed on the mobile equipment, and the operation resources of the mobile equipment end are greatly occupied during actual use; if the second case is selected, manual monitoring is required, and if the second case is not closed in time, processing resources of the mobile device are occupied for a long time.
Optionally, after the multicast mode is started to send the distribution network packet, the resource occupation condition of the mobile device is detected in real time, and the multicast sending mode is switched in real time according to the resource occupation condition of the mobile device.
After a multicast mode is started to send a network distribution packet, if the resource occupation of the mobile equipment is detected to be less, starting a first multicast sending mode, and updating a product end IP in an IP group in real time according to the condition of a product end network distribution; when detecting that the mobile equipment resources occupy more resources, switching to a second multicast sending mode, and taking the IP group updated last as the IP group sent by multicast in the mode; in this embodiment, more resource occupation of the mobile device means that the resource occupation is greater than 60%, less resource occupation means that the resource occupation is less than 60%, and the specific proportion can be set according to actual requirements.
Optionally, in another embodiment, the distribution network packet further includes notification information, where the notification information includes a protocol header, a version number of the distribution network packet, and a length of the distribution network information, and notifies the product end of entering the distribution network state and provides the product end to check integrity of the distribution network information.
The notification information includes a protocol header, a version number, and a length of the distribution network information, and in this embodiment, the protocol header is a preamble sequence used to remind the product end that the next received information is valid information, so that the product end is ready to receive; the version number is used for reminding the product end of the version of the related protocol; the length of the distribution network information is used for the product end to check whether the subsequently received distribution network information is complete or not so as to improve the accuracy of information transmission.
In this embodiment, the notification information may be transmitted without encryption, or may be transmitted with encryption by using an AES encryption algorithm.
Optionally, in another embodiment, when the distribution network packet is multicast-transmitted, the distribution network packet is divided into notification information and distribution network information is transmitted in segments, and the notification information is transmitted before the distribution network information.
In this embodiment, the notification information is sent first to notify the product end to prepare for receiving valid data, so that the product end accurately receives the distribution network information.
Optionally, in another embodiment, the manner of establishing the communication channel with the product side may be:
and repeatedly sending the protocol header in a multicast mode, so that the product end locks the channel and establishes point-to-point connection with the mobile equipment, and the product end receives the distribution network information.
By multicast sending protocol head, the product end can lock the channel and establish point-to-point connection with the mobile equipment.
Optionally, in another embodiment, a protocol header may be broadcast in a loop, and the number of loops may be set according to actual requirements, for example, 3 times, 4 times, 5 times, and the like are sent in a loop, in this embodiment, 3 times is taken as an example; scanning a protocol head by a product end, locking a channel for the first time, and then scanning the protocol head for two times so as to determine the stability of the channel; if the first sending of the protocol header causes the product end not to receive the protocol header because of network reasons or current channel instability, the product end can establish connection again by sending the protocol header twice subsequently.
Channel stability judging logic can be preset at the product end, namely the number of times of cyclic sending of the protocol head is known in advance, and the product end judges that the protocol head receiving the preset number of times can judge that the channel is stable and lock the channel. For example, taking the protocol header is sent circularly 3 times, in the predetermined time, the channel stability determination logic preset at the product end may determine that the channel is stable and lock the channel to receive the subsequent data if the protocol header is received for more than or equal to 2 times; if the number of times of receiving the protocol heads is less than 2, the channel is judged to be unstable, the protocol heads are continuously scanned until the number of the received protocol heads is more than 2, and the current channel is locked. The predetermined time may be the maximum time required for cyclically transmitting the protocol header, or may be set according to actual conditions.
Referring to fig. 3, optionally, in another embodiment, the method further includes the following steps:
s9: and after the unicast information from the product end is searched, analyzing the content of the unicast information, wherein the unicast information also comprises the information of the encryption key of the redistribution network.
S10: and storing the encryption key information of the redistribution network.
Specifically, after the product end succeeds in distributing the network, an operator may set the encryption key information of the re-distribution network at the product end, where the encryption key information of the re-distribution network may be a re-set encryption mode, such as encryption by using an MD5 algorithm or encryption by using an HMAC algorithm, which is agreed for the next distribution network, and the encryption mode is re-set, so that the key is resolved by capturing the air packet on the premise that other people know the encryption algorithm.
Optionally, in another embodiment, when the product end needs to re-distribute the network, after performing logical operation on the re-distribution network encryption key information and the encrypted distribution network information, generating the distribution network information in the distribution network packet for multicast transmission.
In this embodiment, the redistribution network encryption key information is a piece of binary data set in advance, and the binary data and the distribution network information encrypted by the encryption method defined by the product side are subjected to one or more than two logical operations of and or not, and the operation is used as distribution network information transmission in the distribution network packet to increase the confidentiality of information transmission.
The embodiment of the application also discloses a multicast distribution network method which is used in cooperation with the safe and efficient multicast distribution network method and comprises the following steps:
the product end receives a distribution network packet from the mobile device.
And decrypting the distribution network packet to analyze the distribution network information.
And connecting the current WiFi through the distribution network information.
And after the WiFi connection is successful, sending unicast information to the mobile equipment.
The embodiment of the present application further discloses a multicast distribution network system, which includes:
and the WiFi name acquisition module is used for the mobile equipment to acquire the WiFi name of the current WiFi.
And the distribution network information acquisition module is used for acquiring the distribution network information of the current WiFi name.
And the encryption module is used for encrypting the distribution network information.
And the channel establishing module is used for establishing a communication channel with the product end.
And the multicast sending module is used for sending the distribution network packet containing the distribution network information to the product end in a multicast mode.
And the searching module is used for searching unicast information from the product end for confirming the success of the distribution network.
Optionally, in another embodiment, the unicast information carries IP information of the product end, and further includes the following modules:
and the judging and deleting module is used for deleting the IP information corresponding to the unicast information from the current IP group if the unicast information is searched.
And when the judgment and deletion module deletes the searched IP information by the IP group, the multicast sending module multicasts the network distribution packet according to the current IP group.
The present embodiment also discloses an electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any one of the methods.
The present embodiment also discloses a computer readable storage medium storing a computer program that can be loaded by a processor and execute any of the methods as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above.
Claims (10)
1. A safe and efficient multicast network distribution method is characterized by comprising the following steps:
the mobile equipment acquires a WiFi name of the current WiFi;
acquiring distribution network information of a current WiFi name;
encrypting the distribution network information;
establishing a communication channel with a product end;
sending a distribution network packet containing distribution network information to a product end by using a multicast mode;
and searching unicast information from the product end for confirming the success of the distribution network.
2. The method for a network distribution by multicast according to claim 1, wherein the unicast information carries IP information of a product end, the method further comprising:
if the unicast information is searched, deleting the IP information corresponding to the unicast information from the current IP group;
and continuously using a multicast mode to send the distribution network packet containing the distribution network information to the product end corresponding to the current IP group.
3. The method for multicast distribution network with safety and high efficiency according to claim 1, wherein the distribution network packet further includes notification information, the notification information includes a protocol header, a version number of the distribution network packet and a length of the distribution network information, and notifies the product end of entering the distribution network state and provides the product end for checking integrity of the distribution network information;
when the distribution network packet is sent by multicast, the distribution network packet is divided into notification information and distribution network information segment transmission, and the notification information is sent before the distribution network information.
4. The method for multicast distribution network according to claim 3, wherein the establishing a communication channel with the product side includes:
and repeatedly sending the protocol header in a multicast mode, so that the product end locks the channel and establishes point-to-point connection with the mobile equipment, and the product end receives the distribution network information.
5. The method for multicast distribution network with safety and high efficiency according to claim 1, wherein the multicast mode sends the distribution network packet containing the distribution network information to the product end in one of the following two modes according to the resource occupation condition of the mobile device:
the first method comprises the following steps: after the unicast information of the distribution network successfully distributed by the product end is obtained each time, the group broadcasting and the network distribution package sending are stopped, the IP in the unicast information is deleted by the IP group, then whether the number of the IP in the IP group is larger than zero or not is judged, and if the number of the IP in the IP group is larger than zero, the group broadcasting and the network distribution package sending are continued; if the number of the network packets is less than zero, stopping group broadcasting and transmitting the network packets;
and the second method comprises the following steps: and continuously transmitting the network distribution packet in a multicast circulation mode until a signal for stopping transmitting is obtained.
6. The method for a secure and efficient multicast distribution network according to claim 2, further comprising:
analyzing the unicast information content after the unicast information from the product end is searched, wherein the unicast information also comprises the redistribution network encryption key information;
and storing the encryption key information of the redistribution network.
7. The method for multicast distribution network according to claim 6, wherein,
and when the product end needs to re-distribute the network, carrying out logic operation on the encryption key information of the re-distribution network and the encrypted distribution network information, and generating the distribution network information in the distribution network packet for multicast transmission.
8. A method for distributing network by multicast is characterized in that: the method of any one of claims 1 to 7, cooperatively used, wherein the multicast network distribution method comprises:
the product end receives a distribution network packet from the mobile equipment;
the distribution network packet is decrypted, and distribution network information is analyzed;
connecting the current WiFi through distribution network information;
and after the WiFi connection is successful, sending unicast information to the mobile equipment.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and that executes the method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which can be loaded by a processor and which executes the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110615877.1A CN113411866B (en) | 2021-06-02 | 2021-06-02 | Safe and efficient multicast distribution network side system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110615877.1A CN113411866B (en) | 2021-06-02 | 2021-06-02 | Safe and efficient multicast distribution network side system, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113411866A true CN113411866A (en) | 2021-09-17 |
CN113411866B CN113411866B (en) | 2024-04-26 |
Family
ID=77675999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110615877.1A Active CN113411866B (en) | 2021-06-02 | 2021-06-02 | Safe and efficient multicast distribution network side system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113411866B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157562A (en) * | 2021-11-11 | 2022-03-08 | 珠海格力电器股份有限公司 | Network distribution method, device and system, electronic equipment and storage medium |
CN115175110A (en) * | 2022-06-23 | 2022-10-11 | 深圳市爱培科技术股份有限公司 | Rapid distribution network method and system for equipment based on multicast |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011121206A1 (en) * | 2010-03-31 | 2011-10-06 | France Telecom | Methods for registering a mobile terminal by means of an ip network access router, for managing the mobility of a terminal in an ip network, and for configuring a mobile terminal |
CN103458370A (en) * | 2012-06-01 | 2013-12-18 | 华为技术有限公司 | Transmission method, device and system for receiving mobile network multicast data |
CN109640375A (en) * | 2019-01-23 | 2019-04-16 | 欧普照明股份有限公司 | A kind of smart machine distribution method and system |
CN109688072A (en) * | 2018-12-27 | 2019-04-26 | Tcl通力电子(惠州)有限公司 | Speaker method of network entry, speaker and computer readable storage medium |
CN111200805A (en) * | 2018-11-19 | 2020-05-26 | 福建天泉教育科技有限公司 | Bluetooth networking method and system based on Bluetooth equipment |
-
2021
- 2021-06-02 CN CN202110615877.1A patent/CN113411866B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011121206A1 (en) * | 2010-03-31 | 2011-10-06 | France Telecom | Methods for registering a mobile terminal by means of an ip network access router, for managing the mobility of a terminal in an ip network, and for configuring a mobile terminal |
CN103458370A (en) * | 2012-06-01 | 2013-12-18 | 华为技术有限公司 | Transmission method, device and system for receiving mobile network multicast data |
CN111200805A (en) * | 2018-11-19 | 2020-05-26 | 福建天泉教育科技有限公司 | Bluetooth networking method and system based on Bluetooth equipment |
CN109688072A (en) * | 2018-12-27 | 2019-04-26 | Tcl通力电子(惠州)有限公司 | Speaker method of network entry, speaker and computer readable storage medium |
CN109640375A (en) * | 2019-01-23 | 2019-04-16 | 欧普照明股份有限公司 | A kind of smart machine distribution method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157562A (en) * | 2021-11-11 | 2022-03-08 | 珠海格力电器股份有限公司 | Network distribution method, device and system, electronic equipment and storage medium |
CN115175110A (en) * | 2022-06-23 | 2022-10-11 | 深圳市爱培科技术股份有限公司 | Rapid distribution network method and system for equipment based on multicast |
CN115175110B (en) * | 2022-06-23 | 2023-11-03 | 深圳市爱培科技术股份有限公司 | Method and system for rapidly distributing network for equipment based on multicast |
Also Published As
Publication number | Publication date |
---|---|
CN113411866B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106332224B (en) | Equipment network distribution method, device and system | |
CN113411866A (en) | Safe and efficient multicast network distribution system, electronic equipment and storage medium | |
CN112351000B (en) | Bidirectional identity verification method, system, equipment and storage medium | |
WO2018090830A1 (en) | Method and apparatus allowing smart terminal device to access internet | |
CN104967596A (en) | Method and apparatus for realizing binding and communication between user terminal and Internet of things device | |
US20230336993A1 (en) | Virtual private dial-up network access method, network-side system, system and storage medium | |
CN109890029B (en) | Automatic network distribution method of intelligent wireless equipment | |
WO2016138636A1 (en) | Node networking method, apparatus and system | |
US20220159103A1 (en) | Method, device, system, and storage medium for establishing local communication link | |
EP4236232A1 (en) | Method for configuring network parameter of internet of things device, internet of things device and internet of things system | |
CN112564942A (en) | Distribution network control method and device of Internet of things equipment, equipment and storage medium | |
US20190081946A1 (en) | Access Control Method and System, and Switch | |
CN112436950A (en) | Method for discovering equipment in local area network based on UDP broadcast | |
CN112105003B (en) | Data synchronization system, method and device of intelligent door lock and readable storage medium | |
CN104883682A (en) | WIFI hotspot connecting and selecting method, communication terminal and system | |
CN111741464B (en) | Device connection method, master control device, controlled device, control system and medium | |
CN105915557B (en) | Network authentication method, access control method and network access equipment | |
CN115955358B (en) | Data stream transmission system based on point-to-point communication | |
WO2016161772A1 (en) | Frequency range locking method, device and system | |
CN113411771B (en) | Bluetooth control method and device for vehicle | |
CN111182532B (en) | Wireless local area network connection method, device, system, equipment and storage medium | |
CN113573313A (en) | Intelligent equipment network distribution method and device | |
CN115396413A (en) | High-capacity packet capturing and exporting method, equipment and medium in building talkback | |
CN108990052B (en) | Method for detecting WPA2 protocol vulnerability | |
CN112822758B (en) | Method, equipment and storage medium for accessing network |
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 |