CN108235411A - State method for handover control, device and terminal, Internet of things system - Google Patents
State method for handover control, device and terminal, Internet of things system Download PDFInfo
- Publication number
- CN108235411A CN108235411A CN201611160137.9A CN201611160137A CN108235411A CN 108235411 A CN108235411 A CN 108235411A CN 201611160137 A CN201611160137 A CN 201611160137A CN 108235411 A CN108235411 A CN 108235411A
- Authority
- CN
- China
- Prior art keywords
- state
- magnetic induction
- terminal
- signal
- magnetic field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供一种状态切换控制方法、装置和终端、物联网系统。该方法应用于包括磁感应传感器的终端,包括:当所述终端的能耗部件处于第一状态时,检测由于磁场源距离的改变,磁感应传感器触发的信号;根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令;其中所述第一状态为休眠状态和工作状态中的其中一种,所述第二状态为休眠状态和工作状态中的另一种。所述方法通过物联网设备上设置的磁感应传感器作为触发开关,能够采用较低功耗实现休眠状态和工作状态的切换。
The invention provides a state switching control method, device and terminal, and an Internet of Things system. The method is applied to a terminal including a magnetic induction sensor, and includes: when the energy consumption component of the terminal is in the first state, detecting a signal triggered by the magnetic induction sensor due to a change in the distance from a magnetic field source; The energy-consuming component outputs a switching control instruction for switching from the first state to the second state; wherein the first state is one of the dormant state and the working state, and the second state is the other of the dormant state and the working state A sort of. The method uses the magnetic induction sensor set on the Internet of Things device as a trigger switch, and can realize the switching between the sleep state and the working state with low power consumption.
Description
技术领域technical field
本发明涉及物联网技术领域,尤其是指一种状态切换控制方法、装置和终端、物联网系统。The present invention relates to the technical field of the Internet of Things, in particular to a state switching control method, device and terminal, and an Internet of Things system.
背景技术Background technique
在物联网行业中,绝大多数设备需要长时间电池供电运行,因此,设备的功耗问题成为行业发展的至关重要的因素。现有物联网终端设备采用休眠及周期性唤醒方式,使其长时间处于休眠状态而降低CPU运行时间达到节电效果。但此种方式在某些特定情景需求下仍会带来不必要的电池消耗,例如在周期唤醒尝试进行物体接近检测时,可能会产生多次无效周期唤醒,造成耗电量增加。In the Internet of Things industry, most devices need to run on battery power for a long time. Therefore, the power consumption of devices has become a crucial factor for the development of the industry. Existing Internet of Things terminal devices adopt sleep and periodic wake-up methods to make them sleep for a long time and reduce CPU running time to save power. However, this method will still cause unnecessary battery consumption under certain specific scenario requirements. For example, when periodic wake-up attempts to detect object proximity, multiple invalid periodic wake-ups may occur, resulting in increased power consumption.
发明内容Contents of the invention
本发明技术方案的目的是提供一种状态切换控制方法、装置和终端、物联网系统,采用较低功耗实现网络系统中的终端设备的状态切换目的。The purpose of the technical solution of the present invention is to provide a state switching control method, device, terminal, and Internet of Things system, which can realize the state switching purpose of terminal equipment in the network system with lower power consumption.
本发明提供一种状态切换控制方法,其中,应用于包括磁感应传感器的终端,所述方法包括:The present invention provides a state switching control method, which is applied to a terminal including a magnetic induction sensor, and the method includes:
当所述终端的能耗部件处于第一状态时,检测由于磁场源距离的改变,磁感应传感器触发的信号;When the energy consumption component of the terminal is in the first state, detecting a signal triggered by a magnetic induction sensor due to a change in distance from a magnetic field source;
根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令;Outputting a switching control instruction for switching from the first state to the second state to the energy consumption component of the terminal according to the signal;
其中所述第一状态为休眠状态和工作状态中的其中一种,所述第二状态为休眠状态和工作状态中的另一种。Wherein the first state is one of the dormant state and the working state, and the second state is the other of the dormant state and the working state.
优选地,上述的状态切换控制方法,其中,所述第一状态为休眠状态时,所述检测由于磁场源距离的改变,磁感应传感器触发的信号的步骤包括:Preferably, in the above-mentioned state switching control method, wherein, when the first state is a dormant state, the step of detecting the signal triggered by the magnetic induction sensor due to the change of the distance of the magnetic field source includes:
检测由于磁场源的接近,所述磁感应传感器触发的第一信号。Detecting a first signal triggered by the magneto-inductive sensor due to the proximity of a magnetic field source.
优选地,上述的状态切换控制方法,其中,所述第一状态为工作状态时,所述检测由于磁场源距离的改变,磁感应传感器触发的信号的步骤包括:Preferably, in the above-mentioned state switching control method, wherein, when the first state is the working state, the step of detecting the signal triggered by the magnetic induction sensor due to the change of the distance of the magnetic field source includes:
检测由于磁场源的远离,所述磁感应传感器触发的第二信号。Detecting a second signal triggered by the magnetic induction sensor due to the distance of the magnetic field source.
优选地,上述的状态切换控制方法,其中,所述根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令的步骤包括:Preferably, in the above-mentioned state switching control method, wherein the step of outputting a switching control instruction for switching from the first state to the second state to the energy-consuming component of the terminal according to the signal includes:
接收所述第二信号之后开始计时;start timing after receiving the second signal;
在计时达到预设时间之后,向所述能耗部件输出切换控制指令。After the timing reaches the preset time, a switching control instruction is output to the energy consumption component.
优选地,上述的状态切换控制方法,其中,当所述磁感应传感器包括内部设置有两个簧片的管体时,其中所述检测由于磁场源距离的改变,磁感应传感器触发的信号的步骤中,检测由于磁场源距离的改变,所述磁感应传感器的两个簧片在处于打开状态和闭合状态之间切换时触发的信号。Preferably, in the above state switching control method, when the magnetic induction sensor includes a tube body with two reeds inside, in the step of detecting the signal triggered by the magnetic induction sensor due to the change of the distance from the magnetic field source, A signal triggered when the two reeds of the magnetic inductive sensor switch between an open state and a closed state due to a change in distance from a magnetic field source is detected.
本发明还提供一种状态切换控制装置,其中,应用于包括磁感应传感器的终端,所述装置包括:The present invention also provides a state switching control device, which is applied to a terminal including a magnetic induction sensor, and the device includes:
检测模块,用于当所述终端的能耗部件处于第一状态时,检测由于磁场源距离的改变,磁感应传感器触发的信号;A detection module, configured to detect a signal triggered by a magnetic induction sensor due to a change in distance from a magnetic field source when the energy-consuming component of the terminal is in the first state;
指令触发模块,用于根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令;An instruction triggering module, configured to output a switching control instruction for switching from the first state to the second state to the energy-consuming component of the terminal according to the signal;
其中所述第一状态为休眠状态和工作状态中的其中一种,所述第二状态为休眠状态和工作状态中的另一种。Wherein the first state is one of the dormant state and the working state, and the second state is the other of the dormant state and the working state.
优选地,上述的状态切换控制装置,其中,所述第一状态为休眠状态时,所述检测模块包括:Preferably, the above-mentioned state switching control device, wherein, when the first state is a dormant state, the detection module includes:
第一检测单元,用于检测由于磁场源的接近,所述磁感应传感器触发的第一信号。The first detection unit is configured to detect the first signal triggered by the magnetic induction sensor due to the approach of the magnetic field source.
优选地,上述的状态切换控制装置,其中,所述第一状态为工作状态时,所述检测模块包括:Preferably, the above-mentioned state switching control device, wherein, when the first state is a working state, the detection module includes:
第二检测单元,用于检测由于磁场源的远离,所述磁感应传感器触发的第二信号。The second detection unit is configured to detect the second signal triggered by the magnetic induction sensor due to the distance from the magnetic field source.
优选地,上述的状态切换控制装置,其中,所述指令触发模块包括:Preferably, the above-mentioned state switching control device, wherein the instruction triggering module includes:
计时单元,用于接收所述第二信号之后开始计时;a timing unit, configured to start timing after receiving the second signal;
指令输出单元,用于在计时达到预设时间之后,向所述能耗部件输出切换控制指令。The command output unit is configured to output a switching control command to the energy-consuming component after the timing reaches a preset time.
优选地,上述的状态切换控制装置,其中,当所述磁感应传感器包括内部设置有两个簧片的管体时,所述检测模块具体用于,检测由于磁场源距离的改变,所述磁感应传感器的两个簧片在处于打开状态和闭合状态之间切换时触发的信号。Preferably, the above-mentioned state switching control device, wherein, when the magnetic induction sensor includes a tube with two reeds inside, the detection module is specifically used to detect that the magnetic induction sensor A signal that is triggered when the two reeds of a reed switch between the open and closed states.
本发明还提供一种终端,包括壳体、设置于壳体内部的能耗部件和安装于所述壳体上的磁感应传感器,其中,还包括如上任一项所述的状态切换控制装置。The present invention also provides a terminal, including a housing, an energy consumption component disposed inside the housing, and a magnetic induction sensor mounted on the housing, wherein the state switching control device as described in any one of the above items is also included.
优选地,上述的终端,其中,所述磁感应传感器包括内部设置有两个簧片的管体,其中当磁场源距离改变时,两个簧片能够在打开状态和闭合状态之间切换。Preferably, the above-mentioned terminal, wherein the magnetic induction sensor includes a tube with two reeds inside, wherein when the distance from the magnetic field source changes, the two reeds can be switched between an open state and a closed state.
本发明还提供一种物联网系统,其中,包括如上任一项所述的终端和设置有磁场源的运动部件。The present invention also provides an Internet of Things system, which includes the terminal described in any one of the above items and a moving part provided with a magnetic field source.
本发明具体实施例上述技术方案中的至少一个具有以下有益效果:At least one of the above technical solutions in specific embodiments of the present invention has the following beneficial effects:
所述状态切换控制方法利用磁场源作为触发源,终端上设置的磁感应传感器作为触发开关,实现终端在休眠状态和工作状态之间的切换,由于磁感应传感器可以为无源部件,因此能够采用较低功耗实现休眠状态和工作状态的切换。The state switching control method uses a magnetic field source as a trigger source, and a magnetic induction sensor provided on the terminal as a trigger switch to realize switching between the terminal in a dormant state and an operating state. Since the magnetic induction sensor can be a passive component, it can adopt a lower Power consumption realizes switching between sleep state and working state.
附图说明Description of drawings
图1表示本发明实施例所述状态切换控制方法的流程示意图;FIG. 1 shows a schematic flow diagram of a state switching control method according to an embodiment of the present invention;
图2表示采用本发明实施例所述状态切换控制方法的物联网设备,所设置磁感应传感器的结构示意图;FIG. 2 shows a schematic structural diagram of a magnetic induction sensor provided for an Internet of Things device adopting the state switching control method described in the embodiment of the present invention;
图3表示本发明实施例所述状态切换控制装置的结构示意图。Fig. 3 shows a schematic structural diagram of a state switching control device according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的实施例要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
本发明实施例所述状态切换控制方法,应用于包括磁感应传感器的物联网设备,如图1所示,所述方法包括:The state switching control method described in the embodiment of the present invention is applied to an Internet of Things device including a magnetic induction sensor. As shown in FIG. 1 , the method includes:
步骤S110,当所述终端的能耗部件处于第一状态时,检测由于磁场源距离的改变,磁感应传感器触发的信号;Step S110, when the energy-consuming component of the terminal is in the first state, detecting a signal triggered by a magnetic induction sensor due to a change in the distance from a magnetic field source;
步骤S120,根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令;Step S120, outputting, according to the signal, a switching control command for switching from the first state to the second state to the energy-consuming component of the terminal;
其中所述第一状态为休眠状态和工作状态中的其中一种,所述第二状态为休眠状态和工作状态中的另一种。Wherein the first state is one of the dormant state and the working state, and the second state is the other of the dormant state and the working state.
所述状态切换控制方法利用磁场源作为触发源,终端上设置的磁感应传感器作为触发开关,实现终端在休眠状态和工作状态之间的切换,由于磁感应传感器可以为无源部件,因此能够采用较低功耗实现休眠状态和工作状态的切换。The state switching control method uses a magnetic field source as a trigger source, and a magnetic induction sensor provided on the terminal as a trigger switch to realize switching between the terminal in a dormant state and an operating state. Since the magnetic induction sensor can be a passive component, it can adopt a lower Power consumption realizes switching between sleep state and working state.
较佳地,上述的步骤S110中,所述第一状态为休眠状态,其中检测由于磁场源距离的改变,磁感应传感器触发的信号的步骤包括:Preferably, in the above step S110, the first state is a dormant state, wherein the step of detecting the signal triggered by the magnetic induction sensor due to the change of the distance of the magnetic field source includes:
检测由于磁场源的接近,所述磁感应传感器触发的第一信号。Detecting a first signal triggered by the magneto-inductive sensor due to the proximity of a magnetic field source.
其中,步骤S120,根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令包括:Wherein, step S120, according to the signal, outputting a switch control instruction for switching from the first state to the second state to the energy consumption component of the terminal includes:
根据所述第一信号,向终端的能耗部件输出由休眠状态切换至工作状态的切换控制指令,也即为唤醒控制指令,使终端唤醒。According to the first signal, a switch control instruction for switching from a dormant state to a working state, that is, a wake-up control instruction, is output to the energy-consuming component of the terminal to wake up the terminal.
基于上述方式,当终端处于休眠状态时,根据磁场源的触发实现终端的唤醒,从而完成非定期唤醒任务,相较于现有技术对终端的多次无效地周期性唤醒,本发明所述方法能够采用较低功耗达到有效唤醒终端的目的。Based on the above method, when the terminal is in a dormant state, the terminal is awakened according to the trigger of the magnetic field source, thereby completing the non-periodic wakeup task. Compared with the multiple invalid periodic wakeups of the terminal in the prior art, the method of the present invention The purpose of effectively waking up the terminal can be achieved by using lower power consumption.
较佳地,当第一状态为休眠状态,第二状态为工作状态时,在上述步骤S120之后,所述方法还包括:Preferably, when the first state is the dormant state and the second state is the working state, after the above step S120, the method further includes:
检测由于磁场源远离,所述磁感应传感器触发的第二信号;detecting a second signal triggered by the magneto-inductive sensor due to the distance from the source of the magnetic field;
根据所述第二信号,向所述能耗部件输出切换控制指令,也即为休眠指令,使能耗部件根据切换控制指令,进入休眠状态。According to the second signal, a switch control instruction, that is, a sleep instruction, is output to the energy-consuming component, so that the energy-consuming component enters a sleep state according to the switch control instruction.
基于上述的步骤,终端上设置的磁感应传感器作为触发开关,在休眠状态下根据磁场源的接近作为触发实现物终端的唤醒之后,又根据磁场源的远离作为触发使终端再次进入休眠状态。磁感应传感器作为开关,用于控制终端的唤醒与休眠,而且磁感应传感器利用磁场源的接近和远离作为终端的唤醒与休眠触发时,可以为无源部件,因此能够采用较低功耗达到有效唤醒终端的目的。Based on the above steps, the magnetic induction sensor set on the terminal is used as a trigger switch. In the sleep state, the proximity of the magnetic field source is used as a trigger to wake up the object terminal, and the distance of the magnetic field source is used as a trigger to make the terminal enter the sleep state again. The magnetic induction sensor is used as a switch to control the wake-up and sleep of the terminal, and when the magnetic induction sensor uses the approach and distance of the magnetic field source as the trigger for the wake-up and sleep of the terminal, it can be a passive component, so it can use lower power consumption to effectively wake up the terminal. the goal of.
另外,较佳地,在上述根据所述第二信号,向所述能耗部件输出由第一状态切换至第二状态的切换控制指令的步骤之后还包括:In addition, preferably, after the above-mentioned step of outputting a switch control instruction for switching from the first state to the second state to the energy-consuming component according to the second signal, it further includes:
接收所述第二信号之后开始计时;start timing after receiving the second signal;
在计时达到预设时间之后,向所述能耗部件输出切换控制指令。After the timing reaches the preset time, a switching control instruction is output to the energy consumption component.
采用上述步骤,也即在接收到磁感应传感器触发的第二信号的预设时间之后,再向能耗部件输出休眠控制指令,以保终端数据接收和发送任务的完成。By adopting the above steps, that is, after receiving the second signal triggered by the magnetic induction sensor for a preset time, the dormancy control command is output to the energy-consuming component, so as to ensure the completion of the terminal data receiving and sending tasks.
以上以第一状态为休眠状态,第二状态为工作状态,对本发明实施例所述状态切换控制方法中,通过磁场源作为触发源,终端上设置的磁感应传感器作为触发开关,实现终端在休眠状态和工作状态之间的切换的具体过程进行了描述。当然,第一状态可以为工作状态,第二状态可以为休眠状态,当第一状态为工作状态时,步骤S110,检测由于磁场源距离的改变,磁感应传感器触发的信号的步骤包括:In the above, the first state is the dormant state, and the second state is the working state. In the state switching control method described in the embodiment of the present invention, the magnetic field source is used as the trigger source, and the magnetic induction sensor provided on the terminal is used as the trigger switch to realize the terminal in the dormant state. And the specific process of switching between working states is described. Of course, the first state can be the working state, and the second state can be the dormant state. When the first state is the working state, step S110, the step of detecting the signal triggered by the magnetic induction sensor due to the change of the distance of the magnetic field source includes:
检测由于磁场源的远离,所述磁感应传感器触发的第二信号。Detecting a second signal triggered by the magnetic induction sensor due to the distance of the magnetic field source.
步骤S120时,根据第二信号,向终端的能耗部件输出由工作状态切换至休眠状态的切换控制指令,也即进入休眠。In step S120, according to the second signal, a switching control instruction for switching from the working state to the sleeping state is output to the energy-consuming component of the terminal, that is, entering the sleeping state.
也即,通过上述的方式,通过磁场源的远离时的磁场强度的变化,使终端进入休眠。当然,所述方法还包括:That is, through the above-mentioned manner, the terminal enters sleep mode through the change of the magnetic field intensity when the magnetic field source is far away. Of course, the method also includes:
检测由于磁场源的接近,所述磁感应传感器触发的第一信号;detecting a first signal triggered by said magneto-inductive sensor due to the proximity of a magnetic field source;
根据第一信号,向终端的能耗部件输出由第二状态(休眠状态)切换至第一状态(唤醒状态)的切换控制指令,也即唤醒。According to the first signal, a switching control instruction for switching from the second state (sleep state) to the first state (awake state), that is, wake-up, is output to the energy-consuming component of the terminal.
上述过程以磁场源的接近,控制终端从休眠状态进入工作状态,磁场源的远离,控制终端从工作状态进入休眠状态为例进行了说明。当然,上述控制过程也可以相反,也即以磁场源的接近,控制终端从工作状态进入休眠状态,以磁场源的远离,控制终端从休眠状态进入工作状态,具体工作过程可以参阅以上的描述,针对该实施例在此不再详细说明。The above process is described by taking the approach of the magnetic field source, the control terminal enters the working state from the dormant state, and the distance from the magnetic field source, and the control terminal enters the dormant state from the working state as an example. Of course, the above control process can also be reversed, that is, the control terminal enters the sleep state from the working state when the magnetic field source is close, and the control terminal enters the working state from the sleep state when the magnetic field source is far away. The specific working process can refer to the above description. This embodiment will not be described in detail here.
另外,本发明实施例所述状态切换控制方法中,终端可以为一物联网设备,终端的能耗部件包括中央处理器CPU、电源转换器件、内存、显示器和其他外围部件。In addition, in the state switching control method described in the embodiment of the present invention, the terminal may be an Internet of Things device, and the energy consumption components of the terminal include a central processing unit CPU, a power conversion device, a memory, a display and other peripheral components.
另一方面,终端所设置磁感应传感器可以形成为类似干簧继电器的结构,包括内部设置有两个簧片的管体,如图2所示结构磁感应传感器的内部结构示意图。参阅图2,磁感应传感器包括充有惰性气体(如氮、氦等)或真空的管体1和设置于管体1内的两个簧片2,较佳地,管体1采用玻璃材料制成,两个簧片2由具有高导磁率、高导电和低矫顽力的合金材料制成。两个簧片2在管体1的内部平行封装,在端部具有重叠部分,形成为触点,并留有一定间隙,构成为常开的触点。此外,管体1上设置分别连通两个簧片2的引线3,用于实现两个簧片2相连接或分离的状态检测。On the other hand, the magnetic induction sensor installed on the terminal can be formed into a structure similar to a reed relay, including a tube body with two reeds inside, as shown in FIG. 2 , a schematic diagram of the internal structure of the magnetic induction sensor. Referring to Fig. 2, the magnetic induction sensor includes a tube body 1 filled with an inert gas (such as nitrogen, helium, etc.) or vacuum and two reeds 2 arranged in the tube body 1, preferably, the tube body 1 is made of glass material , The two reeds 2 are made of alloy material with high magnetic permeability, high electrical conductivity and low coercive force. The two reeds 2 are packaged in parallel inside the tube body 1 , have overlapped parts at the ends, and form contacts with a certain gap, forming normally open contacts. In addition, the tube body 1 is provided with lead wires 3 respectively connected to the two reeds 2 for realizing the state detection of the connection or separation of the two reeds 2 .
当磁场源(如设置有永久磁铁的部件)靠近管体时,两个簧片2的端点会感应出极性相反的磁极。由于磁极极性相反而相互吸引,当吸引的磁力超过簧片的抗力时,两个簧片2的分离端点便会吸合;当磁力减小到一定值时,在两个簧片2抗力的作用下,两个簧片2相吸合的端点又恢复到初始状态。When the magnetic field source (such as a component with a permanent magnet) is close to the tube body, the ends of the two reeds 2 will induce magnetic poles with opposite polarities. Due to the opposite polarity of the magnetic poles and mutual attraction, when the attracted magnetic force exceeds the resistance of the reed, the separation ends of the two reeds 2 will attract; Under the action, the end points of the two reeds 2 are restored to the initial state.
上述结构的磁感应传感器具有体积小、惯性小、动作快和无功耗等优点。The magnetic induction sensor with the above structure has the advantages of small size, small inertia, fast action and no power consumption.
本发明实施例所述状态控制方法,通过采用上述磁感应传感器,当以磁场源的接近,控制终端从休眠状态进入工作状态,磁场源的远离,控制终端从工作状态进入休眠状态时,终端的能耗部件处于休眠状态,一设置磁场源的部件接近,且使磁感应传感器在磁场源所产生磁场中,磁场强度足够大时,两个簧片2被磁化后所产生的磁性吸引力超过簧片的抗力,两个簧片2的分离端点便会吸合,两个簧片2之间由断开状态变化至导通状态,通过引线3检测到两个簧片2的这一状态改变的信号时,则可以向能耗部件输出唤醒控制信号,使终端的能耗部件唤醒;当设置磁场源的部件远离,磁感应传感器所处磁场的磁场强度足够小时,利用两个簧片2自身的弹力恢复至初始状态,也即两个簧片2的端点恢复分离,两个簧片2之间由导通状态变化至断开状态,通过引线3检测到两个簧片2的这一状态改变的信号时,则可以向能耗部件输出休眠控制信号,使终端的能耗部件重新进入休眠。In the state control method described in the embodiment of the present invention, by using the above-mentioned magnetic induction sensor, when the magnetic field source approaches, the control terminal enters the working state from the dormant state, and when the magnetic field source moves away, the control terminal enters the dormant state from the working state, the performance of the terminal The consumption part is in a dormant state, and a part with a magnetic field source is close to it, and the magnetic induction sensor is in the magnetic field generated by the magnetic field source. When the magnetic field strength is large enough, the magnetic attraction force generated by the two reeds 2 after being magnetized exceeds the reed. Resistance, the separation end points of the two reeds 2 will be attracted, and the two reeds 2 will change from the disconnected state to the conducting state. When the signal of the state change of the two reeds 2 is detected through the lead wire 3 , then a wake-up control signal can be output to the energy-consuming part to wake up the energy-consuming part of the terminal; when the part where the magnetic field source is set is far away, the magnetic field strength of the magnetic field where the magnetic induction sensor is located is small enough, and the elastic force of the two reeds 2 can be used to restore to The initial state, that is, the ends of the two reeds 2 are restored to separate, and the two reeds 2 are changed from the conduction state to the disconnection state. When the signal of the state change of the two reeds 2 is detected through the lead wire 3 , the dormancy control signal may be output to the energy consumption component, so that the energy consumption component of the terminal enters dormancy again.
基于磁感应传感器的上述设置结构,图1所示步骤S110,所述检测由于磁场源距离的改变,磁感应传感器触发的信号的步骤中,当第一状态为休眠状态,终端处于休眠状态时,磁感应传感器的两个簧片处于打开状态时,检测由于磁场源接近,所述磁感应传感器的两个簧片由处于打开状态变化至处于闭合状态时触发的信号,可以作为使终端唤醒的触发信号,基于该信号,可以向能耗部件输出用于唤醒的切换控制指令。Based on the above arrangement structure of the magnetic induction sensor, step S110 shown in FIG. When the two reeds of the magnetic induction sensor are in the open state, the signal triggered when the two reeds of the magnetic induction sensor changes from the open state to the closed state due to the proximity of the magnetic field source can be used as a trigger signal to wake up the terminal, based on this The signal can output switching control instructions for waking up to the energy-consuming components.
基于此,当第一状态为工作状态,终端处于工作状态时,磁感应传感器的两个簧片处于关闭状态时,检测由于磁场源远离,所述磁感应传感器的两个簧片由处于闭合状态变化至处于打开状态时触发的信号,可以作为使终端进入休眠状态的切换控制指令。Based on this, when the first state is the working state, when the terminal is in the working state, when the two reeds of the magnetic induction sensor are in the closed state, it is detected that the two reeds of the magnetic induction sensor change from being in the closed state to The signal triggered when it is in the open state can be used as a switching control instruction to make the terminal enter the dormant state.
采用本发明实施例所述状态切换控制方法,通过设置磁场源的运动物体,可以控制终端的休眠与唤醒,完成非定期唤醒任务,以降低电池功耗。By adopting the state switching control method described in the embodiment of the present invention, by setting the moving object of the magnetic field source, the dormancy and wake-up of the terminal can be controlled, and non-periodical wake-up tasks can be completed to reduce battery power consumption.
本发明具体实施例另一方面还提供一种状态切换控制装置,应用于包括磁感应传感器的终端,如图3所示,所述装置包括:On the other hand, specific embodiments of the present invention also provide a state switching control device, which is applied to a terminal including a magnetic induction sensor. As shown in FIG. 3 , the device includes:
检测模块,用于当所述终端的能耗部件处于第一状态时,检测由于磁场源距离的改变,磁感应传感器触发的信号;A detection module, configured to detect a signal triggered by a magnetic induction sensor due to a change in distance from a magnetic field source when the energy-consuming component of the terminal is in the first state;
指令触发模块,用于根据所述信号,向所述终端的能耗部件输出由第一状态切换至第二状态的切换控制指令;An instruction triggering module, configured to output a switching control instruction for switching from the first state to the second state to the energy-consuming component of the terminal according to the signal;
其中所述第一状态为休眠状态和工作状态中的其中一种,所述第二状态为休眠状态和工作状态中的另一种。Wherein the first state is one of the dormant state and the working state, and the second state is the other of the dormant state and the working state.
采用上述结构的状态切换控制装置,利用磁场源作为触发源,终端上设置的磁感应传感器作为触发开关,实现终端在休眠状态和工作状态之间的切换,由于磁感应传感器可以为无源部件,因此能够采用较低功耗实现休眠状态和工作状态的切换。The state switching control device with the above structure uses the magnetic field source as the trigger source, and the magnetic induction sensor provided on the terminal as the trigger switch to realize the switching between the dormant state and the working state of the terminal. Since the magnetic induction sensor can be a passive component, it can Use lower power consumption to realize switching between sleep state and working state.
较佳地,如图3所示,所述第一状态为休眠状态时,所述检测模块包括:Preferably, as shown in FIG. 3, when the first state is a dormant state, the detection module includes:
第一检测单元,用于检测由于磁场源的接近,所述磁感应传感器触发的第一信号。The first detection unit is configured to detect the first signal triggered by the magnetic induction sensor due to the approach of the magnetic field source.
通过第一检测单元,指令触发模块根据所述第一信号,向终端的能耗部件输出由休眠状态切换至工作状态的切换控制指令,也即为唤醒控制指令,使终端唤醒。Through the first detection unit, the instruction triggering module outputs a switching control instruction for switching from a dormant state to a working state to the energy-consuming components of the terminal according to the first signal, that is, a wake-up control instruction to wake up the terminal.
本发明具体实施例所述状态切换控制装置,通过终端上设置的磁感应传感器作为触发开关,在休眠状态下根据磁场源的触发实现终端的唤醒,完成非定期唤醒任务,相较于现有技术多次无效地周期性唤醒,上述结构的装置能够采用较低功耗达到有效唤醒物联网设备目的。The state switching control device described in the specific embodiment of the present invention uses the magnetic induction sensor provided on the terminal as a trigger switch to wake up the terminal according to the trigger of the magnetic field source in the dormant state, and completes the non-periodical wake-up task. Compared with the prior art, it is much more Ineffective periodic wake-up, the device with the above structure can use lower power consumption to effectively wake up the IoT device.
较佳地,进一步参阅图3,所述第一状态为工作状态时,所述检测模块包括:Preferably, referring to Fig. 3 further, when the first state is the working state, the detection module includes:
第二检测单元,用于检测由于磁场源的远离,所述磁感应传感器触发的第二信号。The second detection unit is configured to detect the second signal triggered by the magnetic induction sensor due to the distance from the magnetic field source.
根据第二信号,指令触发模块向所述能耗部件输出切换控制指令,也即为休眠指令,使能耗部件根据切换控制指令,进入休眠状态。According to the second signal, the instruction triggering module outputs a switching control instruction to the energy-consuming component, that is, a dormancy instruction, so that the energy-consuming component enters a dormant state according to the switching control instruction.
当然本发明实施例所述状态切换控制装置,可以同时包括第一检测单元和第二检测单元,这样终端上设置的磁感应传感器作为触发开关,在休眠状态下根据磁场源的接近作为触发实现物联网设备的唤醒之后,又根据磁场源的远离作为触发使物联网设备再次进入休眠状态。Of course, the state switching control device in the embodiment of the present invention may include a first detection unit and a second detection unit at the same time, so that the magnetic induction sensor provided on the terminal acts as a trigger switch, and in the sleep state, the proximity of the magnetic field source is used as a trigger to realize the Internet of Things After the wake-up of the device, the Internet of Things device enters the dormant state again according to the distance from the magnetic field source as a trigger.
进一步,较佳地,所述指令触发模块包括:Further, preferably, the instruction trigger module includes:
计时单元,用于接收第二信号之后开始计时;a timing unit, configured to start timing after receiving the second signal;
指令输出单元,用于在计时达到预设时间之后,向所述能耗部件输出切换控制指令。The command output unit is configured to output a switching control command to the energy-consuming component after the timing reaches a preset time.
较佳地,当所述磁感应传感器包括内部设置有两个簧片的管体时,检测模块具体用于,检测由于磁场源距离的改变,所述磁感应传感器的两个簧片在处于打开状态和闭合状态之间切换时触发的信号。Preferably, when the magnetic induction sensor includes a tube body with two reeds inside, the detection module is specifically used to detect whether the two reeds of the magnetic induction sensor are in the open state and Signal that fires when switching between closed states.
本发明实施例所述状态切换控制装置中,终端所设置磁感应传感器可以形成为类似干簧继电器的结构,包括内部设置有两个簧片的管体,具体结构和工作原理可以结合图2并参阅以上方法中的描述,在此不再赘述。In the state switching control device described in the embodiment of the present invention, the magnetic induction sensor provided at the terminal can be formed into a structure similar to a reed relay, including a tube body with two reeds inside. The specific structure and working principle can be referred to in conjunction with Figure 2 The description in the above method will not be repeated here.
采用上述结构的所述状态切换控制装置,磁感应传感器为无源部件,作为开关,用于控制终端的唤醒与休眠,能够采用较低功耗达到有效唤醒终端的目的。With the state switching control device with the above structure, the magnetic induction sensor is a passive component, used as a switch to control the wake-up and sleep of the terminal, and can achieve the purpose of effectively waking up the terminal with low power consumption.
本发明实施例另一方面还提供一种终端,包括壳体、设置于壳体内部的能耗部件和安装于所述壳体上的磁感应传感器,其中还包括如上任一项所述的状态切换控制装置。On the other hand, the embodiments of the present invention also provide a terminal, including a housing, an energy consumption component arranged inside the housing, and a magnetic induction sensor installed on the housing, which also includes the state switching described in any one of the above control device.
具体地,磁感应传感器包括内部设置有两个簧片的管体,其中当磁场源的距离改变时两个簧片能够在处于打开状态和处于闭合的状态之间切换。其中磁感应传感器的具体结构和工作原理可以结合图2并参阅以上方法中的描述,在此不再赘述。Specifically, the magnetic induction sensor includes a tube body with two reeds inside, wherein the two reeds can switch between an open state and a closed state when the distance of the magnetic field source changes. The specific structure and working principle of the magnetic induction sensor can be referred to the description in the above method with reference to FIG. 2 , and will not be repeated here.
上述结构的终端可以为物联网设备,因此本发明实施例另一方面还提供一种物联网系统,包括如上结构的终端和设置有磁场源的运动部件,通过运动部件使终端上的磁感应传感器所处磁场变化,磁感应传感器作为开关,控制终端的休眠与唤醒。The terminal with the above structure can be an Internet of Things device. Therefore, another aspect of the embodiment of the present invention provides an Internet of Things system, including the terminal with the above structure and a moving part provided with a magnetic field source. The moving part makes the magnetic induction sensor on the terminal When the magnetic field changes, the magnetic induction sensor acts as a switch to control the sleep and wake-up of the terminal.
上述结构的物联网系统利用磁感应传感器作为物联网设备触发外部中断源或供电开关,取代现有技术无效的多次周期性唤醒,完成非定期唤醒任务,从而降低电池消耗。The Internet of Things system with the above structure uses a magnetic induction sensor as an Internet of Things device to trigger an external interrupt source or a power supply switch, replacing the multiple periodic wake-ups that are invalid in the prior art, and completing non-periodical wake-up tasks, thereby reducing battery consumption.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611160137.9A CN108235411A (en) | 2016-12-15 | 2016-12-15 | State method for handover control, device and terminal, Internet of things system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611160137.9A CN108235411A (en) | 2016-12-15 | 2016-12-15 | State method for handover control, device and terminal, Internet of things system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108235411A true CN108235411A (en) | 2018-06-29 |
Family
ID=62650501
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611160137.9A Pending CN108235411A (en) | 2016-12-15 | 2016-12-15 | State method for handover control, device and terminal, Internet of things system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108235411A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110096127A (en) * | 2019-05-20 | 2019-08-06 | 中山市路讯智能交通科技有限公司 | A kind of switching device and its control method for wireless vehicle detector |
| CN110171435A (en) * | 2019-04-23 | 2019-08-27 | 中车太原机车车辆有限公司 | A kind of hopper wagon bottom door locking states monitoring system |
| CN111381569A (en) * | 2018-12-29 | 2020-07-07 | 苏州宝时得电动工具有限公司 | Automatic working system and control method thereof, door control equipment and self-moving equipment |
| CN112732069A (en) * | 2021-02-20 | 2021-04-30 | 上海创感传感技术有限公司 | Electronic equipment state modification method and device |
| CN114132513A (en) * | 2021-12-08 | 2022-03-04 | 中国南方电网有限责任公司超高压输电公司大理局 | Anti-electromagnetic interference method and device for unmanned aerial vehicle, computer equipment and storage medium |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102523020A (en) * | 2011-09-23 | 2012-06-27 | 高飞 | Electromagnetic awakening method without power supply and implementing device |
| CN102638615A (en) * | 2012-03-28 | 2012-08-15 | 惠州Tcl移动通信有限公司 | Cellphone and control method thereof |
| CN202523081U (en) * | 2011-12-29 | 2012-11-07 | 海能达通信股份有限公司 | RFID system, night patrol system, night patrol machine and label device |
| CN103801001A (en) * | 2012-11-14 | 2014-05-21 | 苏州景昱医疗器械有限公司 | Energy-saving built-in active electronic device and system and wireless communication method |
| CN104049718A (en) * | 2014-06-23 | 2014-09-17 | 联想(北京)有限公司 | Information processing method and electronic device |
| CN104319830A (en) * | 2014-10-09 | 2015-01-28 | 深圳市安普盛科技有限公司 | Near field communication (NFC)-based charging system and method |
| CN104640184A (en) * | 2015-02-15 | 2015-05-20 | 广东欧珀移动通信有限公司 | A screen wake-up method and device |
| US20150253287A1 (en) * | 2014-03-10 | 2015-09-10 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Computer control system and method |
| CN104932622A (en) * | 2015-06-30 | 2015-09-23 | 青岛海信移动通信技术股份有限公司 | Mobile terminal protective sleeve and mobile terminal system |
| CN105142965A (en) * | 2013-04-26 | 2015-12-09 | 丰田自动车株式会社 | Power receiving device, parking assist system, vehicle, and power transfer system |
-
2016
- 2016-12-15 CN CN201611160137.9A patent/CN108235411A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102523020A (en) * | 2011-09-23 | 2012-06-27 | 高飞 | Electromagnetic awakening method without power supply and implementing device |
| CN202523081U (en) * | 2011-12-29 | 2012-11-07 | 海能达通信股份有限公司 | RFID system, night patrol system, night patrol machine and label device |
| CN102638615A (en) * | 2012-03-28 | 2012-08-15 | 惠州Tcl移动通信有限公司 | Cellphone and control method thereof |
| CN103801001A (en) * | 2012-11-14 | 2014-05-21 | 苏州景昱医疗器械有限公司 | Energy-saving built-in active electronic device and system and wireless communication method |
| CN105142965A (en) * | 2013-04-26 | 2015-12-09 | 丰田自动车株式会社 | Power receiving device, parking assist system, vehicle, and power transfer system |
| US20150253287A1 (en) * | 2014-03-10 | 2015-09-10 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Computer control system and method |
| CN104049718A (en) * | 2014-06-23 | 2014-09-17 | 联想(北京)有限公司 | Information processing method and electronic device |
| CN104319830A (en) * | 2014-10-09 | 2015-01-28 | 深圳市安普盛科技有限公司 | Near field communication (NFC)-based charging system and method |
| CN104640184A (en) * | 2015-02-15 | 2015-05-20 | 广东欧珀移动通信有限公司 | A screen wake-up method and device |
| CN104932622A (en) * | 2015-06-30 | 2015-09-23 | 青岛海信移动通信技术股份有限公司 | Mobile terminal protective sleeve and mobile terminal system |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111381569A (en) * | 2018-12-29 | 2020-07-07 | 苏州宝时得电动工具有限公司 | Automatic working system and control method thereof, door control equipment and self-moving equipment |
| CN110171435A (en) * | 2019-04-23 | 2019-08-27 | 中车太原机车车辆有限公司 | A kind of hopper wagon bottom door locking states monitoring system |
| CN110096127A (en) * | 2019-05-20 | 2019-08-06 | 中山市路讯智能交通科技有限公司 | A kind of switching device and its control method for wireless vehicle detector |
| CN112732069A (en) * | 2021-02-20 | 2021-04-30 | 上海创感传感技术有限公司 | Electronic equipment state modification method and device |
| CN114132513A (en) * | 2021-12-08 | 2022-03-04 | 中国南方电网有限责任公司超高压输电公司大理局 | Anti-electromagnetic interference method and device for unmanned aerial vehicle, computer equipment and storage medium |
| CN114132513B (en) * | 2021-12-08 | 2024-04-19 | 中国南方电网有限责任公司超高压输电公司大理局 | Unmanned aerial vehicle anti-electromagnetic interference method, unmanned aerial vehicle anti-electromagnetic interference device, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108235411A (en) | State method for handover control, device and terminal, Internet of things system | |
| US20130278081A1 (en) | Accelerometer-Controlled Master Power Switch for Electronic Devices | |
| JP2013511953A5 (en) | ||
| CN107591859B (en) | A kind of wireless charging receiving controller protection method and device | |
| CN110096127A (en) | A kind of switching device and its control method for wireless vehicle detector | |
| CN104374162A (en) | Refrigerator control device based on Internet of Things | |
| CN104297675A (en) | All-state monitoring apparatus for opening and closing of circuit breaker | |
| CN101673640B (en) | Bistable contactor driving circuit | |
| CN209339748U (en) | Entrance guard device | |
| CN203289394U (en) | A switch circuit and a communication power supply | |
| US7564693B2 (en) | Power saving wake-up device for wireless mouse | |
| CN204479176U (en) | Vibration detector | |
| WO2020172923A1 (en) | Power distribution control device, power distribution control method, and wireless power distribution control system and method | |
| CN204760326U (en) | Nonpolarity direct current contactor | |
| CN204652345U (en) | A kind of novel switched amount input circuit | |
| CN204399110U (en) | A kind of car tracing device that automatically can send dismounting alarm message | |
| CN105676676A (en) | Physical isolation gap management system controller | |
| CN204614131U (en) | A WIFI door magnetic alarm system | |
| CN205595026U (en) | Energy -conserving LED projection advertisement machine | |
| CN204576173U (en) | Device controller | |
| CN103439921B (en) | Controlled in wireless door-inhale system and method for work | |
| CN205303218U (en) | Electromagnetic switch | |
| CN222673368U (en) | Electric shock prevention plug and power generation system | |
| CN206805764U (en) | A kind of remote control | |
| CN110829109A (en) | Intelligent socket based on NB-IOT network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |