CN115580869A - Network access method and device of equipment to be accessed to network, storage medium and electronic device - Google Patents

Network access method and device of equipment to be accessed to network, storage medium and electronic device Download PDF

Info

Publication number
CN115580869A
CN115580869A CN202110743543.2A CN202110743543A CN115580869A CN 115580869 A CN115580869 A CN 115580869A CN 202110743543 A CN202110743543 A CN 202110743543A CN 115580869 A CN115580869 A CN 115580869A
Authority
CN
China
Prior art keywords
equipment
networked
network
accessed
target
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
CN202110743543.2A
Other languages
Chinese (zh)
Inventor
井皓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110743543.2A priority Critical patent/CN115580869A/en
Publication of CN115580869A publication Critical patent/CN115580869A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/22Interactive procedures; Man-machine interfaces
    • G10L17/24Interactive procedures; Man-machine interfaces the user being prompted to utter a password or a predefined phrase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a network access method and device of a device to be accessed to a network, a storage medium and an electronic device, wherein the method comprises the following steps: starting a target wireless access point; under the condition that the equipment to be accessed to the network has accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to execute a target event corresponding to the equipment capacity information; the technical scheme can solve the problems that in the related art, under the condition that a plurality of devices to be networked are in a distribution network mode, a sound generating device cannot accurately carry out distribution network for the target devices to be networked and the like.

Description

