CN107645789B - Network access method, device and system - Google Patents

Network access method, device and system Download PDF

Info

Publication number
CN107645789B
CN107645789B CN201610554981.3A CN201610554981A CN107645789B CN 107645789 B CN107645789 B CN 107645789B CN 201610554981 A CN201610554981 A CN 201610554981A CN 107645789 B CN107645789 B CN 107645789B
Authority
CN
China
Prior art keywords
terminal
intelligent household
server
household equipment
equipment 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
CN201610554981.3A
Other languages
Chinese (zh)
Other versions
CN107645789A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610554981.3A priority Critical patent/CN107645789B/en
Priority to PCT/CN2017/092107 priority patent/WO2018010595A1/en
Publication of CN107645789A publication Critical patent/CN107645789A/en
Application granted granted Critical
Publication of CN107645789B publication Critical patent/CN107645789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a network access method, a device and a system, wherein the method comprises the following steps: determining that a first distance between a first terminal and a server is smaller than a first preset threshold value through radio frequency identification; and adding the first terminal into the network to which the server belongs. The invention solves the problems of inconvenient network access of household equipment, difficult equipment addition and poor expansibility in the related technology, thereby achieving the effect of facilitating the network access of equipment.

Description

Network access method, device and system
Technical Field
The invention relates to the field of communication, in particular to a network access method, device and system.
Background
The current intelligent home system is mature day by day, and the intelligent home system mainly comprises a cloud server, a user server, various sensors and an alarm. The sensor needs to be matched with a user server, the method for adding the sensor into the network is that a user downloads a corresponding Application program (APP for short) firstly, then inputs the serial number of the sensor in the APP, or adds the sensor into the network after scanning the code, then sets a linkage rule between the sensor and an alarm on the APP, the use is more complex for the user, certain requirements are provided for the operation capability of the user, and in addition, the production management difficulty of equipment manufacturers can be increased by the serial number management and the two-dimensional code distribution management of the sensor.
At present, the smart home sensor and the server mainly communicate with each other through short-distance communication methods such as Zigbee, Wireless Fidelity (WiFi for short), bluetooth, and the like, and the networking method between the sensor and the server is complex and is generally implemented by the following method: the information of serial number, address and the like of the sensor is preset in the user server. The sensor is preset with the information of serial number, address, etc. of the user server.
The user adds the identification information of the sensor to the user server by inputting serial numbers, scanning codes and the like by using the mobile phone. After the sensor finishes networking, linkage configuration between the sensor and the alarm requires a user to download corresponding APP management software, and after registration is finished, corresponding equipment is selected on a linkage setting page for setting.
In the implementation mode of the related art, networking needs to be performed through the prefabricated information, and a user can directly use the device after taking the device, but the user is difficult to add the device (for example, a sensor and an alarm) and has poor expansibility. In the correlation technique always, need add the setting through scanning the sign indicating number operation with the help of cell-phone APP, consequently, have certain requirement to user's operating capability, it is comparatively troublesome to use. In addition, in the related art, an equipment manufacturer needs to perform allocation management on the serial number and the two-dimensional code in advance for the equipment, and if the serial number or the two-dimensional code is lost, the equipment manufacturer cannot add a network again.
Aiming at the problems of inconvenient networking of household equipment, difficult equipment adding and poor expansibility in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a network access method, a device and a system, which are used for at least solving the problems of inconvenience in network adding, difficulty in equipment adding and poor expansibility of household equipment in the related technology.
According to an embodiment of the present invention, there is provided a method for accessing a network, including: determining that a first distance between a first terminal and a server is smaller than a first preset threshold value through radio frequency identification; and adding the first terminal into the network to which the server belongs.
Optionally, the determining, by radio frequency identification, that the first distance between the first terminal and the server is smaller than a first predetermined threshold includes: sending a first request message for requesting to acquire the first distance through radio frequency identification; receiving a first response message returned by the first terminal through radio frequency identification; and determining that the first distance between the first terminal and the server is smaller than the first preset threshold according to the first distance carried in the first response message, and/or determining that the first distance between the first terminal and the server is smaller than the first preset threshold according to the position information of the first terminal carried in the first response message.
Optionally, the joining the first terminal to the network to which the server belongs includes: determining the type of the first terminal as a device type supported by the server; returning a second response message for indicating that the first terminal is allowed to join the network to which the server belongs to the first terminal; receiving a network access request sent by the first terminal according to the second response message; and adding the first terminal into the network to which the server belongs according to the network access request.
Optionally, the determining that the type of the first terminal is the device type supported by the server includes: acquiring the type of the first terminal through radio frequency identification; and when the type of the first terminal is determined to be included in the device list supported by the server, determining that the type of the first terminal is the device type supported by the server.
Optionally, the method further comprises: receiving a second request message which is sent by the first terminal through radio frequency identification and used for requesting to establish linkage between the first terminal and a second terminal, wherein the second request message carries an identifier of the second terminal; after determining that the second terminal is added into the network to which the server belongs according to the identifier of the second terminal, establishing linkage between the first terminal and the second terminal; and sending a third response message to the first terminal, wherein the third response message is used for indicating that linkage between the first terminal and the second terminal is established.
In another embodiment of the present invention, a method for accessing a network is provided, including receiving a first request message from a server; sending a first response message to the server through radio frequency identification according to the first request message, wherein the first response message carries at least one of the following information: a first distance between a first terminal and the server, and position information of the first terminal, where the first distance and/or the position information of the first terminal are used by the server to determine whether to allow the first terminal to join a network to which the server belongs.
Optionally, the method further comprises: and sending the type of the first terminal to the server through radio frequency identification, wherein the type of the first terminal is used for judging whether the server supports the type of the first terminal, and when the type of the first terminal is supported, determining that the first terminal is allowed to join the network to which the server belongs.
Optionally, the method further comprises: receiving a second response message sent by the server, wherein the second response message is used for indicating that the first terminal is allowed to join the network to which the server belongs; and sending a network access request to the server according to the second response message, wherein the network access request is used for the server to join the first terminal into the network to which the server belongs.
Optionally, the method further comprises: determining that a second distance between a second terminal and the first terminal is smaller than a second preset threshold value, and/or determining that the type of the second terminal is a device type supported by the first terminal; and linkage matching is carried out with the second terminal.
Optionally, the determining that the second distance between the second terminal and the first terminal is smaller than the second predetermined threshold comprises: acquiring a second distance between the second terminal and the first terminal through radio frequency identification, and determining that the second distance is smaller than a second preset threshold; and/or the determining that the type of the second terminal is the device type supported by the first terminal includes: and acquiring the type of the second terminal through radio frequency identification, and determining the type of the second terminal as the type of the equipment supported by the first terminal when determining that the equipment list of the first terminal comprises the type of the second terminal.
Optionally, the method further comprises: sending a second request message to the server through radio frequency identification, wherein the second request message is used for requesting to establish linkage between the first terminal and the second terminal, and the second request message carries an identifier of the second terminal; and receiving a third response message returned by the server according to the second request message, wherein the third response message is used for indicating that the linkage between the first terminal and the second terminal is established.
In another embodiment of the present invention, there is also provided a network access apparatus, including: the first determining module is used for determining that a first distance between the first terminal and the server is smaller than a first preset threshold value through radio frequency identification; and the joining module is used for joining the first terminal into the network to which the server belongs.
Optionally, the first determining module includes: the first processing unit is used for sending a first request message for requesting to acquire the first distance through radio frequency identification; the second processing unit is used for receiving a first response message returned by the first terminal through radio frequency identification; a third processing unit, configured to determine, according to the first distance carried in the first response message, that the first distance between the first terminal and the server is smaller than the first predetermined threshold, and/or determine, according to the location information of the first terminal carried in the first response message, that the first distance between the first terminal and the server is smaller than the first predetermined threshold.
Optionally, the joining module includes: a fourth processing unit, configured to determine that the type of the first terminal is a device type supported by the server; a fifth processing unit, configured to return a second response message to the first terminal, where the second response message indicates that the first terminal is allowed to join the network to which the server belongs; a sixth processing unit, configured to receive a network access request sent by the first terminal according to the second response message; and the seventh processing unit is used for adding the first terminal into the network to which the server belongs according to the network access request.
Optionally, the fourth processing unit includes: the acquiring subunit is used for acquiring the type of the first terminal through radio frequency identification; a determining subunit, configured to determine, when it is determined that the type of the first terminal is included in the device list supported by the server, that the type of the first terminal is the device type supported by the server.
Optionally, the apparatus further comprises: the first receiving module is used for receiving a second request message which is sent by the first terminal through radio frequency identification and used for requesting to establish linkage between the first terminal and a second terminal, wherein the second request message carries an identifier of the second terminal; the establishing module is used for establishing linkage between the first terminal and the second terminal after the second terminal is determined to be added into the network to which the server belongs according to the identifier of the second terminal; and the processing module is used for sending a third response message to the first terminal, wherein the third response message is used for indicating that linkage between the first terminal and the second terminal is established.
In another embodiment of the present invention, another network access apparatus is provided, including: the second receiving module is used for receiving the first request message from the server; a first sending module, configured to send a first response message to the server through radio frequency identification according to the first request message, where the first response message carries at least one of the following information: a first distance between a first terminal and the server, and position information of the first terminal, where the first distance and/or the position information of the first terminal are used by the server to determine whether to allow the first terminal to join a network to which the server belongs.
Optionally, the apparatus further comprises: and a second sending module, configured to send the type of the first terminal to the server through radio frequency identification, where the type of the first terminal is used for the server to determine whether the type of the first terminal is supported, and when the type of the first terminal is supported, determine to allow the first terminal to join the network to which the server belongs.
Optionally, the apparatus further comprises: a third receiving module, configured to receive a second response message sent by the server, where the second response message is used to indicate that the first terminal is allowed to join the network to which the server belongs; and a third sending module, configured to send a network access request to the server according to the second response message, where the network access request is used for the server to add the first terminal to a network to which the server belongs.
Optionally, the apparatus further comprises: a second determining module, configured to determine that a second distance between a second terminal and the first terminal is smaller than a second predetermined threshold, and/or determine that the type of the second terminal is a device type supported by the first terminal; and the matching module is used for linkage matching with the second terminal.
Optionally, the matching module comprises: a first determining unit, configured to determine that a second distance between the second terminal and the first terminal is smaller than the second predetermined threshold, including: acquiring a second distance between the second terminal and the first terminal through radio frequency identification, and determining that the second distance is smaller than a second preset threshold; and/or the second determining unit, configured to determine that the type of the second terminal is the device type supported by the first terminal, includes: and acquiring the type of the second terminal through radio frequency identification, and determining the type of the second terminal as the type of the equipment supported by the first terminal when determining that the equipment list of the first terminal comprises the type of the second terminal.
Optionally, the apparatus further comprises: a fourth sending module, configured to send a second request message to the server through radio frequency identification, where the second request message is used to request establishment of linkage between the first terminal and the second terminal, and the second request message carries an identifier of the second terminal; and a fourth receiving module, configured to receive a third response message returned by the server according to the second request message, where the third response message is used to indicate that linkage between the first terminal and the second terminal is established.
In another embodiment of the present invention, a network access system is provided, including: the system comprises a cloud platform, a server and a first terminal, wherein the cloud platform is connected with the server, the server comprises the network access device in any embodiment, and the first terminal comprises the other network access device in any embodiment.
According to still another embodiment of the present invention, there is also provided a storage medium. The storage medium is configured to store program code for performing the above steps.
Optionally, the storage medium is further configured to store program code for performing the above steps.
According to the invention, as the server and each type of terminal are equipped with the radio frequency distance identification function, the terminal can complete the matching with the identification through the radio frequency distance identification through close contact and join the network to which the server belongs. The first terminal and the second terminal can finish linkage matching identification through close-distance contact, and linkage is established after identification is finished. The user does not need to download the APP again to set the equipment, complex operation is avoided, and the user can use the APP more intuitively. The manufacturer does not need to add serial numbers or two-dimensional codes for the sensors for scanning and screening, and the production difficulty and cost of the manufacturer are reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to a method of accessing a network according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of networking according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of networking according to an embodiment of the present invention (two);
FIG. 4 is a device connection diagram according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the overall architecture of a system according to an embodiment of the invention;
FIG. 6 is a schematic diagram of IOT intelligent gateway internal modules according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating the operation of networking according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of the operation of a sensor in conjunction with an alarm in accordance with an embodiment of the present invention;
FIG. 9 is a block diagram of a networked device according to an embodiment of the present invention;
FIG. 10 is a block diagram of the structure of the first determination module 92 according to an embodiment of the present invention;
FIG. 11 is a block diagram of the join module 94 according to an embodiment of the invention;
fig. 12 is a block diagram of the fourth processing unit 112 according to the embodiment of the present invention;
FIG. 13 is a block diagram (one) of a preferred structure of a networked device according to an embodiment of the present invention;
fig. 14 is a block diagram (ii) of the network access apparatus according to the embodiment of the present invention;
fig. 15 is a block diagram (ii) showing a preferred structure of a device for accessing a network according to an embodiment of the present invention;
fig. 16 is a block diagram (iii) of a preferred structure of a networked device according to an embodiment of the present invention;
fig. 17 is a block diagram (iv) of a preferred configuration of a networked device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It is to be understood that the terminology used in the description and claims of the invention, and in the drawings, is: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the present application may be executed in a mobile terminal, a computer terminal or a similar computing device. Taking the mobile terminal as an example, fig. 1 is a hardware block diagram of the mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmitting device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the network accessing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Fig. 2 is a flowchart (a) of a method for accessing a network according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, determining that a first distance between a first terminal and a server is smaller than a first preset threshold value through radio frequency identification;
step S204, adding the first terminal to the network to which the server belongs.
Through the steps, the problems that the terminal equipment is inconvenient to add the network, the equipment is difficult to add and the expansibility is poor are solved, and the convenience of adding the network for the terminal equipment is improved.
Optionally, the executing subject of the above steps may be a server, and may also be a gateway (such as an Internet of Things (IOT) gateway), but is not limited thereto.
In an alternative embodiment, determining that the first distance between the first terminal and the server is less than the first predetermined threshold by rfid comprises: sending a first request message for requesting to acquire the first distance through radio frequency identification; receiving a first response message returned by the first terminal through radio frequency identification; and determining that the first distance between the first terminal and the server is smaller than the first predetermined threshold according to the first distance carried in the first response message, and/or determining that the first distance between the first terminal and the server is smaller than the first predetermined threshold according to the position information of the first terminal carried in the first response message. In this embodiment, both the server and the first terminal are equipped with a radio frequency identification function, and the server initiates a request message request for querying the device through radio frequency identification (for example, a first request message of the first terminal), where a message format of the first request message is a protocol identifier, a total length, a message type, an instruction length, an instruction content, and a checksum; the first terminal returns a first response message after receiving the first request message, wherein the message format of the first response message is protocol length, total length, message type, instruction length, instruction content and checksum, and the instruction content comprises a first distance between the server and the first terminal and/or position information of the first terminal; and judging whether the first terminal is within a first threshold range preset by the server or not by using the first distance and/or the position information of the first terminal, if so, judging whether the type of the first terminal is in a device list supported by the server or not, and if not, not judging the type, and failing in matching identification.
In an optional embodiment, the adding the first terminal to the network to which the server belongs includes: determining the type of the first terminal as the device type supported by the server; returning a second response message for indicating that the first terminal is allowed to join the network to which the server belongs to the first terminal; receiving a network access request sent by the first terminal according to the second response message; and adding the first terminal into the network to which the server belongs according to the network access request. In this embodiment, the instruction content in the first response message sent by the first terminal includes an identifier of the first terminal, and if the first terminal is within a first threshold range preset by the server and the type of the first terminal is determined to be in a device type supported by the server according to the identifier of the first terminal, the type of the first terminal is recorded and a second response message is returned to the first terminal, where the second response message carries a matching result of whether the first terminal and the server are successfully matched. If the matching between the first terminal and the server is judged to be failed according to the reading matching result, the identification server does not support the equipment type of the first terminal or the first terminal is not in a first threshold range preset by the server; and if the first terminal is successfully matched with the server, the server adds the first terminal into the network to which the server belongs according to the network access request sent by the first terminal.
In an optional embodiment, determining that the type of the first terminal is the device type supported by the server includes: acquiring the type of the first terminal through radio frequency identification; and when the type of the first terminal is determined to be included in the device list supported by the server, determining that the type of the first terminal is the device type supported by the server. In this embodiment, a first response message sent by a first terminal is obtained through radio frequency identification, where the instruction content in the first response message carries an identifier of the first terminal, and whether the device type of the first terminal is in a device list supported by a server is determined according to the identifier of the first terminal, where if the first terminal is in the device list supported by the server, the type of the first terminal is the device type supported by the server.
In an optional embodiment, a second request message sent by the first terminal through radio frequency identification is received, where the second request message is used to request establishment of linkage between the first terminal and a second terminal, and the second request message carries an identifier of the second terminal; establishing linkage between the first terminal and the second terminal after determining that the second terminal is added into the network to which the server belongs according to the identifier of the second terminal; and sending a third response message to the first terminal, wherein the third response message is used for indicating that the linkage between the first terminal and the second terminal is established. In this embodiment, the server receives a second request message sent by the first terminal or the second terminal through the radio frequency device, the second request message carries information of the first terminal and information of the second terminal, the server matches whether the second terminal is added to the network to which the server belongs after receiving the second request message, if it is determined from the identification of the second terminal that the device type of the second terminal is in the list of devices supported by the server, the second terminal is successfully matched with the server, the second terminal is added into the network to which the server belongs, the server adds the linkage formed by the first terminal and the second terminal into a linkage list in the server, and if the identifier of the second terminal is not in the equipment list of the server, indicating that the second terminal is not added into the network to which the server belongs, and failing to establish linkage of the first terminal and the second terminal. And the server responds the linkage result to the first terminal and the second terminal.
Fig. 3 is a flowchart (two) of a method for accessing a network according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
step 302: receiving a first request message from a server;
step 304: sending a first response message to the server through radio frequency identification according to the first request message, wherein the first response message carries at least one of the following information: a first distance between a first terminal and the server, and position information of the first terminal, wherein the first distance and/or the position information of the first terminal are used for the server to judge whether to allow the first terminal to join the network to which the server belongs.
Through the steps, the problems that the terminal equipment is inconvenient to add the network, the equipment is difficult to add and the expansibility is poor are solved, and the convenience of adding the network for the terminal equipment is improved.
Optionally, the main body for executing the above steps may be the first terminal (such as a sensor, an alarm), but is not limited thereto.
In an optional embodiment, the method further includes: and sending the type of the first terminal to the server through radio frequency identification, wherein the type of the first terminal is used for judging whether the server supports the type of the first terminal, and when the type of the first terminal is supported, determining that the first terminal is allowed to join the network to which the server belongs. In this embodiment, after receiving a first request message sent by a server, a first terminal returns a first response message, where an instruction content in the first response message carries an identifier of the first terminal, determines whether the type of the first terminal is in a type list supported by the server according to the identifier of the first terminal, sends a message requesting networking to the server after determining that the type of the first terminal is in the type supported by the server, and adds the message to a network to which the server belongs according to the first response message responded by the server.
In an optional embodiment, the method further includes: and sending the type of the first terminal to the server through radio frequency identification, wherein the type of the first terminal is used for judging whether the server supports the type of the first terminal, and when the type of the first terminal is supported, determining that the first terminal is allowed to join the network to which the server belongs.
In an optional embodiment, the method further includes: receiving a second response message sent by the server, wherein the second response message is used for indicating that the first terminal is allowed to join the network to which the server belongs; and sending a network access request to the server according to the second response message, wherein the network access request is used for the server to join the first terminal into the network to which the server belongs.
In an optional embodiment, the method further includes: determining that a second distance between a second terminal and the first terminal is smaller than a second preset threshold value, and/or determining that the type of the second terminal is the device type supported by the first terminal; and linkage matching is carried out with the second terminal. In this embodiment, according to the query request message sent by the first terminal, the second terminal sends a response message responding to the first terminal (or the query request message sent by the second terminal, and the first terminal sends a response message responding to the first terminal), where an instruction content in the response message sent by the second terminal carries an identifier of the second terminal, location information of the second terminal, and/or a second distance between the second terminal and the first terminal; and judging whether the second terminal is in the equipment list supported by the first terminal according to the identifier of the second terminal, and if the second terminal is in the equipment type identified by the first terminal and the distance between the second terminal and the first terminal is within a second preset threshold value, which indicates that the second terminal and the first terminal are successfully matched, establishing linkage between the first terminal and the second terminal.
In an alternative embodiment, determining that the second distance between the second terminal and the first terminal is less than the second predetermined threshold comprises: acquiring a second distance between the second terminal and the first terminal through radio frequency identification, and determining that the second distance is smaller than the second preset threshold; and/or, determining that the type of the second terminal is the device type supported by the first terminal includes: and acquiring the type of the second terminal through radio frequency identification, and determining the type of the second terminal as the type of the equipment supported by the first terminal when determining that the equipment list of the first terminal comprises the type of the second terminal. In this embodiment, the matching condition for determining whether the first terminal and the second terminal are matched may be that the second distance is smaller than the second predetermined threshold, that the type of the second terminal is a device type supported by the first terminal, or that the two conditions are simultaneously satisfied.
In an optional embodiment, the method further includes: sending a second request message to the server through radio frequency identification, wherein the second request message is used for requesting to establish linkage between the first terminal and the second terminal, and the second request message carries an identifier of the second terminal; and receiving a third response message returned by the server according to the second request message, wherein the third response message is used for indicating that the linkage between the first terminal and the second terminal is established.
The invention is illustrated below with reference to specific examples:
fig. 4 is a device connection diagram according to an embodiment of the present invention, and as shown in fig. 4, the system in this embodiment includes a cloud server, a route (corresponding to the server) serving as an intelligent home server, a set of intelligent home sensors (corresponding to the first terminal), and an alarm (corresponding to the second terminal), where in this embodiment, the first terminal may be a sensor or an alarm, and correspondingly, the second terminal may be a sensor or an alarm.
The cloud server is used as a service cloud, supports user management, equipment management, data service and linkage alarm information pushing work, and can be matched with a specific service cloud to complete specific service functions such as energy-saving control, safety protection and health care. An Internet of things (Internet of things, referred to as IOT for short) intelligent gateway (corresponding to the server) serves as a management and control center of the intelligent home server, is responsible for connection between an upper cloud interaction layer and a lower cloud interaction layer and an equipment access layer, and provides functions of data acquisition, data analysis and processing, configuration management, UI background service and the like. The sensors and the alarm are responsible for collecting and reporting various information and informing the alarm information.
The IOT intelligent gateway and the various sensor alarms in this embodiment are equipped with radio frequency distance identification (corresponding to the radio frequency devices), the sensors and the server can complete identification matching work of the sensors and the server through radio frequency distance identification through close-range contact, and the sensors automatically join the intelligent home network after matching. The sensor and the alarm can be identified (corresponding to the matching) through close contact, and the linkage rule (corresponding to the linkage) is set after the identification is finished.
When a user uses the system for the first time, the IOT intelligent gateway starts equipment networking preparation and equipment search after being started; a user enables a sensor needing to be added into a network to be close to the IOT intelligent gateway, and the IOT intelligent gateway judges that the sensor enters the range of the networking equipment (corresponding to the first preset threshold value) through radio frequency distance identification and completes matching with the sensor; the IOT intelligent gateway adds the corresponding sensor into the network and synchronizes the state of the equipment to the cloud platform; and the IOT intelligent gateway informs the sensor of finishing the networking.
The linkage setting method in the embodiment includes: a user approaches a sensor and an alarm device which need to be configured with linkage; the alarm judges that the sensor enters the identification range through radio frequency distance identification and finishes matching with the sensor; the alarm informs the IOT intelligent gateway of newly building a linkage rule; the IOT intelligent gateway informs the cloud platform of newly building a linkage rule; and (4) successfully establishing the linkage rule, informing the IOT intelligent gateway by the cloud platform, and informing the sensor and the alarm by the IOT intelligent gateway.
Fig. 5 is a schematic diagram of an overall structure of a system according to an embodiment of the present invention, and as shown in fig. 5, a home system in this embodiment includes a cloud platform, an IOT intelligent gateway, and a terminal (composed of various sensors and alarm devices). The cloud platform and the IOT intelligent gateway are interacted through a cloud server application layer protocol, and the IOT intelligent gateway is connected with various sensors and alarm devices through a Zigbee sensor network and a WIFI sensor network. The IOT intelligent gateway and the alarm devices of various types of sensors are provided with radio frequency distance identification modules, the sensors and the servers finish the identification matching work of the sensors and the servers through radio frequency distance identification, and the sensors automatically join the intelligent home network after matching. The sensor and the alarm finish the identification matching work of the sensor and the alarm through the radio frequency distance identification, and the linkage rule setting is automatically finished after the matching is finished.
Fig. 6 is a schematic diagram of internal modules of an IOT intelligent gateway according to an embodiment of the present invention, and as shown in fig. 6, the IOT intelligent gateway according to the embodiment includes: the intelligent terminal comprises a management module, a data service module, a distance identification module, a WIFI module, a Zigbee module and a cloud platform access module. Wherein cloud platform access module is responsible for with the access and the data transmission of cloud platform, management module and data service module are responsible for managing local data, distance identification module is responsible for the distance discernment between IOT intelligent gateway and the sensor, WIFI module and Zigbee module are responsible for the short distance wireless communication of sensor.
Fig. 7 is a schematic operation diagram of network access according to an embodiment of the present invention, as shown in fig. 7, the specific steps are as follows:
step 702: the IOT intelligent gateway searches for the sensor, initiates a query request, and searches for a responsive intelligent terminal (corresponding to the first terminal). The request message format is protocol label, total length, message type, instruction length, instruction content and checksum, as shown in table 1.
TABLE 1
Figure BDA0001049728710000151
Step 704: the intelligent terminal returns a response message after receiving the query instruction, wherein the format of the response message is protocol mark, total length, message type, instruction length, instruction content and checksum, and the protocol mark of the response is shown in table 2. The instruction content comprises a Mac address (corresponding to the identifier) and a terminal distance value (corresponding to the first distance), the Mac address can uniquely identify the intelligent terminal, and the distance value is the distance value between the terminal and the IOT intelligent gateway.
TABLE 2
Figure BDA0001049728710000152
Figure BDA0001049728710000161
Step 706: and the IOT intelligent gateway judges whether the type of the intelligent terminal in the response message is in the supported equipment list or not and judges whether the distance value in the response message is in a preset range or not, if the type of the terminal (corresponding to the first terminal) is in the supported intelligent terminal list and the distance value is in the preset range, the target equipment is searched, and the Mac address of the target equipment is recorded for verification and use in subsequent networking. And the IOT intelligent gateway sends a notification message (corresponding to the first response message) to notify the intelligent terminal that the matching is successful. The notification message format is protocol label, total length, message type, instruction length, instruction content and checksum, as shown in table 3. Wherein the instruction content includes the matching result.
TABLE 3
Figure BDA0001049728710000162
The intelligent terminal receives the response message (corresponding to the first response message), reads the matching result in the instruction content, and if the matching fails, identifies that the intelligent gateway does not support the type of equipment or the distance does not reach the standard, and does not perform subsequent processing; and if the matching is successful, the intelligent terminal starts to prepare for network adding and enters the next step.
Step 708: the intelligent terminal initiates a networking request and sends a networking request message to the IOT intelligent gateway, wherein the format of the request message is protocol mark, total length, message type, instruction length, instruction content and checksum, and is shown in Table 4. The instruction content is the type and Mac address of the intelligent terminal.
TABLE 4
Figure BDA0001049728710000171
Step 710: after receiving the networking request message, the IOT intelligent gateway matches whether the received Mac address of the intelligent terminal is stored in the verification-passed device list in step 706, and if not, it indicates that the device is not in the device list from which the verification is successful, and the networking fails; if the IOT intelligent gateway indicates that the distance verification of the equipment is completed before in the equipment list, the IOT intelligent gateway adds the equipment into the activated equipment list and returns a response message (corresponding to the second response message). The format of the response message is protocol label, total length, message type, instruction length, instruction content and checksum, and the protocol label of the response is shown in table 5.
TABLE 5
Figure BDA0001049728710000172
Step 712: the IOT intelligent gateway informs the cloud platform of the new equipment (the first terminal and/or the second terminal) joining, and the cloud platform synchronizes the equipment information. The notification message format is protocol label, total length, message type, instruction length, instruction content and checksum, as shown in table 6. Wherein the instruction content includes a device type and a device Mac address.
TABLE 6
Figure BDA0001049728710000173
Figure BDA0001049728710000181
Step 714: the cloud platform returns a response message, where the format of the response message is a protocol label, a total length, a message type, an instruction length, an instruction content, and a checksum, and the protocol label of the response is shown in table 7. Wherein the instruction content synchronizes the results.
TABLE 7
Figure BDA0001049728710000182
Fig. 8 is a schematic operation diagram of the sensor and the alarm device according to the embodiment of the invention, and as shown in fig. 8, the specific operation steps are as follows:
step 802: the intelligent alarm (corresponding to the second terminal) initiates a query request for searching the intelligent sensor (corresponding to the first terminal) and searches the responsive intelligent sensor. The request message format is protocol label, total length, message type, instruction length, instruction content and checksum, as shown in table 8.
TABLE 8
Figure BDA0001049728710000183
The intelligent sensor returns a response message after receiving the query instruction, the format of the response message is protocol label, total length, message type, instruction length, instruction content and checksum, and the protocol label of the response is shown in table 9. The instruction content comprises a Mac address (corresponding to the identifier) and a terminal distance value (corresponding to the second distance), the Mac address can uniquely identify the intelligent sensor, and the distance value is the distance value between the terminal and the intelligent alarm.
TABLE 9
Figure BDA0001049728710000191
Step 804: and the intelligent alarm judges whether the intelligent terminal type in the response message is in the supported equipment list or not and judges whether the distance value in the response message is in a preset range or not, and if the terminal type is in the supported intelligent terminal list and the distance value is in the preset range, the target sensor equipment is searched, and the Mac address of the sensor equipment is recorded. The intelligent alarm sends a notification message to the intelligent sensor. The notification message format is protocol label, total length, message type, instruction length, instruction content, and checksum, as shown in table 10. Wherein the instruction content includes the matching result.
Watch 10
Figure BDA0001049728710000192
Step 806: the intelligent alarm device and the intelligent sensor are successfully matched.
Step 808: the alarm sends the information of the alarm and the information of the sensor to the IOT intelligent gateway, and the IOT intelligent gateway establishes a new linkage rule. The request message format is protocol label, total length, message type, instruction length, instruction content and checksum, as shown in table 11. The instruction content comprises the type and Mac address of the intelligent sensor and the type and Mac address of the intelligent alarm.
TABLE 11
Figure BDA0001049728710000201
Step 810: after the IOT intelligent gateway receives the new linkage rule request message, matching whether the received Mac addresses of the intelligent sensor and the intelligent alarm are in a networked equipment list or not, and if not, indicating that the equipment is not yet networked and the linkage rule is failed to establish; if the IOT intelligent gateway is in the list and shows that the equipment is finished networking before, the IOT intelligent gateway adds the linkage rule formed by the intelligent sensor and the intelligent alarm into the linkage rule list and returns a response message. The format of the response message is protocol label, total length, message type, instruction length, instruction content and checksum, and the protocol label of the response is shown in table 12.
TABLE 12
Figure BDA0001049728710000202
Step 812: and the IOT intelligent gateway informs the cloud platform of adding a new linkage rule and synchronizing linkage information of the cloud platform. The notification message format is protocol label, total length, message type, instruction length, instruction content and checksum, as shown in table 13. Wherein the instruction content is defined by the linkage rule.
Watch 13
Figure BDA0001049728710000211
The linkage rule definition is shown in table 14 and includes a linkage rule name, a linkage rule type (flag is user defined or preset), an originating type (originating device type), an originating device Mac address, an executing type (executing device type), and an executing device Mac address.
TABLE 14
Figure BDA0001049728710000212
Step 814: the cloud platform returns a response message, where the format of the response message is a protocol label, a total length, a message type, an instruction length, an instruction content, and a checksum, and the protocol label of the response is shown in table 15. Wherein the instruction content synchronizes the results.
Watch 15
Figure BDA0001049728710000221
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a network access apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 9 is a block diagram (a) of a networked device according to an embodiment of the present invention, and as shown in fig. 9, the networked device includes: a first determination module 92 and a joining module 94, which are described below:
a first determining module 92 (corresponding to the distance identifying module) configured to determine, through radio frequency identification, that a first distance between the first terminal and the server is smaller than a first predetermined threshold; a joining module 94, connected to the first determining module 92, for joining the first terminal to the network to which the server belongs.
Fig. 10 is a block diagram of a first determining module 92 according to an embodiment of the present invention, and in an alternative embodiment, the first determining module 92 includes: a first processing unit 102, a second processing unit 104 and a third processing unit 106, which are described below:
a first processing unit 102, configured to send a first request message for requesting to acquire the first distance through radio frequency identification; a second processing unit 104, connected to the first processing unit 102, for receiving a first response message returned by the first terminal through radio frequency identification; a third processing unit 106, connected to the second processing unit 104, configured to determine, according to the first distance carried in the first response message, that the first distance between the first terminal and the server is smaller than the first predetermined threshold, and/or determine, according to the location information of the first terminal carried in the first response message, that the first distance between the first terminal and the server is smaller than the first predetermined threshold.
Fig. 11 is a block diagram of a join module 94 according to an embodiment of the present invention, and in an alternative embodiment, the join module 94 includes: a fourth processing unit 112, a fifth processing unit 114, a sixth processing unit 116 and a seventh processing unit 118, which are explained below:
a fourth processing unit 112, configured to determine that the type of the first terminal is a device type supported by the server; a fifth processing unit 114, connected to the fourth processing unit 112, configured to return a second response message to the first terminal, where the second response message indicates that the first terminal is allowed to join the network to which the server belongs; a sixth processing unit 116, connected to the fifth processing unit 114, configured to receive a network access request sent by the first terminal according to the second response message; a seventh processing unit 118, connected to the sixth processing unit 116, configured to join the first terminal into the network to which the server belongs according to the network access request.
Fig. 12 is a block diagram of a fourth processing unit 112 according to an embodiment of the present invention, and in an alternative embodiment, the fourth processing unit 112 includes: an acquisition subunit 122 and a determination subunit 124, which are explained below:
an obtaining subunit 122, configured to obtain the type of the first terminal through radio frequency identification; a determining subunit 124, connected to the obtaining subunit 122, configured to determine, when it is determined that the type of the first terminal is included in the device list supported by the server, that the type of the first terminal is the device type supported by the server.
Fig. 13 is a block diagram (a) of a preferred structure of a networked device according to an embodiment of the present invention, and as shown in fig. 13, the device includes, in addition to all modules shown in fig. 9: a first receiving module 132, a building module 134 and a processing module 136, which are described below:
a first receiving module 132, connected to the joining module 94, configured to receive a second request message sent by the first terminal through radio frequency identification, where the second request message is used for requesting establishment of linkage between the first terminal and a second terminal, and an identifier of the second terminal is carried in the second request message; an establishing module 134, connected to the first receiving module 132, configured to establish linkage between the first terminal and the second terminal after determining that the second terminal has joined the network to which the server belongs according to the identifier of the second terminal; and a processing module 136, connected to the establishing module 134, for sending a third response message to the first terminal, wherein the third response message is used for indicating that the linkage between the first terminal and the second terminal is established.
Fig. 14 is a block diagram (ii) of a network access apparatus according to an embodiment of the present invention, and as shown in fig. 14, the apparatus includes: a second receiving module 142 and a first transmitting module 144, which are described below:
a second receiving module 142, configured to receive the first request message from the server; a first sending module 144, connected to the second receiving module 142, configured to send a first response message to the server through radio frequency identification according to the first request message, where the first response message carries at least one of the following information: a first distance between a first terminal and the server, and position information of the first terminal, wherein the first distance and/or the position information of the first terminal are used for the server to judge whether to allow the first terminal to join the network to which the server belongs.
Fig. 15 is a block diagram (ii) of a preferred structure of a networked device according to an embodiment of the present invention, and as shown in fig. 15, the device includes a second sending module 152 in addition to all modules shown in fig. 14, and the device is described below:
a second sending module 152, connected to the first sending module 144, configured to send the type of the first terminal to the server through radio frequency identification, where the type of the first terminal is used for the server to determine whether the type of the first terminal is supported, and when the type of the first terminal is supported, determine to allow the first terminal to join the network to which the server belongs.
Fig. 16 is a block diagram (iii) of a preferred structure of a networked device according to an embodiment of the present invention, and as shown in fig. 16, the device includes a third receiving module 162 and a third sending module 164 in addition to all the modules shown in fig. 15, and the device is explained as follows:
a third receiving module 162, connected to the second sending module 152, configured to receive a second response message sent by the server, where the second response message is used to indicate that the first terminal is allowed to join the network to which the server belongs; a third sending module 164, connected to the third receiving module 162, configured to send a network access request to the server according to the second response message, where the network access request is used for the server to join the first terminal to the network to which the server belongs.
Fig. 17 is a block diagram (iv) of a preferred structure of a networked device according to an embodiment of the present invention, and as shown in fig. 17, the device includes, in addition to all modules shown in fig. 16, a second determining module 172 and a matching module 174, which are described below:
a second determining module 172, connected to the third sending module 164, configured to determine that a second distance between a second terminal and the first terminal is smaller than a second predetermined threshold, and/or determine that the type of the second terminal is a device type supported by the first terminal; and a matching module 174, connected to the second determining module 172, for performing linkage matching with the second terminal.
In an alternative embodiment, the matching module 174 includes: the first determining unit, configured to determine that a second distance between the second terminal and the first terminal is smaller than the second predetermined threshold, includes: acquiring a second distance between the second terminal and the first terminal through radio frequency identification, and determining that the second distance is smaller than the second preset threshold; and/or the second determining unit, connected to the first determining unit, configured to determine that the type of the second terminal is the device type supported by the first terminal, includes: and acquiring the type of the second terminal through radio frequency identification, and determining the type of the second terminal as the type of the equipment supported by the first terminal when determining that the equipment list of the first terminal comprises the type of the second terminal.
In an optional embodiment, the apparatus further comprises: a fourth sending module, connected to the matching module 174, configured to send a second request message to the server through radio frequency identification, where the second request message is used to request establishment of linkage between the first terminal and the second terminal, and the second request message carries an identifier of the second terminal; and a fourth receiving module, connected to the fourth sending module, configured to receive a third response message returned by the server according to the second request message, where the third response message is used to indicate that the linkage between the first terminal and the second terminal is established.
In another embodiment of the present invention, there is also provided a network access system, including: the cloud platform is connected with the server, the server comprises the network access device (I) in any embodiment, and the first terminal comprises the network access device (II) in any embodiment.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for executing the above steps.
Optionally, the storage medium is further configured to store program code for performing the above steps.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, in this embodiment, the processor executes the above steps according to program codes stored in the storage medium.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (19)

