WO2018010595A1 - Procédé, appareil et système d'accès au réseau - Google Patents
Procédé, appareil et système d'accès au réseau Download PDFInfo
- Publication number
- WO2018010595A1 WO2018010595A1 PCT/CN2017/092107 CN2017092107W WO2018010595A1 WO 2018010595 A1 WO2018010595 A1 WO 2018010595A1 CN 2017092107 W CN2017092107 W CN 2017092107W WO 2018010595 A1 WO2018010595 A1 WO 2018010595A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- server
- type
- network
- response message
- 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.)
- Ceased
Links
Images
Definitions
- the present invention relates to the field of communications, and in particular to a method, device and system for accessing a network.
- the current smart home system is becoming more and more mature.
- the smart home system mainly consists of a cloud server, a user server and various sensors and alarms.
- the sensor needs to be matched with the user server.
- the method for the sensor to join the network is that the user first downloads the corresponding application (Application, referred to as APP), and then inputs the serial number of the sensor in the APP, or scans the sensor and adds the sensor to the network. Then, the linkage rule between the sensor and the alarm is set on the APP, which is more complicated for the user and has certain requirements on the operation capability of the user.
- the serial number management and the two-dimensional code allocation management of the sensor increase the equipment manufacturer. The difficulty of production management.
- smart home sensors and servers communicate mainly through Zigbee, Wireless Fidelity (WiFi), Bluetooth and other short-range communication methods.
- the screening method between the sensor and the server is complicated, and is generally implemented by the following methods. : Preset the serial number and address of the sensor in the user server.
- the serial number and address of the user server are preset in the sensor.
- the user adds the identification information of the sensor to the user server by inputting the serial number, scanning code, and the like by using the mobile phone. After the sensor completes the screening, the linkage configuration with the alarm requires the user to download the corresponding APP management software. After completing the registration, select the corresponding device on the linkage setting page to set.
- the pre-made information needs to be added to the network, and the user can directly use the device after receiving the device, but the user adds the device (for example, the sensor and the alarm device), and the scalability is poor.
- the device for example, the sensor and the alarm device
- it is necessary to add settings by scanning the code with the mobile phone APP. Therefore, there is a certain requirement for the user's operation ability, and the use is troublesome.
- the device manufacturer needs to perform pre-distribution management of the serial number and the two-dimensional code on the device, if the serial number If the QR code is lost, you cannot add it again.
- the present invention has not yet proposed an effective solution.
- the embodiments of the present invention provide a method, a device, and a system for accessing a network, so as to at least solve the problems of inconvenient installation, difficulty in adding equipment, and poor scalability of the home equipment existing in the related art.
- a method for network access including: determining, by radio frequency identification, that a first distance between a first terminal and a server is less than a first predetermined threshold; adding the first terminal to a server to which the server belongs In the network.
- the determining, by the radio frequency identification, that the first distance between the first terminal and the server is less than a first predetermined threshold comprises: sending, by using radio frequency identification, a first request message for requesting acquiring the first distance; receiving Determining, by the first terminal, the first response message returned by the radio frequency identification; determining, 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 And determining, by the threshold value, and/or, that the first distance between the first terminal and the server is less than the first predetermined threshold according to location information of the first terminal that is carried in the first response message.
- the adding the first terminal to the network to which the server belongs includes: determining that the type of the first terminal is a device type supported by the server; and returning to the first terminal for indicating Allowing the first terminal to join the second response message in the network to which the server belongs; receiving the network access request sent by the first terminal according to the second response message; and the first terminal according to the network access request Join to the network to which the server belongs.
- the determining that the type of the first terminal is a device type supported by the server includes: acquiring, by using radio frequency identification, a type of the first terminal; and determining, in determining a device list supported by the server, the When the type of the terminal is determined, the type of the first terminal is determined to be a device type supported by the server.
- the method further includes: receiving, by the first terminal, by using radio frequency identification to send And requesting to establish a second request message of the linkage between the first terminal and the second terminal, where the second request message carries the identifier of the second terminal; and is determined according to the identifier of the second terminal After the second terminal has joined the network to which the server belongs, the association between the first terminal and the second terminal is established; and a third response message is sent to the first terminal, where the third terminal The response message is used to indicate that the linkage between the first terminal and the second terminal is established.
- a method for accessing a network including receiving a first request message from a server, and transmitting, by using radio frequency identification, a first response message to the server according to the first request message, where
- the first response message carries at least one of the following information: a first distance between the first terminal and the server, location information of the first terminal, the first distance, and/or a location of the first terminal
- the information is used by the server to determine whether the first terminal is allowed to join the network to which the server belongs.
- the method further includes: transmitting, by using radio frequency identification, the type of the first terminal to the server, where a type of the first terminal is used by the server to determine whether to support the first terminal Type, and when supporting the type of the first terminal, determining to allow the first terminal to join the network to which the server belongs.
- the method further includes: receiving 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;
- the second response message sends a network access request to the server, where the network access request is used by the server to join the first terminal to a network to which the server belongs.
- the method further includes: determining that the second distance between the second terminal and the first terminal is less than a second predetermined threshold, and/or determining that the type of the second terminal is a device supported by the first terminal Type; linkage matching with the second terminal.
- the determining that the second distance between the second terminal and the first terminal is smaller than the second predetermined threshold includes: acquiring, by using radio frequency identification, a second distance between the second terminal and the first terminal Determining that the second distance is less than the second predetermined threshold; and/or, determining the The type of the second terminal is the type of the device supported by the first terminal, including: acquiring the type of the second terminal by using radio frequency identification, and when determining the type of the second terminal in the device list of the first terminal, Determining that the type of the second terminal is a device type supported by the first terminal.
- the method further includes: sending, by using radio frequency identification, a second request message to the server, where the second request message is used to request to establish linkage between the first terminal and the second terminal.
- the second request message carries the identifier of the second terminal, and receives a third response message that is returned by the server according to the second request message, where the third response message is used to indicate that the The linkage between the first terminal and the second terminal.
- a device for accessing a network comprising: a first determining module, configured to determine, by radio frequency identification, that a first distance between the first terminal and the server is less than a first predetermined threshold; It is arranged to join the first terminal to a network to which the server belongs.
- the first determining module includes: a first processing unit, configured to send, by using radio frequency identification, a first request message for requesting acquiring the first distance; and a second processing unit, configured to receive the first And the third processing unit is 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 response message. Determining, by the first predetermined threshold, the first distance of the first terminal and the server that is smaller than the first predetermined threshold according to the location information of the first terminal carried in the first response message.
- the adding module includes: a fourth processing unit, configured to determine that the type of the first terminal is a device type supported by the server; and a fifth processing unit, configured to return to the first terminal for Instructing to allow the first terminal to join the second response message in the network to which the server belongs; the sixth processing unit is configured to receive the network access request sent by the first terminal according to the second response message; And the unit is configured to add the first terminal to the network to which the server belongs according to the network access request.
- the fourth processing unit includes: an acquiring subunit, configured to acquire a type of the first terminal by radio frequency identification; and determining a subunit, configured to determine that the server supports When the type of the first terminal is included in the device list, it is determined that the type of the first terminal is a device type supported by the server.
- the device further includes: a first receiving module, configured to receive, by the first terminal, the second request message sent by the radio frequency identification for requesting establishment of linkage between the first terminal and the second terminal
- the second request message carries the identifier of the second terminal
- the establishing module is configured to: after determining, according to the identifier of the second terminal, that the second terminal has joined the network to which the server belongs a linkage between the first terminal and the second terminal; the processing module is configured to send a third response message to the first terminal, where the third response message is used to indicate that the first The linkage between the terminal and the second terminal.
- another apparatus for accessing a network comprising: a second receiving module configured to receive a first request message from a server; a first sending module configured to be according to the first request Transmitting, by the radio frequency identification, the first response message to the server, where the first response message carries at least one of the following information: a first distance between the first terminal and the server, and location information of the first terminal And the first distance and/or the location information of the first terminal is used by the server to determine whether to allow the first terminal to join the network to which the server belongs.
- the device further includes: a second sending module, configured to send, by using radio frequency identification, the type of the first terminal to the server, where the type of the first terminal is used by the server to determine whether Supporting the type of the first terminal, and when supporting the type of the first terminal, determining to allow the first terminal to join a network to which the server belongs.
- a second sending module configured to send, by using radio frequency identification, the type of the first terminal to the server, where the type of the first terminal is used by the server to determine whether Supporting the type of the first terminal, and when supporting the type of the first terminal, determining to allow the first terminal to join a network to which the server belongs.
- the device further includes: 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 server
- the third sending module is configured to send a network access request to the server according to the second response message, where the network access request is used by the server to join the first terminal to the server In the network.
- the device further includes: a second determining module, configured to determine that the second distance between the second terminal and the first terminal is less than a second predetermined threshold, and/or determine a type of the second terminal a device type supported by the first terminal; a matching module configured to perform linkage matching with the second terminal.
- a second determining module configured to determine that the second distance between the second terminal and the first terminal is less than a second predetermined threshold, and/or determine a type of the second terminal a device type supported by the first terminal
- a matching module configured to perform linkage matching with the second terminal.
- the matching module includes: a first determining unit, configured to determine that the second distance between the second terminal and the first terminal is less than the second predetermined threshold, including: acquiring the second by radio frequency identification a second distance between the terminal and the first terminal, determining that the second distance is smaller than the second predetermined threshold; and/or, the second determining unit is configured to determine that the type of the second terminal is the first
- the type of the device supported by the terminal includes: obtaining the type of the second terminal by using the radio frequency identification, and determining the type of the second terminal when determining the type of the second terminal in the device list of the first terminal The type of device supported by the first terminal.
- the device further includes: a fourth sending module, configured to send, by using radio frequency identification, a second request message to the server, where the second request message is used to request to establish the first terminal and the The second request message carries the identifier of the second terminal, and the fourth receiving module is configured to receive a third response message that is 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.
- a fourth sending module configured to send, by using radio frequency identification, a second request message to the server, where the second request message is used to request to establish the first terminal and the The second request message carries the identifier of the second terminal
- the fourth receiving module is configured to receive a third response message that is 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.
- a network access system including: a cloud platform, a server, and a first terminal, wherein the cloud platform is connected to the server, and the server includes any of the above embodiments.
- a device for accessing the network, the first terminal comprising another network access device as described in any of the embodiments above.
- a storage medium is also provided.
- the storage medium is arranged to store program code for performing the above steps.
- the storage medium is further arranged to store program code for performing the above steps.
- the terminal can complete the matching with the identification by the radio frequency distance identification through the close contact and join the network to which the server belongs.
- the linkage matching identification can be completed by the close contact between the first terminal and the second terminal, and the linkage is established after the identification is completed. Users do not need to download the app to set up the device, avoiding complicated operations and making the user more intuitive. Manufacturers do not need to be sensing again The addition of a serial number or a two-dimensional code for scanning screening increases the production difficulty and cost of the manufacturer.
- FIG. 1 is a block diagram showing the hardware structure of a mobile terminal in a method of accessing a network according to an embodiment of the present invention
- FIG. 2 is a flow chart (1) of a method for accessing a network according to an embodiment of the present invention
- FIG. 3 is a flowchart (2) of a method for accessing a network according to an embodiment of the present invention.
- FIG. 4 is a connection diagram of a device according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram showing the overall structure of a system according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of an internal module of an IOT intelligent gateway according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of operation of entering a network according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of operation of a sensor in conjunction with an alarm according to an embodiment of the invention.
- FIG. 9 is a structural block diagram (1) of an apparatus for accessing a network according to an embodiment of the present invention.
- FIG. 10 is a structural block diagram of a first determining module 92 according to an embodiment of the present invention.
- FIG. 11 is a block diagram showing the structure of a joining module 94 according to an embodiment of the present invention.
- FIG. 12 is a structural block diagram of a fourth processing unit 112 according to an embodiment of the present invention.
- FIG. 13 is a block diagram showing a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention.
- FIG. 14 is a structural block diagram (2) of an apparatus for accessing a network according to an embodiment of the present invention.
- Figure 15 is a block diagram of a preferred structure of a device for accessing a network (2) according to an embodiment of the present invention.
- 16 is a block diagram (3) of a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention.
- 17 is a block diagram (four) of a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention.
- FIG. 1 is a block diagram showing a hardware structure of a mobile terminal in a method of accessing a network according to an embodiment of the present invention.
- mobile terminal 10 may include one or more (only one shown in FIG. 1) processor 102 (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 configured to store data, and a transmission device 106 configured as a communication function.
- processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA.
- memory 104 configured to store data
- a transmission device 106 configured as a communication function.
- the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
- the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
- the memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the method of accessing the network in the embodiment of the present invention, and the processor 102 executes each by executing a software program and a module stored in the memory 104.
- a functional application and data processing, that is, the above method is implemented.
- 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.
- memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Transmission device 106 is arranged to receive or transmit data via a network.
- the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
- the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station to communicate with the Internet.
- the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
- RF Radio Frequency
- FIG. 2 is a flowchart (1) of a method for accessing a network according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
- Step S202 determining, by radio frequency identification, that the first distance between the first terminal and the server is less than a first predetermined threshold
- Step S204 Add the first terminal to the network to which the server belongs.
- the execution body of the foregoing step may be a server, or may be a gateway (such as an Internet of Things (IOT) gateway), but is not limited thereto.
- IOT Internet of Things
- determining, by radio frequency identification, that the first distance between the first terminal and the server is less than a first predetermined threshold comprises: transmitting, by using radio frequency identification, a first request message for requesting acquiring the first distance; receiving Determining, by the first terminal, the first response message returned by the radio frequency identification; determining, according to the first distance carried in the first response message, that the first distance between the first terminal and the server is less than the first predetermined threshold, and/or Determining, 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 less than the first predetermined threshold.
- the server and the first terminal are both equipped with a radio frequency identification function, and the server initiates a request for querying the device by radio frequency identification, such as a first request message of the first terminal, where the message format of the first request message is The protocol identifier, the total length, the packet type, the instruction length, the instruction content, and the checksum.
- the first terminal returns the first response message after receiving the first request message, where the format of the first response message is the protocol length.
- adding the foregoing first terminal to the network to which the server belongs includes: determining that the type of the first terminal is a device type supported by the server; returning to the first terminal, indicating that the foregoing is allowed
- the first terminal joins the second response message in the network to which the server belongs; receives the network access request sent by the first terminal according to the second response message; and adds the first terminal to the network to which the server belongs according to the network access request.
- the content of the command in the first response message sent by the first terminal includes the identifier of the first terminal, if the first terminal is within the first threshold range preset by the server, and according to the first terminal
- the identifier determines that the type of the first terminal is in the device type supported by the server, and records the type of the first terminal and returns a second response message to the first terminal, where the second response message carries whether the first terminal and the server match successfully. Match results.
- the identifier server does not support the device type to which the first terminal belongs or the first terminal is not within the first threshold range preset by the server; If the server is successfully matched, the server adds the first terminal to the network to which the server belongs according to the network access request sent by the first terminal.
- determining that the type of the first terminal is a device type supported by the server includes: acquiring a type of the first terminal by using radio frequency identification; and including the first terminal in determining a device list supported by the server.
- the type is determined, it is determined that the type of the first terminal is a device type supported by the server.
- the first response message sent by the first terminal is obtained by using the radio frequency identification.
- the instruction content in the first response message carries the identifier of the first terminal, and determines whether the device type of the first terminal is determined according to the identifier of the first terminal. In the device list supported by the server, 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.
- the second request message sent by the first terminal by using the radio frequency identification to request to establish the linkage between the first terminal and the second terminal is received, where the second request message is carried in the second request message.
- the identifier of 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, establishing the first terminal and And the third terminal response message is sent to the first terminal, where the third response message is used to indicate that the linkage between the first terminal and the second terminal is established.
- the server receives the second request message sent by the first terminal or the second terminal by using the radio frequency setting, where the second request message carries the information of the first terminal and the information of the second terminal, and the server receives the second request message.
- the second terminal After the second terminal is matched to the network to which the server belongs, if the device type of the second terminal is determined by the identifier of the second terminal, the second terminal and the server are successfully matched, and the second terminal is successfully matched.
- the server is added to the network to which the server belongs, and the server adds the linkage between the first terminal and the second terminal to the linkage list in the server. If the identifier of the second terminal is not in the device list of the server, the second terminal does not join.
- the association between the first terminal and the second terminal fails to be established in the network to which the server belongs.
- the server responds to the first terminal and the second terminal with the linkage result.
- FIG. 3 is a flowchart (2) of a method for accessing a network according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
- Step 302 Receive a first request message from a server.
- Step 304 Send a first response message to the server by radio frequency identification according to the foregoing first request message, where the first response message carries at least one of the following information: a first distance between the first terminal and the server, and a first The location information of the terminal, the first distance and/or the location information of the first terminal are used by the server to determine whether to allow the first terminal to join the network to which the server belongs.
- the execution body of the foregoing step may be a first terminal (such as a sensor, an alarm), but is not limited thereto.
- the method further includes: transmitting, by using radio frequency identification, the type of the first terminal to the server, where the type of the first terminal is used by the server to determine whether to support the type of the first terminal. And when supporting the type of the first terminal, determining that the first terminal is allowed to join the network to which the server belongs.
- the terminal After receiving the first request message sent by the server, the terminal returns a first response message, where the content of the command in the first response message carries the identifier of the first terminal, and determines, according to the identifier of the first terminal, whether the type of the first terminal is The type list supported by the server determines that the type of the first terminal is a type supported by the server, and sends a message requesting the screening to the server, and joins the first response message responded by the server to the network to which the server belongs.
- the method further includes: transmitting, by using radio frequency identification, the type of the first terminal to the server, where the type of the first terminal is used by the server to determine whether to support the type of the first terminal. And when supporting the type of the first terminal, determining that the first terminal is allowed to join the network to which the server belongs.
- the method further includes: receiving 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;
- the second response message sends a network access request to the server, where the network access request is used by the server to join the first terminal to a network to which the server belongs.
- the method further includes: determining that the second distance between the second terminal and the first terminal is less than a second predetermined threshold, and/or determining that the type of the second terminal is supported by the first terminal. Device type; linkage matching with the above second terminal.
- the second terminal according to the query request message sent by the first terminal, the second terminal sends a response message in response to the first terminal (may also be a query request message sent by the second terminal, and the first terminal sends a response to the first terminal.
- a response message wherein the content of the command in the response message sent by the second terminal carries the identifier of the second terminal, the location information of the second terminal, and/or the second distance between the second terminal and the first terminal; Determining, according to the identifier of the second terminal, whether the second terminal is in the device list supported by the first terminal, if the second terminal is in the device type identified by the first terminal, and the distance between the second terminal and the first terminal is The second terminal and the first terminal are successfully matched in the second predetermined threshold, and the first terminal and the second terminal establish linkage.
- determining that the second distance between the second terminal and the first terminal is less than the second predetermined threshold includes: acquiring the second terminal by using radio frequency identification and the foregoing a second distance of the terminal, determining that the second distance is smaller than the second predetermined threshold; and/or determining that the type of the second terminal is a device type supported by the first terminal, including: acquiring, by using radio frequency identification, the second terminal And determining, when the type of the device of the first terminal includes the type of the second terminal, determining that the type of the second terminal is a device type supported by the first terminal.
- the matching condition that determines whether the first terminal and the second terminal match may be that the second distance is determined to be smaller than the second predetermined threshold, or the type of the second terminal is a device type supported by the first terminal. It is also possible to satisfy both of the above conditions at the same time.
- the method further includes: sending, by using radio frequency identification, a second request message to the server, where the second request message is used to request to establish linkage between the first terminal and the second terminal.
- the second request message carries the identifier of the second terminal, and receives a third response message that is returned by the server according to the second request message, where the third response message is used to indicate that the first terminal and the foregoing The linkage between the two terminals.
- the system in this embodiment includes a cloud server, a route (corresponding to the server) as a smart home server, and a set of smart home sensors (corresponding to the above).
- the first terminal is composed of a device (corresponding to the second terminal).
- the first terminal may be a sensor or an alarm.
- the second terminal may be a sensor or an alarm.
- the cloud server serves as a service cloud and supports user management, device management, data services, and linkage alarm information push work. It can also be used with specific business clouds to complete specific business functions such as energy-saving control, security protection, and health care.
- the Internet of Things (IOT) intelligent gateway (corresponding to the above server) acts as the management and control center of the smart home server, and is responsible for connecting the cloud interaction layer and the device access layer, providing data collection, data analysis processing, and configuration management. , UI background services and other functions.
- Various sensors and alarms are responsible for the collection and reporting of various information and the notification function of alarm information.
- the IOT intelligent gateway and various types of sensor alarms in this embodiment are equipped with RF distances. Identifying (corresponding to the above-mentioned RF settings) function, the sensor and the server can complete the identification and matching of the sensor and the server through the RF distance identification through close contact, and the sensor automatically joins the smart home network after the matching is completed.
- the sensor and the alarm can be identified by the close contact (corresponding to the above matching), and the linkage rule (corresponding to the above linkage) setting is performed after the identification is completed.
- the IOT intelligent gateway starts to start the device screening preparation and device search; the user needs to join the network sensor close to the IOT intelligent gateway, and the IOT intelligent gateway determines the sensor to enter the screening device range by the RF distance identification (corresponding to The first predetermined threshold is matched with the sensor; the IOT intelligent gateway joins the corresponding sensor to the network, and synchronizes the device status to the cloud platform; the IOT intelligent gateway notifies the sensor that the network is completed.
- the linkage setting method in this embodiment includes: the user approaches the sensor and the alarm device that need to be configured to be linked; the alarm device determines that the sensor enters the recognition range by the radio frequency distance identification, and matches the sensor; the alarm notifies the IOT intelligent gateway to create a new linkage rule; IOT The intelligent gateway notifies the cloud platform to create a new linkage rule; the association rule is successfully established, the cloud platform notifies the IOT intelligent gateway, and the IOT intelligent gateway notifies the sensor and the alarm.
- FIG. 5 is a schematic diagram of the overall structure of the system according to the embodiment of the present invention.
- the home system in this embodiment includes a cloud platform, an IOT intelligent gateway, and a terminal (composed of various sensors and alarms).
- the cloud platform interacts with the IOT smart gateway through the cloud server application layer protocol.
- the IOT intelligent gateway is connected to various sensors and alarms through the Zigbee sensor network and the WIFI sensor network.
- the IOT intelligent gateway and each type of sensor alarm are equipped with an RF distance recognition module.
- the sensor and the server complete the identification and matching of the sensor and the server through the RF distance identification. After the matching is completed, the sensor automatically joins the smart home network.
- the identification and matching of the sensor and the alarm are completed by the RF distance identification between the sensor and the alarm, and the linkage rule setting is automatically completed after the matching is completed.
- FIG. 6 is a schematic diagram of an internal module of an IOT intelligent gateway according to an embodiment of the present invention.
- the IOT intelligent gateway of the embodiment includes: a management module, a data service module, a distance recognition module, a WIFI module, a Zigbee module, and a cloud platform.
- Access module responsible for access and data transmission with the cloud platform, the management module and data service module are responsible for managing local data, the distance recognition module is responsible for the distance identification between the IOT intelligent gateway and the sensor, and the WIFI module and the Zigbee module are responsible for short-range wireless communication of the sensor.
- FIG. 7 is a schematic diagram of an operation of entering a network 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 a sensor, and the IOT intelligent gateway initiates a query request to find a respondable intelligent terminal (corresponding to the first terminal).
- the format of the request message is the protocol label, the total length, the message type, the instruction length, the instruction content, and the checksum, as shown in Table 1.
- Step 704 The smart terminal returns a response message after receiving the query instruction, and the format of the response message is protocol identifier, total length, message type, instruction length, instruction content, and checksum, and the protocol identifier of the response is as shown in Table 2.
- the command content includes a Mac address (corresponding to the above identifier) and a terminal distance value (corresponding to the first distance), and the Mac address can uniquely identify the smart terminal, and the distance value is a distance value of the terminal from the IOT smart gateway.
- Step 706 The IOT intelligent gateway determines whether the smart terminal type in the response packet is in the supported device list, and determines whether the distance value in the response packet is within a preset range, if the type of the terminal (corresponding to the first terminal) is In the list of supported smart terminals and the distance value is within the preset range, the target device is found, and the target device Mac address is recorded for verification during subsequent screening.
- the IOT intelligent gateway sends a notification message (corresponding to the first response message) to notify the smart terminal that the matching is successful.
- the format of the notification message is protocol label, total length, message type, instruction length, instruction content, and checksum, as shown in Table 3.
- the instruction content includes the matching result.
- the smart terminal receives the response packet (corresponding to the first response message), and reads the matching result in the content of the command. If the matching fails, the identifier intelligent gateway does not support the device or the distance is not up to standard, and no subsequent processing is performed; if the matching succeeds; The smart terminal begins to prepare for the screening and moves on to the next step.
- Step 708 The smart terminal initiates a screening request, and sends a screening request to the IOT intelligent gateway.
- the format of the request message is protocol label, total length, message type, instruction length, instruction content, and checksum, as shown in Table 4.
- the instruction content is the type of the smart terminal and the Mac address.
- Step 710 After receiving the screening request message, the IOT intelligent gateway matches whether the received smart terminal Mac address is saved in the verification device list in step 706. If the device is not in the device list, the device is not in the distance verification device. In the list, the screening fails; if in the device list, the device has previously completed the distance verification, the IOT smart gateway adds the device to the active device list and returns a response message (corresponding to the second response message).
- the response message format is protocol indication, total length, message type, instruction length, instruction content and checksum, and the protocol indication of the response, as shown in Table 5.
- Step 712 The IOT intelligent gateway notifies the cloud platform that the new device (the first terminal and/or the second terminal) joins, and the cloud platform synchronizes the device information.
- the format of the notification message is the protocol label, the total length, the message type, the instruction length, the instruction content, and the checksum, as shown in Table 6.
- the instruction content includes the device type and the device Mac address.
- Step 714 The cloud platform returns a response message, and the response message format is a protocol identifier, a total length, a message type, an instruction length, an instruction content, and a checksum, and the protocol identifier of the response is as shown in Table 7.
- the instruction content is synchronized.
- FIG. 8 is a schematic diagram of the operation of the linkage between the sensor and the alarm according to the embodiment of the present invention. As shown in FIG. 8 , the specific operation steps are as follows:
- Step 802 The smart alarm (corresponding to the second terminal) initiates a query request for finding a smart sensor (corresponding to the first terminal), and searches for a responsive smart sensor.
- the format of the request message is the protocol label, the total length, the message type, the instruction length, the instruction content, and the checksum, as shown in Table 8.
- the smart sensor returns a response message after receiving the query instruction.
- the format of the response message is protocol indication, total length, message type, instruction length, instruction content and checksum, and the protocol identifier of the response, as shown in Table 9.
- the command content includes a Mac address (corresponding to the above identifier) and a terminal distance value (corresponding to the second distance), and the Mac address uniquely identifies the smart sensor, and the distance value is a distance value of the terminal from the smart alarm.
- Step 804 The smart alarm determines whether the smart terminal type in the response packet is in the supported device list, and determines whether the distance value in the response packet is within a preset range, if the terminal type is in the list of supported smart terminals and When the distance value is within the preset range, the target sensor device is found and the sensor device Mac address is recorded.
- the smart alarm sends a notification message to the smart sensor.
- the format of the notification message is the protocol label, the total length, the message type, the instruction length, the instruction content, and the checksum, as shown in Table 10.
- the instruction content includes the matching result.
- Step 806 The smart alarm and the smart sensor are successfully matched.
- Step 808 The alarm device sends its own information and sensor information to the IOT intelligent gateway, and the IOT intelligent gateway creates a 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 is the type of smart sensor and Mac address, as well as the type of smart alarm and Mac address.
- Step 810 After receiving the newly created linkage rule request message, the IOT intelligent gateway matches whether the received smart sensor and the smart alarm device's Mac address are in the list of added devices. If not in the list, the device has not been completed. The network fails to establish a linkage rule. If the device is in the list, the linkage rule of the intelligent sensor and the intelligent alarm is added to the linkage rule list and the response message is returned.
- the response message format is protocol indication, total length, message type, instruction length, instruction content and checksum, and the protocol indication of the response, as shown in Table 12.
- Step 812 The IOT intelligent gateway notifies the cloud platform that the new linkage rule is added, and the cloud platform synchronizes the linkage information.
- the format of the notification message is protocol indication, total length, message type, instruction length, instruction content, and checksum, as shown in Table 13.
- the content of the instruction is defined by the linkage rule.
- the linkage rules are defined as Table 14, including the linkage rule name, the linkage rule type (the flag is user-defined or preset), the origination type (initiating device type), the initiating device Mac address, the execution type (executive device type), and the execution device. Mac address.
- Step 814 The cloud platform returns a response message, and the format of the response message is protocol identifier, total length, message type, instruction length, instruction content, and checksum, and the protocol identifier of the response is as shown in Table 15.
- the instruction content is synchronized.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- a device for accessing the network is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 9 is a structural block diagram (1) of an apparatus for accessing a network according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes: a first determining module 92 and a joining module 94, which are described below:
- the first determining module 92 (corresponding to the distance identifying module) is configured to determine, by radio frequency identification, that the first distance between the first terminal and the server is less than a first predetermined threshold; the adding module 94 is connected to the first determining module 92, and is configured to The first terminal is added to the network to which the server belongs.
- FIG. 10 is a structural block diagram of a first determining module 92.
- the first determining module 92 includes: a first processing unit 102, a second processing unit 104, and a third processing.
- Unit 106 the device is described below:
- the first processing unit 102 is configured to send, by using radio frequency identification, a first request message for requesting acquiring the first distance
- the second processing unit 104 is connected to the first processing unit 102, and is configured to receive the first terminal by using the radio frequency Identifying the returned first response message
- the third processing unit 106 is connected to the second processing unit 104, and configured to determine the first distance between the first terminal and the server according to the first distance carried in the first response message.
- the first predetermined threshold is smaller than the first predetermined threshold, and/or the first distance between the first terminal and the server is determined to be smaller than the first predetermined threshold according to the location information of the first terminal carried in the first response message.
- the add-on module 94 includes a fourth processing unit 112, a fifth processing unit 114, a sixth processing unit 116, and a Seven processing unit 118, the device is described below:
- the fourth processing unit 112 is configured to determine that the type of the first terminal is the server branch
- the fifth processing unit 114 is connected to the fourth processing unit 112, and is configured to return, to the first terminal, a second response message for indicating that the first terminal is allowed to join the network to which the server belongs;
- the sixth processing unit 116 is connected to the fifth processing unit 114, and is configured to receive the network access request sent by the first terminal according to the second response message.
- the seventh processing unit 118 is connected to the sixth processing unit 116, and is configured to And adding the first terminal to the network to which the server belongs according to the foregoing network access request.
- FIG. 12 is a structural block diagram of a fourth processing unit 112 according to an embodiment of the present invention.
- the fourth processing unit 112 includes: an obtaining subunit 122 and a determining subunit 124. Be explained:
- the obtaining sub-unit 122 is configured to acquire the type of the first terminal by using radio frequency identification; and the determining sub-unit 124 is connected to the obtaining sub-unit 122, and is configured to: when determining that the type of the first terminal is included in the device list supported by the server And determining that the type of the first terminal is a device type supported by the server.
- FIG. 13 is a block diagram (1) of a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention.
- the apparatus includes: a first receiving module 132, an establishing module, in addition to all the modules shown in FIG. 134 and processing module 136, the device is described below:
- the first receiving module 132 is connected to the joining module 94, and is configured to receive a second request message sent by the first terminal by using radio frequency identification for requesting establishment of linkage between the first terminal and the second terminal, where The second request message carries the identifier of the second terminal, and the establishing module 134 is connected to the first receiving module 132, and is configured to: after determining, according to the identifier of the second terminal, that the second terminal has joined the network to which the server belongs, Establishing a linkage between the first terminal and the second terminal; the processing module 136 is connected to the establishing module 134, and configured to send a third response message to the first terminal, where the third response message is used to indicate that the third response message is sent. The linkage between the first terminal and the second terminal.
- FIG. 14 is a structural block diagram (2) of an apparatus for accessing a network according to an embodiment of the present invention. As shown in FIG. 14, the apparatus includes: a second receiving module 142 and a first transmitting module 144, which are described below:
- the second receiving module 142 is configured to receive the first request message from the server.
- the first sending module 144 is connected to the second receiving module 142, and is configured to send the first response to the server by using radio frequency identification according to the first request message.
- a message, wherein the first response message carries at least one of the following: a first distance between the first terminal and the server, location information of the first terminal, the first distance, and/or the location of the first terminal.
- the information is used by the server to determine whether the first terminal is allowed to join the network to which the server belongs.
- FIG. 15 is a block diagram (2) of a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention. As shown in FIG. 15, the apparatus includes a second transmitting module 152 in addition to all the modules shown in FIG. The device is described:
- the second sending module 152 is connected to the first sending module 144, and is configured to send the type of the first terminal to the server by using radio frequency identification, where the type of the first terminal is used by the server to determine whether to support the first The type of the terminal, and when supporting the type of the first terminal, determines that the first terminal is allowed to join the network to which the server belongs.
- FIG. 16 is a block diagram (3) of a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention.
- the apparatus includes a third receiving module 162 and a third sending, in addition to all the modules shown in FIG. Module 164, the device is described below:
- the third receiving module 162 is connected to the second sending module 152, and configured to receive the 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.
- the third sending module 164 is connected to the third receiving module 162, and configured to send a network access request to the server according to the second response message, where the network access request is used by the server to join the first terminal to the server. In the network.
- FIG. 17 is a block diagram (4) of a preferred structure of an apparatus for accessing a network according to an embodiment of the present invention. As shown in FIG. 17, the apparatus includes a second determining module 172 and a matching module 174 in addition to all the modules shown in FIG. The device is described below:
- the second determining module 172 is connected to the third sending module 164, configured to determine that the second distance between the second terminal and the first terminal is less than a second predetermined threshold, and/or determine the second end
- the type of the terminal is the device type supported by the first terminal
- the matching module 174 is connected to the second determining module 172, and is configured to perform linkage matching with the second terminal.
- the matching module 174 includes: a first determining unit, configured to determine that the second distance between the second terminal and the first terminal is less than the second predetermined threshold: a second distance between the second terminal and the first terminal, determining that the second distance is smaller than the second predetermined threshold; and/or, the second determining unit is connected to the first determining unit, and configured to determine the type of the second terminal
- the device type supported by the first terminal includes: acquiring the type of the second terminal by using radio frequency identification, and determining that the type of the second terminal is the above when determining that the type of the second terminal is included in the device list of the first terminal The type of device supported by the first terminal.
- the foregoing apparatus further includes: a fourth sending module, connected to the matching module 174, configured to send a second request message to the server by using radio frequency identification, wherein the second request message is used for requesting Establishing a linkage between the first terminal and the second terminal, where the second request message carries the identifier of the second terminal, and the fourth receiving module is connected to the fourth sending module, and is configured to receive the server according to the foregoing The third response message returned by the request message, wherein the third response message is used to indicate that the linkage between the first terminal and the second terminal is established.
- a fourth sending module connected to the matching module 174, configured to send a second request message to the server by using radio frequency identification, wherein the second request message is used for requesting Establishing a linkage between the first terminal and the second terminal, where the second request message carries the identifier of the second terminal
- the fourth receiving module is connected to the fourth sending module, and is configured to receive the server according to the foregoing The third response message returned by the request message, wherein
- a network access system in another embodiment, is further provided, the system includes: a cloud platform, a server, and a first terminal, wherein the cloud platform is connected to a server, where the server includes any one of the foregoing embodiments.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
- the forms are located in different processors.
- Embodiments of the present invention also provide a storage medium.
- the above storage medium may be configured to store program code for performing the above steps.
- the storage medium is also arranged to store program code for performing the above steps.
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
- ROM Read-Only Memory
- RAM Random Access Memory
- the processor performs the above steps according to the stored program code in the storage medium.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the method, device, and system for accessing the network provided by the embodiments of the present invention have the following beneficial effects: solving the problem that the household equipment is inconvenient to access the network, the difficulty of adding equipment, and the poor expandability exist in the related art, thereby achieving convenience.
- the effect of the device entering the network is not limited to, the above, the invention, the invention, and the system for accessing the network.
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
La présente invention porte, dans des modes de réalisation, sur un procédé, sur un appareil ainsi que sur un système d'accès au réseau, le procédé consistant : à déterminer qu'une première distance entre un premier terminal et un serveur est inférieure à un premier seuil prédéterminé au moyen d'une identification par radiofréquence ; et à connecter le premier terminal à un réseau auquel appartient le serveur. Grâce aux modes de réalisation de la présente invention, les problèmes liés à une technologie associée selon lesquels il est peu pratique de connecter un dispositif domestique à un réseau, il est difficile d'ajouter un équipement et l'expansibilité est faible, peuvent être résolus, ce qui permet de réaliser un effet d'entrée de réseau pratique d'un dispositif.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610554981.3 | 2016-07-14 | ||
| CN201610554981.3A CN107645789B (zh) | 2016-07-14 | 2016-07-14 | 入网的方法、装置及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018010595A1 true WO2018010595A1 (fr) | 2018-01-18 |
Family
ID=60951962
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/092107 Ceased WO2018010595A1 (fr) | 2016-07-14 | 2017-07-06 | Procédé, appareil et système d'accès au réseau |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107645789B (fr) |
| WO (1) | WO2018010595A1 (fr) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113037838A (zh) * | 2021-03-08 | 2021-06-25 | 深圳奇迹智慧网络有限公司 | 操作响应方法、装置、计算机设备和存储介质 |
| WO2022242012A1 (fr) * | 2021-05-21 | 2022-11-24 | 苏州大学 | Système d'administration intelligent d'intérieur |
| CN116057922A (zh) * | 2020-10-06 | 2023-05-02 | 三菱电机株式会社 | 控制系统、服务器、终端装置、控制装置、通信控制方法以及程序 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108924906A (zh) * | 2018-07-04 | 2018-11-30 | 广州市安宜智能科技股份有限公司 | 智能设备控制方法、ZigBee网关及存储介质 |
| CN114786238B (zh) * | 2022-03-29 | 2024-08-23 | 广东芬尼克兹节能设备有限公司 | Lora终端设备入网方法、装置、终端设备、系统及存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050153713A1 (en) * | 2004-01-09 | 2005-07-14 | Jacob Sharony | Method and apparatus for location tracking in a multi-path environment |
| CN103369707A (zh) * | 2012-03-27 | 2013-10-23 | 华为终端有限公司 | 无线网络连接的建立方法及终端设备 |
| CN104581615A (zh) * | 2014-12-25 | 2015-04-29 | 小米科技有限责任公司 | 服务提供方法及装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8051466B2 (en) * | 2007-09-28 | 2011-11-01 | Symbol Technologies, Inc. | RFID based network admission control |
-
2016
- 2016-07-14 CN CN201610554981.3A patent/CN107645789B/zh active Active
-
2017
- 2017-07-06 WO PCT/CN2017/092107 patent/WO2018010595A1/fr not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050153713A1 (en) * | 2004-01-09 | 2005-07-14 | Jacob Sharony | Method and apparatus for location tracking in a multi-path environment |
| CN103369707A (zh) * | 2012-03-27 | 2013-10-23 | 华为终端有限公司 | 无线网络连接的建立方法及终端设备 |
| CN104581615A (zh) * | 2014-12-25 | 2015-04-29 | 小米科技有限责任公司 | 服务提供方法及装置 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116057922A (zh) * | 2020-10-06 | 2023-05-02 | 三菱电机株式会社 | 控制系统、服务器、终端装置、控制装置、通信控制方法以及程序 |
| CN113037838A (zh) * | 2021-03-08 | 2021-06-25 | 深圳奇迹智慧网络有限公司 | 操作响应方法、装置、计算机设备和存储介质 |
| WO2022242012A1 (fr) * | 2021-05-21 | 2022-11-24 | 苏州大学 | Système d'administration intelligent d'intérieur |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107645789B (zh) | 2021-07-30 |
| CN107645789A (zh) | 2018-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102752748B (zh) | 基于移动终端的数据传输方法和系统以及移动终端 | |
| WO2018010595A1 (fr) | Procédé, appareil et système d'accès au réseau | |
| CN110740490A (zh) | 终端入网方法、网关设备、系统、存储介质及装置 | |
| US8515350B2 (en) | Resolving an application service change in a system using bluetooth | |
| CN110149616A (zh) | 轻量级iot信息模型 | |
| CN106211271B (zh) | 智能家居设备的入网方法、装置及智能家居设备 | |
| KR101332813B1 (ko) | 무선 통신 장치 및 무선 통신 장치의 무선 접속 채널의 형성 방법 | |
| EP2625666B1 (fr) | Procédés et appareil pour obtenir un service | |
| CN103857013B (zh) | 个人热点设置方法及移动终端 | |
| CN105392185B (zh) | 一种智能设备的联网方法、装置及系统 | |
| WO2015138588A1 (fr) | Gestion de contexte inter-couches | |
| WO2018010425A1 (fr) | Procédé et appareil destinés à pousser et à recevoir des informations de point d'accès wi-fi, et support d'informations | |
| WO2013048462A1 (fr) | Connexions sans fil au reseau assistees par identification | |
| WO2021012792A1 (fr) | Procédé de positionnement de dispositif, terminal, serveur et support d'informations | |
| US11638138B2 (en) | Device-to-device content providing method | |
| WO2022105028A1 (fr) | Procédé et appareil de configuration de réseau pour dispositif de l'internet des objets | |
| WO2017202269A1 (fr) | Procédé destiné à mettre à jour une identité de tranche de réseau, élément de réseau, terminal, et support d'informations | |
| WO2011140906A1 (fr) | Procédé et appareil d'accès au réseau pour dispositif dans un réseau de capteurs sans fil | |
| CN113891317A (zh) | 智能设备的配网方法及配网装置、电子设备 | |
| CN103702440B (zh) | 终端和设备连接方法 | |
| CN114126000A (zh) | 一种智能设备组网方法和装置 | |
| CN105636016A (zh) | 一种连接网络的方法、装置和系统 | |
| CN113132929B (zh) | 设备入网方法、装置、计算机设备及存储介质 | |
| WO2022252835A1 (fr) | Système de diagnostic de véhicule et procédé de connexion wi-fi | |
| EP3188418B1 (fr) | Procédé de découverte en champ proche, équipement d'utilisateur, et support de stockage |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17826931 Country of ref document: EP Kind code of ref document: A1 |