Network access method and device of equipment to be accessed to network, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a network access method and apparatus for a device to be accessed, a storage medium, and an electronic apparatus.
Background
Along with the increasing of intelligent equipment, user-oriented intelligent household products are more and more common, and convenience brought to users is obvious.
In the related art, there are generally two ways to distribute a network to a device to be networked: the first method is as follows: and configuring equipment to start a hotspot, and accessing the equipment to be networked to the hotspot. The configuration equipment sends network access information such as SSID and password to the equipment to be accessed, and the equipment to be accessed is connected with the router according to the network access information; the second method comprises the following steps: the method comprises the steps that a device to be networked starts a hotspot, a configuration device accesses the hotspot, the configuration device sends network access information such as an SSID (service set identifier) and a password to the device to be networked, and the device to be networked is connected with a router according to the network access information.
In the related art, an effective solution is not provided for the problem that the sound generating device cannot accurately distribute the network for the target equipment to be networked and the like under the condition that a plurality of equipment to be networked are in the network distribution mode.
Disclosure of Invention
The embodiment of the invention provides a network access method and device of equipment to be accessed, a storage medium and an electronic device, which are used for at least solving the problems that in the related art, a sound generating device cannot accurately carry out network distribution on target equipment to be accessed under the condition that a plurality of pieces of equipment to be accessed are in a network distribution mode and the like.
According to an embodiment of the present invention, a network access method for a device to be networked is provided, including: starting a target wireless access point; under the condition that the equipment to be accessed to the network is accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to the network to execute a target event corresponding to the equipment capacity information; judging whether the device to be accessed to the network executes the target event or not, and sending network access information to the device to be accessed to indicate the device to be accessed to execute network access operation according to the network access information under the condition that the device to be accessed to the network executes the target event, wherein the network access information comprises: SSID, and password.
In an exemplary embodiment, the determining whether the device to be networked has executed the target event includes: under the condition that the sound generating device has the capability of detecting whether the equipment to be accessed to the network executes the target event, judging whether the equipment to be accessed to the network executes the target event or not through the sound generating device; and under the condition that the sound generating device does not have the capability of detecting whether the equipment to be networked executes the target event, indicating third-party equipment connected with the sound generating device to determine whether the equipment to be networked executes the target event, receiving a detection result of the third-party equipment on whether the equipment to be networked executes the target event, and judging whether the equipment to be networked executes the target event according to the detection result.
In an exemplary embodiment, after determining whether the device to be networked has executed the target event, the method further includes: under the condition that the target event is not executed by the equipment to be networked, executing at least one of the following operations: sending the target event to the equipment to be accessed to the network again; and directly disconnecting the connection between the sound generating device and the equipment to be networked.
In an exemplary embodiment, before controlling the sound generating device to turn on the target wireless access point, the method further includes: receiving a distribution network voice command sent by a target object, wherein the distribution network voice command is used for indicating a sound generating device to start the target wireless access point; and detecting whether the distribution network voice command is legal or not, and indicating the sound generating device to start the target wireless access point under the condition that the distribution network voice command is detected to be legal.
In an exemplary embodiment, detecting whether the distribution network voice command is legal includes: verifying whether the distribution network voice command is matched with a preset voice command or not, and determining whether the target object has distribution network authority or not according to the voiceprint of the target object; and determining that the distribution network voice command is legal under the conditions that the distribution network voice command is matched with a preset voice command and the target object has a distribution network authority.
In an exemplary embodiment, after controlling the sound emitting device to turn on the target wireless access point, the method further includes: receiving a connection request sent by a device to be networked to the sound generating device, wherein the connection request is used for requesting to connect the target wireless access point; verifying the connection request; and under the condition that the connection request is verified, indicating the sound generating device to be connected with the equipment to be networked.
In one exemplary embodiment, the device capability information includes at least one of: whether the equipment to be networked has the sound production capability or not, whether the equipment to be networked has the capability of displaying lamplight or not, whether the equipment to be networked has the capability of displaying multimedia information or not, and whether the equipment to be networked has the capability of executing the target posture or not.
According to another embodiment of the present invention, there is further provided a device for accessing a network of a device to be accessed to the network, including: the starting module is used for starting the target wireless access point; the indication module is used for acquiring the equipment capability information of the equipment to be accessed under the condition that the equipment to be accessed has been accessed to the target wireless access point, and indicating the equipment to be accessed to execute a target event corresponding to the equipment capability information; and the judging module is used for judging whether the equipment to be accessed to the network executes the target event or not, and sending network access information to the equipment to be accessed to the network under the condition that the equipment to be accessed to the network executes the target event so as to indicate the equipment to be accessed to the network to execute network access operation according to the network access information.
According to another aspect of the embodiments of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, where the computer program is configured to execute the network entry method of the foregoing to-be-networked device when the computer program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the network accessing method of the device to be networked through the computer program.
In the embodiment of the invention, a target wireless access point is started; under the condition that the equipment to be accessed to the network is accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to the network to execute a target event corresponding to the equipment capacity information; the method comprises the steps of judging whether the device to be networked executes the target event or not, sending network access information to the device to be networked under the condition that the device to be networked executes the target event, indicating that the device to be networked executes the network access operation according to the network access information, namely sending the network access information to the device to be networked under the condition that the sound generating device determines that the device to be networked executes the target event, and executing the network access operation according to the network access information by the device to be networked.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a sound generating apparatus of a network access method of a device to be networked according to an embodiment of the present invention;
fig. 2 is a flowchart of a network access method of a device to be networked according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a network entry method of a device to be networked according to an embodiment of the present invention;
fig. 4 is a block diagram of a network accessing apparatus of a device to be networked according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a sound generating device, a mobile terminal or a similar operation device. Taking the operation on the sound generating device as an example, fig. 1 is a hardware structure block diagram of the sound generating device of the network access method of the device to be networked according to the embodiment of the present invention. As shown in fig. 1, the sound generator may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a microprocessor MCU or a programmable logic device FPGA or the like) and a memory 104 for storing data, which in an exemplary embodiment may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the sound generating device. For example, the sound generating device may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the network access method of the device to be networked in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the sound emitting device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the sound emitting device. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a network access method of a device to be networked is provided, which is applied to the sound generating apparatus, and fig. 2 is a flowchart of the network access method of the device to be networked according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, controlling a sound production device to open a target wireless access point;
the sound generating device may be a device having a sound generating function, such as a sound box, and the embodiment of the present invention is not limited thereto.
Step S204, under the condition that the equipment to be accessed into the network has accessed the target wireless access point, acquiring equipment capacity information of the equipment to be accessed into the network, and indicating the equipment to be accessed into the network to execute a target event corresponding to the equipment capacity information;
step S206, determining whether the device to be networked has executed the target event, and sending network access information to the device to be networked to instruct the device to be networked to execute a network access operation according to the network access information when the device to be networked has executed the target event, where the network access information includes: SSID, and password.
In the embodiment of the invention, the sound generating device is controlled to open the target wireless access point; under the condition that the equipment to be accessed to the network is accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to the network to execute a target event corresponding to the equipment capacity information; the method comprises the steps of judging whether the device to be networked executes the target event or not, sending network access information to the device to be networked under the condition that the device to be networked executes the target event, indicating that the device to be networked executes the network access operation according to the network access information, namely sending the network access information to the device to be networked under the condition that the sound generating device determines that the device to be networked executes the target event, and executing the network access operation according to the network access information by the device to be networked.
The network access information in step S206 includes: service Set Identification (SSID) and password; and under the condition that the sound generating device determines that the target event is executed by the equipment to be networked, the sound generating device sends a service set identifier and a password to the equipment to be networked, and the equipment to be networked accesses the network according to the service set identifier and the password.
In an exemplary embodiment, it is determined whether the device to be networked has executed the target event, specifically, when the sound generating device has a capability of detecting whether the device to be networked executes the target event, it is determined whether the device to be networked has executed the target event by the sound generating device; and under the condition that the sound generating device does not have the capability of detecting whether the equipment to be networked executes the target event, indicating third-party equipment connected with the sound generating device to determine whether the equipment to be networked executes the target event, receiving a detection result of the third-party equipment on whether the equipment to be networked executes the target event, and judging whether the equipment to be networked executes the target event according to the detection result.
That is, determining whether a sound generating device has the capability of detecting whether the device to be networked executes the target event, and in the case that the sound generating device has the capability of detecting whether the device to be networked executes the target event, detecting whether the device to be networked executes the target event by the sound generating device; under the condition that the sound generating device does not have the capability of detecting whether the equipment to be networked executes the target event, for example, a third-party device which is interconnected and communicated with the sound generating device and has the capability of detecting whether the equipment to be networked executes the target event is used for monitoring and collecting information, for example, the sound generating device indicates the equipment to be networked to display a target picture according to the capability of the equipment to be networked, but under the condition that the sound generating device does not have the capability of acquiring the target picture displayed by the equipment to be networked, the third-party device which is connected with the sound generating device and is provided with a camera can acquire the picture displayed by the equipment to be networked, determine whether the picture displayed by the third-party device is consistent with the target picture, and send a detection result to the sound generating device under the condition that the picture displayed by the third-party device is consistent with the target picture; the third-party equipment not only indicates equipment different from a manufacturer of the sound generating device, but also is different from the equipment to be networked and the equipment of the sound generating device.
Further, the sound generating apparatus preferentially instructs the device to be networked to execute a target event in which the sound generating apparatus has an execution result of acquiring the target event, for example, if the sound generating apparatus only has a capability of acquiring sound, the sound generating apparatus preferentially instructs the device to be networked to execute the target event of generating the target sound, and if the device to be networked does not have the capability of executing the target event of generating the target sound, the sound generating apparatus further instructs the target device to execute the target event of generating the target image, and the like.
In an exemplary embodiment, after determining whether the target event has been executed by the device to be networked, if the target event is not executed by the device to be networked, at least one of the following operations is performed: sending the target event to the equipment to be accessed to the network again; and directly disconnecting the connection between the sounding device and the equipment to be networked.
Specifically, when the device to be networked does not execute the target event, the target event may be sent to the device to be networked again, specifically, a first number of times of sending the target event to the device to be networked is preset, when the device to be networked does not execute the target event, the number of times of sending the target event to the device to be networked at most is the preset number, when the number of times of sending the target event to the device to be networked reaches the preset number, and when the device to be networked does not execute the target event, the connection between the sound generating device and the device to be networked is disconnected; or under the condition that the equipment to be networked does not execute the target event, directly disconnecting the sound generating device from the equipment to be networked, and not sending the target event to the equipment to be networked.
In an exemplary embodiment, before a sound generating device is controlled to open a target wireless access point, a distribution network voice command sent by a target object is received, wherein the distribution network voice command is used for instructing the sound generating device to open the target wireless access point; and detecting whether the distribution network voice command is legal or not, and indicating the sound generating device to start the target wireless access point under the condition that the distribution network voice command is detected to be legal.
That is to say, the target object sends a distribution network voice command to the sound generating device, when the sound generating device receives the distribution network voice command, the target wireless access point is opened only when the distribution network voice command is determined to be legal, and when the distribution network voice command is determined to be illegal, the hot spot is prohibited to be opened.
Specifically, detecting whether the distribution network voice command is legal includes: verifying whether the distribution network voice command is matched with a preset voice command or not, and determining whether the target object has distribution network authority or not according to the voiceprint of the target object; and determining that the distribution network voice command is legal under the conditions that the distribution network voice command is matched with a preset voice command and the target object has a distribution network authority.
That is to say, the distribution network voice command is determined to be legal under the condition that the content of the distribution network voice command is matched with the preset voice command and the target object sending the distribution network voice command is a user with the distribution network authority; further, the preset voice command may be preset when the sound generating apparatus leaves a factory or may be preset by the target object. The method for determining that the target object sending the distribution network voice command is the user with the distribution network authority may be as follows: judging whether voiceprint information of a target object sending the distribution network voice command is matched with voiceprint information in the database, and determining that the target object sending the distribution network voice command is a user with distribution network authority under the condition that the voiceprint information of the target object is matched with the voiceprint information in the database.
In one exemplary embodiment, after a sound generating device is controlled to open a target wireless access point, a connection request sent by a device to be networked to the sound generating device is received, wherein the connection request is used for requesting to connect the target wireless access point; verifying the connection request; and under the condition that the connection request is verified, indicating the sound generating device to be connected with the equipment to be networked.
After the sound generating device opens the target wireless access point, the sound generating device sends a connection request to the equipment to be networked, wherein the connection request comprises encrypted data and information of the target wireless access point, the encrypted data is decrypted by the distribution network equipment, and the connection request is verified to pass under the condition of successful decryption, so that the sound generating device is connected with the equipment to be networked.
In one exemplary embodiment, the device capability information includes at least one of: whether the equipment to be networked has the sound production capability or not, whether the equipment to be networked has the capability of displaying lamplight or not, whether the equipment to be networked has the capability of displaying multimedia information or not and whether the equipment to be networked has the capability of executing the target posture or not.
The method comprises the steps that a sound generating device obtains equipment information and equipment capacity information of equipment to be networked, wherein the equipment information is used for uniquely indicating the equipment to be networked, and the equipment capacity information at least comprises one of the following information: whether the equipment to be networked has the sound production capability or not, whether the equipment to be networked has the capability of displaying lamplight or not, whether the equipment to be networked has the capability of displaying multimedia information or not, and whether the equipment to be networked has the capability of executing the target posture or not, and according to the equipment capability information, indicating the equipment to be networked to execute the target event.
Specifically, in the case that the device to be networked is determined to have the sound production capability, the device to be networked is instructed to execute at least one of the following target events: emitting the sound of the target content and the sound of the target frequency; under the condition that the equipment to be networked is determined to have the capability of displaying lamplight, the equipment to be networked is instructed to execute at least one target event of the following: emitting light of a target color and emitting light of a target frequency; under the condition that the device to be networked is determined to have the capability of displaying the multimedia information, the device to be networked is instructed to execute at least one target event of the following: displaying a target image, a target video, a target picture with preset time length and a target video with preset time length; under the condition that the device to be networked is determined to have the capability of executing the target gesture, indicating the device to be networked to execute at least one target event of the following: and executing the target walking action towards the target direction.
In order to better understand the process of the network access method of the device to be networked, the following describes a flow of the network access implementation method of the device to be networked with reference to an optional embodiment, but is not limited to the technical solution of the embodiment of the present invention.
As shown in fig. 3, fig. 3 is a schematic diagram of a network access method of a device to be networked according to an embodiment of the present invention, and the specific steps are as follows:
step S301: the smart sound box (equivalent to the sound generating device in the above embodiment) receives a distribution network voice command sent by a user (equivalent to a target object in the above embodiment);
step S302: whether intelligent audio amplifier judges and joins in marriage net voice command legal or not contains the inspection in two aspects: verifying whether the content of the distribution network voice command is matched with the content of a preset distribution network voice command or not; and judging whether the target object sending the distribution network voice command is a user with distribution network authority or not through a voiceprint technology, and executing the step S303 under the condition that the target object sending the distribution network voice command is matched with the user with the distribution network authority. Otherwise, the distribution network action is not executed;
step S303: the smart speaker starts a hotspot with a target name (equivalent to the target wireless access point in the above embodiment);
step S304: the household appliance (which is equivalent to the device to be networked in the embodiment) enters a network distribution mode, and a hotspot of the target name is searched;
step S305: the intelligent sound box and the household appliance are mutually authenticated and connected. After the household appliance searches the hot spot, sending a connection request to the hot spot, starting a connection authentication process, and accessing the household appliance to the hot spot after the authentication is passed;
step S306: and the household appliance sends the equipment information and the interaction capacity to the intelligent sound box. The interaction capability includes but is not limited to whether the household appliance has a sound production capability, whether the household appliance has a light display capability, whether the household appliance has a multimedia information display capability, and whether the household appliance has a target gesture execution capability;
step S307: the intelligent sound box sends information for executing a target event to the household appliance according to the interaction capacity of the household appliance, such as sending out sounds of a target frequency, a target rhythm and preset duration, or displaying an alarm lamp of the target frequency, or displaying a target image and the like;
step S308: the household appliance executes the target event;
step S309: monitoring and collecting information of a target event executed by the household appliance by the intelligent sound box, and if the intelligent sound box has the detection and collection capabilities, determining whether the target event is executed by the household appliance or not by the intelligent sound box; if the intelligent sound box does not have the detection and collection capacity, indicating a third-party device connected with the intelligent sound box to determine whether the household appliance device executes the target event or not, and receiving a detection result of the third-party device on whether the device to be networked executes the target event or not;
step S310: the intelligent sound box determines whether the collected information is matched with the target event;
step S311: under the condition that the intelligent sound box determines that the collected information is matched with the target event, the intelligent sound box sends AP information to the household appliance, and the AP information comprises the following steps: an SSID and a password;
step S312: and the household appliance is connected with the router according to the AP information to complete the distribution network process.
In the embodiment of the invention, the intelligent sound box is controlled to start the hot point of the target hot point name; under the condition that the household appliance has access to the hotspot of the target hotspot name, acquiring the equipment capability information of the household appliance, and indicating the household appliance to execute a target event corresponding to the equipment capability information; the method comprises the steps of determining whether the household appliance executes the target event or not, sending password information to the household appliance to indicate the household appliance to execute network access operation according to the password information under the condition that the household appliance executes the target event, namely sending the password information to the household appliance under the condition that the household appliance executes the target event through the intelligent sound box, and executing the network access operation by the household appliance according to the password information.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 4 is a block diagram of a network accessing apparatus of a device to be networked according to an embodiment of the present invention; as shown in fig. 4, includes:
a starting module 42, configured to start a target wireless access point;
the sound generating device may be a device having a sound generating function, such as a sound box, and the embodiment of the present invention is not limited thereto.
An indicating module 44, configured to, when the device to be networked has accessed the target wireless access point, obtain device capability information of the device to be networked, and instruct the device to be networked to execute a target event corresponding to the device capability information;
a determining module 46, configured to determine whether the device to be networked has executed the target event, and send network access information to the device to be networked to instruct the device to be networked to execute a network access operation according to the network access information when the device to be networked has executed the target event.
In the embodiment of the invention, a target wireless access point is started; under the condition that the equipment to be accessed to the network is accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to execute a target event corresponding to the equipment capacity information; the method comprises the steps of judging whether the device to be networked executes the target event or not, sending network access information to the device to be networked under the condition that the device to be networked executes the target event, indicating that the device to be networked executes the network access operation according to the network access information, namely sending the network access information to the device to be networked under the condition that the sound generating device determines that the device to be networked executes the target event, and executing the network access operation according to the network access information by the device to be networked.
The network access information includes: a service set identification and a password; and under the condition that the determining module of the sound generating device determines that the equipment to be accessed to the network executes the target event, the sound generating device sends a service set identifier and a password to the equipment to be accessed to the network, and the equipment to be accessed to the network accesses the network according to the service set identifier and the password.
In an exemplary embodiment, the determining module is further configured to, when the sound generating device has a capability of detecting whether the device to be networked executes the target event, determine, by the sound generating device, whether the device to be networked executes the target event; and under the condition that the sound generating device does not have the capability of detecting whether the equipment to be networked executes the target event, indicating third-party equipment connected with the sound generating device to determine whether the equipment to be networked executes the target event, receiving a detection result of the third-party equipment on whether the equipment to be networked executes the target event, and judging whether the equipment to be networked executes the target event according to the detection result.
That is, determining whether a sound generating device has the capability of detecting whether the device to be networked executes the target event, and in the case that the sound generating device has the capability of detecting whether the device to be networked executes the target event, detecting whether the device to be networked executes the target event by the sound generating device; in the case that the sound generating apparatus does not have the capability of detecting whether the device to be networked executes the target event, for example, a third-party device that is interconnected and intercommunicated with the sound generating apparatus and has the capability of detecting whether the device to be networked executes the target event is used to monitor and collect information, for example, the sound generating apparatus instructs the device to be networked to display a target picture according to the capability of the device to be networked, but the sound generating apparatus does not have the capability of acquiring the target picture displayed by the device to be networked, may acquire, by using a third-party device that is connected to the sound generating apparatus and that has a camera, the picture displayed by the device to be networked, and determine whether the picture displayed by the third-party device is consistent with the target picture, and in the case that the picture displayed by the third-party device is consistent with the target picture, send a detection result to the sound generating apparatus.
Further, the sound generating apparatus preferentially instructs the device to be networked to execute a target event in which the sound generating apparatus has an execution result of acquiring the target event, for example, if the sound generating apparatus only has a capability of acquiring sound, the sound generating apparatus preferentially instructs the device to be networked to execute the target event of generating the target sound, and if the device to be networked does not have the capability of executing the target event of generating the target sound, the sound generating apparatus further instructs the target device to execute the target event of generating the target image, and the like.
In an exemplary embodiment, the indicating module is further configured to, in a case that the target event is not executed by the device to be networked, perform at least one of the following operations: sending the target event to the equipment to be accessed to the network again; and directly disconnecting the connection between the sound generating device and the equipment to be networked.
Specifically, when the device to be networked does not execute the target event, the target event may be sent to the device to be networked again, specifically, a first number of times of sending the target event to the device to be networked is preset, when the device to be networked does not execute the target event, the number of times of sending the target event to the device to be networked at most is the preset number, when the number of times of sending the target event to the device to be networked reaches the preset number, and when the device to be networked does not execute the target event, the connection between the sound generating device and the device to be networked is disconnected; or under the condition that the target event is not executed by the equipment to be networked, the connection between the sounding device and the equipment to be networked is directly disconnected, and the target event is not sent to the equipment to be networked.
In an exemplary embodiment, before controlling the sound generating device to turn on the target wireless access point, the apparatus further includes: the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a distribution network voice command sent by a target object, and the distribution network voice command is used for indicating a sound generating device to start a target wireless access point; and detecting whether the distribution network voice command is legal or not, and indicating the sound generating device to start the target wireless access point under the condition that the distribution network voice command is detected to be legal.
That is to say, the target object sends a distribution network voice command to the sound generating device, when the sound generating device receives the distribution network voice command, the target wireless access point is opened only when the distribution network voice command is determined to be legal, and when the distribution network voice command is determined to be illegal, the hot spot is prohibited to be opened.
Specifically, the determining module is further configured to verify whether the distribution network voice command matches a preset voice command, and determine whether the target object has a distribution network right according to a voiceprint of the target object; and determining that the distribution network voice command is legal under the conditions that the distribution network voice command is matched with a preset voice command and the target object has a distribution network authority.
That is to say, the distribution network voice command is determined to be legal under the condition that the content of the distribution network voice command is matched with the preset voice command and the target object sending the distribution network voice command is a user with the distribution network authority; further, the preset voice command may be preset when the sound generating apparatus leaves a factory or may be preset by the target object. The mode of determining that the target object sending the distribution network voice command is the user with the distribution network authority may be: whether voiceprint information of a target object sending the distribution network voice command is matched with voiceprint information in the database is judged, and the target object sending the distribution network voice command is determined to be a user with distribution network authority under the condition that the voiceprint information of the target object is matched with the voiceprint information in the database.
In an exemplary embodiment, after the sound generating apparatus is controlled to start the target wireless access point, the receiving module is further configured to receive a connection request sent by the device to be networked to the sound generating apparatus, where the connection request is used to request to connect to the target wireless access point; verifying the connection request; and under the condition that the connection request is verified, indicating the sound generating device to be connected with the equipment to be networked.
After the sound generating device opens the target wireless access point, the sound generating device sends a connection request to the equipment to be networked, wherein the connection request comprises encrypted data and information for requesting connection of the target wireless access point, the distribution network equipment decrypts the encrypted data, and under the condition of successful decryption, the connection request is confirmed to pass verification, and then the sound generating device is connected with the equipment to be networked.
In one exemplary embodiment, the device capability information includes at least one of: whether the equipment to be networked has the sound production capability or not, whether the equipment to be networked has the capability of displaying lamplight or not, whether the equipment to be networked has the capability of displaying multimedia information or not and whether the equipment to be networked has the capability of executing the target posture or not.
The method comprises the steps that a sounding device obtains equipment information and equipment capability information of equipment to be networked, wherein the equipment information is used for uniquely indicating the equipment to be networked, and the equipment capability information at least comprises one of the following information: whether the equipment to be networked has the sound production capability or not, whether the equipment to be networked has the capability of displaying lamplight or not, whether the equipment to be networked has the capability of displaying multimedia information or not, and whether the equipment to be networked has the capability of executing the target posture or not, and according to the equipment capability information, indicating the equipment to be networked to execute the target event.
Specifically, in the case that the device to be networked is determined to have the sound production capability, the device to be networked is instructed to execute at least one of the following target events: emitting the sound of the target content and the sound of the target frequency; under the condition that the equipment to be networked is determined to have the capability of displaying lamplight, the equipment to be networked is instructed to execute at least one target event of the following: emitting light of a target color and emitting light of a target frequency; under the condition that the device to be networked is determined to have the capability of displaying the multimedia information, the device to be networked is instructed to execute at least one target event of the following: displaying a target image, a target video, a target picture with preset time length and a target video with preset time length; under the condition that the device to be networked is determined to have the capability of executing the target gesture, indicating the device to be networked to execute at least one target event of the following: and executing the target walking action towards the target direction.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in this embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, starting a target wireless access point;
s2, under the condition that the equipment to be accessed into the network is accessed into the target wireless access point, acquiring equipment capacity information of the equipment to be accessed into the network, and indicating the equipment to be accessed into the network to execute a target event corresponding to the equipment capacity information;
s3, judging whether the target event is executed by the equipment to be accessed to the network or not, and sending network access information to the equipment to be accessed to the network under the condition that the equipment to be accessed to the network executes the target event so as to indicate the equipment to be accessed to the network to execute network access operation according to the network access information, wherein the network access information comprises: the service set identifies the SSID and password.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, starting a target wireless access point;
s2, under the condition that the equipment to be accessed to the network is accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to execute a target event corresponding to the equipment capacity information;
s3, judging whether the target event is executed by the equipment to be accessed, and sending network access information to the equipment to be accessed to instruct the equipment to be accessed to execute network access operation according to the network access information under the condition that the target event is executed by the equipment to be accessed, wherein the network access information comprises: the service set identifies the SSID and password.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized in a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be executed out of order, or separately as individual integrated circuit modules, or multiple modules or steps thereof may be implemented as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A network access method of a device to be accessed to a network is applied to a generating device and is characterized by comprising the following steps:
starting a target wireless access point;
under the condition that the equipment to be accessed to the network is accessed to the target wireless access point, acquiring equipment capacity information of the equipment to be accessed to the network, and indicating the equipment to be accessed to execute a target event corresponding to the equipment capacity information;
judging whether the device to be accessed to the network executes the target event or not, and sending network access information to the device to be accessed to indicate the device to be accessed to execute network access operation according to the network access information under the condition that the device to be accessed to the network executes the target event, wherein the network access information comprises: the service set identifies the SSID and password.
2. The network accessing method of the device to be accessed according to claim 1, wherein the determining whether the device to be accessed has executed the target event comprises:
under the condition that a sound generating device has the capability of detecting whether the equipment to be accessed to the network executes the target event, judging whether the equipment to be accessed to the network executes the target event or not through the sound generating device;
under the condition that the sounding device does not have the capability of detecting whether the target event is executed by the equipment to be networked, indicating third-party equipment connected with the sounding device to determine whether the target event is executed by the equipment to be networked, receiving a detection result of the third-party equipment on whether the target event is executed by the equipment to be networked, and judging whether the target event is executed by the equipment to be networked according to the detection result.
3. The network accessing method of a device to be accessed according to claim 1, wherein after determining whether the device to be accessed has executed the target event, the method further comprises:
under the condition that the target event is not executed by the equipment to be networked, executing at least one of the following operations:
sending the target event to the equipment to be accessed to the network again;
and directly disconnecting the connection between the sound generating device and the equipment to be networked.
4. The network entry method of the device to be networked according to claim 1, wherein before controlling the sound generating device to turn on the target wireless access point, the method further comprises:
receiving a distribution network voice command sent by a target object, wherein the distribution network voice command is used for indicating a sound production device to open the target wireless access point;
and detecting whether the distribution network voice command is legal or not, and indicating the sound generating device to start the target wireless access point under the condition that the distribution network voice command is detected to be legal.
5. The network access method of the device to be accessed according to claim 4, wherein detecting whether the network distribution voice command is legal comprises:
verifying whether the distribution network voice command is matched with a preset voice command or not, and determining whether the target object has a distribution network authority or not according to voiceprint information of the distribution network voice command;
and determining that the distribution network voice command is legal under the conditions that the distribution network voice command is matched with a preset voice command and the target object has a distribution network authority.
6. The network entry method of the device to be networked according to claim 1, wherein after the sound generating device is controlled to turn on the target wireless access point, the method further comprises:
receiving a connection request sent by a device to be networked to the sound generating device, wherein the connection request is used for requesting to connect the target wireless access point;
verifying the connection request;
and under the condition that the connection request is verified, indicating the sound generating device to be connected with the equipment to be networked.
7. The network-entry method for the device to be networked according to any one of claims 1 to 6, wherein the device capability information comprises at least one of: whether the equipment to be networked has the sound production capability or not, whether the equipment to be networked has the capability of displaying lamplight or not, whether the equipment to be networked has the capability of displaying multimedia information or not and whether the equipment to be networked has the capability of executing the target posture or not.
8. A device for accessing a network of a device to be accessed to the network is characterized by comprising:
the starting module is used for starting the target wireless access point;
the indication module is used for acquiring the equipment capability information of the equipment to be accessed under the condition that the equipment to be accessed has been accessed to the target wireless access point, and indicating the equipment to be accessed to execute a target event corresponding to the equipment capability information;
a determining module, configured to determine whether the device to be networked executes the target event, and send network access information to the device to be networked to instruct the device to be networked to execute a network access operation according to the network access information when the device to be networked executes the target event, where the network access information includes: the service set identifies the SSID and password.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202110743543.2A 2021-06-30 2021-06-30 Network access method and device of equipment to be accessed to network, storage medium and electronic device Pending CN115580869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110743543.2A CN115580869A (en) 2021-06-30 2021-06-30 Network access method and device of equipment to be accessed to network, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110743543.2A CN115580869A (en) 2021-06-30 2021-06-30 Network access method and device of equipment to be accessed to network, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115580869A true CN115580869A (en) 2023-01-06