1. A method for accessing a network, comprising:
determining that a first distance between a first intelligent household equipment terminal and a server is smaller than a first preset threshold value through radio frequency identification;
adding the first intelligent household equipment terminal into a network to which the server belongs;
wherein the adding the first smart home device terminal into the network to which the server belongs includes:
determining the type of the first intelligent household equipment terminal as an equipment type supported by the server;
returning a second response message for indicating that the first intelligent home device terminal is allowed to be added into the network to which the server belongs to the first intelligent home device terminal;
receiving a network access request sent by the first intelligent household equipment terminal according to the second response message;
and adding the first intelligent household equipment terminal into the network to which the server belongs according to the network access request.
2. The method according to claim 1, wherein the determining, by radio frequency identification, that the first distance between the first smart home device terminal and the server is less than a first predetermined threshold value comprises:
sending a first request message for requesting to acquire the first distance through radio frequency identification;
receiving a first response message returned by the first intelligent household equipment terminal through radio frequency identification;
determining that the first distance between the first intelligent household equipment terminal and the server is smaller than the first preset threshold value according to the first distance carried in the first response message, and/or determining that the first distance between the first intelligent household equipment terminal and the server is smaller than the first preset threshold value according to the position information of the first intelligent household equipment terminal carried in the first response message.
3. The method according to claim 1, wherein the determining that the type of the first smart home device terminal is a device type supported by the server comprises:
acquiring the type of the first intelligent household equipment terminal through radio frequency identification;
and when the type of the first intelligent household equipment terminal is determined to be included in the equipment list supported by the server, determining that the type of the first intelligent household equipment terminal is the equipment type supported by the server.
4. The method of claim 1, further comprising:
receiving a second request message sent by the first intelligent household equipment terminal through radio frequency identification and used for requesting to establish linkage between the first intelligent household equipment terminal and a second intelligent household equipment terminal, wherein the second request message carries an identifier of the second intelligent household equipment terminal;
after determining that the second intelligent household equipment terminal is added into the network to which the server belongs according to the identifier of the second intelligent household equipment terminal, establishing linkage between the first intelligent household equipment terminal and the second intelligent household equipment terminal;
and sending a third response message to the first intelligent household equipment terminal, wherein the third response message is used for indicating that linkage between the first intelligent household equipment terminal and the second intelligent household equipment terminal is established.
5. A method for accessing a network, comprising:
receiving a first request message from a server;
sending a first response message to the server through radio frequency identification according to the first request message, wherein the first response message carries at least one of the following information: a first distance between a first intelligent household equipment terminal and the server, and position information of the first intelligent household equipment terminal, wherein the first distance and/or the position information of the first intelligent household equipment terminal are/is used for the server to judge whether the first intelligent household equipment terminal is allowed to join a network to which the server belongs;
wherein the method further comprises:
receiving a second response message sent by the server, wherein the second response message is used for indicating that the first smart home device terminal is allowed to join the network to which the server belongs;
and sending a network access request to the server according to the second response message, wherein the network access request is used for the server to add the first intelligent household equipment terminal to the network to which the server belongs.
6. The method of claim 5, further comprising:
and sending the type of the first intelligent household equipment terminal to the server through radio frequency identification, wherein the type of the first intelligent household equipment terminal is used for judging whether the type of the first intelligent household equipment terminal is supported or not by the server, and when the type of the first intelligent household equipment terminal is supported, the first intelligent household equipment terminal is allowed to be added into a network to which the server belongs.
7. The method of claim 5, further comprising:
determining that a second distance between a second intelligent household equipment terminal and the first intelligent household equipment terminal is smaller than a second preset threshold value, and/or determining that the type of the second intelligent household equipment terminal is the equipment type supported by the first intelligent household equipment terminal;
and linkage matching is carried out on the second intelligent household equipment terminal.
8. The method of claim 7,
the determining that the second distance between the second smart home device terminal and the first smart home device terminal is smaller than the second predetermined threshold value includes: acquiring a second distance between the second intelligent household equipment terminal and the first intelligent household equipment terminal through radio frequency identification, and determining that the second distance is smaller than the second preset threshold; and/or the presence of a gas in the gas,
the determining that the type of the second smart home device terminal is the device type supported by the first smart home device terminal includes: and acquiring the type of the second intelligent household equipment terminal through radio frequency identification, and determining that the type of the second intelligent household equipment terminal is the equipment type supported by the first intelligent household equipment terminal when determining that the equipment list of the first intelligent household equipment terminal comprises the type of the second intelligent household equipment terminal.
9. The method of claim 7, further comprising:
sending a second request message to the server through radio frequency identification, wherein the second request message is used for requesting to establish linkage between the first intelligent home device terminal and the second intelligent home device terminal, and the second request message carries an identifier of the second intelligent home device terminal;
and receiving a third response message returned by the server according to the second request message, wherein the third response message is used for indicating that linkage between the first intelligent household equipment terminal and the second intelligent household equipment terminal is established.
10. An apparatus for networking, comprising:
the first determining module is used for determining that a first distance between the first intelligent household equipment terminal and the server is smaller than a first preset threshold value through radio frequency identification;
the joining module is used for joining the first intelligent household equipment terminal into the network to which the server belongs; wherein the joining module comprises:
the fourth processing unit is configured to determine that the type of the first smart home device terminal is a device type supported by the server;
the fifth processing unit returns a second response message used for indicating that the first intelligent home device terminal is allowed to be added into the network to which the server belongs to the first intelligent home device terminal;
a sixth processing unit, configured to receive a network access request sent by the first smart home device terminal according to the second response message;
and the seventh processing unit is used for adding the first intelligent household equipment terminal into the network to which the server belongs according to the network access request.
11. The apparatus of claim 10, wherein the first determining module comprises:
the first processing unit is used for sending a first request message for requesting to acquire the first distance through radio frequency identification;
the second processing unit is used for receiving a first response message returned by the first intelligent household equipment terminal through radio frequency identification;
a third processing unit, configured to determine, according to the first distance carried in the first response message, that a first distance between the first smart home device terminal and the server is smaller than the first predetermined threshold, and/or determine, according to the location information of the first smart home device terminal carried in the first response message, that a first distance between the first smart home device terminal and the server is smaller than the first predetermined threshold.
12. The apparatus of claim 10, wherein the fourth processing unit comprises:
the acquisition subunit is used for acquiring the type of the first intelligent household equipment terminal through radio frequency identification;
and the determining subunit is configured to determine, when it is determined that the device list supported by the server includes the type of the first smart home device terminal, that the type of the first smart home device terminal is the device type supported by the server.
13. The apparatus of claim 10, further comprising:
the first receiving module is used for receiving a second request message which is sent by the first intelligent household equipment terminal through radio frequency identification and used for requesting to establish linkage between the first intelligent household equipment terminal and a second intelligent household equipment terminal, wherein the second request message carries an identifier of the second intelligent household equipment terminal;
the establishing module is used for establishing linkage between the first intelligent household equipment terminal and the second intelligent household equipment terminal after determining that the second intelligent household equipment terminal is added into the network to which the server belongs according to the identifier of the second intelligent household equipment terminal;
and the processing module is used for sending a third response message to the first intelligent household equipment terminal, wherein the third response message is used for indicating that linkage between the first intelligent household equipment terminal and the second intelligent household equipment terminal is established.
14. An apparatus for networking, comprising:
the second receiving module is used for receiving the first request message from the server;
a first sending module, configured to send a first response message to the server through radio frequency identification according to the first request message, where the first response message carries at least one of the following information: a first distance between a first intelligent household equipment terminal and the server, and position information of the first intelligent household equipment terminal, wherein the first distance and/or the position information of the first intelligent household equipment terminal are/is used for the server to judge whether the first intelligent household equipment terminal is allowed to join a network to which the server belongs;
wherein the apparatus further comprises:
a third receiving module, configured to receive a second response message sent by the server, where the second response message is used to indicate that the first smart home device terminal is allowed to join the network to which the server belongs;
and a third sending module, configured to send a network access request to the server according to the second response message, where the network access request is used for the server to add the first smart home device terminal to a network to which the server belongs.
15. The apparatus of claim 14, further comprising:
and the second sending module is used for sending the type of the first intelligent household equipment terminal to the server through radio frequency identification, wherein the type of the first intelligent household equipment terminal is used for judging whether the type of the first intelligent household equipment terminal is supported by the server, and when the type of the first intelligent household equipment terminal is supported, the first intelligent household equipment terminal is allowed to be added into a network to which the server belongs.
16. The apparatus of claim 14, further comprising:
the second determining module is used for determining that a second distance between a second intelligent household equipment terminal and the first intelligent household equipment terminal is smaller than a second preset threshold value, and/or determining that the type of the second intelligent household equipment terminal is the equipment type supported by the first intelligent household equipment terminal;
and the matching module is used for linkage matching with the second intelligent household equipment terminal.
17. The apparatus of claim 16, wherein the matching module comprises:
the first determining unit, configured to determine that a second distance between the second smart home device terminal and the first smart home device terminal is smaller than the second predetermined threshold includes: acquiring a second distance between the second intelligent household equipment terminal and the first intelligent household equipment terminal through radio frequency identification, and determining that the second distance is smaller than the second preset threshold; and/or the presence of a gas in the gas,
the second determining unit, configured to determine that the type of the second smart home device terminal is the device type supported by the first smart home device terminal, includes: and acquiring the type of the second intelligent household equipment terminal through radio frequency identification, and determining that the type of the second intelligent household equipment terminal is the equipment type supported by the first intelligent household equipment terminal when determining that the equipment list of the first intelligent household equipment terminal comprises the type of the second intelligent household equipment terminal.
18. The apparatus of claim 14, further comprising:
a fourth sending module, configured to send a second request message to the server through radio frequency identification, where the second request message is used to request establishment of linkage between the first smart home device terminal and a second smart home device terminal, and the second request message carries an identifier of the second smart home device terminal;
and the fourth receiving module is configured to receive a third response message returned by the server according to the second request message, where the third response message is used to indicate that linkage between the first smart home device terminal and the second smart home device terminal is established.
19. A network access system, comprising: the intelligent home equipment terminal comprises a cloud platform, a server and a first intelligent home equipment terminal, wherein the cloud platform is connected with the server, the server comprises the device of any one of claims 10 to 13, and the first intelligent home equipment terminal comprises the device of any one of claims 14 to 18.
CN201610554981.3A 2016-07-14 2016-07-14 Network access method, device and system Active CN107645789B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610554981.3A CN107645789B (en) 2016-07-14 2016-07-14 Network access method, device and system
PCT/CN2017/092107 WO2018010595A1 (en) 2016-07-14 2017-07-06 Network access method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610554981.3A CN107645789B (en) 2016-07-14 2016-07-14 Network access method, device and system

