【技术领域】【Technical field】
本发明涉及通信技术领域,特别是涉及一种物联网数据采集端及其通信方法和系统。The invention relates to the field of communication technology, in particular to an Internet of Things data acquisition terminal and a communication method and system thereof.
【背景技术】【Background technique】
在物联网技术领域,传感器依托网络和通信技术实现感知信息的传递和协同。传感器的网络技术分为两类:近距离通信以及光与网络通信技术等。在近距离通信方面,目前应用较多的为免许可证的2.4GHz ISM频段的相关传感节点设备,如Wi-Fi、蓝牙、Zigbee(IEEE 802.15.4协议的代名词)和SubGhz等。In the field of Internet of Things technology, sensors rely on network and communication technologies to realize the transmission and collaboration of perceived information. Sensor network technology is divided into two categories: short-distance communication and optical and network communication technology. In terms of short-distance communication, the relevant sensor node devices in the license-free 2.4GHz ISM band are widely used at present, such as Wi-Fi, Bluetooth, Zigbee (synonymous with IEEE 802.15.4 protocol) and SubGhz.
虽然上述相关传感节点设备都是低功耗设备,但是对于目前容量与体积都受到一定限制电池应用来说,此类设备的功耗还是相对过大,续航时间还不够长。而传统RFID读卡器以及CPU待机应用的电流一般为80mA/5V,其电源转换会带来功率损耗,实际消耗功率达500mW。同时,三种技术都是基于2.4g频段展开的,在自由空间传播的损耗较大,在同样的发射功率(10mw)情况下,难以做到有效传输距离超过100m以上。Although the above-mentioned sensor node devices are all low-power devices, the power consumption of such devices is still relatively high and the battery life is not long enough for current battery applications with limited capacity and volume. However, the current of traditional RFID card readers and CPU standby applications is generally 80mA/5V, and its power conversion will cause power loss, and the actual power consumption is up to 500mW. At the same time, the three technologies are all based on the 2.4g frequency band, and the loss of propagation in free space is relatively large. Under the same transmission power (10mw), it is difficult to achieve an effective transmission distance of more than 100m.
因此,上述相关传感节点设备应用于物联网数据采集设备端,会耗费较高的功耗,会增加物联网数据采集设备端的充电频率和电池更换频率。Therefore, the application of the above-mentioned related sensor node devices to the IoT data collection device will consume relatively high power consumption, and will increase the charging frequency and battery replacement frequency of the IoT data collection device.
【发明内容】【Content of invention】
基于此,有必要针对上述相关传感节点设备应用于物联网数据采集设备端,会耗费较高的功耗,会增加物联网数据采集设备端的充电频率和电池更换频率问题,提供一种物联网数据采集端及其通信方法和系统。Based on this, it is necessary to provide an Internet of Things for the above-mentioned related sensor node devices applied to the Internet of Things data acquisition equipment, which will consume high power consumption and increase the charging frequency and battery replacement frequency of the Internet of Things data acquisition equipment. A data acquisition terminal and its communication method and system.
一种物联网数据采集端,包括处理模块以及分别与所述处理模块连接的接近探测模块、RFID读卡模块和无线射频模块,所述接近探测模块检测到刷卡区域内存在目标对象时向所述处理模块发送预设激活信号,所述处理模块接收所述预设激活信号,从休眠状态进入工作状态,并启动所述RFID读卡模块,所述RFID读卡模块读取射频卡的数据信息,并将所述数据信息向所述处理模块发送,所述处理模块接收所述数据信息,启动无线射频模块,并将所述数据信息向所述无线射频模块发送,所述无线射频模块对所述数据信息进行调制发送,接收所述数据信息的确认返回信息,并向所述处理模块发送所述确认返回信息,所述处理模块响应接收所述确认返回信息,关闭所述无线射频模块,并进入休眠状态。An Internet of Things data acquisition terminal, comprising a processing module and a proximity detection module, an RFID card reader module and a wireless radio frequency module respectively connected to the processing module, when the proximity detection module detects that there is a target object in the card swiping area, it sends The processing module sends a preset activation signal, the processing module receives the preset activation signal, enters the working state from the dormant state, and starts the RFID card reading module, and the RFID card reading module reads the data information of the radio frequency card, and sending the data information to the processing module, the processing module receives the data information, starts the wireless radio frequency module, and sends the data information to the wireless radio frequency module, and the wireless radio frequency module The data information is modulated and sent, receiving the confirmation return information of the data information, and sending the confirmation return information to the processing module, and the processing module responds to receiving the confirmation return information, closing the wireless radio frequency module, and entering dormant state.
上述物联网数据采集端,检测到目标对象处于刷卡区域时,所述接近探测模块向所述处理模块发送所述预设激活信号,激活休眠状态的CPU与关闭的RFID来检测读取射频卡,进而再激活关闭的无线射频模块,对所述数据信息进行调制发送,接收确认返回信息,所述处理模块关闭所述无线射频模块,并进入休眠状态。通过调节各模块的工作状态,可有效降低物联网数据采集端的功耗。When the above-mentioned Internet of Things data acquisition terminal detects that the target object is in the card swiping area, the proximity detection module sends the preset activation signal to the processing module, activates the CPU in the dormant state and the closed RFID to detect and read the radio frequency card, Then activate the closed radio frequency module again, modulate and send the data information, and receive confirmation return information, and the processing module closes the wireless radio frequency module and enters a dormant state. By adjusting the working status of each module, the power consumption of the data acquisition terminal of the Internet of Things can be effectively reduced.
一种物联网数据采集端的通信方法,包括以下步骤:A communication method for an Internet of Things data collection terminal, comprising the following steps:
接收接近探测模块在检测到刷卡区域内存在目标对象时发送的预设激活信号,将处于休眠状态的处理模块调整到工作状态,并启动RFID读卡模块;Receive the preset activation signal sent by the proximity detection module when it detects that there is a target object in the card swiping area, adjust the processing module in the dormant state to the working state, and start the RFID card reading module;
接收RFID读卡模块读取的射频卡的数据信息到处理模块;Receive the data information of the radio frequency card read by the RFID card reader module to the processing module;
关闭所述RFID读卡模块,并启动无线射频模块;Close the RFID card reader module, and start the wireless radio frequency module;
将所述处理模块保存的所述数据信息传送到所述无线射频模块;transmitting the data information saved by the processing module to the wireless radio frequency module;
对传送到所述无线射频模块的数据信息进行调制发送;modulate and send the data information transmitted to the wireless radio frequency module;
接收所述无线射频模块接收的所述数据信息的确认返回信息到所述处理模块;Receiving an acknowledgment of the data information received by the wireless radio frequency module returns information to the processing module;
关闭所述无线射频模块,并将所述处理模块调整到休眠状态。Turn off the wireless radio frequency module, and adjust the processing module to a dormant state.
一种物联网数据采集端的通信系统,包括:A communication system for the data acquisition terminal of the Internet of Things, comprising:
第一启动模块,用于接收接近探测模块在检测到刷卡区域内存在目标对象时发送的预设激活信号,将处于休眠状态的处理模块调整到工作状态,并启动RFID读卡模块;The first starting module is used to receive the preset activation signal sent by the proximity detection module when it detects that there is a target object in the card swiping area, adjust the processing module in the dormant state to the working state, and start the RFID card reading module;
数据信息接收模块,用于接收RFID读卡模块读取的射频卡的数据信息到处理模块;The data information receiving module is used to receive the data information of the radio frequency card read by the RFID card reading module to the processing module;
第二启动模块,用于关闭所述RFID读卡模块,并启动无线射频模块;The second starting module is used to close the RFID card reading module and start the wireless radio frequency module;
数据信息中转模块,用于将所述处理模块保存的所述数据信息传送到所述无线射频模块;A data information transfer module, configured to transmit the data information saved by the processing module to the wireless radio frequency module;
调制发送模块,用于对传送到所述无线射频模块的数据信息进行调制发送;A modulating and sending module, configured to modulate and send the data information transmitted to the wireless radio frequency module;
确认信息接收模块,用于接收所述无线射频模块接收的所述数据信息的确认返回信息到所述处理模块;A confirmation information receiving module, configured to receive confirmation return information of the data information received by the wireless radio frequency module to the processing module;
第一关闭模块,用于关闭所述无线射频模块,并将所述处理模块调整到休眠状态。The first shutdown module is configured to shut down the wireless radio frequency module and adjust the processing module to a dormant state.
上述物联网数据采集端的通信方法和系统,接收接近传感器发送的预设激活信号,激活休眠状态的CPU与关闭的RFID读卡模块来检测读取射频卡的信息,进而再激活关闭的无线射频模块,对所述数据信息进行调制发送,接收确认返回信息,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。通过调节各模块的工作状态,可有效降低物联网数据采集端的功耗。The above-mentioned communication method and system of the Internet of Things data acquisition terminal receives the preset activation signal sent by the proximity sensor, activates the CPU in the dormant state and the closed RFID card reading module to detect and read the information of the radio frequency card, and then activates the closed wireless radio frequency module. , modulating and sending the data information, receiving confirmation return information, turning off the wireless radio frequency module, and adjusting the processing module to a dormant state. By adjusting the working status of each module, the power consumption of the data acquisition terminal of the Internet of Things can be effectively reduced.
【附图说明】【Description of drawings】
图1是本发明物联网数据采集端的结构示意图;Fig. 1 is the structural representation of the Internet of Things data collection end of the present invention;
图2是本发明物联网数据采集端的通信方法第一实施方式的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the communication method of the Internet of Things data collection end of the present invention;
图3是本发明物联网数据采集端的通信方法第二实施方式的流程示意图;Fig. 3 is a schematic flow chart of the second embodiment of the communication method of the Internet of Things data collection end of the present invention;
图4是本发明物联网数据采集端的通信方法第三实施方式的流程示意图;Fig. 4 is a schematic flow chart of the third embodiment of the communication method of the Internet of Things data acquisition terminal of the present invention;
图5是本发明物联网数据采集端的通信系统第一实施方式的结构示意图。Fig. 5 is a schematic structural diagram of the first embodiment of the communication system of the data acquisition terminal of the Internet of Things according to the present invention.
【具体实施方式】【Detailed ways】
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
请参阅图1,图1是本发明的物联网数据采集端的结构示意图。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of the IoT data acquisition terminal of the present invention.
本实施方式的所述物联网数据采集端,可包括处理模块1010以及分别与处理模块1010连接的接近探测模块1020、RFID读卡模块1030和315M/433M无线射频模块1040,接近探测模块1020检测刷卡区域内存在目标对象时向处理模块1010发送预设激活信号。处理模块1010接收所述预设激活信号从休眠状态进入工作状态,并启动RFID读卡模块1030。RFID读卡模块1030读取射频卡的数据信息,并将所述数据信息发送到处理模块1010。处理模块1010接收所述数据信息,启动无线射频模块1040,并将所述数据信息向无线射频模块1040发送。无线射频模块1040对所述数据信息进行调制发送,接收所述数据信息的确认返回信息,并向处理模块1010发送,处理模块1010接收所述确认返回信息,关闭无线射频模块1040,并进入休眠状态。The Internet of Things data acquisition terminal in this embodiment may include a processing module 1010 and a proximity detection module 1020, an RFID card reading module 1030, and a 315M/433M wireless radio frequency module 1040 respectively connected to the processing module 1010, and the proximity detection module 1020 detects card swiping Send a preset activation signal to the processing module 1010 when there is a target object in the area. The processing module 1010 enters the working state from the dormant state upon receiving the preset activation signal, and starts the RFID card reading module 1030 . The RFID card reading module 1030 reads the data information of the radio frequency card, and sends the data information to the processing module 1010 . The processing module 1010 receives the data information, activates the radio frequency module 1040 , and sends the data information to the radio frequency module 1040 . The radio frequency module 1040 modulates and sends the data information, receives the confirmation return information of the data information, and sends it to the processing module 1010, and the processing module 1010 receives the confirmation return information, closes the radio frequency module 1040, and enters a dormant state .
本实施方式,检测到目标对象处于刷卡区域时,所述接近探测模块向所述处理模块发送所述预设激活信号,激活休眠状态的CPU与关闭的RFID读卡模块来检测读取射频卡的信息,进而再激活关闭的无线射频模块,对所述数据信息进行调制发送,接收所述确认返回信息,所述处理模块关闭所述无线射频模块,并进入休眠状态。通过调节各模块的工作状态,可有效降低物联网数据采集端的功耗。In this embodiment, when it is detected that the target object is in the card swiping area, the proximity detection module sends the preset activation signal to the processing module, and activates the CPU in the dormant state and the closed RFID card reading module to detect the possibility of reading the radio frequency card. information, and then reactivate the closed radio frequency module, modulate and send the data information, receive the confirmation return information, the processing module closes the wireless radio frequency module, and enters a dormant state. By adjusting the working status of each module, the power consumption of the data acquisition terminal of the Internet of Things can be effectively reduced.
对于接近探测模块1020,能检测对象的移动信息和存在信息,并将检测的信息转换为电气信号。接近探测模块1020可为红外接近探测传感器、超声波传感器等接近探测设备。所述刷卡区域可为刷卡器件所在区域。目标对象可为刷卡用户。For the proximity detection module 1020, it is possible to detect movement information and presence information of an object, and convert the detected information into electrical signals. The proximity detection module 1020 may be a proximity detection device such as an infrared proximity detection sensor, an ultrasonic sensor, or the like. The card swiping area may be the area where the card swiping device is located. The target audience can be credit card users.
优选地,所述预设激活信号可为脉冲信号。Preferably, the preset activation signal may be a pulse signal.
处理模块1010,可为单片机,所述单片机中可包括非易失性存储器。The processing module 1010 may be a single-chip microcomputer, and the single-chip microcomputer may include a non-volatile memory.
RFID读卡模块1030,所述射频卡优选地为IC卡。RFID card reading module 1030, the radio frequency card is preferably an IC card.
对于无线射频模块1040,可通过315M/433M频段的通信信道发送所述数据信息,在不缩短传输距离、不降低灵敏度和通信速率的同事,可将功耗降低为Zigbee应用所需功耗的十分之一。For the wireless radio frequency module 1040, the data information can be sent through the communication channel of the 315M/433M frequency band, and the power consumption can be reduced to ten times that required by the Zigbee application without shortening the transmission distance, sensitivity and communication speed. one-third.
在一个实施例中,无线射频模块1040包括315M/433M无线射频模块,所述315M/433M无线射频模块通过315M/433M信道对所述数据信息进行调制发送。In one embodiment, the radio frequency module 1040 includes a 315M/433M radio frequency module, and the 315M/433M radio frequency module modulates and sends the data information through a 315M/433M channel.
本实施例,应用ISM 315M/433M频段发送数据信息,可在完成数据通信的同时,进一步降低物联网数据采集端的功耗。In this embodiment, the ISM 315M/433M frequency band is used to send data information, which can further reduce the power consumption of the data acquisition terminal of the Internet of Things while completing data communication.
本实施方式中,在目标对象不在刷卡区域内时,除接近探测模块1020一直处于工作状态外,处理模块1010、RFID读卡模块1030和无线射频模块1040休眠状态,可将功耗降低到uA级。目标对象在刷卡区域内时,激活处理模块1010进入工作状态,此时的功耗一般为10mA量级。In this embodiment, when the target object is not in the card swiping area, except the proximity detection module 1020 is always in the working state, the processing module 1010, the RFID card reading module 1030 and the wireless radio frequency module 1040 are in the sleep state, which can reduce the power consumption to uA level . When the target object is in the card swiping area, the activation processing module 1010 enters the working state, and the power consumption at this time is generally on the order of 10mA.
请参阅图2,图2是本发明的物联网数据采集端的通信方法第一实施方式的流程示意图。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a first embodiment of a communication method for an Internet of Things data collection terminal according to the present invention.
本实施方式的所述物联网数据采集端的通信方法,可基于图1所示的物联网数据采集端进行通信,可包括以下步骤:The communication method of the Internet of Things data acquisition end of the present embodiment can communicate based on the Internet of Things data acquisition end shown in Figure 1, and may include the following steps:
步骤S201,接收接近探测模块在检测到刷卡区域内存在目标对象时发送的预设激活信号,将处于休眠状态的处理模块调整到工作状态,并启动RFID读卡模块。Step S201, receiving a preset activation signal sent by the proximity detection module when detecting a target object in the card swiping area, adjusting the processing module in a dormant state to a working state, and starting the RFID card reading module.
步骤S202,接收RFID读卡模块读取的射频卡的数据信息到处理模块。Step S202, receiving the data information of the radio frequency card read by the RFID card reading module to the processing module.
步骤S203,关闭所述RFID读卡模块,并启动无线射频模块。Step S203, closing the RFID card reading module, and starting the wireless radio frequency module.
步骤S204,将所述处理模块保存的所述数据信息传送到所述无线射频模块。Step S204, transmitting the data information saved by the processing module to the wireless radio frequency module.
步骤S205,对传送到所述无线射频模块的数据信息进行调制发送。Step S205, modulate and send the data information transmitted to the wireless radio frequency module.
步骤S206,接收所述无线射频模块接收的所述数据信息的确认返回信息到所述处理模块。Step S206, receiving an acknowledgment of the data information received by the radio frequency module and returning information to the processing module.
步骤S207,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。Step S207, turning off the radio frequency module, and adjusting the processing module to a dormant state.
本实施方式,接收接近传感器发送的预设激活信号,激活休眠状态的CPU与关闭的RFID来检测读取射频卡,进而再激活关闭的无线射频模块,对所述数据信息进行调制发送,接收确认返回信息,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。通过调节各模块的工作状态,可有效降低物联网数据采集端的功耗。In this embodiment, the preset activation signal sent by the proximity sensor is received, the CPU in the dormant state and the closed RFID are activated to detect and read the radio frequency card, and then the closed wireless radio frequency module is activated again, and the data information is modulated and sent, and the receipt is confirmed. Return information, turn off the wireless radio frequency module, and adjust the processing module to a dormant state. By adjusting the working status of each module, the power consumption of the data acquisition terminal of the Internet of Things can be effectively reduced.
其中,对于步骤S201,所述刷卡区域可为刷卡器件所在区域。目标对象可为刷卡用户。所述预设激活信号可为脉冲信号。Wherein, for step S201, the card swiping area may be the area where the card swiping device is located. The target audience can be credit card users. The preset activation signal may be a pulse signal.
优选地,所述处理模块可为单片机,所述单片机中可包括非易失性存储器。所述非易失性存储器可用于存储历史数据信息。Preferably, the processing module may be a single-chip microcomputer, and the single-chip microcomputer may include a non-volatile memory. The non-volatile memory can be used to store historical data information.
进一步地,可通过处理模块向RFID读卡模块发送启动指令启动所述RFID读卡模块。还可通过指令控制设备向RFID读卡模块发送启动指令启动所述RFID读卡模块。Further, the RFID card reading module can be started by sending an activation instruction to the RFID card reading module through the processing module. The RFID card reading module can also be activated by sending an activation instruction to the RFID card reading module through the instruction control device.
对于步骤S202,所述射频卡可为IC卡,还可为满足射频协议的其他射频卡。For step S202, the radio frequency card may be an IC card, or other radio frequency cards meeting the radio frequency protocol.
对于步骤S203,可设定RFID读卡模块的读卡时间,若在预设读卡时间内读取到若读取到所述数据信息,则关闭所述RFID读卡模块,并启动无线射频模块。For step S203, the card reading time of the RFID card reading module can be set, if the data information is read within the preset card reading time, then the RFID card reading module is closed and the wireless radio frequency module is started .
优选地,若在预设读卡时间内未读取到数据信息,则关闭所述RFID读卡模块,并将所述处理模块调整到休眠状态。Preferably, if no data information is read within the preset card reading time, the RFID card reading module is turned off, and the processing module is adjusted to a dormant state.
进一步地,所述预设读卡时间可小于或等于与200ms。Further, the preset card reading time may be less than or equal to 200ms.
对于步骤S204,可先通过RFID读卡模块将所述数据信息传送到所述处理模块,再从所述处理模块将所述数据信息向所述无线射频模块发送。For step S204, the data information may be transmitted to the processing module through the RFID card reading module first, and then the data information is sent from the processing module to the wireless radio frequency module.
优选地,所述处理模块可对所述数据进行预处理后,再向所述无线射频模块发送。Preferably, the processing module can preprocess the data before sending it to the radio frequency module.
对于步骤S205,可通过所述无线射频模块对所述数据信息进行调制加密后再发送。对传送到所述无线射频模块的数据信息进行调制发送前,可进行同频干扰检测,若没有同频干扰,则调制发送。For step S205, the data information may be modulated and encrypted by the wireless radio frequency module before being sent. Before the data information transmitted to the wireless radio frequency module is modulated and sent, co-channel interference detection can be performed, and if there is no co-channel interference, then modulated and sent.
优选地,对传送到所述无线射频模块的数据信息进行调制发送的步骤包括以下步骤:Preferably, the step of modulating and sending the data information transmitted to the wireless radio frequency module includes the following steps:
通过315M/433M信道对传送到所述无线射频模块的数据信息进行调制发送。The data information sent to the wireless radio frequency module is modulated and sent through the 315M/433M channel.
应用ISM 315M/433M频段发送数据信息,可在完成数据通信的同时,进一步降低物联网数据采集端的功耗。Using the ISM 315M/433M frequency band to send data information can further reduce the power consumption of the IoT data acquisition terminal while completing data communication.
在一个实施例中,对传送到所述无线射频模块的数据信息进行调制发送的步骤包括以下步骤:In one embodiment, the step of modulating and sending the data information transmitted to the wireless radio frequency module includes the following steps:
检测是否存在同频干扰。Check for co-channel interference.
若否,则对传送到所述无线射频模块的数据信息进行调制发送。If not, modulate and send the data information transmitted to the wireless radio frequency module.
优选地,可通过检测通信信道到内是否存在同频干扰信号即可判定是否存在同频干扰,还可通过检测同频信号设备的工作状态,判定是否存在同频干扰。Preferably, whether there is co-channel interference can be determined by detecting whether there is co-channel interference signal in the communication channel, and whether there is co-channel interference can also be determined by detecting the working status of co-frequency signal equipment.
优选地,可通过所述无线射频模块检测是否存在同频干扰,还可本领域惯用的其他检测方式检测是否存在同频干扰。Preferably, the wireless radio frequency module can be used to detect whether there is co-channel interference, and other detection methods commonly used in the art can also be used to detect whether there is co-channel interference.
在另一个实施例中,可设定同频检测的循环次数,当存在同频干扰时,根据所述循环次数循环检测是否存在同频干扰,若达到循环次数后仍存在同频干扰,则将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。In another embodiment, the number of cycles of co-frequency detection can be set. When there is co-frequency interference, whether there is co-frequency interference is cyclically detected according to the number of cycles. If there is still co-frequency interference after reaching the number of cycles, the The data information is stored in the processing module as historical data information, the wireless radio frequency module is turned off, and the processing module is adjusted to a dormant state.
对于步骤S206,可设定所述无线射频模块接收所述确认返回信息的接收时间,在预设信息确认时间内接收到所述确认返回信息,可将所述确认返回信息向所述处理模块发送。For step S206, the receiving time for the radio frequency module to receive the confirmation return information can be set, and the confirmation return information can be sent to the processing module after receiving the confirmation return information within the preset information confirmation time .
在一个实施例中,若在预设信息确认时间内未接收到所述确认返回信息,则将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。In one embodiment, if the confirmation return information is not received within the preset information confirmation time, the data information is stored in the processing module as historical data information, the wireless radio frequency module is turned off, and the The processing module is adjusted to a dormant state.
优选地,所述预设信息确认时间可为100ms。Preferably, the preset information confirmation time may be 100ms.
在另一个实施例中,接收所述无线射频模块接收的所述数据信息的确认返回信息到所述处理模块的步骤还包括以下步骤:In another embodiment, the step of receiving the acknowledgment of the data information received by the radio frequency module and returning information to the processing module further includes the following steps:
若接收到所述确认返回信息,则查询所述处理模块中是否存储有历史数据信息。If the confirmation return information is received, query whether historical data information is stored in the processing module.
若是,则检测是否存在同频干扰。If yes, it is detected whether co-channel interference exists.
若不存在,则对传送到所述无线射频模块的数据信息进行调制发送。If not, modulate and send the data information transmitted to the wireless radio frequency module.
判断是否接收到所述历史数据信息的确认返回信息。It is judged whether the confirmation return information of the historical data information is received.
若接收到所述历史数据信息的确认返回信息,则关闭所述无线射频模块,并将所述处理模块调整到休眠状态。If the confirmation return information of the historical data information is received, the wireless radio frequency module is turned off, and the processing module is adjusted to a dormant state.
本实施例,将上次发送失败的信息在本次重发,可降低信息发送周期,进而降低功耗。In this embodiment, the information that failed to be sent last time is resent this time, which can reduce the information sending cycle and further reduce power consumption.
对于步骤S207,接收到所述确认返回信息,即完成所述数据信息的发送,关闭所述无线射频模块,并将所述处理模块调整到休眠状态,可降低功耗。For step S207, upon receiving the acknowledgment return information, the transmission of the data information is completed, the wireless radio frequency module is turned off, and the processing module is adjusted to a sleep state, which can reduce power consumption.
请参阅图3,图3是本发明的物联网数据采集端的通信方法第二实施方式的流程示意图。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a second embodiment of a communication method for an Internet of Things data collection terminal according to the present invention.
本实施方式的所述物联网数据采集端的通信方法与第一实施方式的区别在于:本发明的物联网数据采集端的通信方法还包括以下步骤:The difference between the communication method of the Internet of Things data collection end of this embodiment and the first embodiment is that: the communication method of the Internet of Things data collection end of the present invention also includes the following steps:
步骤S301,若存在同频干扰,则进行一个随机时延。Step S301, if co-channel interference exists, perform a random time delay.
步骤S302,检测是否存在同频干扰,若存在则执行步骤S304,若不存在,则执行步骤S303。Step S302, detecting whether there is co-channel interference, if yes, execute step S304, if not, execute step S303.
步骤S303,对传送到所述无线射频模块的数据信息进行调制发送。Step S303, modulate and send the data information transmitted to the wireless radio frequency module.
步骤S304,将同频检测次数加1。Step S304, adding 1 to the same-frequency detection times.
步骤S305,判断所述同频检测次数是否超过检测阈值,若超过,则执行步骤S306,若未超过,则执行步骤S307。Step S305, judging whether the same frequency detection times exceeds the detection threshold, if so, execute step S306, if not, execute step S307.
步骤S306将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态;Step S306: storing the data information in the processing module as historical data information, turning off the radio frequency module, and adjusting the processing module to a dormant state;
步骤S307,等待另一个随机时延,返回步骤S302。Step S307, wait for another random time delay, and return to step S302.
本实施方式,可缩短通信周期,降低通信功耗。In this embodiment, the communication period can be shortened, and the communication power consumption can be reduced.
优选地,所述一个随机延时可为3ms至30ms之间的时间值。所述另一个随机延时可为30ms至100ms之间的时间值。所述检测阈值可为3。Preferably, the one random delay may be a time value between 3ms and 30ms. The other random delay may be a time value between 30ms and 100ms. The detection threshold may be 3.
请参阅图4,图4是本发明的物联网数据采集端的通信方法第三实施方式的流程示意图。Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of a third embodiment of a communication method for an Internet of Things data collection terminal according to the present invention.
本实施方式的所述物联网数据采集端的通信方法与第一实施方式的区别在于:本发明的物联网数据采集端的通信方法还包括以下步骤:The difference between the communication method of the Internet of Things data collection end of this embodiment and the first embodiment is that: the communication method of the Internet of Things data collection end of the present invention also includes the following steps:
步骤S401,若在第三预设时间内未接收到所述确认返回信息,则将信息发送次数加1。Step S401, if the confirmation return information is not received within the third preset time, add 1 to the number of information sending times.
步骤S402,检测信息发送次数是否超过发送阈值,若超过则执行步骤S403,若未超过,则执行步骤S404。In step S402, it is detected whether the number of times of sending information exceeds the sending threshold, if so, execute step S403, and if not, execute step S404.
步骤S403,将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。Step S403, storing the data information as historical data information in the processing module, turning off the radio frequency module, and adjusting the processing module to a dormant state.
步骤S404,检测是否存在同频干扰,若存在,则执行步骤S406,若不存在,则执行步骤S405。Step S404, detecting whether there is co-channel interference, if yes, execute step S406, if not, execute step S405.
步骤S405,对传送到所述无线射频模块的数据信息进行调制发送。Step S405, modulate and send the data information transmitted to the wireless radio frequency module.
步骤S406,将同频检测次数加1。Step S406, adding 1 to the same-frequency detection times.
步骤S407,判断所述同频检测次数是否超过检测阈值,若是,则执行步骤S408,若否,则执行步骤S409。Step S407, judging whether the number of same-frequency detections exceeds a detection threshold, if yes, execute step S408, and if not, execute step S409.
步骤S408,将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。Step S408, storing the data information as historical data information in the processing module, turning off the radio frequency module, and adjusting the processing module to a dormant state.
步骤S409,等待另一个随机时延,返回步骤S404。Step S409, wait for another random time delay, and return to step S404.
本实施方式,可缩短通信周期,降低通信功耗。In this embodiment, the communication period can be shortened, and the communication power consumption can be reduced.
优选地,所述一个随机延时可为3ms至30ms之间的时间值。所述另一个随机延时可为30ms至100ms之间的时间值。所述检测阈值可为3。所述发送阈值可为3。所述第三预设时间可为100ms。Preferably, the one random delay may be a time value between 3ms and 30ms. The other random delay may be a time value between 30ms and 100ms. The detection threshold may be 3. The sending threshold may be 3. The third preset time may be 100ms.
请参阅图5,图5是本发明的物联网数据采集端的通信系统第一实施方式的结构示意图。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a first embodiment of a communication system for an Internet of Things data collection terminal according to the present invention.
本实施方式的所述物联网数据采集端的通信系统,可基于图1所示的物联网数据采集端进行通信,可包括第一启动模块2010、数据信息接收模块2020、第二启动模块2030、数据信息中转模块2040、调制发送模块2050、确认信息接收模块2060和第一关闭模块2070,其中:The communication system of the IoT data acquisition terminal in this embodiment can communicate based on the IoT data acquisition terminal shown in FIG. Information transfer module 2040, modulation sending module 2050, confirmation information receiving module 2060 and first closing module 2070, wherein:
第一启动模块2010,用于接收接近探测模块在检测到刷卡区域内存在目标对象时发送的预设激活信号,将处于休眠状态的处理模块调整到工作状态,并启动RFID读卡模块。The first starting module 2010 is used to receive the preset activation signal sent by the proximity detection module when it detects that there is a target object in the card swiping area, adjust the processing module in the dormant state to the working state, and start the RFID card reading module.
数据信息接收模块2020,用于接收RFID读卡模块读取的射频卡的数据信息到处理模块。The data information receiving module 2020 is used for receiving the data information of the radio frequency card read by the RFID card reading module to the processing module.
第二启动模块2030,用于关闭所述RFID读卡模块,并启动无线射频模块。The second starting module 2030 is used to close the RFID card reading module and start the wireless radio frequency module.
数据信息中转模块2040,用于将所述处理模块保存的所述数据信息传送到所述无线射频模块。The data information transfer module 2040 is configured to transmit the data information saved by the processing module to the wireless radio frequency module.
调制发送模块2050,用于对传送到所述无线射频模块的数据信息进行调制发送。The modulating and sending module 2050 is configured to modulate and send the data information transmitted to the wireless radio frequency module.
确认信息接收模块2060,用于接收所述无线射频模块接收的所述数据信息的确认返回信息到所述处理模块。The confirmation information receiving module 2060 is configured to receive the confirmation return information of the data information received by the wireless radio frequency module to the processing module.
第一关闭模块2070,用于关闭所述无线射频模块,并将所述处理模块调整到休眠状态。The first shutdown module 2070 is configured to shut down the radio frequency module, and adjust the processing module to a dormant state.
本实施方式,接收接近传感器发送的预设激活信号,激活休眠状态的CPU与关闭的RFID来检测读取射频卡,进而再激活关闭的无线射频模块,对所述数据信息进行调制发送,在接收到所述确认返回信息时,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。通过调节各模块的工作状态,可有效降低物联网数据采集端的功耗。In this embodiment, the preset activation signal sent by the proximity sensor is received, the CPU in the dormant state and the closed RFID are activated to detect and read the radio frequency card, and then the closed wireless radio frequency module is activated again, and the data information is modulated and sent. When the confirmation returns information, the wireless radio frequency module is turned off, and the processing module is adjusted to a dormant state. By adjusting the working status of each module, the power consumption of the data acquisition terminal of the Internet of Things can be effectively reduced.
其中,对于第一启动模块2010,所述刷卡区域可为刷卡器件所在区域。目标对象可为刷卡用户。所述预设激活信号可为脉冲信号。Wherein, for the first starting module 2010, the card swiping area may be the area where the card swiping device is located. The target audience can be credit card users. The preset activation signal may be a pulse signal.
优选地,所述处理模块可为单片机,所述单片机中可包括非易失性存储器。所述非易失性存储器可用于存储历史数据信息。Preferably, the processing module may be a single-chip microcomputer, and the single-chip microcomputer may include a non-volatile memory. The non-volatile memory can be used to store historical data information.
进一步地,第一启动模块2010可通过处理模块向RFID读卡模块发送启动指令启动所述RFID读卡模块。还可通过指令控制设备向RFID读卡模块发送启动指令启动所述RFID读卡模块。Further, the first starting module 2010 may send a starting instruction to the RFID card reading module through the processing module to start the RFID card reading module. The RFID card reading module can also be activated by sending an activation instruction to the RFID card reading module through the instruction control device.
对于数据信息接收模块2020,所述射频卡可为IC卡,还可为满足射频协议的其他射频卡。For the data information receiving module 2020, the radio frequency card may be an IC card, or other radio frequency cards meeting the radio frequency protocol.
对于第二启动模块2030,可设定RFID读卡模块的读卡时间,若在预设读卡时间内读取到若读取到所述数据信息,则关闭所述RFID读卡模块,并启动无线射频模块。For the second starting module 2030, the card reading time of the RFID card reading module can be set, if the data information is read within the preset card reading time, the RFID card reading module is closed and started radio frequency module.
优选地,第二启动模块2030可用于在预设读卡时间内未读取到数据信息时关闭所述RFID读卡模块,并将所述处理模块调整到休眠状态。Preferably, the second starting module 2030 can be used to shut down the RFID card reading module and adjust the processing module to a dormant state when no data information is read within the preset card reading time.
进一步地,所述预设读卡时间可小于或等于与200ms。Further, the preset card reading time may be less than or equal to 200ms.
对于数据信息中转模块2040,可先通过RFID读卡模块将所述数据信息传送到所述处理模块,再从所述处理模块将所述数据信息向所述无线射频模块发送。For the data information transfer module 2040, the data information may be transmitted to the processing module through the RFID card reading module first, and then the data information is sent from the processing module to the wireless radio frequency module.
优选地,所述处理模块可对所述数据进行预处理后,再向所述无线射频模块发送。Preferably, the processing module can preprocess the data before sending it to the radio frequency module.
对于调制发送模块2050,可通过所述无线射频模块对所述数据信息进行调制加密后再发送。对传送到所述无线射频模块的数据信息进行调制发送前,可进行同频干扰检测,若没有同频干扰,则调制发送。For the modulating and sending module 2050, the data information may be modulated and encrypted by the wireless radio frequency module before being sent. Before the data information transmitted to the wireless radio frequency module is modulated and sent, co-channel interference detection can be performed, and if there is no co-channel interference, then modulated and sent.
优选地,调制发送模块2050可用于通过315M/433M信道对传送到所述无线射频模块的数据信息进行调制发送。Preferably, the modulating and sending module 2050 can be used to modulate and send the data information transmitted to the wireless radio frequency module through the 315M/433M channel.
在一个实施例中,调制发送模块2050还可用于:In one embodiment, the modulation sending module 2050 can also be used for:
检测是否存在同频干扰。Check for co-channel interference.
若否,则对传送到所述无线射频模块的数据信息进行调制发送。If not, modulate and send the data information transmitted to the wireless radio frequency module.
优选地,调制发送模块2050可通过检测通信信道到内是否存在同频干扰信号即可判定是否存在同频干扰,还可通过检测同频信号设备的工作状态,判定是否存在同频干扰。Preferably, the modulation and sending module 2050 can determine whether there is co-channel interference by detecting whether there is co-channel interference signal in the communication channel, and can also determine whether there is co-channel interference by detecting the working status of the same-frequency signal device.
优选地,调制发送模块2050可通过所述无线射频模块检测是否存在同频干扰,还可本领域惯用的其他检测方式检测是否存在同频干扰。Preferably, the modulation and sending module 2050 can detect whether there is co-channel interference through the wireless radio frequency module, and can also detect whether there is co-channel interference by other detection methods commonly used in the art.
在另一个实施例中,调制发送模块2050可设定同频检测的循环次数,当存在同频干扰时,根据所述循环次数循环检测是否存在同频干扰,若达到循环次数后仍存在同频干扰,则将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。In another embodiment, the modulation sending module 2050 can set the number of cycles of co-frequency detection. When there is co-frequency interference, it will check whether there is co-frequency interference according to the number of cycles. If there is still co-frequency interference after reaching the number of cycles interference, the data information is stored in the processing module as historical data information, the wireless radio frequency module is turned off, and the processing module is adjusted to a dormant state.
对于确认信息接收模块2060,可设定所述无线射频模块接收所述确认返回信息的接收时间,在预设信息确认时间内接收到所述确认返回信息,可将所述确认返回信息向所述处理模块发送。For the confirmation information receiving module 2060, the receiving time of the wireless radio frequency module to receive the confirmation return information can be set, and the confirmation return information can be received within the preset information confirmation time, and the confirmation return information can be sent to the Processing module sends.
在一个实施例中,确认信息接收模块2060若在预设信息确认时间内未接收到所述确认返回信息,则将所述数据信息作为历史数据信息存储于所述处理模块,关闭所述无线射频模块,并将所述处理模块调整到休眠状态。In one embodiment, if the confirmation information receiving module 2060 does not receive the confirmation return information within the preset information confirmation time, the data information is stored in the processing module as historical data information, and the wireless radio frequency is turned off. module, and adjust the processing module to a dormant state.
优选地,所述预设信息确认时间可为100ms。Preferably, the preset information confirmation time may be 100ms.
在另一个实施例中,确认信息接收模块2060还可用于:In another embodiment, the confirmation information receiving module 2060 can also be used for:
在接收到所述确认返回信息,查询所述处理模块中是否存储有历史数据信息。After receiving the confirmation return information, query whether historical data information is stored in the processing module.
若是,则检测是否存在同频干扰。If yes, it is detected whether co-channel interference exists.
若不存在,则对传送到所述无线射频模块的数据信息进行调制发送。If not, modulate and send the data information transmitted to the wireless radio frequency module.
判断是否接收到所述历史数据信息的确认返回信息。It is judged whether the confirmation return information of the historical data information is received.
若接收到所述历史数据信息的确认返回信息,则关闭所述无线射频模块,并将所述处理模块调整到休眠状态。If the confirmation return information of the historical data information is received, the wireless radio frequency module is turned off, and the processing module is adjusted to a dormant state.
本实施例,将上次发送失败的信息在本次重发,可降低信息发送周期,进而降低功耗。In this embodiment, the information that failed to be sent last time is resent this time, which can reduce the information sending cycle and further reduce power consumption.
对于第一关闭模块2070,接收到所述确认返回信息,即完成所述数据信息的发送,关闭所述无线射频模块,并将所述处理模块调整到休眠状态,可降低功耗。For the first closing module 2070, upon receiving the confirmation return information, that is, the sending of the data information is completed, the wireless radio frequency module is turned off, and the processing module is adjusted to a dormant state, which can reduce power consumption.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410850541.3ACN104506645B (en) | 2014-12-30 | 2014-12-30 | Internet of things data acquisition end and its communication means and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410850541.3ACN104506645B (en) | 2014-12-30 | 2014-12-30 | Internet of things data acquisition end and its communication means and system |
| Publication Number | Publication Date |
|---|---|
| CN104506645A CN104506645A (en) | 2015-04-08 |
| CN104506645Btrue CN104506645B (en) | 2018-04-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410850541.3AActiveCN104506645B (en) | 2014-12-30 | 2014-12-30 | Internet of things data acquisition end and its communication means and system |
| Country | Link |
|---|---|
| CN (1) | CN104506645B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106899647A (en)* | 2015-12-18 | 2017-06-27 | 深圳市前海铂智科技有限公司 | A kind of length is away from the wireless main transmitting of Internet of things system and node and the main method of reseptance of node |
| CN110972242B (en)* | 2016-10-25 | 2022-11-25 | 罗伟坚 | Narrow-band Internet of things communication system based on honeycomb |
| CN110740435B (en)* | 2018-07-18 | 2023-04-07 | 北京小米松果电子有限公司 | Point-to-point communication method, device, storage medium and electronic equipment |
| CN109166345A (en)* | 2018-09-28 | 2019-01-08 | 杭州星外星科技有限公司 | A kind of parking stall vehicle detection and vehicle information management system and method |
| CN110231784A (en)* | 2019-05-06 | 2019-09-13 | 吉林大学 | A kind of intelligence livestock drinking-water management system |
| CN112672409A (en)* | 2020-12-31 | 2021-04-16 | 深圳市移轩通信有限公司 | 5G module power consumption reduction method, system and module |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201172588Y (en)* | 2007-12-17 | 2008-12-31 | 中国国际海运集装箱(集团)股份有限公司 | RFID reading and writing device for container hoisting equipment |
| CN202110558U (en)* | 2011-07-08 | 2012-01-11 | 张维 | E-tag recognition device and system |
| CN202523081U (en)* | 2011-12-29 | 2012-11-07 | 海能达通信股份有限公司 | RFID system, night patrol system, night patrol machine and label device |
| CN103218587A (en)* | 2013-04-11 | 2013-07-24 | 广东省电信规划设计院有限公司 | Proximity sensor, radio frequency identification (RFID) card reader and proximity sensing method |
| CN104036603A (en)* | 2014-06-04 | 2014-09-10 | 深圳市中兴新地通信器材有限公司 | Active RFID identity recognition device as well as energy-saving method and energy-saving security system thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9208306B2 (en)* | 2008-08-08 | 2015-12-08 | Assa Abloy Ab | Directional sensing mechanism and communications authentication |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201172588Y (en)* | 2007-12-17 | 2008-12-31 | 中国国际海运集装箱(集团)股份有限公司 | RFID reading and writing device for container hoisting equipment |
| CN202110558U (en)* | 2011-07-08 | 2012-01-11 | 张维 | E-tag recognition device and system |
| CN202523081U (en)* | 2011-12-29 | 2012-11-07 | 海能达通信股份有限公司 | RFID system, night patrol system, night patrol machine and label device |
| CN103218587A (en)* | 2013-04-11 | 2013-07-24 | 广东省电信规划设计院有限公司 | Proximity sensor, radio frequency identification (RFID) card reader and proximity sensing method |
| CN104036603A (en)* | 2014-06-04 | 2014-09-10 | 深圳市中兴新地通信器材有限公司 | Active RFID identity recognition device as well as energy-saving method and energy-saving security system thereof |
| Publication number | Publication date |
|---|---|
| CN104506645A (en) | 2015-04-08 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104506645B (en) | Internet of things data acquisition end and its communication means and system | |
| CN104737459B (en) | Device Detection Using Load Modulation in Near Field Communication | |
| US8909150B2 (en) | Method, apparatus, and computer program product for short-range wireless communication | |
| CN103441784B (en) | A kind of electronic hand loop device and electronics bracelet information transferring method | |
| JP5190568B2 (en) | Radio base station and radio communication system using the same | |
| US20100295663A1 (en) | Methods and systems for utilizing backscattering techniques in wireless applications | |
| CN106981900A (en) | Wireless charging method and device | |
| MX2016000500A (en) | Method and device for waking up mcu. | |
| CN203761107U (en) | Intelligent charger and system thereof | |
| RU2015133909A (en) | COMMUNICATION SYSTEM, ON-BOARD DEVICE, MOBILE DEVICE AND COMMUNICATION METHOD | |
| WO2019178824A1 (en) | Backscatter communication method and device | |
| RU2015149643A (en) | ENERGY TRANSMISSION DEVICE, ENERGY RECEIVING DEVICE, METHODS OF MANAGING THEM AND PROGRAM | |
| EP2811789A1 (en) | A communication method, a communications system, an access network node and a power limited node | |
| US20150137614A1 (en) | Non-contact type power supplying apparatus and non-contact type power supplying method | |
| US9030300B2 (en) | Operational parameters based on proximity | |
| WO2012129796A1 (en) | A method for configuring a wireless device and a wireless device and system | |
| CN204808560U (en) | Intelligence water sensor | |
| KR20210041481A (en) | Energy harvesting system, apparatus and method for performing wakeup | |
| CN105549406A (en) | Intelligent household induction system and application method | |
| KR102333814B1 (en) | Energy harvesting system, apparatus and method for performing long distance wakeup | |
| KR20120126658A (en) | Method and apparatus for avoiding noise in no contact charging system | |
| CN203825744U (en) | Smart alarm | |
| KR101072295B1 (en) | Sensor node with self-charging function and method for operating the same | |
| KR101498629B1 (en) | Sensor Tag | |
| KR101967860B1 (en) | System for batteryless tag data transmission under infrastructure communication environment |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |