WO2018227714A1 - 一种设备连接方法和数据转发设备 - Google Patents

一种设备连接方法和数据转发设备 Download PDF

Info

Publication number
WO2018227714A1
WO2018227714A1 PCT/CN2017/093709 CN2017093709W WO2018227714A1 WO 2018227714 A1 WO2018227714 A1 WO 2018227714A1 CN 2017093709 W CN2017093709 W CN 2017093709W WO 2018227714 A1 WO2018227714 A1 WO 2018227714A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart home
communication connection
data forwarding
forwarding device
communication
Prior art date
Application number
PCT/CN2017/093709
Other languages
English (en)
French (fr)
Inventor
杜光东
Original Assignee
深圳市盛路物联通讯技术有限公司
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 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2018227714A1 publication Critical patent/WO2018227714A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers

Definitions

  • the present invention belongs to the field of Internet of Things, and in particular, to a device connection method and a data forwarding device.
  • Various sensors are deployed in the Internet of Things to detect and sense external signals, physical conditions (such as light, heat, humidity) or chemical composition (such as smoke), and transmit the detected information to the Internet of Things data. Processing center.
  • the transmission of the collected data by the sensor to the data processing center needs to satisfy a specific communication format, such as a wired communication format or a wireless communication format.
  • a specific communication format such as a wired communication format or a wireless communication format.
  • wired transmission introduces a complicated transmission line, which occupies a space, and is not convenient for flexible layout. Therefore, wireless transmission is currently commonly used, especially in an environment where harsh environments are used.
  • Wireless transmission usually uses a wireless transmission protocol such as Bluetooth protocol, Zigbee protocol, WIFI protocol, WIMAX protocol or cellular communication / 4G / LTE.
  • the present invention provides a device connection method and a data forwarding device, which can establish a communication connection between a data forwarding device and a non-smart home device in an Internet of Things by utilizing an idle communication band supported by a non-smart home device.
  • the present invention provides a device connection method, which is applied to an Internet of Things, where the Internet of Things includes a data forwarding device.
  • the method includes:
  • the data forwarding device acquires a type number of at least one non-smart home device; [0009] the data forwarding device determines a communication connection manner of each of the non-smart home devices according to a type number and a communication connection mode table of each of the non-smart home devices, where the communication connection mode indicates an idle communication band
  • the communication connection mode table records a mapping relationship between the type number of the non-smart home device and the communication connection mode;
  • the data forwarding device establishes a communication connection with each of the non-smart home devices through a communication connection manner of each of the non-smart home devices.
  • the data forwarding device stores a communication connection mode table, and the communication connection mode table records a mapping relationship between the type number of the non-smart home device and the communication connection mode.
  • the data forwarding device may acquire a type number according to the non-smart home device, and then determine a communication connection manner corresponding to the type number of the non-smart home device according to the communication connection manner table, and then use the communication
  • the connection mode establishes a communication connection with the non-smart home device, for example, establishing a communication connection in a free frequency band.
  • the non-smart home device can transmit the collected data to the data forwarding device, so that the data forwarding device forwards the data to the data processing center.
  • the device connection method further includes: the non-smart home device transmitting the collected data to the data forwarding device; the data forwarding device converting the data into a format; and the data forwarding device transmitting the changed data to the data processing center send.
  • the data forwarding device After the data forwarding device receives data from different non-smart home devices, it needs to be converted into the specific format (the data format that the data processing center can recognize); and then after forwarding the conversion in the data forwarding network.
  • the data the data format that the data processing center can recognize
  • the data collected by different non-smart home devices is original data, so the data collected by different non-smart home devices has different data formats.
  • Data forwarding devices can be formatted strongly.
  • Data collected by different non-smart home devices has a data format that is unified into a data format that can be recognized by the data processing center.
  • a data forwarding device is applied to the Internet of Things, and the Internet of Things includes the data forwarding device.
  • the data forwarding device includes:
  • an obtaining unit configured to acquire a type number of the at least one non-smart home device
  • a determining unit configured to determine, according to a type number and a communication connection manner table of each of the non-smart home devices a communication connection mode of each of the non-smart home devices, wherein the communication connection mode indicates an idle communication frequency band, and the communication connection mode table records a mapping relationship between a type number of the non-smart home device and a communication connection mode ;
  • the communication establishing unit is configured to establish a communication connection with each of the non-smart home devices by using a communication connection manner of each of the non-smart home devices.
  • the beneficial effects of the present invention are:
  • the data forwarding device stores a communication connection mode table, and the communication connection mode table records a mapping relationship between the non-smart home device and a communication connection mode.
  • the data forwarding device may obtain a type of the non-smart home device according to the type, and then determine a communication connection manner corresponding to the type number of the non-smart home device according to the communication connection mode table, and then use the communication connection mode and the non-intelligent connection
  • the home device establishes a communication connection, such as establishing a communication connection in the idle frequency band. After the communication connection is established, the non-smart home device can transmit the collected data to the data forwarding device, so that the data forwarding device forwards the data to the data processing center.
  • FIG. 1 is an architectural diagram of an Internet of Things according to an embodiment of the present invention.
  • FIG. 2 is an architectural diagram of an Internet of Things according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of an Internet of Things provided by an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a device connection method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a device connection method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a device connection method according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a device connection method according to an embodiment of the present invention.
  • Embodiments of the invention are a structural diagram of a data forwarding device according to an embodiment of the present invention. Embodiments of the invention
  • the Internet of Things includes a data processing center, a data forwarding network, and a terminal device.
  • a terminal device here refers to any device that can access the Internet of Things.
  • the terminal device is divided into smart home devices, non-smart home devices, and other terminal devices.
  • smart home devices and non-smart home devices belong to home devices.
  • a smart home device refers to a protocol that can support the prior art through a wired network or a wireless network, converts the collected data into data satisfying the protocol, and then transmits the data to the data forwarding network through the protocol.
  • the wired network protocol herein may be a Transmission Control Protocol/Internet Protocol (English full name Tmnsmission Control Protocol/Internet Protocol, English abbreviation TCP/IP)
  • I2C Inter-Integrated Circuit
  • the wireless network protocol may be a wireless communication protocol such as WIFI, ZigBee, WIMAX, 2G, 3G, 4G, LTE, or the like.
  • non-smart home devices do not support protocols for wireless networks, and may or may not support wired network protocols.
  • non-smart home devices can support wired network protocols in ad hoc scenarios.
  • non-smart home devices cannot access the Internet of Things through a wireless network protocol or a wired network protocol.
  • the terminal device and the data processing center are connected through a data forwarding network, and data exchanged between the terminal device and the data processing center may be forwarded in the data forwarding network; for example, the terminal device collects in the data forwarding network.
  • the data processing center receives the data from the data forwarding network.
  • the network architecture and network complexity of the data forwarding network are deployed according to the requirements of the Internet of Things, and are not considered as the focus of the embodiments of the present invention.
  • the data forwarding network includes a data forwarding device, and the data forwarding device can support In communication with the non-smart home device, the non-smart home device transmits the collected data to the data forwarding device based on the communication.
  • the data forwarding device stores a communication connection mode table, where the communication connection mode table records a mapping relationship between a type number of the non-smart home device and a communication connection mode;
  • the communication connection mode records the mapping relationship between each non-smart home device and the communication connection mode. Therefore, the communication connection mode corresponding to different types of non-smart home devices is also clearly and uniquely determined in the mapping relationship.
  • the data forwarding device may determine, according to the type number of the non-smart home device, a communication connection manner corresponding to the type number of the non-smart home device in the communication connection manner table, and then the communication connection manner may be used.
  • the non-smart home device establishes a communication connection.
  • the data forwarding device also supports data conversion on the basis of supporting communication with non-smart home devices. Specifically, the data forwarding device can format and convert data collected by the non-smart home device into a format that is convenient for forwarding data in the data forwarding network. In this way, data collected by non-intelligent home devices can be finally forwarded to the data processing center through the data forwarding network.
  • FIG. 2 illustrates a data forwarding network that is a simple architecture of the data forwarding network shown in FIG. 1.
  • the data forwarding network includes only the Internet of Things gateway.
  • the IoT gateway can forward data collected by the terminal device to the data processing center.
  • the IoT gateway supports communication with non-smart home devices and supports conversion of data collected by non-smart home devices. Therefore, in FIG. 2, the Internet of Things gateway is the data forwarding device described in the embodiment of the present invention.
  • FIG. 3 illustrates a data forwarding network that is a complex architecture of the data forwarding network of FIG. 1 compared to FIG.
  • the data forwarding network includes only an IoT gateway and an IoT switch.
  • the IoT switch is directly connected to the terminal device, directly receives data collected by the terminal device, and then forwards the data to the IoT gateway. Finally, the IoT gateway forwards the data to the data processing center.
  • FIG. 3 has an IoT switch supporting communication with a non-smart home device, which can receive data collected by a non-smart home device, and can support conversion of non-smart home devices.
  • the collected data is sent to the networked gateway to transmit the converted data in the data forwarding network, and finally the IoT gateway sends the converted data to the data processing center.
  • the IoT switch that supports communication with the non-smart home device is the data forwarding device according to the embodiment of the present invention.
  • the data processing center shown in FIG. 1, FIG. 2 or FIG. 3, the data processing center processes the requirements of different service applications according to the data collected by the terminal devices in the physical network. It is not mentioned here what methods can be used for data processing, such as big data technology.
  • a peer connected to a home device (such as a home appliance) is connected to an external data processing center through an Internet of Things to implement interaction between the service and the home device.
  • a home device such as a home appliance
  • an external data processing center to direct the operation of household appliances, on the way home from work, the home food has been cooked, the hot water bath has been burned, personalized TV programs will be played on time; home facilities can automatically Repair; the food in the refrigerator can be replenished automatically.
  • This embodiment provides a device connection method. Referring to FIG. 4, the method includes step S401, step S402, step S403, and step S404.
  • Step S401 The non-smart home device requests to establish a communication connection with the data forwarding device.
  • the non-smart home device requests the communication port, and carries the type number of the non-smart home device in the request.
  • step S401 after the non-smart home device is powered on, the device sends a request for carrying the type number of the non-smart home device to the data forwarding device, and requests to establish a communication connection with the data forwarding device.
  • the non-smart home device is operated in any case, so that the non-smart home device sends a request for carrying the type number of the non-smart home device to the data forwarding device, requesting and forwarding data.
  • the device establishes a communication connection.
  • step S401 is not a necessary step of the embodiment of the present invention.
  • the data forwarding device records the type number of the non-smart home device, and can periodically broadcast a request according to the type number to request to establish a communication connection with the non-smart home device that is expected to access the Internet of Things.
  • the type number of the non-smart home device specifies the class to which the non-smart home device belongs. Type.
  • the type number of the non-smart home device may directly use the device number of the non-smart home device. Because the device number of the non-smart home device can determine which type of device the non-smart home device belongs to, and whether the non-smart home device has special requirements for establishing a communication port, such as whether a special port or direction or frequency band is required. and many more.
  • the type number of the non-smart home device is a type number determined according to a device number of the non-smart home device.
  • the data forwarding device can determine whether the non-smart home device has special requirements, such as a special frequency band, after establishing a communication connection according to the type number of the non-smart home device.
  • the data forwarding device records a communication connection mode table, where the communication connection mode table records the mapping relationship between the type number of the non-smart home device and the communication connection mode, and the data forwarding device may According to the type number of the non-smart home device, an idle communication band for establishing a communication connection with the non-smart home device is determined in the communication connection mode table.
  • Step S402 The data forwarding device acquires a type number of the non-smart home device.
  • the Internet of Things has at least one non-smart home device, and each of the at least one non-smart home device obtains its own type number and transmits to the data forwarding device.
  • the non-smart home device acquires its own type number at startup and sends the type number to the data forwarding device.
  • the data forwarding device locally records the type number of the at least one non-smart home device.
  • the data forwarding device can obtain the type number of each non-smart home device locally.
  • Step S403 The data forwarding device determines, according to the type number and the communication connection mode table of each of the non-smart home devices, a communication connection manner of each of the non-smart home devices.
  • the communication connection mode indicates an idle communication frequency band.
  • the idle communication band refers to the communication band that is not currently used for services.
  • the idle communication frequency band may be an alternate communication frequency band.
  • the idle communication frequency band may be a communication frequency band used for the interval service.
  • the idle communication frequency band may be a communication frequency band that is not currently occupied by the service.
  • step S403 different types of non-smart home devices may require different communication modes to establish a communication connection, specifically between the type number of the non-smart home device and the communication connection mode.
  • the mapping relationship is recorded in the communication connection method table.
  • some type of non-smart home device can provide an idle communication band only in a fixed communication mode.
  • the communication mode may be optical communication or electrical communication.
  • the communication mode may be an idle television signal.
  • Step S404 the data forwarding device establishes a communication connection with each of the non-smart home devices through a communication connection manner of each of the non-smart home devices.
  • the data forwarding device and the non-smart home device establish a communication connection in an idle communication frequency band.
  • the existing signal transmission mode can be adopted.
  • this transmission mode may not be used in the prior art to establish an IoT connection, because the prior art establishment of the Internet of Things connection needs to be based on a complex communication connection protocol.
  • the WiFi protocol For example, the Wi-Fi protocol.
  • the communication connection is established in the idle frequency band, and only a simple handshake between the data forwarding device and the non-smart home device is required, so that the data forwarding device and the non- The smart home device can know the existence of the other party and can transmit data based on the idle communication band.
  • the data forwarding device and the non-smart home device establish a communication connection in the idle frequency band, and only the non-smart home device needs to know the existence of the data forwarding device. In this way, non-smart home devices can send data to the data processing center through the data forwarding device.
  • the data forwarding device and the non-smart home device may establish a communication connection in a free frequency band; and the non-smart home device may send the collected data to the data.
  • the forwarding device transmits, so that the data forwarding device forwards the data to the data processing center.
  • This embodiment provides a device connection method. Referring to FIG. 5, the method includes step S501, step S502, step S503, and step S504.
  • Step S501 The television requests to establish a communication connection with the data forwarding device.
  • step S501 is similar to the implementation principle of step S401, and details are not described herein again.
  • step S501 is also an optional step, which is not a step that must be performed by the method embodiment 2.
  • the originating end requesting to establish a communication connection may be a data forwarding device.
  • Step S502 the data forwarding device acquires a type number of the television.
  • step S502 The implementation principle of the step S502 is similar to the implementation principle of the step S402, and details are not described herein. For details, refer to the related description of step S402.
  • Step S503 The data forwarding device determines a blank television signal frequency band of the television according to the type number of each television.
  • some television signal frequency bands are used for the television to access the television channel, and the present embodiment does not use these television signal frequency bands, that is, the television signal frequency bands do not belong to the blank television signal frequency band.
  • the blank television signal band refers to a frequency band that is spaced between the bands of these television signals.
  • the communication connection mode table records a mapping relationship between the type number of the television set and the blank television signal frequency band. Therefore, in step S503, the data forwarding device determines the blank television signal band of the television set from the communication connection mode table according to the type number of each television set.
  • Step S504 The data forwarding device establishes a communication connection with the television set by using a blank television signal frequency band of the television.
  • step S504 is similar to the implementation principle of step S404, and details are not described herein again.
  • step S504 a communication connection between the data forwarding device and the television set is established by using a blank television signal frequency band.
  • Embodiment 2 of the method implements establishing a communication connection between the data forwarding device and the television set by using a frequency band of the blank television signal, and then the television set may send the collected data to the data forwarding device, so that the The data forwarding device forwards the data to the data processing center.
  • This embodiment provides a device connection method. Referring to FIG. 6, the method includes step S601, step S602, and step S.
  • Step S601 The luminaire requests to establish a communication connection with the data forwarding device.
  • step S601 The implementation principle of the step S601 is similar to the implementation principle of the step S401, and details are not described herein again.
  • step S601 is also an optional step, which is not a step that must be performed in the third embodiment of the method, such as requesting
  • the originating end of establishing a communication connection may be a data forwarding device.
  • Step S602 The data forwarding device acquires a type number of the light fixture.
  • step S602 The implementation principle of step S602 is similar to the implementation principle of step S402, and details are not described herein. For details, refer to the description of step S402 above.
  • Step S603 The data forwarding device determines an idle optical communication frequency band of the luminaire according to the type number of each luminaire.
  • the data forwarding device and the luminaire belong to the visible range of the other party.
  • the light from the luminaire can be captured directly by the data forwarding device.
  • the communication connection mode table records the mapping relationship between the type number of the luminaire and the idle optical communication band of the luminaire. Therefore, in step S603, the data forwarding device determines the idle optical communication band of the luminaire from the communication connection mode table according to the type number of the luminaire. Thus, the luminaire transmits the collected data to the data forwarding device in an idle optical communication band.
  • Step S604 The data forwarding device establishes a communication connection with the luminaire through an idle optical communication frequency band of the luminaire.
  • step S604 is similar to the implementation principle of step S404, and details are not described herein again.
  • step S604 a communication connection between the data forwarding device and the luminaire is established by using an idle optical communication band.
  • the third embodiment of the method implements the use of the idle optical communication frequency band to establish a communication connection between the data forwarding device and the luminaire, and the luminaire can send the collected data to the data forwarding device, so that the data is The forwarding device forwards the data to the data processing center.
  • step S701, step S702, step S703, and step S704 are included.
  • Step S701 The home appliance requests to establish a communication connection with the data forwarding device.
  • step S701 The implementation principle of step S701 is similar to the implementation principle of step S401, and details are not described herein again.
  • step S701 is also an optional step, and steps that must be performed in the second embodiment of the method, for example, the originating end requesting to establish a communication connection may be a data forwarding device.
  • the home appliance herein may be an appliance for indoor use (home use or office use), such as a refrigerator, a washing machine, an air conditioner.
  • Step S702 The data forwarding device acquires a type number of the home appliance.
  • step S702 is similar to the implementation principle of step S402, and details are not described herein. For details, refer to the description of step S402.
  • Step S703 The data forwarding device determines an idle electrical communication frequency band of the home appliance according to the type number of each home appliance.
  • Different types of home appliances can be assigned different idle electrical communication bands. Specifically, the optical communication frequency band not used by the data forwarding device is determined, and the idle electrical communication frequency bands of different household appliances are respectively divided into the unused optical communication frequency bands.
  • the communication connection mode table records the mapping relationship between the type number of the home appliance and the idle electrical communication band of the household appliance. Therefore, in step S703, the data forwarding device determines the idle electrical communication band of the home appliance from the communication connection mode table based on the type number of the home appliance. Thus, different home appliances can transmit the collected data to the data forwarding device in the idle optical communication band they use.
  • Step S704 The data forwarding device establishes a communication connection with the household electrical appliance through an idle electrical communication frequency band of the home appliance.
  • step S704 is similar to the implementation principle of step S404, and details are not described herein again.
  • step S704 a communication connection between the data forwarding device and the home appliance is established by using an idle electrical communication band.
  • the method embodiment 4 realizes that the communication connection between the data forwarding device and the home appliance is established by utilizing the idle electrical communication frequency band, and the home appliance can send the collected data to the data forwarding device, so as to The data forwarding device forwards the data to the data processing center.
  • the data forwarding device provided by the device embodiment may be implemented in the foregoing method embodiment, and the foregoing method embodiments may be implemented. Therefore, the specific implementation of each unit included in the data forwarding device may be referred to in the method embodiment. Corresponding description.
  • the data forwarding device provided in this embodiment of the device, as shown in FIG. 8, the data forwarding device includes: [0129] an obtaining unit 1011, configured to acquire a type number of at least one non-smart home device; [0130] The determining unit 1012 is configured to determine, according to the type number and the communication connection mode table of each of the non-smart home devices, a communication connection manner of each of the non-smart home devices, where the communication connection mode indicates idle communication a frequency band, the communication connection mode table records a mapping relationship between a type number of the non-smart home device and a communication connection mode;
  • the communication establishing unit 1013 is configured to establish a communication connection with each of the non-smart home devices by using a communication connection manner of each of the non-smart home devices.
  • the at least one non-smart home device comprises a television set
  • the determining unit 1012 is configured to determine, according to a type number of the television, a blank television signal frequency band of the television;
  • the communication establishing unit 1013 is configured to establish a communication connection with the television set by using a blank television signal frequency band of the television.
  • the at least one non-smart home device comprises a light fixture
  • the determining unit 1012 is configured to determine, according to the type number of the luminaire, an idle optical communication frequency band of the luminaire;
  • the communication establishing unit 1013 is configured to establish an optical communication connection with the luminaire through an idle optical communication frequency band of the luminaire.
  • the at least one non-smart home device includes any one of the following household appliances, and the household electric appliance includes a refrigerator, a washing machine, and an air conditioner;
  • the determining unit 1012 is configured to determine, according to the type number of the home appliance, an idle electrical communication frequency band of the home appliance;
  • the communication establishing unit 1013 is configured to establish an electrical communication connection with the home appliance through an idle electrical communication frequency band of the home appliance.
  • the communication establishing unit 1013 is further configured to: after establishing a communication connection with each of the non-smart home devices by using a communication connection manner of each of the non-smart home devices, receiving the non- The smart home device is configured to send an online heartbeat message, where the online heartbeat message carries the device identifier of the non-smart home device; if the data forwarding device receives the online transmission of the non-smart home device a heartbeat message, wherein the data forwarding device determines that the communication connection with the non-smart home device is normal; if the data forwarding device does not receive the online heart that is sent by the non-smart home device If the packet is skipped, the data forwarding device determines that the communication connection with the non-smart home device is abnormal.
  • the device embodiment provides a data forwarding device, including a processor and a memory;
  • the memory stores computer instructions
  • the processor executes computer instructions in the memory such that the data forwarding device performs the device connection method provided by the method embodiment.
  • the processor may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit. (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory may include read only memory and random access memory, and provides instructions and data to the processor.
  • a portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information about the type of device.
  • the embodiment of the device provides a storage medium, which may be the above-mentioned memory; the storage medium is used to store computer instructions;
  • the processor of the data forwarding device executes computer instructions in the storage medium, so that the data forwarding device performs the device connection method provided by the method embodiment.
  • the device embodiment provides a computer program, and the processor of the data forwarding device executes computer instructions included in the computer program, so that the data forwarding device executes the device connection method provided by the method embodiment. Additionally, the computer program can be stored in the storage medium described above.
  • each functional unit described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed.
  • the module is completed, that is, the internal structure of the data forwarding device is divided into different functional units or modules to complete all or part of the functions described above.
  • Each functional unit in the embodiment may be integrated into one processing unit, or each unit may exist physically or separately.
  • One or more units are integrated in one unit, and the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the specific names of the functional units are only for convenience of distinguishing from each other, and are not intended to limit the scope of protection of the present application.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (R 0M, Read-Only Memory), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. medium.

Abstract

本方案适用于物联网领域,提供了一种设备连接方法和数据转发设备。所述数据转发设备首先获取至少一个非智能家居设备的类型号;然后根据每个所述非智能家居设备的类型号和通信连接方式表确定每个所述非智能家居设备的通信连接方式,其中所述通信连接方式指示了空闲的通信频段,所述通信连接方式表记录所述非智能家居设备的类型号与通信连接方式之间的映射关系;最后,所述数据转发设备通过每个所述非智能家居设备的通信连接方式,建立与每个所述非智能家居设备的通信连接。进而所述非智能家居设备可以将采集的数据向所述数据转发设备发送,以便所述数据转发设备将该数据向数据处理中心转发。

Description

发明名称:一种设备连接方法和数据转发设备 技术领域
[0001] 本发明属于物联网领域, 尤其涉及一种设备连接方法和数据转发设备。
背景技术
[0002] 物联网 (英文全称 Internet of things , 英文简称 I0T) 是新一代信息技术的重要 组成部分, 也是"信息化 "吋代的重要发展阶段。
[0003] 物联网中部署了各种传感器, 通过传感器探测、 感受外界的信号、 物理条件 ( 如光、 热、 湿度) 或化学组成 (如烟雾) , 并将探知的信息传递给物联网的数 据处理中心。
[0004] 传感器向数据处理中心传输采集到的数据需要满足特定的通信格式, 例如有线 通信格式或者无线通信格式。 现有技术中, 有线传输会引入繁杂的传输线, 占 用空间, 也不方便灵活布局, 因此目前常用无线传输, 尤其是使用环境苛刻的 地方。 无线传输通常使用无线传输协议, 例如蓝牙协议、 Zigbee协议、 WIFI协议 、 WIMAX协议或者蜂窝通信 /4G/LTE等。
[0005] 通过复杂的传输协议来传输物联网中传感器采集的数据, 协议占用带宽较大, 并且传输协议部分数据也需要消耗功耗。 另外, 有些非智能家居设备不满足这 些传输协议, 从而无法加入物联网。
技术问题
[0006] 鉴于此, 本发明提供一种设备连接方法和数据转发设备, 可以利用非智能家居 设备支持的空闲的通信频段, 在物联网中建立数据转发设备与非智能家居设备 的通信连接。
问题的解决方案
技术解决方案
[0007] 一方面, 本发明提供一种设备连接方法, 应用于物联网, 所述物联网包括数据 转发设备; 所述方法包括:
[0008] 所述数据转发设备获取至少一个非智能家居设备的类型号; [0009] 所述数据转发设备根据每个所述非智能家居设备的类型号和通信连接方式表确 定每个所述非智能家居设备的通信连接方式, 所述通信连接方式指示了空闲的 通信频段, 所述通信连接方式表记录所述非智能家居设备的类型号与通信连接 方式之间的映射关系;
[0010] 所述数据转发设备通过每个所述非智能家居设备的通信连接方式, 建立与每个 所述非智能家居设备的通信连接。
[0011] 本方法中, 所述数据转发设备存储有通信连接方式表, 该通信连接方式表记录 有所述非智能家居设备的类型号与通信连接方式之间的映射关系。 在执行方法 的过程中, 所述数据转发设备可以获取根据非智能家居设备的类型号, 然后根 据该通信连接方式表确定该非智能家居设备的类型号对应的通信连接方式, 进 而可以使用该通信连接方式与所述非智能家居设备建立通信连接, 例如在空闲 频段建立通信连接。 建立通信连接之后, 所述非智能家居设备可以将采集的数 据向所述数据转发设备发送, 以便所述数据转发设备将该数据向数据处理中心 转发。
[0012] 一种可能设计, 设备连接方法还包括: 所述非智能家居设备向数据转发设备发 送采集的数据; 数据转发设备将数据进行格式转换; 数据转发设备将换后的数 据向数据处理中心发送。
[0013] 通过执行本可能设计, 数据转发设备从不同非智能家居设备接收数据之后, 需 要转换为该特定格式 (数据处理中心可以识别的数据格式) ; 进而才在在数据 转发网络中转发转换后的数据。
[0014] 另外, 不同非智能家居设备采集的数据是原始的数据, 因此不同非智能家居设 备采集的数据所具有的数据格式是不同的。 数据转发设备可以通过格式转换强 不同非智能家居设备采集的数据所具有的数据格式统一为数据处理中心可以识 别的数据格式。
[0015] 又一方面, 本发明一种数据转发设备, 应用于物联网, 所述物联网包括所述数 据转发设备; 所述数据转发设备包括:
[0016] 获取单元, 用于获取至少一个非智能家居设备的类型号;
[0017] 确定单元, 用于根据每个所述非智能家居设备的类型号和通信连接方式表确定 每个所述非智能家居设备的通信连接方式, 所述通信连接方式指示了空闲的通 信频段, 所述通信连接方式表记录所述非智能家居设备的类型号与通信连接方 式之间的映射关系;
[0018] 通信建立单元, 用于通过每个所述非智能家居设备的通信连接方式, 建立与每 个所述非智能家居设备的通信连接。
发明的有益效果
有益效果
[0019] 本发明的有益效果是: 所述数据转发设备存储有通信连接方式表, 该通信连接 方式表记录有所述非智能家居设备与通信连接方式之间的映射关系。 所述数据 转发设备可以获取根据非智能家居设备的类型号, 然后根据该通信连接方式表 确定该非智能家居设备的类型号对应的通信连接方式, 进而可以使用该通信连 接方式与所述非智能家居设备建立通信连接, 例如在空闲频段建立通信连接。 建立通信连接之后, 所述非智能家居设备可以将采集的数据向所述数据转发设 备发送, 以便所述数据转发设备将该数据向数据处理中心转发。
对附图的简要说明
附图说明
[0020] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。
[0021] 图 1是本发明实施例提供的物联网的一种架构图;
[0022] 图 2是本发明实施例提供的物联网的一种架构图;
[0023] 图 3是本发明实施例提供的物联网的一种架构图;
[0024] 图 4是本发明实施例提供的设备连接方法一种示意性流程图;
[0025] 图 5是本发明实施例提供的设备连接方法一种示意性流程图;
[0026] 图 6是本发明实施例提供的设备连接方法一种示意性流程图;
[0027] 图 7是本发明实施例提供的设备连接方法一种示意性流程图;
[0028] 图 8是本发明实施例提供的数据转发设备的组成结构图。 本发明的实施方式
[0029] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。
[0030] 为了说明本发明所述的技术方案, 下面通过具体实施例来进行说明。
[0031] 架构实施例
[0032] 参见图 1, 物联网包括数据处理中心、 数据转发网络和终端设备。 此处的终端 设备是指可以接入物联网的任一设备。
[0033] 在图 1中, 终端设备划分为智能家居设备、 非智能家居设备和其它终端设备。
其中, 智能家居设备、 非智能家居设备都属于家居设备。
[0034] 智能家居设备是指可以支持现有技术通过有线网络或者无线网络的协议, 将采 集的数据转换为满足该协议的数据, 然后再将该数据通过该协议向数据转发网 络发送。
[0035] 此处的有线网络协议可以是传输控制协议 /因特网互联协议 (英文全称 Tmnsmis sion Control Protocol/Internet Protocol, 英文简称 TCP/IP)
, 或者 I2C (Inter -Integrated Circuit) 总线协议等等。
[0036] 无线网络协议可以是 WIFI、 ZigBee、 WIMAX、 2G、 3G、 4G、 LTE等无线通信 协议。
[0037] 相对地, 非智能家居设备不支持无线网络的协议, 有可能也不支持有线网络协 议。 当然, 非智能家居设备在特设场景下可以支持有线网络协议。 在现有技术 中, 非智能家居设备无法通过无线网络协议或者有线网络协议接入物联网。
[0038] 在图 1中, 终端设备与数据处理中心通过数据转发网络连接, 可以在该数据转 发网络中转发终端设备与数据处理中心之间交互的数据; 例如在数据转发网络 中转发终端设备采集的数据, 该数据处理中心从该数据转发网络接收该数据。
[0039] 数据转发网络的网络架构和网络复杂程度根据物联网的需求部署, 在此不作为 本发明实施例讨论的重点, 参见现有技术即可。
[0040] 在本发明实施例中, 数据转发网络包括数据转发设备, 该数据转发设备可以支 持与非智能家居设备的通信, 非智能家居设备基于该通信向该数据转发设备发 送采集的数据。
[0041] 具体地, 所述数据转发设备存储有通信连接方式表, 该通信连接方式表记录有 所述非智能家居设备的类型号与通信连接方式之间的映射关系; 一种具体可选 方式, 该通信连接方式表记录每个非智能家居设备与通信连接方式之间的映射 关系, 因此, 不同类型非智能家居设备所对应的通信连接方式在该映射关系中 也是清楚并唯一确定的。
[0042] 这样, 所述数据转发设备可以根据非智能家居设备的类型号在该通信连接方式 表中确定该非智能家居设备的类型号对应的通信连接方式, 进而可以使用该通 信连接方式与所述非智能家居设备建立通信连接。
[0043] 该数据转发设备在支持与非智能家居设备通信的基础上, 还支持数据转换。 具 体地, 该数据转发设备可以将非智能家居设备采集的数据进行格式转换, 格式 转换为便于在数据转发网络转发的数据。 这样, 才能通过数据转发网络将非智 能家居设备采集的数据最终转发至数据处理中心。
[0044] 图 2示意了一种数据转发网络, 该数据转发网络为图 1所示数据转发网络的一种 简单架构。
[0045] 在图 2中, 数据转发网络仅包括物联网网关。 该物联网网关可以将终端设备采 集的数据转发至数据处理中心。
[0046] 重点地, 该物联网网关支持与非智能家居设备通信, 以及支持转换非智能家居 设备采集的数据。 因此在图 2中, 该物联网网关为本发明实施例所述的数据转发 设备。
[0047] 图 3示意了一种数据转发网络, 该数据转发网络为图 1所示数据转发网络的一种 较图 2复杂的架构。
[0048] 在图 3中, 数据转发网络仅包括物联网网关和物联网交换机。
[0049] 物联网交换机直接与终端设备相连, 直接接收终端设备采集的数据, 然后再将 数据转发给物联网网关。 最终, 物联网网关将数据转发至数据处理中心。
[0050] 重点地, 图 3存在支持与非智能家居设备通信的物联网交换机, 该物联网交换 机以可以接收非智能家居设备采集的数据, 并且可以支持转换非智能家居设备 采集的数据, 并将转换后的数据向联网网关发送, 以便能够在数据转发网络传 输转换后的数据, 最终该物联网网关将转换后的数据发送至数据处理中心。 可 见, 在图 3中, 支持与非智能家居设备通信的物联网交换机为本发明实施例所述 的数据转发设备。
[0051] 图 1、 图 2或图 3所示的数据处理中心, 数据处理中心根据物理网中终端设备采 集的数据, 针对不同业务应用的需求做处理。 在此不赘述可以使用哪些手段进 行数据处理, 例如大数据技术。
[0052] 下面以数字家庭为例说明, 在连接家庭设备 (例如家用电器) 的同吋, 通过物 联网与外部的数据处理中心连接起来, 实现服务与家庭设备互动。 这样, 在办 公室通过数据处理中心指挥家用电器的操作运行, 在下班回家的途中, 家里的 饭菜已经煮熟, 洗澡的热水已经烧好, 个性化电视节目将会准点播放; 家庭设 施能够自动报修; 冰箱里的食物能够自动补货。
[0053] 方法实施例一
[0054] 本实施例提供一种设备连接方法, 参见图 4, 包括步骤 S401、 步骤 S402、 步骤 S 403和步骤 S404。
[0055] 步骤 S401, 非智能家居设备请求与数据转发设备建立通信连接。
[0056] 具体地, 非智能家居设备请求通信连接吋, 会在请求中携带非智能家居设备的 类型号。
[0057] 步骤 S401的应用场景一, 非智能家居设备上电启动吋, 向数据转发设备发送携 带非智能家居设备的类型号的请求, 请求与数据转发设备建立通信连接。
[0058] 步骤 S401的应用场景二, 上电启动后, 任一情况下操作非智能家居设备, 使得 非智能家居设备向数据转发设备发送携带非智能家居设备的类型号的请求, 请 求与数据转发设备建立通信连接。
[0059] 当然, 应用触发步骤 S401还有其它应用场景, 在此不再赘述。
[0060] 可选地, 步骤 S401并非本发明实施例的必须执行步骤。
[0061] 举例说明, 数据转发设备记录有非智能家居设备的类型号, 可以根据该类型号 定期广播请求, 请求与期望接入物联网的非智能家居设备建立通信连接。
[0062] 本发明实施例中, 非智能家居设备的类型号指定了该非智能家居设备所属的类 型。
[0063] 可选地, 非智能家居设备的类型号可以直接使用非智能家居设备的设备号。 因 为根据非智能家居设备的设备号可以确定非智能家居设备属于那种类型的设备 , 以及确定该非智能家居设备在建立通信连接吋是否有特殊的要求, 例如是否 要求特殊的端口或者方向或者频段等等。
[0064] 可选地, 该非智能家居设备的类型号为根据非智能家居设备的设备号确定出的 类型编号。 这样, 数据转发设备根据该非智能家居设备的类型编号, 可以确定 该非智能家居设备在建立通信连接吋是否有特殊的要求, 例如特殊的频段。
[0065] 具体在本发明实施例中, 数据转发设备记录通信连接方式表, 该通信连接方式 表记录有所述非智能家居设备的类型号与通信连接方式之间的映射关系, 数据 转发设备可以根据该非智能家居设备的类型号, 在该通信连接方式表中确定用 来与该非智能家居设备建立通信连接的空闲的通信频段。
[0066] 步骤 S402, 数据转发设备获取非智能家居设备的类型号。
[0067] 具体地, 物联网有至少一个非智能家居设备, 至少一个非智能家居设备中的每 个非智能家居设备各自获取自身的类型号, 并向所述数据转发设备发送。
[0068] 举例说明, 非智能家居设备在启动吋获取自身的类型号, 并向所述数据转发设 备发送该类型号。
[0069] 另外, 如果数据转发设备本地记录有至少一个非智能家居设备的类型号。 数据 转发设备可以从本地获取每个非智能家居设备的类型号。
[0070] 步骤 S403 , 数据转发设备根据每个所述非智能家居设备的类型号和通信连接方 式表, 确定每个所述非智能家居设备的通信连接方式。
[0071] 值得说明的是, 所述通信连接方式指示了空闲的通信频段。 空闲的通信频段是 指当前未用于业务的通信频段。
[0072] 可选地, 空闲的通信频段可以是备用的通信频段。
[0073] 可选地, 空闲的通信频段可以是用于间隔业务的通信频段。
[0074] 可选地, 空闲的通信频段可以是当前未被业务占用的通信频段。
[0075] 具体在步骤 S403中, 不同类型的非智能家居设备, 可能需要不同的通信方式才 能建立通信连接, 具体的所述非智能家居设备的类型号与通信连接方式之间的 映射关系记录在通信连接方式表中。 或者, 某种类型的非智能家居设备只有在 固定通信方式才能提供空闲的通信频段。
[0076] 举例说明, 若非智能家居设备为灯具, 则通信方式可以是光通信或者电通信。
[0077] 举例说明, 若非智能家居设备为电视机, 则通信方式可以是为空闲的电视信号
[0078] 步骤 S404, 所述数据转发设备通过每个所述非智能家居设备的通信连接方式, 建立与每个所述非智能家居设备的通信连接。
[0079] 所述数据转发设备与所述非智能家居设备是在空闲的通信频段建立通信连接。
在建立通信连接吋, 可以采用现有的信号传输方式, 当然这种传输方式在现有 技术中建立物联网连接吋也许没有采用, 因为现有技术建立物联网连接需要基 于复杂的通信连接协议, 例如 WiFi协议。
[0080] 而本发明实施例中在空闲频段建立通信连接, 只需要所述数据转发设备与所述 非智能家居设备之间进行简单的握手即可, 这样, 所述数据转发设备与所述非 智能家居设备能够获知对方的存在, 以及可以基于空闲的通信频段传输数据。
[0081] 甚至, 本发明实施例中所述数据转发设备与所述非智能家居设备在空闲频段建 立通信连接, 只需要非智能家居设备获知数据转发设备的存在即可。 这样, 非 智能家居设备可以通过数据转发设备向数据处理中心发送数据。
[0082] 通过方法实施例一提供的设备连接方法, 所述数据转发设备与所述非智能家居 设备可以在空闲频段建立通信连接; 进而所述非智能家居设备可以将采集的数 据向所述数据转发设备发送, 以便所述数据转发设备将该数据向数据处理中心 转发。
[0083] 方法实施例二
[0084] 本实施例提供一种设备连接方法, 参见图 5, 包括步骤 S501、 步骤 S502、 步骤 S 503和步骤 S504。
[0085] 步骤 S501, 电视机请求与数据转发设备建立通信连接。
[0086] 步骤 S501的实现原理与步骤 S401的实现原理类似, 在此不再赘述。
[0087] 另外, 步骤 S501也为可选步骤, 并非方法实施例二必须执行的步骤, 例如请求 建立通信连接的发起端可以是数据转发设备。 [0088] 步骤 S502, 数据转发设备获取电视机的类型号。
[0089] 步骤 S502的实现原理与步骤 S402的实现原理类似, 在此不再赘述, 可参见上面 对步骤 S402的相关描述。
[0090] 步骤 S503, 数据转发设备根据每个电视机的类型号, 确定电视机的空白电视信 号频段。
[0091] 具体地, 某些电视信号频段是电视机接入电视频道用的, 而本实施例不使用这 些电视信号频段, 即这些电视信号频段不属于空白电视信号频段。 可选地, 空 白电视信号频段是指间隔在这些电视信号频段之间的频段。
[0092] 另外, 不同类型的电视机可能使用的场合不一样, 例如适合不同国家。 因此, 需要根据电视机的类型号确定电视机的类型, 这样可以进一步确定该电视机在 该国工作吋哪些频段属于空白电视信号频段。
[0093] 该通信连接方式表记录有所述电视机的类型号与空白电视信号频段之间的映射 关系。 因此在步骤 S503中, 数据转发设备根据每个电视机的类型号从该通信连 接方式表中确定电视机的空白电视信号频段。
[0094] 步骤 S504, 数据转发设备通过电视机的空白电视信号频段, 建立与所述电视机 的通信连接。
[0095] 步骤 S504的实现原理与步骤 S404的实现原理类似, 在此不再赘述。
[0096] 特殊地, 在步骤 S504中, 是利用空白电视信号频段, 建立数据转发设备与所述 电视机的通信连接。
[0097] 方法实施例二实现了利用利用空白电视信号频段, 建立数据转发设备与所述电 视机的通信连接, 进而所述电视机可以将采集的数据向所述数据转发设备发送 , 以便所述数据转发设备将该数据向数据处理中心转发。
[0098] 方法实施例三
[0099] 本实施例提供一种设备连接方法, 参见图 6, 包括步骤 S601、 步骤 S602、 步骤 S
603和步骤 S604。
[0100] 步骤 S601, 灯具请求与数据转发设备建立通信连接。
[0101] 步骤 S601的实现原理与步骤 S401的实现原理类似, 在此不再赘述。
[0102] 另外, 步骤 S601也为可选步骤, 并非方法实施例三必须执行的步骤, 例如请求 建立通信连接的发起端可以是数据转发设备。
[0103] 步骤 S602, 数据转发设备获取灯具的类型号。
[0104] 步骤 S602的实现原理与步骤 S402的实现原理类似, 在此不再赘述, 可参见上面 对步骤 S402的相关描述。
[0105] 步骤 S603 , 数据转发设备根据每个灯具的类型号, 确定灯具的空闲的光通信频 段。
[0106] 具体地, 数据转发设备与灯具属于对方可见范围内。 灯具发出的光能够被数据 转发设备直接捕获。
[0107] 因此, 实施例二只需要确定数据转发设备未使用的光通信频段作为空闲的光通 信频段即可。 该通信连接方式表记录有所述灯具的类型号与灯具的空闲的光通 信频段之间的映射关系。 因此在步骤 S603中, 数据转发设备根据灯具的类型号 从该通信连接方式表中确定灯具的空闲的光通信频段。 这样, 灯具在空闲的光 通信频段向该数据转发设备发送采集的数据。
[0108] 步骤 S604, 数据转发设备通过灯具的空闲的光通信频段, 建立与所述灯具的通 信连接。
[0109] 步骤 S604的实现原理与步骤 S404的实现原理类似, 在此不再赘述。
[0110] 特殊地, 在步骤 S604中, 是利用空闲的光通信频段, 建立数据转发设备与所述 灯具的通信连接。
[0111] 方法实施例三实现了利用利用空闲的光通信频段, 建立数据转发设备与所述灯 具的通信连接, 进而所述灯具可以将采集的数据向所述数据转发设备发送, 以 便所述数据转发设备将该数据向数据处理中心转发。
[0112] 方法实施例四
[0113] 本实施例提供一种设备连接方法, 参见图 7, 包括步骤 S701、 步骤 S702、 步骤 S 703和步骤 S704。
[0114] 步骤 S701, 家用电器请求与数据转发设备建立通信连接。
[0115] 步骤 S701的实现原理与步骤 S401的实现原理类似, 在此不再赘述。
[0116] 另外, 步骤 S701也为可选步骤, 并方法实施例二必须执行的步骤, 例如请求建 立通信连接的发起端可以是数据转发设备。 [0117] 这里的家用电器可以是室内使用 (家庭使用或者办公场所使用) 的电器, 例如 冰箱、 洗衣机、 空调。
[0118] 步骤 S702, 数据转发设备获取家用电器的类型号。
[0119] 步骤 S702的实现原理与步骤 S402的实现原理类似, 在此不再赘述, 可参见上面 对步骤 S402的相关描述。
[0120] 步骤 S703, 数据转发设备根据每个家用电器的类型号, 确定家用电器的空闲的 电通信频段。
[0121] 不同类型的家用电器可以分配不同的空闲的电通信频段。 具体地, 确定数据转 发设备未使用的光通信频段, 从未使用的光通信频段中分别划分出不同家用电 器的空闲的电通信频段。 该通信连接方式表记录有所述家用电器的类型号与家 用电器的空闲的电通信频段之间的映射关系。 因此在步骤 S703中, 数据转发设 备根据家用电器的类型号从该通信连接方式表中确定家用电器的空闲的电通信 频段。 这样, 不同家用电器可以在其使用的空闲的光通信频段向该数据转发设 备发送采集的数据。
[0122] 步骤 S704, 数据转发设备通过家用电器的空闲的电通信频段, 建立与所述家用 电器的通信连接。
[0123] 步骤 S704的实现原理与步骤 S404的实现原理类似, 在此不再赘述。
[0124] 特殊地, 在步骤 S704中, 是利用空闲的电通信频段, 建立数据转发设备与所述 家用电器的通信连接。
[0125] 方法实施例四实现了利用利用空闲的电通信频段, 建立数据转发设备与所述家 用电器的通信连接, 进而所述家用电器可以将采集的数据向所述数据转发设备 发送, 以便所述数据转发设备将该数据向数据处理中心转发。
[0126] 设备实施例一:
[0127] 需要说明的是, 设备实施例提供的数据转发设备, 与上述方法实施例对应, 可 实现上述方法实施例, 因此该数据转发设备包括的各个单元的具体实现, 可参 见方法实施例中对应的描述。
[0128] 本设备实施例提供的数据转发设备, 参见图 8, 所述数据转发设备包括: [0129] 获取单元 1011, 用于获取至少一个非智能家居设备的类型号; [0130] 确定单元 1012, 用于根据每个所述非智能家居设备的类型号和通信连接方式表 确定每个所述非智能家居设备的通信连接方式, 所述通信连接方式指示了空闲 的通信频段, 所述通信连接方式表记录所述非智能家居设备的类型号与通信连 接方式之间的映射关系;
[0131] 通信建立单元 1013, 用于通过每个所述非智能家居设备的通信连接方式, 建立 与每个所述非智能家居设备的通信连接。
[0132] 可选地, 所述至少一个非智能家居设备包括电视机;
[0133] 所述确定单元 1012, 用于根据所述电视机的类型号, 确定所述电视机的空白电 视信号频段;
[0134] 所述通信建立单元 1013, 用于通过所述电视机的空白电视信号频段, 建立与所 述电视机的通信连接。
[0135] 可选地, 所述至少一个非智能家居设备包括灯具;
[0136] 所述确定单元 1012, 用于根据所述灯具的类型号, 确定所述灯具的空闲的光通 信频段;
[0137] 所述通信建立单元 1013, 用于通过所述灯具的空闲的光通信频段, 建立与所述 灯具的光通信连接。
[0138] 可选地, 所述至少一个非智能家居设备包括以下任一种家用电器, 所述家用电 器包括冰箱、 洗衣机和空调;
[0139] 所述确定单元 1012, 用于根据所述家用电器的类型号, 确定所述家用电器的空 闲的电通信频段;
[0140] 所述通信建立单元 1013, 用于通过所述家用电器的空闲的电通信频段, 建立与 所述家用电器的电通信连接。
[0141] 可选地, 所述通信建立单元 1013, 还用于在通过每个所述非智能家居设备的通 信连接方式建立与每个所述非智能家居设备的通信连接之后, 接收所述非智能 家居设备定吋发送的在线心跳报文, 所述在线心跳报文中携带有所述非智能家 居设备的设备标识; 若所述数据转发设备接收到所述非智能家居设备定吋发送 的在线心跳报文, 则所述数据转发设备确定其与所述非智能家居设备的通信连 接正常; 若所述数据转发设备未接收到所述非智能家居设备定吋发送的在线心 跳报文, 则所述数据转发设备确定其与所述非智能家居设备的通信连接异常。
[0142] 设备实施例二:
[0143] 本设备实施例提供一种数据转发设备, 包括处理器和存储器;
[0144] 所述存储器存储计算机指令;
[0145] 所述处理器执行存储器中的计算机指令, 使得所述数据转发设备执行方法实施 例提供的设备连接方法。
[0146] 可选地, 所述处理器可以是中央处理单元 (Central Processing Unit, CPU) , 该处 理器还可以是其他通用处理器、 数字信号处理器(Digital Signal Processor, DSP) 、 专用集成电路(Application Specific Integrated Circuit, ASIC)、 现成可编程门阵 歹 ij (Field-Programmable Gate Array , FPGA)或者其他可编程逻辑器件、 分立门或 者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理 器也可以是任何常规的处理器等。
[0147] 可选地, 该存储器可以包括只读存储器和随机存取存储器, 并向处理器提供指 令和数据。 存储器的一部分还可以包括非易失性随机存取存储器。 例如, 存储 器还可以存储设备类型的信息。
[0148] 程序产品
[0149] 本设备实施例提供一种存储介质, 该存储介质可以是上述的存储器; 该存储介 质用于存储计算机指令;
[0150] 所述数据转发设备的处理器执行该存储介质中的计算机指令, 使得所述数据转 发设备执行方法实施例提供的设备连接方法。
[0151] 本设备实施例提供一种计算机程序, 所述数据转发设备的处理器执行该计算机 程序包含的计算机指令, 使得所述数据转发设备执行方法实施例提供的设备连 接方法。 另外, 该计算机程序可以存储在上述的存储介质中。
[0152] 所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 仅以上述各 功能单元的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配 由不同的功能单元、 模块完成, 即将所述数据转发设备的内部结构划分成不同 的功能单元或模块, 以完成以上描述的全部或者部分功能。 实施例中的各功能 单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两 个或两个以上单元集成在一个单元中, 上述集成的单元既可以采用硬件的形式 实现, 也可以采用软件功能单元的形式实现。 另外, 各功能单元的具体名称也 只是为了便于相互区分, 并不用于限制本申请的保护范围。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用 吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施 例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部 或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor) 执行本发明实施例各个实施例所述方法 的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (R 0M, Read-Only Memory) 、 随机存取存储器 (RAM, Random Access Memory ) 、 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明实 施例各实施例技术方案的精神和范围。