Family

ID=84579133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110743543.2A Pending CN115580869A (en) 2021-06-30 2021-06-30 Network access method and device of equipment to be accessed to network, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115580869A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336167A (en) * 2023-11-07 2024-01-02 镇江快智慧创新发展有限公司 Network distribution method and system for Internet of things equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336167A (en) * 2023-11-07 2024-01-02 镇江快智慧创新发展有限公司 Network distribution method and system for Internet of things equipment

Similar Documents

Publication Publication Date Title
CN108924135B (en) Network access method and device
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
KR101793443B1 (en) Method, apparatus, program and recording medium for setting smart device management account
CN106411621A (en) Internet of Things device, network configuring method, apparatus, system and terminal for the same
CN105357742A (en) Accessing method, device and system for wireless local area network
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN111355708B (en) Equipment password resetting method and device
CN105446293A (en) Intelligent household device binding method, apparatus and system, and intelligent terminal
CN110831245B (en) Network connection method, device and router
US10880091B2 (en) Control method for enrolling face template data and related product
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN113132973A (en) Equipment network distribution method and system and computer readable storage medium
CN111077788A (en) Method, device and system for controlling access of intelligent equipment
CN111065090A (en) Method for establishing network connection and wireless routing equipment
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN110855535A (en) Gateway equipment, home equipment and connection method between gateway equipment and home equipment
CN115580869A (en) Network access method and device of equipment to be accessed to network, storage medium and electronic device
CN105991786A (en) Wi-Fi access configuration method, Wi-Fi terminal and access equipment
CN105607498B (en) A kind of matched method, apparatus of smart home device, equipment and system
CN112637221A (en) Equipment control method and device
CN113783759A (en) Household appliance and network distribution method thereof, control terminal and computer storage medium
CN111147336A (en) Intelligent terminal access control system and method
CN115580868A (en) Network access method and device, storage medium and electronic device
CN108259972B (en) Display control method of playing scene, playing device and medium product
CN113852910B (en) Distribution network instruction sending device, storage medium and electronic device

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