CN115396959A - Intelligent device networking method, networking system, intelligent device and storage medium - Google Patents

Intelligent device networking method, networking system, intelligent device and storage medium Download PDF

Info

Publication number
CN115396959A
CN115396959A CN202110563694.XA CN202110563694A CN115396959A CN 115396959 A CN115396959 A CN 115396959A CN 202110563694 A CN202110563694 A CN 202110563694A CN 115396959 A CN115396959 A CN 115396959A
Authority
CN
China
Prior art keywords
wifi hotspot
intelligent
intelligent device
hotspot
protocol communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110563694.XA
Other languages
Chinese (zh)
Inventor
朱长春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202110563694.XA priority Critical patent/CN115396959A/en
Publication of CN115396959A publication Critical patent/CN115396959A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0009Control or signalling for completing the hand-off for a plurality of users or terminals, e.g. group communication or moving wireless networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The invention provides an intelligent device networking method, a networking system, an intelligent device and a storage medium. The networking method of the intelligent equipment comprises the following steps: connecting a first WIFI hotspot of a local area network where the second intelligent device is located, and sending out a protocol communication broadcast; receiving a broadcast response signal fed back by the second intelligent device, and sending hotspot information of a second WIFI hotspot to the second intelligent device through a protocol communication channel; and receiving a network disconnection callback signal returned by the second intelligent equipment, counting the number of the second intelligent equipment according to the network disconnection callback signal, and controlling a router to close the first WIFI hotspot and restart to send the second WIFI hotspot if the number of the second intelligent equipment is consistent with a preset equipment value. The intelligent equipment networking method has the advantages that the intelligent equipment can be rapidly switched to the WIFI hotspot networking mode, each second intelligent equipment does not need to be manually operated to switch the WIFI hotspot networking mode, and therefore the WIFI hotspot networking switching speed is high, and the networking efficiency is high.

Description