Claims

权利要求书
[权利要求 1] 一种设备连接方法, 其特征在于, 应用于物联网, 所述物联网包括数 据转发设备; 所述方法包括:
所述数据转发设备获取至少一个非智能家居设备的类型号; 所述数据转发设备根据每个所述非智能家居设备的类型号和通信连接 方式表确定每个所述非智能家居设备的通信连接方式, 所述通信连接 方式指示了空闲的通信频段, 所述通信连接方式表记录所述非智能家 居设备的类型号与通信连接方式之间的映射关系; 所述数据转发设备通过每个所述非智能家居设备的通信连接方式, 建 立与每个所述非智能家居设备的通信连接。
[权利要求 2] 如权利要求 1所述的设备连接方法, 其特征在于, 所述至少一个非智 能家居设备包括电视机;
所述数据转发设备根据每个所述非智能家居设备的类型号和通信连接 方式表确定每个所述非智能家居设备的通信连接方式, 具体为: 所述数据转发设备根据所述电视机的类型号, 确定所述电视机的空白 电视信号频段;
所述数据转发设备通过每个所述非智能家居设备的通信连接方式, 建 立与每个所述非智能家居设备的通信连接, 具体为:
所述数据转发设备通过所述电视机的空白电视信号频段, 建立与所述 电视机的通信连接。
[权利要求 3] 如权利要求 1所述的设备连接方法, 其特征在于, 所述至少一个非智 能家居设备包括灯具;
所述数据转发设备根据每个所述非智能家居设备的类型号, 确定每个 所述非智能家居设备的通信连接方式, 具体为: 所述数据转发设备根据所述灯具的类型号和通信连接方式表确定所述 灯具的空闲的光通信频段;
所述数据转发设备通过每个所述非智能家居设备的通信连接方式, 建 立与每个所述非智能家居设备的通信连接, 具体为: 所述数据转发设备通过所述灯具的空闲的光通信频段, 建立与所述灯 具的光通信连接。
[权利要求 4] 如权利要求 1所述的设备连接方法, 其特征在于, 所述至少一个非智 能家居设备包括以下任一种家用电器, 所述家用电器包括冰箱、 洗衣 机和空调;
所述数据转发设备根据每个所述非智能家居设备的类型号和通信连接 方式表确定每个所述非智能家居设备的通信连接方式, 具体为: 所述数据转发设备根据所述家用电器的类型号, 确定所述家用电器的 空闲的电通信频段;
所述数据转发设备通过每个所述非智能家居设备的通信连接方式, 建 立与每个所述非智能家居设备的通信连接, 具体为:
所述数据转发设备通过所述家用电器的空闲的电通信频段, 建立与所 述家用电器的电通信连接。
[权利要求 5] 如权利要求 1至 4任一项所述的设备连接方法, 其特征在于, 在所述数 据转发设备通过每个所述非智能家居设备的通信连接方式建立与每个 所述非智能家居设备的通信连接之后, 所述方法还包括:
所述数据转发设备接收所述非智能家居设备定吋发送的在线心跳报文 , 所述在线心跳报文中携带有所述非智能家居设备的设备标识; 若所述数据转发设备接收到所述非智能家居设备定吋发送的在线心跳 报文, 则所述数据转发设备确定其与所述非智能家居设备的通信连接 正常;
若所述数据转发设备未接收到所述非智能家居设备定吋发送的在线心 跳报文, 则所述数据转发设备确定其与所述非智能家居设备的通信连 接异常。
[权利要求 6] —种数据转发设备, 其特征在于, 应用于物联网, 所述物联网包括所 述数据转发设备; 所述数据转发设备包括:
获取单元, 用于获取至少一个非智能家居设备的类型号;
确定单元, 用于根据每个所述非智能家居设备的类型号和通信连接方 式表确定每个所述非智能家居设备的通信连接方式, 所述通信连接方 式指示了空闲的通信频段, 所述通信连接方式表记录所述非智能家居 设备的类型号与通信连接方式之间的映射关系;
通信建立单元, 用于通过每个所述非智能家居设备的通信连接方式, 建立与每个所述非智能家居设备的通信连接。
如权利要求 6所述的数据转发设备, 其特征在于, 所述至少一个非智 能家居设备包括电视机;
所述确定单元, 用于根据所述电视机的类型号, 确定所述电视机的空 白电视信号频段;
所述通信建立单元, 用于通过所述电视机的空白电视信号频段, 建立 与所述电视机的通信连接。
如权利要求 6所述的数据转发设备, 其特征在于, 所述至少一个非智 能家居设备包括灯具;
所述确定单元, 用于根据所述灯具的类型号, 确定所述灯具的空闲的 光通信频段;
所述通信建立单元, 用于通过所述灯具的空闲的光通信频段, 建立与 所述灯具的光通信连接。
如权利要求 6所述的数据转发设备, 其特征在于, 所所述至少一个非 智能家居设备包括以下任一种家用电器, 所述家用电器包括冰箱、 洗 衣机和空调;
所述确定单元, 用于根据所述家用电器的类型号, 确定所述家用电器 的空闲的电通信频段;
所述通信建立单元, 用于通过所述家用电器的空闲的电通信频段, 建 立与所述家用电器的电通信连接。
如权利要求 6至 9任一项所述的数据转发设备, 其特征在于, 所述通信 建立单元, 还用于在通过每个所述非智能家居设备的通信连接方式建 立与每个所述非智能家居设备的通信连接之后, 接收所述非智能家居 设备定吋发送的在线心跳报文, 所述在线心跳报文中携带有所述非智 能家居设备的设备标识; 若所述数据转发设备接收到所述非智能家居 设备定吋发送的在线心跳报文, 则所述数据转发设备确定其与所述非 智能家居设备的通信连接正常; 若所述数据转发设备未接收到所述非 智能家居设备定吋发送的在线心跳报文, 则所述数据转发设备确定其 与所述非智能家居设备的通信连接异常。
PCT/CN2017/093709 2017-06-16 2017-07-20 一种设备连接方法和数据转发设备 WO2018227714A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710461806.4A CN107241245B (zh) 2017-06-16 2017-06-16 一种设备连接方法和数据转发设备
CN201710461806.4 2017-06-16

