Disclosure of Invention
In order to overcome the defects of related products in the prior art, the invention provides an audio equipment networking method to solve the problem that the existing non-screen intelligent hardware cannot be conveniently connected with a network. The embodiment of the invention also provides an audio equipment networking system applied to the audio equipment networking method.
The invention provides an audio device networking method, which comprises the following steps: acquiring configuration information of a current wireless network through an intelligent terminal, searching all NFC equipment in an effective range, and selecting and connecting audio equipment needing network connection;
and controlling the intelligent terminal to carry out data transmission, writing the configuration information of the current wireless network into audio equipment connected with the intelligent terminal, and identifying and reading the configuration information of the current wireless network by the audio equipment and then connecting the audio equipment with the wireless network.
In some embodiments, the manner for acquiring the configuration information of the current wireless network through the intelligent terminal includes:
if the intelligent terminal is connected with the wireless network, directly reading configuration information of the wireless network connection through the intelligent terminal;
and if the intelligent terminal is not connected with the wireless network, sending a first connection request and reading configuration information of the wireless network connection after the intelligent terminal is connected with the wireless network.
In some embodiments, the searching for all NFC devices within the effective range, and selecting and connecting an audio device in which a network connection is required comprises:
sending a second connection request and receiving returned response information to determine all NFC equipment available for connection in the current effective range;
and selecting and connecting the audio equipment in which the network connection is required according to the returned response information.
In some embodiments, the controlling the intelligent terminal to perform data transmission and writing configuration information of a current wireless network into an audio device connected to the intelligent terminal, where the audio device identifying and reading the configuration information of the current wireless network and then connecting to the wireless network includes:
and controlling an intelligent terminal to perform data transmission with the audio equipment, wherein the intelligent terminal writes the configuration information into an NFC label of the audio equipment, and the audio equipment performs network connection configuration and correspondingly connects the wireless network by identifying and reading the configuration information in the NFC label.
In some embodiments, the configuration information includes an SSID of a wireless network and key information matching the SSID.
The invention also provides an audio equipment networking system, which is applied to any audio equipment networking method, and comprises an intelligent terminal and audio equipment;
the intelligent terminal is used for acquiring the configuration information of the current wireless network, searching all NFC equipment in an effective range, selecting and connecting audio equipment needing network connection, transmitting data and writing the configuration information of the current wireless network into the audio equipment connected with the intelligent terminal;
and the audio equipment is used for identifying and reading the configuration information of the current wireless network and then connecting the wireless network.
In some embodiments, the manner in which the intelligent terminal obtains the configuration information of the current wireless network includes:
if the intelligent terminal is connected with the wireless network, directly reading configuration information of the wireless network connection through the intelligent terminal;
and if the intelligent terminal is not connected with the wireless network, sending a first connection request and reading configuration information of the wireless network connection after the intelligent terminal is connected with the wireless network.
In some embodiments, the intelligent terminal comprises:
the data request module is used for sending a second connection request and receiving returned response information to determine all NFC equipment available for connection in the current effective range;
and the selection module is used for selecting and connecting the audio equipment which needs to be connected with the network according to the returned response information.
In some implementations, the audio device includes:
the NFC tag is used for carrying out data transmission with the intelligent terminal and storing the configuration information written by the intelligent terminal;
the NFC reading module is used for identifying and reading the configuration information in the NFC tag;
and the communication module is used for carrying out network connection configuration according to the configuration information and correspondingly connecting the wireless network.
In some embodiments, the configuration information includes an SSID of a wireless network and key information matching the SSID.
Compared with the prior art, the invention has the following advantages:
according to the audio equipment networking method, the audio equipment is close to the intelligent terminal, so that the intelligent terminal obtains the configuration information of the current wireless network, all NFC equipment in an effective range is searched, the audio equipment needing network connection is selected and connected, after the audio equipment is identified by the intelligent terminal, the configuration information of the current wireless network is written into the audio equipment connected with the intelligent terminal by the intelligent terminal, the audio equipment identifies and reads the configuration information of the current wireless network and then is connected with the wireless network, in the process, the intelligent terminal is used as a carrier for reading and writing the configuration information, when the audio equipment is in a scene without an input device, the configuration information can be written and set for the networking of the audio equipment, the audio equipment can be connected with the current wireless network very conveniently, and the cost is low, and the operation is simple.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention. It is to be understood that the described embodiments are merely illustrative of some, but not all, of the embodiments of the invention, and that the preferred embodiments of the invention are shown in the drawings. This invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather should be construed as set forth in a manner that provides a thorough understanding of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The terms "including" and "having," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Fig. 1 is a schematic flow chart of the audio device networking method of the present invention, and referring to fig. 1, the audio device networking method includes the following steps:
s101: and acquiring the configuration information of the current wireless network through the intelligent terminal, searching all NFC equipment in the effective range, and selecting and connecting the audio equipment needing network connection.
S102: and controlling the intelligent terminal to carry out data transmission, writing the configuration information of the current wireless network into audio equipment connected with the intelligent terminal, and identifying and reading the configuration information of the current wireless network by the audio equipment and then connecting the audio equipment with the wireless network.
In the embodiment of the invention, the intelligent terminal comprises equipment with wireless networking functions such as an intelligent mobile phone, a tablet computer and an IPAD (internet protocol ad), the audio equipment is an AI (audio information) sound without an input device or other audio equipment, the configuration information comprises an SSID (Service Set Identifier) of a wireless network and key information matched with the SSID, the configuration information of the wireless network is obtained through the intelligent terminal, the configuration information is written into the audio equipment connected with the intelligent terminal, and the audio equipment identifies and reads the configuration information of the current wireless network and then is connected with the wireless network.
The embodiment of the invention acquires the configuration information of the current wireless network through the intelligent terminal, and the mode of acquiring the configuration information by the intelligent terminal comprises the following steps: if the intelligent terminal is connected with the wireless network, directly reading configuration information of the wireless network connection through the intelligent terminal; if the intelligent terminal is not connected with the wireless network, sending a first connection request and reading configuration information of the wireless network connection after the intelligent terminal is connected with the wireless network; the corresponding configuration information is acquired by connecting the intelligent terminal with the current wireless network, and compared with a scene that audio equipment cannot directly acquire the configuration information of the current wireless network, the intelligent terminal has better implementation effect and is simple to operate due to the universality of the existing intelligent terminal.
The NFC (Near Field Communication) technology is evolved from contactless Radio Frequency Identification (RFID), and is a short-range high-frequency radio technology, which can perform identification and data exchange with a compatible device (such as an audio device according to the present invention) in a short distance without a short-range contact, so that an audio device in an effective range can be identified by an intelligent terminal, and in order to accurately find an audio device to be selectively connected, the embodiment of the present invention searches for all NFC devices in the effective range, selects and connects an audio device in which a network connection is required, determines all NFC devices available for connection in the current effective range by sending a second connection request and receiving returned response information, and selects and connects an audio device in which a network connection is required according to the returned response information.
In the embodiment of the invention, an NFC tag and a corresponding NFC reading module are arranged in the audio equipment, the intelligent terminal is a terminal with an NFC function, the NFC tag is used for carrying out data transmission with the intelligent terminal and storing the configuration information written in by the intelligent terminal, the NFC reading module is used for identifying and reading the configuration information in the NFC tag, and after the audio equipment is identified by the intelligent terminal, the audio equipment is connected with the intelligent terminal.
According to the audio equipment networking method, the audio equipment is close to the intelligent terminal, so that the intelligent terminal obtains the configuration information of the current wireless network, all NFC equipment in an effective range is searched, the audio equipment needing network connection is selected and connected, after the audio equipment is identified by the intelligent terminal, the configuration information of the current wireless network is written into the audio equipment connected with the intelligent terminal by the intelligent terminal, the audio equipment identifies and reads the configuration information of the current wireless network and then is connected with the wireless network, in the process, the NFC label and the NFC reading module are correspondingly arranged in the audio equipment by means of a carrier for reading and writing the configuration information by the intelligent terminal, and when the audio equipment is in a scene without an input device, the configuration information can be written and set for the networking of the audio equipment, so that the audio equipment can be conveniently connected with the current wireless network, and the method is low in cost and simple to operate.
On the basis of the above embodiment, the present invention further provides an audio device networking system, which is applied to the audio device networking method, and includes the intelligent terminal 100 and the audio device 200.
In the embodiment of the present invention, the smart terminal 100 includes a smart phone, a tablet computer, an IPAD, and other devices having a wireless networking function, the audio device 200 is an AI sound device without an input device or other audio devices 200, the configuration information includes an SSID (Service Set Identifier) of a wireless network and key information matched with the SSID, in the embodiment of the present invention, the configuration information of the wireless network is acquired by the smart terminal 100, and is written into the audio device 200 connected to the smart terminal 100, and the audio device 200 identifies and reads the configuration information of the current wireless network and then connects to the wireless network.
The intelligent terminal 100 is configured to obtain configuration information of a current wireless network, search for all NFC devices in an effective range, select and connect an audio device 200 in which network connection is required, perform data transmission, and write the configuration information of the current wireless network into the audio device 200 connected to the intelligent terminal 100; the intelligent terminal 100 comprises a data request module 101, a selection module 102 and an NFC write-in module 103; the data request module 101 is configured to send a second connection request and receive returned response information to determine all NFC devices available for connection in the current effective range; the selection module 102 is configured to select and connect the audio device 200 that needs to be connected to a network according to the returned response information; the NFC writing module 103 is configured to write the acquired configuration information into the audio device 200; the intelligent terminal 100 is connected with the current wireless network to acquire the corresponding configuration information, and compared with a scene that the audio device 200 cannot directly acquire the current wireless network configuration information, due to the popularity of the existing intelligent terminal 100, the intelligent terminal has a better implementation effect and is simple to operate.
The NFC (Near Field Communication) technology is evolved from contactless Radio Frequency Identification (RFID), and is a short-range high-frequency radio technology, which can perform identification and data exchange with a compatible device (such as the audio device 200 according to the present invention) in a short distance without a short-distance contact, so that the audio device 200 in an effective range can be identified by the smart terminal 100, and in order to accurately find the audio device 200 to be selectively connected, the embodiment of the present invention searches for all NFC devices in the effective range, selects and connects the audio device 200 in which network connection is required, determines all NFC devices available in the current effective range by sending a second connection request and receiving returned response information, and selects and connects the audio device 200 in which network connection is required according to the returned response information, and when a plurality of NFC devices exist in the effective range, separately determines identity information of the current NFC devices according to the returned response information, and a user can select and connect one or more NFC devices according to his/her own needs; of course, it should be noted that, according to the strength of the functions of the NFC devices in the smart terminal 100 and the audio device 200, the corresponding connection effective ranges are also different, and the effective range described in the embodiment of the present invention is 10M, and in other embodiments of the embodiment of the present invention, the effective range may also be 8M, 12M, and the like, which is not limited by the present invention.
The audio device 200 is configured to identify and read the configuration information of the current wireless network and then connect to the wireless network. The audio device 200 includes an NFC tag 201, an NFC reading module 202, and a communication module 203, where the NFC tag 201 is configured to perform data transmission with the intelligent terminal 100, and store the configuration information written by the intelligent terminal 100; the NFC reading module 202 is configured to identify and read configuration information in the NFC tag 201; the communication module 203 is configured to perform network connection configuration according to the configuration information and correspondingly connect to the wireless network; after the audio device 200 is identified by the intelligent terminal 100, the audio device 200 is connected to the intelligent terminal 100, in the embodiment of the present invention, data transmission is performed between the intelligent terminal 100 and the audio device 200 by controlling the intelligent terminal 100, wherein the intelligent terminal 100 writes the configuration information into the NFC tag 201 of the audio device 200, the NFC reading module 202 identifies and reads the configuration information in the NFC tag 201, and the communication module 203 performs network connection configuration according to the configuration information and correspondingly connects to the wireless network.
In the audio device networking system according to the embodiment of the present invention, the audio device 200 is close to the intelligent terminal 100, so that the intelligent terminal 100 obtains the configuration information of the current wireless network through the data request module 101, searches for all NFC devices in an effective range, selects and connects the audio device 200 in which network connection is required through the selection module 102, after the audio device 200 is recognized by the intelligent terminal 100, the intelligent terminal 100 writes the configuration information of the current wireless network into the audio device 200 connected to the intelligent terminal 100 through the NFC write-in module 103, and after the audio device 200 recognizes and reads the configuration information of the current wireless network through the NFC read module 202, the audio device 200 is connected to the wireless network through the communication module 203.
On the basis of the foregoing embodiments, those skilled in the art may understand that all or part of the steps in the method for implementing the foregoing embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the above embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The modules or components described as separate parts may or may not be physically separate, and parts shown as modules or components may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network elements. Some or all of the modules or components can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing detailed description, or equivalent changes may be made in some of the features of the embodiments. All equivalent structures made by using the contents of the specification and the attached drawings of the invention can be directly or indirectly applied to other related technical fields, and are also within the protection scope of the patent of the invention.