Publications (2)

Publication Number Publication Date
CN107645789A CN107645789A (en) 2018-01-30
CN107645789B true CN107645789B (en) 2021-07-30

Family

ID=60951962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610554981.3A Active CN107645789B (en) 2016-07-14 2016-07-14 Network access method, device and system

Country Status (2)

Country Link
CN (1) CN107645789B (en)
WO (1) WO2018010595A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924906A (en) * 2018-07-04 2018-11-30 广州市安宜智能科技股份有限公司 Smart machine control method, ZigBee gateway and storage medium
CN116057922A (en) * 2020-10-06 2023-05-02 三菱电机株式会社 Control system, server, terminal device, control device, communication control method, and program
CN113037838B (en) * 2021-03-08 2023-04-18 深圳奇迹智慧网络有限公司 Operation response method and device, computer equipment and storage medium
CN113382043A (en) * 2021-05-21 2021-09-10 苏州大学 Indoor wisdom management system
CN114786238A (en) * 2022-03-29 2022-07-22 广东芬尼克兹节能设备有限公司 Lora terminal equipment network access method, device, terminal equipment, system and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164929B2 (en) * 2004-01-09 2007-01-16 Symbol Technologies, Inc. Method and apparatus for location tracking in a multi-path environment
US8051466B2 (en) * 2007-09-28 2011-11-01 Symbol Technologies, Inc. RFID based network admission control
CN103369707B (en) * 2012-03-27 2016-12-14 华为终端有限公司 Wireless network establishment of connection method and terminal unit
CN104581615B (en) * 2014-12-25 2018-05-29 小米科技有限责任公司 service providing method and device