Publications (1)

Publication Number Publication Date
WO2018227714A1 true WO2018227714A1 (zh) 2018-12-20

Family

ID=59986745

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093709 WO2018227714A1 (zh) 2017-06-16 2017-07-20 一种设备连接方法和数据转发设备

Country Status (2)

Country Link
CN (1) CN107241245B (zh)
WO (1) WO2018227714A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11936489B2 (en) 2021-02-02 2024-03-19 True Manufacturing Co., Inc. Systems, methods, and appliances that enable regional control of refrigeration appliances

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462659B (zh) * 2018-12-17 2021-06-15 深圳市网心科技有限公司 嵌入式设备远程访问控制系统、方法及存储介质
CN111258227A (zh) * 2020-02-18 2020-06-09 珠海格力电器股份有限公司 一种电器控制方法、电子设备寄计算机可读介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660498A (zh) * 2015-03-17 2015-05-27 联想(北京)有限公司 网关设备和信息处理方法
CN104954484A (zh) * 2015-06-30 2015-09-30 黑色水晶(北京)科技有限公司 物联网连接方法及装置
WO2016145797A1 (zh) * 2015-07-20 2016-09-22 中兴通讯股份有限公司 智能家居控制方法、装置及系统
CN106453472A (zh) * 2016-07-15 2017-02-22 孙宝石 基于多通讯方式物联网电子产品的高可用性实现方法和系统
CN106707786A (zh) * 2017-01-13 2017-05-24 南宁市黑晶信息技术有限公司 一种智能家居系统
US20170155710A1 (en) * 2015-12-01 2017-06-01 Dell Products L.P. Virtual resource bank for localized and self determined allocation of resources

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916451A (zh) * 2013-12-25 2014-07-09 武汉安天信息技术有限责任公司 一种基于物联网的智能终端设备的安全中心系统
CN105163366B (zh) * 2015-09-24 2019-03-29 小米科技有限责任公司 无线网络连接方法和装置
CN105516910A (zh) * 2016-01-11 2016-04-20 徐义忠 一种非智能设备或物品的智能化改造方法及其智能装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660498A (zh) * 2015-03-17 2015-05-27 联想(北京)有限公司 网关设备和信息处理方法
CN104954484A (zh) * 2015-06-30 2015-09-30 黑色水晶(北京)科技有限公司 物联网连接方法及装置
WO2016145797A1 (zh) * 2015-07-20 2016-09-22 中兴通讯股份有限公司 智能家居控制方法、装置及系统
US20170155710A1 (en) * 2015-12-01 2017-06-01 Dell Products L.P. Virtual resource bank for localized and self determined allocation of resources
CN106453472A (zh) * 2016-07-15 2017-02-22 孙宝石 基于多通讯方式物联网电子产品的高可用性实现方法和系统
CN106707786A (zh) * 2017-01-13 2017-05-24 南宁市黑晶信息技术有限公司 一种智能家居系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11936489B2 (en) 2021-02-02 2024-03-19 True Manufacturing Co., Inc. Systems, methods, and appliances that enable regional control of refrigeration appliances

