CN112351471B - 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
CN112351471B
CN112351471B CN202010860074.8A CN202010860074A CN112351471B CN 112351471 B CN112351471 B CN 112351471B CN 202010860074 A CN202010860074 A CN 202010860074A CN 112351471 B CN112351471 B CN 112351471B
Authority
CN
China
Prior art keywords
gateway
equipment
accessing
target
mobile terminal
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.)
Active
Application number
CN202010860074.8A
Other languages
Chinese (zh)
Other versions
CN112351471A (en
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/CN112351471B/en
Publication of CN112351471A publication Critical patent/CN112351471A/en
Application granted granted Critical
Publication of CN112351471B publication Critical patent/CN112351471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

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

Abstract

The invention discloses a method for accessing a gateway by equipment, gateway equipment and a computer readable storage medium, wherein the method for accessing the gateway by the equipment 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 verification is successful, receiving network connection information sent by the mobile terminal; and connecting the information target device according to the network. Because the gateway equipment and the mobile terminal are connected, the mobile terminal performs automatic access management on the equipment access gateway, and the efficiency of accessing the equipment to 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 gateway to a device, a gateway device, and a computer readable storage medium.
Background
For the realization of intelligent home, the development technology of processing speed has been new breakthrough, the technology of various intelligent devices has also been developed vigorously, and for the existing method for accessing the device into the gateway, the device needs to be accessed one by one when accessing the gateway device, and the steps of manual operation are more, so that the efficiency of accessing the device into the gateway is low.
Disclosure of Invention
The embodiment of the invention aims to solve the problem of low efficiency of equipment access gateway by providing a method for equipment access gateway, gateway equipment and a computer readable storage medium.
A first aspect of an embodiment of the present invention provides a method for a device to access a gateway, where the method for the device to access the gateway 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;
when the verification is successful, receiving network connection information sent by the mobile terminal;
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 one embodiment, the step of accessing the target device according to the attribute information includes:
acquiring target type information corresponding to the gateway equipment accessible equipment;
and 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 an 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;
And accessing the target equipment of the 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 a gateway to the mobile terminal;
And executing the step of accessing the target equipment according to the network connection information when receiving the prompt message of successful configuration sent by the mobile terminal.
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 determined to be configured, detecting whether verification data sent by the target equipment is received or not, wherein the verification data comprises an account number and a password which are input when the target equipment is accessed to the gateway;
When verification data sent by the target equipment is received, verifying according to the verification data;
and executing the step of accessing the target equipment according to the network connection information when the verification data is successfully verified.
In an embodiment, the step of accessing the target device according to the network connection information includes:
determining the number of 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 be accessed, sending prompt information of the access failure to the mobile terminal.
To achieve the above object, the present invention provides a gateway apparatus comprising: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, which processor, when executing the computer program, implements the steps of the method of a device access gateway as described above.
To achieve the above object, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method of a device access gateway as described above.
The method for accessing the equipment to the gateway, the gateway equipment and the computer readable storage medium provided by the invention are characterized in that 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; when the verification is successful, receiving network connection information sent by the mobile terminal; and accessing the target equipment according to the network connection information. Because the gateway equipment and the mobile terminal are connected, the mobile terminal performs automatic access management on the equipment access gateway, and the efficiency of accessing the equipment to the gateway is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
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 according to the present invention;
Fig. 2 is a flow chart of a first embodiment of a method for accessing a gateway by a device according to the present invention;
Fig. 3 is a flow chart of 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 a third embodiment of the method for accessing a gateway by a device according to the present invention;
fig. 5 is a flow chart of a fourth embodiment of a method for accessing a gateway by a device according to the present invention;
Fig. 6 is a flowchart of a fifth embodiment of a method for accessing a gateway by a device according to the present invention;
Fig. 7 is a flowchart of a sixth embodiment of a method for accessing a gateway by a device according to the present invention;
fig. 8 is a flowchart of a seventh embodiment of a method for accessing a gateway by a device according to the present invention;
Fig. 9 is a flowchart of an eighth embodiment of a method for accessing a gateway by a device according to the present invention.
Detailed Description
In order that the above-described aspects may be better understood, 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 as follows: 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; when the verification is successful, receiving network connection information sent by the mobile terminal; and accessing the target equipment according to the network connection information.
Because the gateway equipment and the mobile terminal are connected, the mobile terminal performs automatic access management on the equipment access gateway, and the efficiency of accessing the equipment to 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 the device of the present invention.
The gateway device in the embodiment of the invention comprises: a processor 101, a communication module 102, e.g. a CPU, a memory 103, a communication bus 104. Wherein 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 stable memory (non-volatilememory), such as a disk memory. As shown in fig. 1, a detection program may be included in the memory 103 as a computer storage medium; 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;
when the verification is successful, receiving network connection information sent by the mobile terminal;
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 gateway equipment accessible equipment;
and 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 an 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;
And accessing the target equipment of the 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 a gateway to the mobile terminal;
And executing the step of accessing the target equipment according to the network connection information when receiving the prompt message of successful configuration sent by the mobile terminal.
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 determined to be configured, detecting whether verification data sent by the target equipment is received or not, wherein the verification data comprises an account number and a password which are input when the target equipment is accessed to the gateway;
When verification data sent by the target equipment is received, verifying according to the verification data;
and executing the step of accessing the target equipment according to the network connection information when the verification data is successfully verified.
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 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 be accessed, sending prompt information of the access failure to the mobile terminal.
In the technical scheme provided by the 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; when the verification is successful, receiving network connection information sent by the mobile terminal; and accessing the target equipment according to the network connection information. Because the gateway equipment and the mobile terminal are connected, the mobile terminal performs automatic access management on the equipment access gateway, and the efficiency of accessing the equipment to the gateway is improved.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and 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, the method for accessing a gateway by a device includes the following steps:
Step S10, after the gateway equipment establishes connection with the mobile terminal, the gateway equipment receives 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 with the router.
Specifically, the intelligent system detects that the WiFi module of the connection router (gateway equipment) has a click access event, the intelligent system acquires the WiFi of the automatic connection router (gateway equipment), the intelligent mobile phone system sends the SSID and the password of a string of wireless networks which are currently connected to the router (gateway equipment) end, and the SSID and the password of the mobile phone connection router (gateway equipment) are matched with the SSID and the password of the router (gateway equipment) (whether the mobile phone is connected with the WiFi of the router or not).
And step S20, verifying according to the verification data.
In this embodiment, the gateway device performs verification with the verification password according to the password preset by itself, specifically, the router may compare the password data configured by itself with the verification data, and compare the preset initial password with the verification data if the router is not configured.
And step S30, when the verification is successful, receiving the network connection information sent by the mobile terminal.
In this embodiment, the network connection information is sent by the mobile phone terminal.
And step S40, accessing the target equipment 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 to listen to nearby WiFi data packets. After the WiFi name and the password are set at the mobile phone end, a UDP broadcast packet, namely the network connection information, is sent. The target equipment acquires configuration information by receiving network connection information, switches network modes, connects with the WiFi at home and completes configuration; optionally, the target device enters an initialization state, the target device enters an AP state, the mobile phone switches WiFi to access to a network with a WiFi name (SSID) appearing on the target device, wireless networks (WiFi names and passwords) to be accessed are set on corresponding software of the mobile phone, the device is connected to a current wireless network according to WiFi configuration information (network connection information) input by the mobile phone software, the mobile phone switches back to normal WiFi, and newly accessed devices can be found after configuration is completed.
Optionally, the gateway device acquires a command of the gateway device to start the verification account, starts the verification account module, acquires the SSID and the password of the original Wifi hotspot of the gateway device, and stores the SSID and the password in the memory 11; acquiring the verification login account and password input by the mobile phone end on the H5 page in the APP, storing the verification login account and password in the memory 12, acquiring the SSID and password input by the key, storing the SSID and password in the memory 13, acquiring that the difference value between unicode and ASCII identification of the SSID of the memory 12 subtracted by the memory 13 is equal to 0, and 2 situations can occur: the first case is that SSID and password are not matched, in which case a menu of wrong password at the mobile phone end is prompted to prompt re-input. Re-inputting and re-matching by the user more than 3 seconds, and storing the matched set identification 1 in the memory 14; the second case is that SSID and password match, correct menu is displayed and input at the mobile phone end, and the access device mode is started at the mobile phone end, and whether the connected device starts the network is detected, 2 cases are as follows: first case: and if the network is not started, starting the network. Second case: and (3) discovering that the network is started, and performing an access device command. The gateway device may also start defining an access success command countdown mode, 2 cases: first case: after the access is completed, the intelligent system reaches 10s at regular time (the time length is 10 pieces of equipment according to the number of the equipment in a direct proportion, and 10x10s is automatically carried out), prompt information of successful access can be popped up at the mobile phone end, the identifier 1 is set, and the prompt information is stored in the memory 1. In the second case, the intelligent system designates the access device as the access completion, the intelligent system prompts the access failure to prompt retry, the intelligent system jumps to the step after the SSID and the password are successfully matched, the setting is completed, and the addition completion setting identifier 1 is stored in the memory 15.
In the technical scheme provided by the 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; when the verification is successful, receiving network connection information sent by the mobile terminal; and accessing the target equipment according to the network connection information. The step of accessing the equipment to the gateway is automatically managed through the gateway equipment, so that the intelligent degree of the equipment access gateway is improved.
Referring to fig. 3, fig. 3 is a second embodiment of a method for accessing a gateway by a device according to the present invention, based on the first embodiment, the step S40 includes:
and step S41, obtaining attribute information of the target device in the network connection information, wherein the attribute information comprises at least one of device type information and binding information.
And step S42, accessing the target equipment 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, where the unique identifier may be obtained by, but not limited to, trademark identification, electronic tag identification, and the like; the binding information comprises user binding conditions and/or mobile phone number binding conditions of target equipment; for accessing the target device according to the attribute information, explanation can be made by the following example: the target device a and the user B are bound, the user is unbound by the target device B, 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, so that whether the target device is connected or not can be determined according to a preset defined access rule, for example, only the target device of brand a of the unbound user is accessed.
In the technical scheme provided by the embodiment, whether the gateway equipment is accessed can be determined according to the model and the binding condition of the target equipment, so that compared with the direct connection of the target equipment, the verification mode is increased, and the safety of the equipment access gateway is improved.
Referring to fig. 4, fig. 4 is a third embodiment of a method for accessing a gateway by a device according to the present invention, based on the first or second embodiment, the step of step S42 includes:
Step S421, obtaining target type information corresponding to the gateway device accessible 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; further, the type information of the target device is acquired 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 to the gateway device.
In the technical scheme provided by the embodiment, the brand of the equipment to be accessed can be accurately controlled, and the security of the equipment access gateway is further improved.
Referring to fig. 5, fig. 5 is a fourth embodiment of a method for accessing a gateway by a device according to the present invention, and the step of step S40 includes, based on any one of the first to third embodiments:
Step S43, 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.
Step S44, the target device of the unbound user is accessed.
In this embodiment, the gateway device determines whether the target device has a bound user, and then selects a target device to which the user is not bound to access.
In the technical scheme provided by the embodiment, under the condition that the target equipment is bound with the user, repeated binding can be avoided, and the intelligent degree of the equipment access gateway is improved.
Referring to fig. 6, fig. 6 is a fifth embodiment of a method for accessing a gateway by a device according to the present invention, based on any one of the first to fourth embodiments, after the step of step S30, further includes:
Step S50, determining whether the gateway device is configured.
And step S60, when the gateway equipment is not configured, sending prompt information 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 by the mobile phone, for example, authentication data of the gateway device is set, that is, a password required to be authenticated by the access gateway.
And step S70, when receiving the prompt message of successful configuration sent by the mobile terminal, executing the step of accessing the target equipment according to the network connection information.
In this embodiment, when the gateway device receives the configuration-completed prompt message sent by the mobile phone after completing the configuration of the gateway device, the operation of accessing the target device may be performed.
In the technical scheme provided by the embodiment, the gateway equipment can be configured through the mobile phone so as to set the verification password of the gateway equipment in a self-defined mode, and the flexibility of the equipment for accessing the gateway is improved.
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, based on any one of the first to fourth embodiments, after the step of step S30, further includes:
Step S80, determining whether the gateway device is configured.
Step S90, when the gateway equipment is configured, whether verification data sent by the target equipment is received or not is detected, wherein the acceptance data comprise an account number and a password which are input when the target equipment is accessed to the gateway.
Step S100, when verification data sent by the target equipment are received, verification is carried out according to the verification data.
Step S110, when the verification according to the verification data is successful, the step of accessing the target equipment according to the network connection information is executed.
In this embodiment, in the case of determining that the gateway device has been configured, the mobile phone device may be prompted to input an authentication password to achieve access of the target device. Furthermore, the mobile phone inputs a password once, so that the access gateways of a plurality of target devices can be verified at the same time.
Optionally, under the condition that the gateway equipment is determined to be configured, prompting the mobile phone to start the APP and opening the H5 verification page to input the login password, acquiring the login password input by the mobile phone end by the gateway equipment, judging whether the password is correct, and accessing the equipment if the password is correct.
In the technical scheme provided by the embodiment, the task of accessing the gateway to a plurality of devices can be completed by inputting one password through the mobile phone, and the efficiency of accessing the gateway to the devices 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, based on any one of the first to sixth embodiments, the step of step S40 further includes:
step S45, determining the number of target devices.
Step S46, determining the time required for access according to the number of the target devices.
Step S47, the target equipment is sequentially accessed in the time required by the access.
In this embodiment, for the access of devices, a certain time is required for each device, if the connection is not completed within the preset time, the influence of some unexpected factors may be encountered, if a total connection time is not specified, that is, the time required for the access is not specified, the situation that the connection fails may not be fed back timely, so that the efficiency of the device access gateway is reduced.
In the technical scheme of the embodiment, the reasonable access time is determined by determining the number of the target devices, whether the target devices are successfully accessed or not can be determined in the specified time to timely take policy countermeasures, and the efficiency of the device access gateway is indirectly improved.
Referring to fig. 9, fig. 9 is an eighth embodiment of a method for accessing a gateway by a device according to the present invention, based on any one of the first to seventh embodiments, after the step of step S47, further includes:
And step S48, when the access of the target equipment fails, sending prompt information of the access failure to the mobile terminal.
In the technical scheme of the embodiment, if the gateway equipment determines that the target equipment is not completely accessed, the gateway equipment can send prompt information of access failure to the mobile phone end so as to prompt an operator to process in time, thereby playing a role of early warning and indirectly improving the efficiency of the equipment for accessing the gateway.
To achieve the above object, the present invention provides a gateway apparatus comprising: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, which processor, when executing the computer program, implements the steps of the method of a device access gateway as described above.
To achieve the above object, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method of a device access gateway as described above.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 use of the words first, second, third, etc. do not denote any order. 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. It is therefore intended that the following claims be interpreted as including the 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 modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. A method for a device to access a gateway, the method comprising:
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;
when the verification is successful, receiving network connection information sent by the mobile terminal;
Accessing target equipment according to the network connection information;
the step of accessing the target device according to the network connection information comprises the following steps:
Acquiring attribute information of target equipment in the network connection information, wherein the attribute information comprises equipment type information and binding information, and the binding information comprises user binding conditions of the target equipment;
accessing the target equipment according to the attribute information;
the step of accessing the target device according to the attribute information comprises the following steps:
acquiring target type information corresponding to the gateway equipment accessible equipment;
According to the binding information, determining the target equipment of the unbound user;
The access equipment type information is matched with the target type information and is not bound with the target equipment of the user.
2. The method of accessing a gateway for a device of claim 1, wherein after the step of receiving network connection information sent by the mobile terminal, further comprising:
determining whether the gateway device is configured;
When the gateway equipment is not configured, sending prompt information for configuring a gateway to the mobile terminal;
And executing the step of accessing the target equipment according to the network connection information when receiving the prompt message of successful configuration sent by the mobile terminal.
3. The method of accessing a gateway for a device of claim 1, wherein after the step of receiving network connection information sent by the mobile terminal, further comprising:
determining whether the gateway device is configured;
when the gateway equipment is determined to be configured, detecting whether verification data sent by the target equipment is received or not, wherein the verification data comprises an account number and a password which are input when the target equipment is accessed to the gateway;
When verification data sent by the target equipment is received, verifying according to the verification data;
and executing the step of accessing the target equipment according to the network connection information when the verification data is successfully verified.
4. The method of accessing a gateway for a device of claim 1, wherein the step of accessing a target device according to the network connection information comprises:
determining the number of target devices;
Determining the time required for access according to the number of the target devices;
and accessing the target equipment in the time required by the access.
5. The method of accessing a gateway for a device of claim 1, further comprising, after the step of accessing a target device based on the network connection information:
And when the target equipment fails to be accessed, sending prompt information of the access failure to the mobile terminal.
6. A gateway device, the gateway device comprising: 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 the device access gateway of any of claims 1 to 5 when the computer program is executed.
7. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the method of the device access gateway of any of claims 1 to 5.
CN202010860074.8A 2020-08-24 2020-08-24 Method for accessing device to gateway, gateway device and computer readable storage medium Active CN112351471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010860074.8A CN112351471B (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 CN112351471B (en) 2020-08-24 2020-08-24 Method for accessing device to gateway, gateway device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112351471A CN112351471A (en) 2021-02-09
CN112351471B true CN112351471B (en) 2024-04-30

Family

ID=74357896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010860074.8A Active CN112351471B (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) CN112351471B (en)

Families Citing this family (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
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

Citations (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971143A (en) * 2008-02-05 2011-02-09 奥多比公司 Automatic connections between application components
CN102238629A (en) * 2010-05-07 2011-11-09 华为技术有限公司 Access control method for machine type communication, equipment and communication system
CN102404821A (en) * 2010-09-15 2012-04-04 电信科学技术研究院 Access control method and device for magnetic tape controller (MTC) terminal
CN103297967A (en) * 2012-02-28 2013-09-11 中国移动通信集团公司 Method, device and system for user authentication in access of wireless local area network
CN103312760A (en) * 2012-11-12 2013-09-18 中兴通讯股份有限公司 Capability open platform, method and gateway for realizing plug and play management of terminal equipment
CN103685285A (en) * 2013-12-18 2014-03-26 上海斐讯数据通信技术有限公司 Method for limiting number of terminals under routing mode
CN104320861A (en) * 2014-11-04 2015-01-28 腾讯科技(深圳)有限公司 Wireless connection building method and device, terminal device, application server and 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
CN105979522A (en) * 2016-05-16 2016-09-28 北京小米移动软件有限公司 Equipment binding method and device
CN106231007A (en) * 2016-09-14 2016-12-14 浙江宇视科技有限公司 A kind of method and device preventing MAC Address from drifting about
CN106413124A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Device binding method and apparatus
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
CN107148066A (en) * 2017-06-20 2017-09-08 上海斐讯数据通信技术有限公司 Network resource optimization device and method and WAP
CN107370685A (en) * 2017-07-28 2017-11-21 深圳市盛路物联通讯技术有限公司 A kind of internet-of-things terminal cut-in method and device
CN107682909A (en) * 2017-11-22 2018-02-09 广东欧珀移动通信有限公司 A kind of control method and device for connecting access point
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
CN108040355A (en) * 2017-12-08 2018-05-15 深圳市恒腾智能科技有限公司 Method for network access and system
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
CN109121136A (en) * 2017-06-22 2019-01-01 中国电信股份有限公司 Network insertion, terminal connection and verification method and terminal, gateway and system
CN109246690A (en) * 2017-04-27 2019-01-18 中兴通讯股份有限公司 Method for network access, device, storage medium and processor
CN110505629A (en) * 2019-08-12 2019-11-26 珠海格力电器股份有限公司 A kind of networking method and system of household electrical appliances
CN110645611A (en) * 2019-09-26 2020-01-03 佛山市顺德区美的洗涤电器制造有限公司 Control method, control device, system and storage medium for range hood
CN110830333A (en) * 2018-08-09 2020-02-21 中兴通讯股份有限公司 Intelligent household equipment access authentication method, device, gateway and storage medium
CN110831065A (en) * 2020-01-09 2020-02-21 武汉慧联无限科技有限公司 Congestion control method and Internet of things platform
CN110858971A (en) * 2018-08-22 2020-03-03 九阳股份有限公司 Intelligent device network distribution method and system
CN111083181A (en) * 2018-10-19 2020-04-28 北京奇虎科技有限公司 Equipment scheduling method, gateway and system for large-scale access to Internet of things
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
CN111510922A (en) * 2014-08-21 2020-08-07 华为技术有限公司 Wireless network access control method, device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101409416B1 (en) * 2008-12-10 2014-06-24 노키아 솔루션스 앤드 네트웍스 오와이 Assignment of a common network address to multiple network interfaces of a computing device
CN104581718A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 Method and system for realizing security access and wireless gateway equipment
CN105393630B (en) * 2014-06-25 2019-07-23 华为技术有限公司 Establish method, gateway and the terminal of network connection
CN204206214U (en) * 2014-09-03 2015-03-11 武汉钢铁(集团)公司 A kind of secure access control system
CN111431840B (en) * 2019-01-09 2022-06-07 北京京东尚科信息技术有限公司 Security processing method and device, computer equipment and readable storage medium
CN110677851B (en) * 2019-08-29 2022-12-27 努比亚技术有限公司 Terminal network access method and network access equipment access method

Patent Citations (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971143A (en) * 2008-02-05 2011-02-09 奥多比公司 Automatic connections between application components
CN102238629A (en) * 2010-05-07 2011-11-09 华为技术有限公司 Access control method for machine type communication, equipment and communication system
CN102404821A (en) * 2010-09-15 2012-04-04 电信科学技术研究院 Access control method and device for magnetic tape controller (MTC) terminal
CN103297967A (en) * 2012-02-28 2013-09-11 中国移动通信集团公司 Method, device and system for user authentication in access of wireless local area network
CN103312760A (en) * 2012-11-12 2013-09-18 中兴通讯股份有限公司 Capability open platform, method and gateway for realizing plug and play management of terminal equipment
CN103685285A (en) * 2013-12-18 2014-03-26 上海斐讯数据通信技术有限公司 Method for limiting number of terminals under routing mode
CN111510922A (en) * 2014-08-21 2020-08-07 华为技术有限公司 Wireless network access control method, device and system
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN104320861A (en) * 2014-11-04 2015-01-28 腾讯科技(深圳)有限公司 Wireless connection building method and device, terminal device, application server and system
CN106413124A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Device binding method and apparatus
CN105546931A (en) * 2015-12-22 2016-05-04 Tcl集团股份有限公司 Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server
CN105979522A (en) * 2016-05-16 2016-09-28 北京小米移动软件有限公司 Equipment binding method and device
CN106231007A (en) * 2016-09-14 2016-12-14 浙江宇视科技有限公司 A kind of method and device preventing MAC Address from drifting about
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
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
CN107148066A (en) * 2017-06-20 2017-09-08 上海斐讯数据通信技术有限公司 Network resource optimization device and method and WAP
CN109121136A (en) * 2017-06-22 2019-01-01 中国电信股份有限公司 Network insertion, terminal connection and verification method and terminal, gateway and system
CN107370685A (en) * 2017-07-28 2017-11-21 深圳市盛路物联通讯技术有限公司 A kind of internet-of-things terminal cut-in method and device
CN107682909A (en) * 2017-11-22 2018-02-09 广东欧珀移动通信有限公司 A kind of control method and device for connecting access point
CN108040355A (en) * 2017-12-08 2018-05-15 深圳市恒腾智能科技有限公司 Method for network access and system
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
CN111083181A (en) * 2018-10-19 2020-04-28 北京奇虎科技有限公司 Equipment scheduling method, gateway and system for large-scale access to Internet of things
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
CN110505629A (en) * 2019-08-12 2019-11-26 珠海格力电器股份有限公司 A kind of networking method and system of household electrical appliances
CN110645611A (en) * 2019-09-26 2020-01-03 佛山市顺德区美的洗涤电器制造有限公司 Control method, control device, system and storage medium for range hood
CN110831065A (en) * 2020-01-09 2020-02-21 武汉慧联无限科技有限公司 Congestion control method and Internet of things platform
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动互联网动态接入计费机制研究;张波;沈苏彬;;南京邮电大学学报(自然科学版);20110215(第01期);全文 *

Also Published As

Publication number Publication date
CN112351471A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN112351471B (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN107579966B (en) Control method, device and system for remotely accessing intranet and terminal equipment
CN112822222B (en) Login verification method, automatic login verification method, server and client
CN107086979B (en) User terminal verification login method and device
CN104244227A (en) Terminal access authentication method and device in internet of things system
CN113271578B (en) Network distribution method, device, equipment and computer readable storage medium
CN105933905A (en) Method and device for realizing wireless access point connection authentication
CN114697047B (en) Sub-device registration method in Internet of things, cloud server and gateway device
CN111065090A (en) Method for establishing network connection and wireless routing equipment
CN107508784B (en) Application login method and terminal equipment
WO2017181465A1 (en) Access point name configuration method and device
CN113852958A (en) 5G authentication method, 5G automatic account opening method, device, system and storage medium
CN112954647B (en) Vehicle Bluetooth key registration method and device, computer equipment and storage medium
WO2017167068A1 (en) Method, apparatus and system for checking change of telephone number
CN110446197B (en) Communication control method, device, equipment and storage medium of intelligent equipment
CN105577511B (en) User account update notifying method and device
EP4310407A1 (en) Control right switching method and apparatus for virtual remote control, device, and storage medium
CN113950044B (en) User identification card identification method, device, terminal equipment and storage medium
CN114900385A (en) Household appliance binding method and device, electronic device and storage medium
CN107889105B (en) Verification card locking method and verification card locking system of mobile phone
CN113422712A (en) Network distribution method, network distribution device, household equipment and computer readable storage medium
CN113596235A (en) Operation instruction issuing method and device, storage medium and electronic device
CN112954692A (en) Distribution network identifier generation method and device and terminal
CN105528538A (en) Terminal system starting method and apparatus
CN113660288B (en) User number binding method and system based on block chain system

Legal Events

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