Also Published As

Publication number Publication date
WO2018010595A1 (en) 2018-01-18
CN107645789A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN107645789B (en) Network access method, device and system
CN106102184B (en) System and method for managing binding connection of Bluetooth equipment
US11917037B2 (en) Methods, devices, and systems for determining a subset for autonomous sharing of digital media
US9572190B2 (en) Device and method for associating with WiFi networks
CN110034984B (en) Access method, device and system
WO2021012792A1 (en) Device positioning method, terminal, server, and storage medium
WO2014137734A1 (en) Peer-to-peer pre-association discovery operations
CN108781473B (en) Method and equipment for sharing files among different terminals
EP2894834A1 (en) Providing service description
CN107371234B (en) Registration method, device and terminal
CN109391699A (en) Device network configuration method, device and server
CN106162541B (en) Method and system for inquiring nearby terminal equipment
CN110856132A (en) Intelligent equipment network access method, device, equipment, system and medium
CN113891317A (en) Network distribution method and network distribution device of intelligent equipment and electronic equipment
CN103857013A (en) Method for setting personal hotspot and mobile terminal
WO2015067058A1 (en) Method and apparatus for sharing environment context
CN113691610B (en) Data acquisition method and device, electronic equipment and storage medium
CN113691609B (en) Data acquisition method and device, electronic equipment and storage medium
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
US20170118625A1 (en) Method and Device for Controlling Subscriber Identity Module Card of Mobile Terminal
WO2022105028A1 (en) Network configuration method and apparatus for internet of things device
US20160294465A1 (en) Information collection system, relay terminal, control method for relay terminal to connect to center system, sensor terminal, and control method for sensor terminal to connect to center system
CN110619698B (en) Information prompting method and device based on Internet of things operating system
CN113132929A (en) Equipment network access method, device, computer equipment and storage medium
CN111642031B (en) Method for connecting multiple devices, electronic device 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
GR01 Patent grant
GR01 Patent grant