Also Published As

Publication number Publication date
CN107241245B (zh) 2020-03-10
CN107241245A (zh) 2017-10-10

Similar Documents

Publication Publication Date Title
JP6246853B2 (ja) ワイヤレスネットワーク上でのサービスの発見のためのシステムおよび方法
JP6434018B2 (ja) サーバ支援nanクラスタマージング
JP6062499B2 (ja) ワイヤレスデバイスをリモートで設定するための方法およびシステム
CN109905483B (zh) 用于家庭网络的设备的高效通信
JP6026668B2 (ja) マルチバンドサービスディスカバリを実行するためのシステム及び方法
CN104717603B (zh) 一种蓝牙低功耗组网并支持便捷互联的方法及系统
JP4998546B2 (ja) 無線センサーネットワークでの自動設定システム及びその方法、無線センサーネットワークのゲートウエイ装置
CN104540090A (zh) 一种基于低功耗蓝牙的组网互连方法及系统
US8732338B2 (en) Mesh network bridge routing
US20200015152A1 (en) Interconnection method and system based on wi-fi aware protocol, and master device in nan group
WO2021218451A1 (zh) 一种基于邻居感知网络的设备连接方法及设备
KR20110073239A (ko) WiFi Direct 네트워크에서의 서비스 탐색 방법 및 장치
CN104704906A (zh) 在无线保真直连(wfd)网络环境中建立wfd连接的方法和系统
WO2018227714A1 (zh) 一种设备连接方法和数据转发设备
JP2014528227A (ja) 電力低減ワイヤレス通信のためのシステムおよび方法
US20130182795A1 (en) Systems and methods for peer-to-peer communication
WO2022143071A1 (zh) 连接建立方法及电子设备
EP3032850A1 (en) Service discovery technique in wireless communication network for forming p2p group
KR20150023878A (ko) 서비스 정보 발견 방법 및 기기
JP2014078773A (ja) データ管理システム
JP2012129916A (ja) 通信装置
US20180310160A1 (en) Communication apparatus, control method of the same, and non-transitory computer-readable storage medium
JP2017143438A (ja) 通信装置、制御方法、及びプログラム
JP6698700B2 (ja) ターゲットクエリおよび探査クエリをアグリゲートすること
US20140169353A1 (en) Method and apparatus for managing radio interfaces

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17914075

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: 1205A 15.05.2020

122 Ep: pct application non-entry in european phase

Ref document number: 17914075

Country of ref document: EP

Kind code of ref document: A1