Intelligent device networking method, networking system, intelligent device and storage medium
Technical Field
The invention relates to the technical field of WIFI connection, in particular to an intelligent device networking method, a networking system, an intelligent device and a storage medium.
Background
With the development of science and technology, students are more and more accepted to use personal intelligent devices such as interactive flat panels and the like in the course of class, and the students can obtain teaching videos or information in real time through the networking of the personal intelligent devices in class. In order to ensure that the network bandwidth can be effectively utilized, the intelligent devices are generally required to be connected to the same WIFI hotspot for surfing the internet, when the connection hotspots of all the intelligent devices in a certain classroom need to be switched, if each intelligent device is manually operated to switch the WIFI hotspot networking, the operation is complex, and the networking efficiency is low.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present invention provide an intelligent device networking method, a networking system, an intelligent device, and a storage medium, where the intelligent device networking method enables multiple intelligent devices to switch WIFI hotspots and to be networked at the same time, thereby improving networking efficiency.
According to a first aspect of the embodiments of the present invention, there is provided a method for networking smart devices, which is applied to a first smart device, and includes the following steps:
connecting a first WIFI hotspot of a local area network where the second intelligent device is located, and sending out a protocol communication broadcast;
receiving a broadcast response signal fed back by the second intelligent device, and sending hotspot information of a second WIFI hotspot to the second intelligent device through a protocol communication channel;
and receiving a network disconnection callback signal returned by the second intelligent equipment, counting the number of the second intelligent equipment according to the network disconnection callback signal, and controlling a router to close the first WIFI hotspot and restart to send the second WIFI hotspot if the number of the second intelligent equipment is consistent with a preset equipment value.
According to a second aspect of the embodiments of the present invention, there is provided a method for networking smart devices, which is applied to a second smart device, and includes the following steps:
connecting a first WIFI hotspot of a local area network where the first intelligent device is located;
receiving a protocol communication broadcast sent by the first intelligent equipment, establishing protocol communication with the first intelligent equipment, and feeding back a broadcast response signal to the first intelligent equipment through a protocol communication channel;
receiving hotspot information of a second WIFI hotspot sent by the first intelligent device through the protocol communication channel, returning a network disconnection callback signal to the first intelligent device, disconnecting the first WIFI hotspot and disconnecting the protocol communication with the first intelligent device;
searching the second WIFI hotspot, and connecting to the second WIFI hotspot according to the hotspot information of the second WIFI hotspot.
According to a third aspect of the embodiments of the present invention, there is provided an intelligent device networking system, including a router, a first intelligent device, and a plurality of second intelligent devices;
the router is used for sending out a first WIFI hotspot;
the first intelligent device is connected with the first WIFI hotspot of the local area network where the second intelligent device is located, sends out protocol communication broadcast to receive a broadcast response signal fed back by the second intelligent device, and sends hotspot information of the second WIFI hotspot to the second intelligent device through a protocol communication channel; receiving a network disconnection callback signal returned by the second intelligent device, counting the number of the second intelligent devices according to the network disconnection callback signal, and controlling a router to close the first WIFI hotspot and restart to send out the second WIFI hotspot if the number of the second intelligent devices is consistent with a preset device value;
the second intelligent device is connected to the first WIFI hotspot, receives the protocol communication broadcast sent by the first intelligent device, establishes protocol communication with the first intelligent device, and feeds a broadcast response signal back to the first intelligent device through a protocol communication channel; receiving hotspot information of a second WIFI hotspot sent by the first intelligent device through the protocol communication channel, returning a network disconnection callback signal to the first intelligent device, disconnecting the first WIFI hotspot, and disconnecting the protocol communication with the first intelligent device; searching the second WIFI hotspot, and connecting to the second WIFI hotspot according to the hotspot information of the second WIFI hotspot.
According to a fourth aspect of embodiments of the present invention, there is provided a smart device comprising a display, a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and to perform the smart device networking method according to any of the above embodiments.
According to a fifth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the intelligent device networking method according to any one of the above embodiments.
By applying the technical scheme of the embodiment of the invention, the protocol communication broadcast is sent to the second intelligent device, and the protocol communication is established with the second intelligent device, so that the new WIFI hotspot information can be sent to the second intelligent device through the protocol communication, the second intelligent device is ensured to be all online, and the router is controlled to restart to generate a new WIFI hotspot, so that the second intelligent device is disconnected from the old WIFI hotspot connection and the protocol communication, and searches for a new WIFI hotspot and is connected. According to the technical scheme of the embodiment of the invention, the batch of intelligent equipment can be quickly switched to the WIFI hotspot networking, each second intelligent equipment does not need to be manually operated to switch the WIFI hotspot networking, the speed of switching the WIFI hotspot networking is high, and the networking efficiency is high.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow diagram illustrating a method for networking smart devices according to one embodiment of the present application;
fig. 2 is a block diagram illustrating a structure of an intelligent device networking apparatus according to an embodiment of the present application;
FIG. 3 is a block diagram illustrating a first smart device according to one embodiment of the present application;
FIG. 4 is a flow diagram illustrating a method for networking smart devices according to one embodiment of the present application;
FIG. 5 is a block diagram illustrating an embodiment of an intelligent device networking apparatus;
FIG. 6 is a block diagram illustrating a second smart device according to one embodiment of the present application;
fig. 7 is a block diagram illustrating an architecture of an intelligent device networking system according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if/if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
Referring to fig. 7, fig. 7 is a block diagram illustrating a structure of an intelligent device networking system according to an embodiment of the present application.
The application environment of the intelligent device networking method is an intelligent device networking system, and comprises a router 710, a first intelligent device 720 and a plurality of second intelligent devices 730. Router 710 is a hardware device that connects two or more networks, acts as a gateway between the networks, and is a dedicated intelligent network device that reads the address in each packet and then determines how to transmit. In this embodiment, the router 710 is configured to connect to an external network, and may send out a plurality of WIFI hotspots. First smart device 720 may be a computer device connected to router 710 for connecting to the router's WIFI hotspot, and for setting networking parameters and the WIFI hotspot of router 710. The second smart device 730 may be a computer device that needs to switch the WIFI hotspot connection, such as an interactive tablet, a mobile phone, or other smart devices. In this embodiment, the second smart device 730 is an interactive tablet for the student to use in class, and can be connected to the first WIFI hotspot sent by the router 710 when first networking after starting up.
In order to ensure the stability of network connection, the second smart devices 730 generally need to be connected to the same WIFI hotspot to surf the internet, and when the connection hotspots of all the second smart devices 730 in a certain area need to be switched, if each second smart device 730 needs to be manually operated to switch the WIFI hotspot networking, the operation is complex, and the networking efficiency is low. Based on the above problems, in the embodiment of the present invention, it is intended to automatically connect multiple second smart devices 730 in the same area to the same WIFI hotspot without manually operating a WIFI hotspot where the connection is switched for each second smart device 730, so that the operation is convenient and the networking efficiency is high.
In addition, the application environment of the intelligent device networking method can further comprise a processing device independent of the electronic device, and after the processing device is connected with the electronic device, the intelligent device networking method can be achieved.
The following description is given by way of specific examples.
According to a first aspect of an embodiment of the invention, an intelligent device networking method is disclosed, and the method is applied to electronic devices. The electronic equipment can realize the networking method of the intelligent equipment in a pure software mode, and can also realize the networking method by combining software and hardware. The electronic device may run an application program for executing the intelligent device networking method, and the application program may be presented in a form suitable for the electronic device, for example, an APP application program, and in some examples, may also be presented in a form of, for example, a system plug-in, a web page plug-in, and the like. In the following description, the electronic device is taken as a first intelligent device, and the first intelligent device is a computer device.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an intelligent device networking method according to an embodiment of the present invention.
The networking method of the intelligent equipment is applied to the first intelligent equipment and comprises the following steps:
s110: and connecting the first WIFI hotspot of the local area network where the second intelligent device is located, and sending out protocol communication broadcast.
In the embodiment of the application, the first WIFI hotspot is a WIFI hotspot set by a router in a default mode and is connected with the first intelligent device, the second intelligent device and other intelligent devices. As the networking parameters and the WIFI hotspots of the router need to be set through the first intelligent device, the first intelligent device needs to be connected to the first WIFI hotspot; and the first intelligent device needs to be connected with the second intelligent device in the same local area network so as to establish protocol communication. Optionally, the WIFI hotspot connected to the first smart device may be the same as or different from the WIFI hotspot connected to the second smart device.
In the embodiment of the application, the protocol communication broadcast is sent by the first intelligent device, so that the protocol communication is conveniently established between the second intelligent device and the first intelligent device, and the hotspot information of the second WIFI hotspot is sent to all second intelligent devices needing to switch the WIFI hotspot.
S120: and receiving a broadcast response signal fed back by the second intelligent device, and sending hotspot information of a second WIFI hotspot to the second intelligent device through a protocol communication channel.
In this embodiment, the first smart device sends out the protocol communication broadcast, so that the first smart device and the second smart device establish protocol communication, and the hotspot information of the second WIFI hotspot is sent to all the second smart devices needing to be switched, and other electronic devices not needing to be switched do not receive the hotspot information of the second WIFI hotspot sent by the first smart device because the protocol communication is not established with the first smart device, and cannot be connected to the second WIFI hotspot, thereby ensuring the accuracy of network connection, and being beneficial to effectively utilizing the network bandwidth.
In this embodiment, the protocol communication established by the first intelligent device and the second intelligent device is TCP protocol communication. The TCP Protocol communication is a Transmission Control Protocol (TCP), which is a connection-oriented, reliable transport layer communication Protocol based on a byte stream.
Specifically, the first intelligent device starts the TCP server to send a TCP protocol communication broadcast to the second intelligent device, monitors a TCP response signal returned by the second intelligent device through the TCP protocol communication channel, and sends hotspot information of the second WIFI hotspot to the second intelligent device through the TCP protocol communication channel after receiving the TCP response signal fed back by the second intelligent device through the TCP protocol communication channel. Since it is determined whether the communication between the first smart device and the second smart device is normal, after the first smart device sends out the TCP broadcast, the second smart device needs to respond to ensure that the TCP protocol communication between the first smart device and the second smart device is successful.
In other embodiments, the protocol communication between the first smart device and the second smart device may be other protocol communication, and is not limited herein.
In an optional embodiment, before the first smart device sends the protocol communication broadcast to the second smart device, the method further includes a step of receiving hotspot information of the second WIFI hotspot input by the user, including: responding to the login operation of a user, and opening a hotspot configuration window; receiving hotspot information of a second WIFI hotspot input by a user through the hotspot configuration window, so that the user can set the second WIFI hotspot according to own preference or requirement
The application scenario in this embodiment is that the student tablet connects to the WIFI hotspots in batch, and therefore a teacher account is required to log in to set a second WIFI hotspot of the router. And the second intelligent device opens a hotspot configuration window corresponding to the login operation of the teacher account, and at the moment, the teacher can input hotspot information of the second WIFI hotspot in the hotspot configuration window, namely, the second WIFI hotspot subsequently sent by the router is set in a relevant manner.
In an optional embodiment, the hotspot information only includes a second WIFI hotspot name, and when the hotspot information of the second WIFI hotspot input by the user through the hotspot configuration window is received, a second WIFI hotspot password corresponding to the second WIFI hotspot name is generated according to the second WIFI hotspot name through a password generation tool.
In an optional embodiment, the hotspot information may include a second WIFI hotspot name and a second WIFI hotspot password corresponding to the second WIFI hotspot name. The second WIFI hotspot name can be composed of multi-digit letters and/or numbers, and the second WIFI hotspot password is obtained by performing reverse transformation on the second WIFI hotspot name.
The second WIFI hotspot name may be composed of multi-digit letters and/or numbers, and the second WIFI hotspot password is obtained by converting capital letters of the second WIFI hotspot name into lower case letters, and converting lower case letters into upper case letters.
In other embodiments, the relationship between the second WIFI hotspot password and the second WIFI hotspot name may be other association relationships.
The reasonable use and management of the network are facilitated by providing the second WIFI hotspot and the second WIFI hotspot password.
S130: and receiving a network disconnection callback signal returned by the second intelligent equipment, counting the number of the second intelligent equipment according to the network disconnection callback signal, and controlling a router to close the first WIFI hotspot and restart to send the second WIFI hotspot if the number of the second intelligent equipment is consistent with a preset equipment value.
In the application, the second intelligent device automatically returns the offline callback information to the first intelligent device after receiving the hotspot information of the second WIFI hotspot, so that the second intelligent device is about to disconnect from the first WIFI hotspot and wait for the connection with the second WIFI hotspot.
In order to ensure that all the second intelligent devices can be connected to the second WIFI hotspot, that is, the interaction tablet used by the student can switch the second WIFI hotspot, it is necessary to determine whether all the second intelligent devices are ready for connection by the number of returned network disconnection callback signals before switching the hotspot. Specifically, the offline callback signals are counted quantitatively, if the number of the second intelligent devices is consistent with a preset device value, it is indicated that all the second intelligent devices have already made preparations for switching the WIFI hotspots, at this time, the router can be controlled to close the first WIFI hotspot, and the second WIFI hotspot is reinitiated to be connected with the first intelligent device and the second intelligent device. Therefore, the teacher can enter the classroom for teaching through the first intelligent device, and the student can learn through the second intelligent device, so that the teaching method is convenient and fast.
In an optional embodiment, a preset switching time is further set, and if the number of the second intelligent devices fails to reach a preset device value within the preset switching time, an interactive window pops up to prompt the number and the identification of the second intelligent devices which have returned the network disconnection callback signal currently, and/or an interactive window pops up to prompt the number and the identification of the second intelligent devices which have not returned the network disconnection callback signal currently, so as to prompt a user to check the second intelligent devices which have not returned the network disconnection callback signal.
Further, whether the WIFI hotspot is switched immediately is prompted through the interactive window, switching confirmation operation of a user is responded, the router is controlled to close the first WIFI hotspot and restart to send out the second WIFI hotspot, and the second WIFI hotspot is connected with second intelligent equipment which is ready for connection.
In an optional embodiment, a preset switching time is further set, and if the number of the second intelligent devices does not reach a preset device value within the preset switching time, the router is controlled to close the first WIFI hotspot and restart sending the second WIFI hotspot for the connection of the second intelligent devices which are ready for connection.
In an optional embodiment, further comprising the step of: and disconnecting the connection with the first WIFI hotspot, searching the second WIFI hotspot and connecting the second WIFI hotspot. After the router turns off the first WIFI hotspot, only the second WIFI hotspot is sent out, so that the first intelligent device can surf the internet only by connecting to the second WIFI hotspot, and communicates with the second intelligent device to send related videos or data.
By applying the technical scheme of the embodiment of the invention, the protocol communication broadcast is sent to the second intelligent equipment, and the protocol communication is established with the second intelligent equipment, so that the new WIFI hotspot information can be sent to the second intelligent equipment firstly, the online quantity of the second intelligent equipment is ensured, and the router is controlled to restart to generate a new WIFI hotspot, so that the second intelligent equipment is disconnected from the old WIFI hotspot connection and the protocol connection, and searches for a new WIFI hotspot and is connected with the new WIFI hotspot. According to the technical scheme of the embodiment of the invention, batch intelligent equipment can automatically switch WIFI hot spot networking, and each second intelligent equipment does not need to be manually operated to switch the WIFI hot spot networking, so that the speed of switching the WIFI hot spot networking is high, and the networking efficiency is high.
According to a second aspect of the present application, a device for networking an intelligent device is further provided, where the device may be used to execute the content of the method for networking an intelligent device according to the corresponding embodiment of the present application, and has corresponding functions and beneficial effects. For details not disclosed in the embodiments of the intelligent device networking apparatus of the present application, please refer to the contents of the intelligent device networking method of the present application.
Please refer to fig. 2, which is a block diagram illustrating a structure of an intelligent device networking apparatus according to an embodiment of the present application.
The intelligent device networking apparatus 200 comprises:
the broadcasting module 210 is configured to connect to a first WIFI hotspot of a local area network where the second smart device is located, and send out a protocol communication broadcast;
the information sending module 220 is configured to receive the broadcast response signal fed back by the second intelligent device, and send hotspot information of a second WIFI hotspot to the second intelligent device through a protocol communication channel;
and the hotspot switching module 230 is configured to receive a network disconnection callback signal returned by the second intelligent device, count the number of the second intelligent devices according to the network disconnection callback signal, and control the router to close the first WIFI hotspot and restart sending the second WIFI hotspot if the number of the second intelligent devices is consistent with a preset device value.
According to the embodiment of the application, the first intelligent device sends out the protocol communication broadcast, the protocol communication is established with the second intelligent device, so that new WIFI hotspot information can be sent to the second intelligent device firstly, the online quantity of the second intelligent device is ensured, the router is controlled to restart to generate new WIFI hotspots, the second intelligent device is enabled to disconnect the old WIFI hotspot connection and the protocol communication, and new WIFI hotspots are searched and connected. According to the technical scheme of the embodiment of the invention, the intelligent equipment can automatically switch the WIFI hotspot networking, and each second intelligent equipment does not need to be manually operated to switch the WIFI hotspot networking, so that the speed of switching the WIFI hotspot networking is high, and the networking efficiency is high.
It should be noted that, in the embodiment of the intelligent device networking apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
According to the third aspect of the present application, a smart device is further provided, where the smart device may be any smart terminal having a display screen, for example, the smart device may specifically be a computer, a mobile phone, a tablet computer, an interactive tablet, and the like.
Please refer to fig. 3, which is a block diagram illustrating a structure of an intelligent device according to an embodiment of the present application. The smart device 300 includes at least one processor 310, at least one network interface 320, a user interface 330, a memory 340, and at least one communication bus 350. Wherein a communication bus 350 is used to enable the connection communication between these components.
The user interface 330 may include an interface for connecting a display screen, and the optional user interface 330 may further include a standard wired interface or a wireless interface.
The network interface 320 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface).
Processor 310 may include one or more processing cores, among other things. The processor 310 connects various parts throughout the interaction tablet 300 using various interfaces and lines, and performs various functions of the interaction tablet 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the processor 310 and calling data stored in the memory 340. Alternatively, the processor 310 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 310 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 310, and may be implemented by a single chip.
The Memory 340 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 340 includes a non-transitory computer-readable medium. The memory 340 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 340 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described method embodiments, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 340 may alternatively be at least one memory device located remotely from the processor 310. As shown in fig. 3, the memory 340, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an operating application of the smart interactive tablet.
In the smart device 300 shown in fig. 3, the user interface 330 is mainly used as an interface for providing input for a user to obtain data input by the user; and the processor 310 may be configured to invoke the operating application of the smart device stored in the memory 340 and perform the associated operations in the smart device networking method of the above-described embodiments.
The intelligent device can be used for executing the content of the intelligent device networking method in the corresponding embodiment of the application, and has corresponding functions and beneficial effects.
According to a fourth aspect of the present application, a method for networking an intelligent device is further provided, where the method is applied to a second intelligent device, the second intelligent device is a computer device or an interactive tablet or the like that needs to switch a WIFI hotspot connection, and the second intelligent device is an interactive tablet for students to use in class in this embodiment.
Please refer to fig. 4, which is a flowchart illustrating a method for networking an intelligent device according to an embodiment of the present application.
The networking method of the intelligent equipment comprises the following steps:
s410: and connecting with a first WIFI hotspot of a local area network where the first intelligent device is located.
In the embodiment of the application, the first WIFI hotspot is a WIFI hotspot set by a router in a default mode, and the first intelligent device, the second intelligent device and other intelligent devices are connected. The second intelligent device can be connected to the first WIFI hotspot and also can be connected to other hotspots in a local area network where the first intelligent device is located, and protocol communication can be conveniently established with the first intelligent device.
S420: and receiving a protocol communication broadcast sent by the first intelligent equipment, establishing protocol communication with the first intelligent equipment, and feeding back a broadcast response signal to the first intelligent equipment through a protocol communication channel.
According to the method and the device, the first intelligent device sends out the protocol communication broadcast, so that the first intelligent device and the second intelligent device establish protocol communication, the hotspot information of the second WIFI hotspot is sent to all second intelligent devices needing to be switched, and other electronic devices which do not need to be switched do not receive the hotspot information of the second WIFI hotspot sent by the first intelligent device due to the fact that protocol communication is not established with the first intelligent device, cannot be connected to the second WIFI hotspot, and effective utilization of a network is guaranteed. After monitoring the protocol communication broadcast sent by the first intelligent device, the second intelligent device establishes protocol connection with the first intelligent device, returns a response signal to the first intelligent device, informs the first intelligent device of the online state, and waits for the WIFI hotspot switching.
In this embodiment, the protocol communication established by the first intelligent device and the second intelligent device is TCP protocol communication. After the first intelligent device sends the hotspot information of the second WIFI hotspot to the second intelligent device through the TCP protocol connection, because whether the protocol communication between the first intelligent device and the second intelligent device is normal or not needs to be confirmed, after the first intelligent device sends out the TCP protocol communication broadcast, the second intelligent device needs to respond to the TCP protocol communication broadcast, and the success of the protocol communication between the first intelligent device and the second intelligent device is indicated.
Specifically, the second intelligent device receives a TCP protocol communication broadcast generated by the first intelligent device through the TCP server, establishes a TCP protocol communication with the first intelligent device, and returns a TCP broadcast response signal to the first intelligent device through the TCP protocol communication.
S430: and receiving hotspot information of a second WIFI hotspot sent by the first intelligent device through the protocol communication channel, returning a network disconnection callback signal to the first intelligent device, disconnecting the first WIFI hotspot, and disconnecting the protocol communication with the first intelligent device.
And after the second intelligent device sends the network disconnection callback signal to the first intelligent device, the second intelligent device indicates that preparation for waiting for connecting a new WIFI hotspot is made.
S440: searching the second WIFI hotspot, and connecting to the second WIFI hotspot according to the hotspot information of the second WIFI hotspot.
In this embodiment, the hotspot information of the second WIFI hotspot includes a second WIFI hotspot name and a second WIFI hotspot password corresponding to the second WIFI hotspot name, where the setting of the second WIFI hotspot password is consistent with the method adopted in the foregoing embodiment.
After the second intelligent device searches the second WIFI hotspot, the second WIFI hotspot name and the second WIFI hotspot password are automatically verified to be connected to the second WIFI hotspot, so that the automatic switching of the WIFI hotspot and connection of the second intelligent device are realized. All second intelligent devices needing to switch the WIF hotspots to surf the internet can automatically switch the WIFI hotspots and connect the WIFI hotspots through the method, so that the intelligent devices can switch the WIFI hotspots in batches, the networking efficiency is improved, and the method is very convenient and fast.
According to a fifth aspect of the present application, the present application further provides an intelligent device networking apparatus, which may be used to execute the content of the intelligent device networking method according to the corresponding embodiment of the present application, and has corresponding functions and beneficial effects. For details not disclosed in the embodiments of the networking apparatus for intelligent devices of the present application, please refer to the contents of the networking method for intelligent devices of the present application.
Please refer to fig. 5, which is a schematic block diagram illustrating a structure of an intelligent device networking apparatus according to an embodiment of the present application, where the intelligent device networking apparatus 500 includes:
the first connection module 510 is configured to connect to a first WIFI hotspot of a local area network where the first smart device is located;
the response module 520 is configured to receive a protocol communication broadcast sent by the first intelligent device, establish protocol communication with the first intelligent device, and feed back a broadcast response signal to the first intelligent device through a protocol communication channel;
the network disconnection module 530 is configured to receive hotspot information of a second WIFI hotspot sent by the first intelligent device through the protocol communication channel, return a network disconnection callback signal to the first intelligent device, disconnect the first WIFI hotspot, and disconnect protocol communication with the first intelligent device;
the second connection module 540 is configured to search for the second WIFI hotspot, and connect to the second WIFI hotspot according to hotspot information of the second WIFI hotspot.
According to the method and the device, the protocol communication broadcast is sent to the second intelligent device, so that the second intelligent device and the first intelligent device establish protocol communication, new WIFI hotspot information sent by the first intelligent device can be received, old WIFI hotspot connection and protocol communication are disconnected, and new WIFI hotspots are searched and connected. According to the technical scheme of the embodiment of the invention, the intelligent equipment can automatically switch the WIFI hotspot networking, and each second intelligent equipment does not need to be manually operated to switch the WIFI hotspot networking, so that the speed of switching the WIFI hotspot networking is high, and the networking efficiency is high.
It should be noted that, when the intelligent device networking apparatus provided in the foregoing embodiment executes the foregoing intelligent device networking method, only the division of the functional modules is used for illustration, and in practical applications, the foregoing function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the intelligent device networking apparatus provided in the above embodiments and the intelligent device networking method embodiments belong to the same concept, and details of the embodying process are shown in the embodiments and are not described herein again.
According to a sixth aspect of the present application, the present application further provides a smart device, where the smart device may be any smart terminal with a display screen, for example, may specifically be a computer, a mobile phone, a tablet computer, an interactive tablet, and the like.
Please refer to fig. 6, which is a block diagram illustrating a structure of an intelligent device according to an embodiment of the present application. The smart device 600 includes at least one processor 610, at least one network interface 620, a user interface 630, a memory 640, and at least one communication bus 650. Wherein a communication bus 650 is used to enable the connection communication between these components.
The user interface 630 may include an interface for connecting a display screen, and the optional user interface 630 may also include a standard wired interface or a wireless interface.
The network interface 620 may optionally include a standard wired interface or a standard wireless interface (e.g., WIFI interface).
Processor 610 may include one or more processing cores, among other things. The processor 610 interfaces with various components throughout the interaction tablet 600 using various interfaces and lines to perform various functions of the interaction tablet 600 and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the processor 610 and invoking data stored in the memory 640. Alternatively, the processor 610 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 610 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 610, but may be implemented by a single chip.
The Memory 640 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 640 includes a non-transitory computer-readable medium. The memory 640 may be used to store instructions, programs, code sets, or instruction sets. The memory 640 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 640 may optionally be at least one memory device located remotely from the processor 610. As shown in fig. 6, the memory 640, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an operating application of the smart interactive tablet.
In the smart device 600 shown in fig. 6, the user interface 630 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 610 may be configured to invoke the operating application of the smart device stored in the memory 640 and perform the associated operations in the smart device networking method of the above-described embodiments.
The intelligent device can be used for executing the content of the intelligent device networking method in the corresponding embodiment of the application, and has corresponding functions and beneficial effects.
According to a seventh aspect of the present application, there is also provided an intelligent device networking system, please refer to fig. 7, which is a block diagram illustrating a structure of the intelligent device networking system according to an embodiment of the present application. The intelligent device networking system comprises a router 710, a first intelligent device 720 and a plurality of second intelligent devices 730;
the router 710 is configured to send out a first WIFI hotspot;
the first smart device 720 is connected to the first WIFI hotspot of the local area network where the second smart device 730 is located, sends out a protocol communication broadcast to receive a broadcast response signal fed back by the second smart device 730, and sends hotspot information of the second WIFI hotspot to the second smart device 730 through a protocol communication channel; receiving a network disconnection callback signal returned by the second intelligent device 730, counting the number of the second intelligent devices 730 according to the network disconnection callback signal, and if the number of the second intelligent devices 730 is consistent with a preset device value, controlling the router 710 to close the first WIFI hotspot and restart to send out the second WIFI hotspot;
the second smart device 730 is connected to the first WIFI hotspot, receives the protocol communication broadcast sent by the first smart device 720, establishes protocol communication with the first smart device 720, and feeds back a broadcast response signal to the first smart device 720 through a protocol communication channel; receiving hotspot information of a second WIFI hotspot sent by the first intelligent device 720 through the protocol communication channel, returning a network disconnection callback signal to the first intelligent device 720, disconnecting the first WIFI hotspot, and disconnecting the protocol communication with the first intelligent device 720; searching the second WIFI hotspot, and connecting to the second WIFI hotspot according to the hotspot information of the second WIFI hotspot.
In an alternative embodiment, the protocol communication is a TCP protocol communication;
the first intelligent device 720 sends out a TCP protocol communication broadcast, receives a broadcast response signal fed back by the second intelligent device 730, and sends hotspot information of a second WIFI hotspot to the second intelligent device 730 through a TCP protocol communication channel;
the second intelligent device 730 receives the TCP protocol communication broadcast sent by the first intelligent device 720, establishes TCP protocol communication with the first intelligent device 720, and feeds back a broadcast response signal to the first intelligent device 720 through a TCP protocol communication channel; and receiving hotspot information of the second WIFI hotspot sent by the first intelligent device 720 through the TCP protocol communication channel, and returning a network disconnection callback signal to the first intelligent device 720.
According to the embodiment of the application, the first intelligent device sends out the protocol communication broadcast and establishes protocol communication with the second intelligent device, so that new WIFI hotspot information can be sent to the second intelligent device firstly, the online quantity of the second intelligent device is ensured, the router is controlled to restart to generate new WIFI hotspots, the second intelligent device is enabled to disconnect the old WIFI hotspot connection and the protocol communication, and the new WIFI hotspot is searched and automatically verified to be connected. According to the technical scheme of the embodiment of the invention, batch intelligent equipment can automatically switch WIFI hot spot networking, and each second intelligent equipment does not need to be manually operated to switch the WIFI hot spot networking, so that the speed of switching the WIFI hot spot networking is high, and the networking efficiency is high.
According to an eighth aspect of the present application, there is also provided a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform operations associated with the smart device networking method provided in any of the embodiments of the present application, and have corresponding functions and advantages. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of many obvious modifications, rearrangements and substitutions without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A networking method of intelligent equipment is applied to first intelligent equipment and is characterized in that: the method comprises the following steps:
connecting a first WIFI hotspot of a local area network where the second intelligent device is located, and sending out a protocol communication broadcast;
receiving a broadcast response signal fed back by the second intelligent device, and sending hotspot information of a second WIFI hotspot to the second intelligent device through a protocol communication channel;
and receiving a network disconnection callback signal returned by the second intelligent equipment, counting the number of the second intelligent equipment according to the network disconnection callback signal, and controlling a router to close the first WIFI hotspot and restart to send the second WIFI hotspot if the number of the second intelligent equipment is consistent with a preset equipment value.
2. The intelligent device networking method of claim 1, wherein: the protocol communication is TCP protocol communication; the method for sending out the protocol communication broadcast by the first WIFI hotspot connected with the local area network where the second intelligent device is located comprises the following steps:
and connecting the first WIFI hotspot of the local area network where the second intelligent device is located, starting a TCP server to generate a TCP protocol communication broadcast, and sending the TCP protocol communication broadcast.
3. The intelligent device networking method of claim 1, wherein: before the step of receiving the broadcast response signal fed back by the second intelligent device and sending the hotspot information of the second WIFI hotspot to the second intelligent device through a protocol communication channel, the method further includes the steps of:
and responding to the login operation of the user, opening a hotspot configuration window, and receiving hotspot information of the second WIFI hotspot input by the user through the hotspot configuration window.
4. The intelligent device networking method of claim 3, wherein: the hotspot information includes a second WIFI hotspot name,
and when receiving hotspot information of a second WIFI hotspot input by a user through the hotspot configuration window, generating a second WIFI hotspot password corresponding to the second WIFI hotspot name according to the second WIFI hotspot name.
5. The intelligent device networking method of claim 1, wherein: and a preset switching time is also set, if the number of the second intelligent devices fails to reach a preset device value within the preset switching time, an interactive window is popped up to prompt the number and the identification of the second intelligent devices which return the network disconnection callback signal currently, and/or the interactive window is popped up to prompt the number and the identification of the second intelligent devices which do not return the network disconnection callback signal currently.
6. The intelligent device networking method of claim 5, wherein: and if the number of the second intelligent devices does not reach the preset device numerical value within the preset switching time, popping up an interactive window to prompt whether to switch the WIF hotspot immediately, responding to the switching confirmation operation of the user, controlling the router to close the first WIFI hotspot and restarting to send out the second WIFI hotspot.
7. A networking method of intelligent equipment is applied to second intelligent equipment and is characterized in that: the method comprises the following steps:
connecting a first WIFI hotspot of a local area network where first intelligent equipment is located;
receiving a protocol communication broadcast sent by the first intelligent equipment, establishing protocol communication with the first intelligent equipment, and feeding back a broadcast response signal to the first intelligent equipment through a protocol communication channel;
receiving hotspot information of a second WIFI hotspot sent by the first intelligent device through the protocol communication channel, returning a network disconnection callback signal to the first intelligent device, disconnecting the first WIFI hotspot, and disconnecting the protocol communication with the first intelligent device;
searching the second WIFI hotspot, and connecting to the second WIFI hotspot according to the hotspot information of the second WIFI hotspot.
8. An intelligent equipment networking system, its characterized in that: the system comprises a router, a first intelligent device and a plurality of second intelligent devices;
the router is used for sending out a first WIFI hotspot;
the first intelligent device is connected with the first WIFI hotspot of the local area network where the second intelligent device is located, sends out protocol communication broadcast to receive a broadcast response signal fed back by the second intelligent device, and sends hotspot information of the second WIFI hotspot to the second intelligent device through a protocol communication channel; receiving a network disconnection callback signal returned by the second intelligent device, counting the number of the second intelligent devices according to the network disconnection callback signal, and controlling a router to close the first WIFI hotspot and restart to send out the second WIFI hotspot if the number of the second intelligent devices is consistent with a preset device value;
the second intelligent device is connected to the first WIFI hotspot, receives the protocol communication broadcast sent by the first intelligent device, establishes protocol communication with the first intelligent device, and feeds a broadcast response signal back to the first intelligent device through a protocol communication channel; receiving hotspot information of a second WIFI hotspot sent by the first intelligent device through the protocol communication channel, returning a network disconnection callback signal to the first intelligent device, disconnecting the first WIFI hotspot, and disconnecting the protocol communication with the first intelligent device; searching the second WIFI hotspot, and connecting to the second WIFI hotspot according to the hotspot information of the second WIFI hotspot.
9. A smart device comprising a display, a processor, and a memory; the method is characterized in that: the memory stores a computer program adapted to be loaded by the processor and to perform the smart device networking method of any of claims 1 to 6, or the smart device networking method of claim 7.
10. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the smart device networking method according to any one of claims 1 to 6 or the smart device networking method according to claim 7.
CN202110563694.XA 2021-05-24 2021-05-24 Intelligent device networking method, networking system, intelligent device and storage medium Pending CN115396959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110563694.XA CN115396959A (en) 2021-05-24 2021-05-24 Intelligent device networking method, networking system, intelligent device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110563694.XA CN115396959A (en) 2021-05-24 2021-05-24 Intelligent device networking method, networking system, intelligent device and storage medium

