CN112351471A - Method for accessing device to gateway, gateway device and computer readable storage medium - Google Patents

Method for accessing device to gateway, gateway device and computer readable storage medium Download PDF

Info

Publication number
CN112351471A
CN112351471A CN202010860074.8A CN202010860074A CN112351471A CN 112351471 A CN112351471 A CN 112351471A CN 202010860074 A CN202010860074 A CN 202010860074A CN 112351471 A CN112351471 A CN 112351471A
Authority
CN
China
Prior art keywords
gateway
accessing
equipment
target
information
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
CN202010860074.8A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010860074.8A priority Critical patent/CN112351471A/en
Publication of CN112351471A publication Critical patent/CN112351471A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The invention discloses a method for accessing equipment to a gateway, gateway equipment and a computer readable storage medium, wherein the method for accessing the equipment to the gateway comprises the following steps: after the gateway equipment establishes connection with the mobile terminal, the gateway equipment receives verification data sent by the mobile terminal; verifying the verification data; when the verification is successful, receiving network connection information sent by the mobile terminal; and connecting the target equipment according to the network. Because the gateway equipment is connected with the mobile terminal, the mobile terminal can automatically access and manage the equipment access gateway, and the efficiency of accessing the equipment into the gateway is improved.

Description

Method for accessing device to gateway, gateway device and computer readable storage medium
Technical Field
The present invention relates to the field of smart home, and in particular, to a method for accessing a device to a gateway, a gateway device, and a computer-readable storage medium.
Background
For the realization of intelligent home, a new breakthrough is made in the development technology of processing speed, the technology of various intelligent devices is developed vigorously, and the existing method for accessing the devices into the gateway needs to access the devices one by one when the devices are accessed into the gateway devices, so that the efficiency of accessing the devices into the gateway is low due to more steps of manual operation.
Disclosure of Invention
The embodiment of the invention aims to solve the problem of low efficiency of accessing equipment to a gateway by providing a method for accessing the equipment to the gateway, gateway equipment and a computer readable storage medium.
A first aspect of an embodiment of the present invention provides a method for accessing a gateway by a device, where the method for accessing the gateway by the device includes:
after the gateway equipment establishes connection with the mobile terminal, the gateway equipment receives verification data sent by the mobile terminal;
verifying according to the verification data;
receiving network connection information sent by the mobile terminal when the verification is successful;
and accessing the target equipment according to the network connection information.
In an embodiment, the step of accessing the target device according to the network connection information includes:
acquiring attribute information of target equipment in the network connection information, wherein the attribute information comprises at least one of equipment type information and binding information;
and accessing the target equipment according to the attribute information.
In an embodiment, the step of accessing the target device according to the attribute information includes:
acquiring target type information corresponding to the accessible equipment of the gateway equipment;
accessing the target equipment with the equipment type information matched with the type information.
In an embodiment, the step of accessing the target device according to the attribute information further includes:
determining the target equipment of the unbound user according to the binding information, wherein the attribute information comprises the binding information, and the binding information comprises the user binding condition of the target equipment;
accessing the target device of an unbound user.
In an embodiment, after the step of receiving the network connection information sent by the mobile terminal, the method further includes:
determining whether the gateway device is configured;
when the gateway equipment is not configured, sending prompt information for configuring the gateway to the mobile terminal;
and when receiving prompt information which is sent by the mobile terminal and is configured successfully, executing the step of accessing the target equipment according to the network connection information.
In an embodiment, after the step of receiving the network connection information sent by the mobile terminal, the method further includes:
determining whether the gateway device is configured;
when determining that the gateway equipment is configured, detecting whether verification data sent by the target equipment is received, wherein the verification data comprises an account and a password which are input when the target equipment is accessed to the gateway;
when receiving verification data sent by the target equipment, verifying according to the verification data;
and when the verification of the verification data is successful, executing the step of accessing the target equipment according to the network connection information.
In an embodiment, the step of accessing the target device according to the network connection information includes:
determining the number of the target devices;
determining the time required for access according to the number of the target devices;
and sequentially accessing the target equipment within the time required by the access.
In an embodiment, after the step of accessing the target device according to the network connection information, the method further includes:
and when the target equipment fails to access, sending a prompt message of the access failure to the mobile terminal.
In order to achieve the above object, the present invention provides a gateway device, including: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of device access gateway as described above when executing the computer program.
To achieve the above object, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method for a device to access a gateway as described above.
According to the method for accessing the device to the gateway, the gateway device and the computer readable storage medium, after the gateway device is connected with the mobile terminal, the gateway device receives the verification data sent by the mobile terminal; verifying according to the verification data; receiving network connection information sent by the mobile terminal when the verification is successful; and accessing the target equipment according to the network connection information. Because the gateway equipment is connected with the mobile terminal, the mobile terminal can automatically access and manage the equipment access gateway, and the efficiency of accessing the equipment into the gateway is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a hardware architecture of a gateway device according to an embodiment of a method for accessing a gateway by a device of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 4 is a detailed flowchart of step 42 of the third embodiment of the method for accessing the gateway by the device of the present invention;
fig. 5 is a flowchart illustrating a fourth embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 6 is a flowchart illustrating a fifth embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 8 is a flowchart illustrating a seventh embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 9 is a flowchart illustrating an eighth embodiment of a method for accessing a gateway by a device according to the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The main solution of the invention is: after the gateway equipment is connected with the mobile terminal, the gateway equipment receives verification data sent by the mobile terminal; verifying according to the verification data; receiving network connection information sent by the mobile terminal when the verification is successful; and accessing the target equipment according to the network connection information.
Because the gateway equipment is connected with the mobile terminal, the mobile terminal can automatically access and manage the equipment access gateway, and the efficiency of accessing the equipment into the gateway is improved.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware architecture of a gateway device according to an embodiment of a method for accessing a gateway by a device of the present invention.
The gateway device in the embodiment of the present invention includes: a processor 101, a communication module 102, e.g. a CPU, a memory 103, a communication bus 104. The communication module 102 is used for implementing connection communication between the gateway device and other devices, and the communication bus 104 is used for implementing connection communication between these components.
The memory 103 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, the memory 103, which is a kind of computer storage medium, may include therein a detection program; and the processor 101 may be configured to call the detection program stored in the memory 103 and perform the following operations:
after the gateway equipment establishes connection with the mobile terminal, the gateway equipment receives verification data sent by the mobile terminal;
verifying according to the verification data;
receiving network connection information sent by the mobile terminal when the verification is successful;
and accessing the target equipment according to the network connection information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
acquiring attribute information of target equipment in the network connection information, wherein the attribute information comprises at least one of equipment type information and binding information;
and accessing the target equipment according to the attribute information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
acquiring target type information corresponding to the accessible equipment of the gateway equipment;
accessing the target equipment with the equipment type information matched with the type information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
determining the target equipment of the unbound user according to the binding information, wherein the attribute information comprises the binding information, and the binding information comprises the user binding condition of the target equipment;
accessing the target device of an unbound user.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
determining whether the gateway device is configured;
when the gateway equipment is not configured, sending prompt information for configuring the gateway to the mobile terminal;
and when receiving prompt information which is sent by the mobile terminal and is configured successfully, executing the step of accessing the target equipment according to the network connection information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
determining whether the gateway device is configured;
when determining that the gateway equipment is configured, detecting whether verification data sent by the target equipment is received, wherein the verification data comprises an account and a password which are input when the target equipment is accessed to the gateway;
when receiving verification data sent by the target equipment, verifying according to the verification data;
and when the verification of the verification data is successful, executing the step of accessing the target equipment according to the network connection information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
determining the number of the target devices;
determining the time required for access according to the number of the target devices;
and sequentially accessing the target equipment within the time required by the access.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 103 and perform the following operations:
and when the target equipment fails to access, sending a prompt message of the access failure to the mobile terminal.
In the technical scheme provided by this embodiment, after a gateway device establishes a connection with a mobile terminal, the gateway device receives verification data sent by the mobile terminal; verifying according to the verification data; receiving network connection information sent by the mobile terminal when the verification is successful; and accessing the target equipment according to the network connection information. Because the gateway equipment is connected with the mobile terminal, the mobile terminal can automatically access and manage the equipment access gateway, and the efficiency of accessing the equipment into the gateway is improved.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, fig. 2 is a first embodiment of a method for accessing a gateway by a device according to the present invention, where the method for accessing a gateway by a device includes the following steps:
step S10, after the gateway device establishes a connection with the mobile terminal, the gateway device receives the verification data sent by the mobile terminal.
In this embodiment, the gateway device may be a router, and the mobile terminal may be a mobile phone terminal. Specifically, the verification data is a verification password input when the mobile phone end is connected to the router.
Specifically, the intelligent system detects that the WiFi module of the connection router (gateway device) has a click access event, the intelligent system acquires WiFi of the automatic connection router (gateway device), the intelligent mobile phone system sends a string of SSID and password of the wireless network which is connected currently to the intelligent system and sends the SSID and the password to the router (gateway device), and the SSID and the password of the mobile phone connection router (gateway device) are matched with those of the router (gateway device) (whether the mobile phone is connected with the WiFi of the router or not).
And step S20, performing verification according to the verification data.
In this embodiment, the gateway device verifies the verification password according to the password preset by the gateway device, specifically, the router may compare the verification data with the password data configured by the router device according to the password data configured by the router device, and compare the verification data with the preset initial password when the router device is not configured.
And step S30, receiving the network connection information sent by the mobile terminal when the verification is successful.
In this embodiment, the network connection information is sent by the mobile phone.
And step S40, accessing the target device according to the network connection information.
In this embodiment, the mobile phone controls the target device through the APP to access the target device to the gateway device. Specifically, the target device enters an initialization state and begins listening to nearby WiFi packets. And after the WiFi name and the password are set by the mobile phone terminal, sending a UDP broadcast packet, namely the network connection information. The target equipment acquires configuration information by receiving the network connection information, switches the network mode, connects to the WiFi at home, and completes configuration; optionally, the target device enters an initialization state, so that the target device enters an AP state, the mobile phone switches WiFi to access a network with a WiFi name (SSID) appearing in the target device, a wireless network (WiFi name and password) to be accessed is set in corresponding software of the mobile phone, the device accesses the current wireless network (the mobile phone does not need to operate) according to WiFi configuration information (network connection information) set by the mobile phone software input, the mobile phone switches back to normal WiFi, and a newly accessed device is discovered after configuration is completed.
Optionally, the gateway device obtains a command for the gateway device to start the authentication account, starts the authentication account module, obtains an SSID and a password of an original Wifi hotspot of the gateway device, and stores the SSID and the password in the memory 11; then, a verification login account and a password input by the H5 page of the APP of the mobile phone end are acquired, the verification login account and the password are stored in the memory 12, the SSID and the password input by the key are acquired, the SSID and the password input by the key are stored in the memory 13, and the unicode and ASCII identification difference obtained by subtracting the SSID of the memory 12 from the memory 13 is equal to 0, so that 2 situations occur: the first condition is that the SSID and the password are not matched, and in this condition, a menu with wrong passwords at the mobile phone end is prompted to re-input. The user re-inputs for re-matching for more than 3 seconds, the matching is completed, the identifier 1 is set, and the identifier is stored in the memory 14; the second case is that SSID and password match, will show at the cell-phone end and input the correct menu to start the access equipment mode at the cell-phone end, detect whether the equipment of connection starts the network, can 2 kinds of situations: in the first case: and if the network is not started, starting the network. In the second case: and when the network is found to be started, the access equipment command is carried out. The gateway device also starts a countdown mode defining an access success command, which can be 2 cases: in the first case: after the access is finished, the intelligent system reaches 10s (the time length is in a proportion of 10 devices according to the number of the devices, and is 10x10s automatically) at regular time, the prompt message of successful access is popped up at the mobile phone end, the identifier 1 is set, and the prompt message is stored in the memory 1. The second situation is that the intelligent system appoints time to access the equipment for access completion, the intelligent system prompts access failure to prompt retry, the intelligent system skips to the step execution after SSID and password are successfully matched, the setting is completed, and the addition completion setting mark 1 is stored in the memory 15.
In the technical scheme provided by this embodiment, after a gateway device establishes a connection with a mobile terminal, the gateway device receives verification data sent by the mobile terminal; verifying according to the verification data; receiving network connection information sent by the mobile terminal when the verification is successful; and accessing the target equipment according to the network connection information. Because the step of accessing the equipment into the gateway is automatically managed through the gateway equipment, the intelligent degree of accessing the equipment into the gateway is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the method for accessing a gateway by a device of the present invention, and based on the first embodiment, the step S40 includes:
step S41, obtaining attribute information of the target device in the network connection information, where the attribute information includes at least one of device type information and binding information.
And step S42, accessing the target device according to the attribute information.
In this embodiment, the device type information may be a brand of the target device, and may be determined by unique identification information of the target device, and the unique identifier may be obtained by, but is not limited to, trademark identification, electronic tag identification, and the like; the binding information comprises the user binding condition and/or the mobile phone number binding condition of the target equipment; for accessing the target device according to the attribute information, the following example may be used for explanation: if the target device A is bound with the user B and the target device B is not bound with the user, the device type information of the target device A is brand A, and the device type information of the target device B is brand B, whether the target device is connected or not can be determined according to a preset defined access rule, and if the target device is only accessed to the brand A of the unbound user.
In the technical scheme provided by this embodiment, whether to access the gateway device can be determined according to the model and the binding condition of the target device, and compared with a method for directly connecting the target device, an authentication mode is added, and the security of accessing the gateway device is improved.
Referring to fig. 4, fig. 4 is a third embodiment of the method for accessing a gateway by a device of the present invention, and based on the first or second embodiment, the step S42 includes:
step S421, obtain the target type information corresponding to the accessible device of the gateway device.
Step S422, accessing the target device whose device type information matches the type information.
In this embodiment, the type information of the accessible device is a preset type of a device that can access the gateway device; furthermore, the type information of the target device is obtained and used for being matched with the type information of the accessible device, and after the type information is matched, the target device can be accessed into the gateway device.
In the technical scheme provided by this embodiment, the brand of the device to be accessed can be accurately controlled, and the security of the device access gateway is further improved.
Referring to fig. 5, fig. 5 is a fourth embodiment of the method for accessing a gateway by a device of the present invention, and based on any one of the first to third embodiments, the step S40 includes:
step S43, determining the target device of the unbound user according to the binding information, where the attribute information includes the binding information, and the binding information includes a user binding condition of the target device.
And step S44, accessing the target device of the unbound user.
In this embodiment, the gateway device first determines whether the target device has a bound user, and then selects a target device that does not have the bound user to access.
In the technical scheme provided by this embodiment, under the condition that it is determined that the target device is bound with the user, repeated binding again can be avoided, and the intelligent degree of the device access gateway is improved.
Referring to fig. 6, fig. 6 is a fifth embodiment of the method for accessing a gateway by a device of the present invention, based on any one of the first to fourth embodiments, after the step of step S30, the method further includes:
step S50, determine whether the gateway device is configured.
Step S60, when the gateway device is not configured, sending a prompt message for configuring the gateway to the mobile terminal.
In this embodiment, when it is determined that the gateway device is not configured, the gateway device may be configured through the mobile phone, for example, authentication data of the gateway device, that is, a password required to be authenticated by accessing the gateway, is set.
Step S70, when receiving the prompt message of successful configuration sent by the mobile terminal, executing the step of accessing the target device according to the network connection information.
In this embodiment, when the gateway device receives the configuration completion prompt message sent by the mobile phone after completing the configuration of the gateway device, the gateway device may execute the operation of accessing the target device.
In the technical scheme provided by this embodiment, the gateway device can be configured through the mobile phone, so as to set the verification password of the gateway device in a user-defined manner, thereby improving the flexibility of accessing the device to the gateway.
Referring to fig. 7, fig. 7 is a sixth embodiment of a method for accessing a gateway by a device according to the present invention, and based on any one of the first to fourth embodiments, after the step of step S30, the method further includes:
step S80, determine whether the gateway device is configured.
Step S90, when determining that the gateway device is configured, detecting whether verification data sent by the target device is received, where the verification data includes an account and a password that are input when the target device accesses the gateway.
And step S100, when verification data sent by the target equipment is received, verifying according to the verification data.
Step S110, when the verification is successful according to the verification data, executing the step of accessing the target device according to the network connection information.
In this embodiment, in the event that it is determined that the gateway device has been configured, the handset device may be prompted to enter an authentication password to enable access by the target device. Furthermore, a plurality of target equipment access gateways can be simultaneously verified by inputting the password once through the mobile phone.
Optionally, under the condition that it is determined that the gateway device is configured, the mobile phone is prompted to start the APP and open an H5 verification page to input a login password, the gateway device obtains the login password input by the mobile phone and determines whether the password is correct, and the device is accessed if the password is correct.
In the technical scheme provided by the embodiment, the tasks of accessing a plurality of devices to the gateway can be completed by inputting the password once through the mobile phone, so that the efficiency of accessing the devices to the gateway is improved.
Referring to fig. 8, fig. 8 is a seventh embodiment of a method for accessing a gateway by a device according to the present invention, and based on any one of the first to sixth embodiments, the step S40 further includes:
step S45, determining the number of the target devices.
And step S46, determining the time required by access according to the number of the target devices.
And step S47, sequentially accessing the target equipment within the time required by the access.
In this embodiment, for the access of the devices, each device needs a certain time, if the connection is not completed within the preset time, some unexpected influences may be encountered, and if a total connection time is not specified, that is, the time required for the access, the situation that the connection fails may not be fed back in time, thereby reducing the efficiency of the device access gateway.
In the technical scheme of the embodiment, the reasonable time required for access is determined by determining the number of the target devices, whether the target devices are successfully accessed can be determined within the specified time to take policy countermeasures in time, and the efficiency of accessing the device to the gateway is indirectly improved.
Referring to fig. 9, fig. 9 is an eighth embodiment of the method for accessing a gateway by a device of the present invention, and based on any one of the first to seventh embodiments, after the step of step S47, the method further includes:
step S48, when the target device fails to access, sending a prompt message of access failure to the mobile terminal.
In the technical scheme of this embodiment, when the gateway device determines that the target device is not completely accessed, a prompt message of access failure can be sent to the mobile phone terminal to prompt an operator to process in time, so that an early warning effect is achieved, and the efficiency of accessing the device to the gateway is indirectly improved.
In order to achieve the above object, the present invention provides a gateway device, including: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of device access gateway as described above when executing the computer program.
To achieve the above object, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method for a device to access a gateway as described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for accessing a gateway by a device is characterized in that the method for accessing the gateway by the device comprises the following steps:
after the gateway equipment establishes connection with the mobile terminal, the gateway equipment receives verification data sent by the mobile terminal;
verifying according to the verification data;
receiving network connection information sent by the mobile terminal when the verification is successful;
and accessing the target equipment according to the network connection information.
2. The method of accessing a gateway by a device according to claim 1, wherein the step of accessing a target device according to the network connection information comprises:
acquiring attribute information of target equipment in the network connection information, wherein the attribute information comprises at least one of equipment type information and binding information;
and accessing the target equipment according to the attribute information.
3. The method of accessing a gateway by a device according to claim 2, wherein the step of accessing the target device according to the attribute information comprises:
acquiring target type information corresponding to the accessible equipment of the gateway equipment;
accessing the target device with the device type information matched with the target type information, wherein the attribute information comprises the device type information.
4. The method of accessing a gateway by a device according to claim 2 or 3, wherein the step of accessing the target device according to the attribute information further comprises:
determining the target equipment of the unbound user according to the binding information, wherein the attribute information comprises the binding information, and the binding information comprises the user binding condition of the target equipment;
accessing the target device of an unbound user.
5. The method for accessing the gateway by the device according to claim 1, wherein the step of receiving the network connection information sent by the mobile terminal further comprises:
determining whether the gateway device is configured;
when the gateway equipment is not configured, sending prompt information for configuring the gateway to the mobile terminal;
and when receiving prompt information which is sent by the mobile terminal and is configured successfully, executing the step of accessing the target equipment according to the network connection information.
6. The method for accessing the gateway by the device according to claim 1, wherein the step of receiving the network connection information sent by the mobile terminal further comprises:
determining whether the gateway device is configured;
when determining that the gateway equipment is configured, detecting whether verification data sent by the target equipment is received, wherein the verification data comprises an account and a password which are input when the target equipment is accessed to the gateway;
when receiving verification data sent by the target equipment, verifying according to the verification data;
and when the verification of the verification data is successful, executing the step of accessing the target equipment according to the network connection information.
7. The method of accessing a gateway by a device according to claim 1, wherein the step of accessing a target device according to the network connection information comprises:
determining the number of the target devices;
determining the time required for access according to the number of the target devices;
and accessing the target equipment within the time required by the access.
8. The method of accessing a gateway by a device according to claim 1, wherein the step of accessing a target device according to the network connection information is followed by:
and when the target equipment fails to access, sending a prompt message of the access failure to the mobile terminal.
9. A gateway device, characterized in that the gateway device comprises: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of a device access gateway according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of accessing a gateway by a device according to any one of claims 1 to 8.
CN202010860074.8A 2020-08-24 2020-08-24 Method for accessing device to gateway, gateway device and computer readable storage medium Pending CN112351471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010860074.8A CN112351471A (en) 2020-08-24 2020-08-24 Method for accessing device to gateway, gateway device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010860074.8A CN112351471A (en) 2020-08-24 2020-08-24 Method for accessing device to gateway, gateway device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112351471A true CN112351471A (en) 2021-02-09

Family

ID=74357896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010860074.8A Pending CN112351471A (en) 2020-08-24 2020-08-24 Method for accessing device to gateway, gateway device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112351471A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596835A (en) * 2021-06-25 2021-11-02 青岛海尔科技有限公司 Network connection method, device, storage medium and electronic device
CN114338085A (en) * 2021-12-03 2022-04-12 珠海格力电器股份有限公司 Method for improving information security and networking efficiency of microgrid system
CN114374749A (en) * 2021-12-29 2022-04-19 中国电信股份有限公司 Network access method and device
CN114615723A (en) * 2022-02-18 2022-06-10 广东睿住智能科技有限公司 Equipment adding method and device, storage medium and gateway

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN204206214U (en) * 2014-09-03 2015-03-11 武汉钢铁(集团)公司 A kind of secure access control system
CN105546931A (en) * 2015-12-22 2016-05-04 Tcl集团股份有限公司 Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server
CN106993278A (en) * 2017-04-07 2017-07-28 青檬微智科技(深圳)有限公司 A kind of method, relevant device and system for automatically controlling smart machine access
CN107071776A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 It is a kind of to match somebody with somebody network method and its system, a kind of server automatically
CN108616882A (en) * 2018-04-10 2018-10-02 青岛海尔科技有限公司 Household appliance matches network method, method of network entry, device, storage medium and equipment
CN108769009A (en) * 2018-05-28 2018-11-06 深圳和而泰数据资源与云技术有限公司 Data communications method, smart machine and intelligent gateway
CN109246690A (en) * 2017-04-27 2019-01-18 中兴通讯股份有限公司 Method for network access, device, storage medium and processor
CN110677851A (en) * 2019-08-29 2020-01-10 努比亚技术有限公司 Terminal network access method and network access equipment access method
CN110830333A (en) * 2018-08-09 2020-02-21 中兴通讯股份有限公司 Intelligent household equipment access authentication method, device, gateway and storage medium
CN110858971A (en) * 2018-08-22 2020-03-03 九阳股份有限公司 Intelligent device network distribution method and system
CN111212428A (en) * 2018-11-22 2020-05-29 九阳股份有限公司 Method for accessing household appliance to wireless local area network and household appliance
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network
CN111371817A (en) * 2018-12-25 2020-07-03 中移(杭州)信息技术有限公司 Equipment control system, method and device, electronic equipment and storage medium
CN111431840A (en) * 2019-01-09 2020-07-17 北京京东尚科信息技术有限公司 Security processing method and device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204206214U (en) * 2014-09-03 2015-03-11 武汉钢铁(集团)公司 A kind of secure access control system
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN105546931A (en) * 2015-12-22 2016-05-04 Tcl集团股份有限公司 Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server
CN106993278A (en) * 2017-04-07 2017-07-28 青檬微智科技(深圳)有限公司 A kind of method, relevant device and system for automatically controlling smart machine access
CN109246690A (en) * 2017-04-27 2019-01-18 中兴通讯股份有限公司 Method for network access, device, storage medium and processor
CN107071776A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 It is a kind of to match somebody with somebody network method and its system, a kind of server automatically
CN108616882A (en) * 2018-04-10 2018-10-02 青岛海尔科技有限公司 Household appliance matches network method, method of network entry, device, storage medium and equipment
CN108769009A (en) * 2018-05-28 2018-11-06 深圳和而泰数据资源与云技术有限公司 Data communications method, smart machine and intelligent gateway
CN110830333A (en) * 2018-08-09 2020-02-21 中兴通讯股份有限公司 Intelligent household equipment access authentication method, device, gateway and storage medium
CN110858971A (en) * 2018-08-22 2020-03-03 九阳股份有限公司 Intelligent device network distribution method and system
CN111212428A (en) * 2018-11-22 2020-05-29 九阳股份有限公司 Method for accessing household appliance to wireless local area network and household appliance
CN111371817A (en) * 2018-12-25 2020-07-03 中移(杭州)信息技术有限公司 Equipment control system, method and device, electronic equipment and storage medium
CN111431840A (en) * 2019-01-09 2020-07-17 北京京东尚科信息技术有限公司 Security processing method and device
CN110677851A (en) * 2019-08-29 2020-01-10 努比亚技术有限公司 Terminal network access method and network access equipment access method
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596835A (en) * 2021-06-25 2021-11-02 青岛海尔科技有限公司 Network connection method, device, storage medium and electronic device
CN114338085A (en) * 2021-12-03 2022-04-12 珠海格力电器股份有限公司 Method for improving information security and networking efficiency of microgrid system
CN114338085B (en) * 2021-12-03 2022-09-13 珠海格力电器股份有限公司 Method for improving information security and networking efficiency of microgrid system
CN114374749A (en) * 2021-12-29 2022-04-19 中国电信股份有限公司 Network access method and device
CN114615723A (en) * 2022-02-18 2022-06-10 广东睿住智能科技有限公司 Equipment adding method and device, storage medium and gateway