Publications (1)

Publication Number Publication Date
CN115396959A true CN115396959A (en) 2022-11-25

Family

ID=84114099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110563694.XA Pending CN115396959A (en) 2021-05-24 2021-05-24 Intelligent device networking method, networking system, intelligent device and storage medium

Country Status (1)

Country Link
CN (1) CN115396959A (en)

Similar Documents

Publication Publication Date Title
TWI712295B (en) Method, device and system for binding user terminal and equipment
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
US20170171496A1 (en) Method and Electronic Device for Screen Projection
EP3131303B1 (en) Method and device for transmitting data in intelligent terminal to television terminal
CN103546575A (en) Method and device for data transmission
CN110932953A (en) Intelligent household control method and device, computer equipment and storage medium
CN112954717B (en) Household appliance network distribution method and device based on H5 page
CN103533165B (en) Multi-APN (Access Point Name) concurrency method supporting Android applications of handheld equipment and system thereof
CN115396521A (en) Method, device and system for switching communication protocol
CN103812903A (en) Method and system for achieving intelligent song requesting through Internet and service management server
CN105592232B (en) A kind of synchronous method and device of the lyrics
CN103561063A (en) Method and terminal for logging onto set top box
CN104301400B (en) Multi-screen collaboration and resource share method based on Samba agreements
CN114285695B (en) Communication method, device, apparatus, system and storage medium
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN109787900B (en) Transmission method, device, equipment and machine readable medium
CN107465723B (en) Multi-screen interactive connection method and system, mobile terminal and readable storage medium
CN113709239A (en) Intelligent household equipment communication method, equipment and medium
CN104202432B (en) Remote web management system and management method
CN110995577B (en) Multi-channel adaptation method and device for message and storage medium
CN115396959A (en) Intelligent device networking method, networking system, intelligent device and storage medium
US20230087220A1 (en) Data processing method and apparatus based on instant messaging, device, and storage medium
CN111542033A (en) Near-field data transmission method and device and computer readable storage medium
CN106330504B (en) Method for realizing application and service controller
CN106028469B (en) A kind of communication connection method for building up, device and mobile terminal

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