Similar Documents

Publication Publication Date Title
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN112822222B (en) Login verification method, automatic login verification method, server and client
CN107579966B (en) Control method, device and system for remotely accessing intranet and terminal equipment
EP3337219A1 (en) Carrier configuration processing method, device and system, and computer storage medium
JP2010504028A (en) System and method for enabling self-activation by a subscriber of a wireless data terminal device
CN109947482B (en) Loading method of USB (universal serial bus) equipment, storage medium and smart television
EP2611226A1 (en) Processing method and system for over-the-air bootstrap
CN112738046B (en) One-key login method, terminal and system server
CN105933905A (en) Method and device for realizing wireless access point connection authentication
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN110830336A (en) WiFi equipment management method and device for smart home
CN111147314A (en) Switch upgrading method, device and storage medium
CN112383908A (en) Bluetooth device upgrading method and system
CN114697047B (en) Sub-device registration method in Internet of things, cloud server and gateway device
CN109002305B (en) Method and system for updating equipment program
CN107508784B (en) Application login method and terminal equipment
WO2017181465A1 (en) Access point name configuration method and device
CN107666664B (en) Method, device, equipment and storage medium for machine-card binding
WO2021047561A1 (en) Method and apparatus for migrating subscriber subscription parameter set profile, subscription manager-data preparation+, and operator background system
JP7008636B2 (en) How to check for phone number changes, devices, and systems
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
CN112954647B (en) Vehicle Bluetooth key registration method and device, computer equipment and storage medium
CN110446197B (en) Communication control method, device, equipment and storage medium of intelligent equipment
EP4310407A1 (en) Control right switching method and apparatus for virtual remote control, device, and storage medium
CN113422712B (en) Network distribution method, network distribution device, household equipment and computer readable storage medium

Legal Events

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