CN105737789A - 一种上下开合式钱包的打开检测方法 - Google Patents

一种上下开合式钱包的打开检测方法 Download PDF

Info

Publication number
CN105737789A
CN105737789A CN201610083756.6A CN201610083756A CN105737789A CN 105737789 A CN105737789 A CN 105737789A CN 201610083756 A CN201610083756 A CN 201610083756A CN 105737789 A CN105737789 A CN 105737789A
Authority
CN
China
Prior art keywords
wallet
master
slave
detection method
acceleration
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
Application number
CN201610083756.6A
Other languages
English (en)
Inventor
胡俊锋
潘亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Qi Education Technology Co., Ltd.
Original Assignee
Suzhou Tongyou Information Technology Co Ltd
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 Suzhou Tongyou Information Technology Co Ltd filed Critical Suzhou Tongyou Information Technology Co Ltd
Priority to CN201610083756.6A priority Critical patent/CN105737789A/zh
Publication of CN105737789A publication Critical patent/CN105737789A/zh
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/22Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring angles or tapers; for testing the alignment of axes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Purses, Travelling Bags, Baskets, Or Suitcases (AREA)

Abstract

本发明涉及传感器技术领域,具体公开了一种基于加速度传感器检测的上下开合式钱包的检测打开方法,该方法为:在钱包的上下开合盖上分别设置有主、从加速度传感器,主、从加速度传感器在钱包闭合时有一个轴方向一致,且与钱包上下面垂直;每个周期同时读取主、从加速度传感器的加速度值;设置一个阀值,0<阀值<180,将主、从加速传感器方向一致的单轴加速度数值相减取绝对值;将绝对值的结果记录保存在队列中;判断队列是否有连续N次超过阀值,N大于1;如果结果为否,重复每个周期读取加速度值的步骤,如果结果为是,则判断钱包打开。本发明成本低,适用于各种不同皮质的钱包,且对银行卡无影响。

Description

一种上下开合式钱包的打开检测方法
技术领域:
本发明涉及传感器技术领域,具体涉及一种基于加速度传感器检测的上下开合式钱包的检测打开方法。
背景技术:
钱包是我们日常生活中最重要的小包,好的钱包既适合自己的身份,又体现自己的个性。随着科技的发展,新一代信息技术物联网的出现,智能钱包产品会越来越多。
各种智能钱包产品,工程师在开发时都有一些无法绕开的难点,比如要检测钱包打开,怎样在不同皮质智能钱包产品上实现检测打开,传统方法是采用霍尔感应器件、光感器件、红外感应器件等方法。但是已有方法都有或大或小的各种问题,比如霍尔感应器件一端是铁片、一端是磁铁,磁铁的磁性越强检测打开状态效果越好,但对银行卡的损坏越严重,否则反之。若使用光感器件、红外感应器件则需要在钱包内测开光检测孔,钱包有复杂的内侧结构和装配工序,这两种方法明显不合适。
发明内容:
针对上述问题,本发明的目的在于提供一种上下开合式钱包的打开检测方法,该方法简单有效,能适用不同皮质的智能钱包且对钱包里的银行卡无任何不良影响。
本发明通过以下的技术方案来实现的:
一种上下开合式钱包的打开检测方法,所述方法包括:
在所述钱包的上下开合盖上分别设置有主、从加速度传感器,主、从加速度传感器在钱包闭合时有一个轴方向一致,且该轴与钱包上下面垂直;
每个周期同时读取主、从加速度传感器的加速度值;
设置一个阀值,0<阀值<180,将主、从加速传感器方向一致的单轴加速度数值相减取绝对值;
将绝对值的结果记录保存在队列中;
判断队列是否有连续N次超过阀值,N大于1;
如果结果为否,重复每个周期读取加速度值的步骤,如果结果为是,则判断钱包打开。
作为该技术方案的更进一步,每100毫秒为一个周期。
作为该技术方案的更进一步,所述阀值为60。
与现有技术相比,本发明的优势在于:
1、加速度传感器是一种成熟、便宜的传感芯片,方案的成本低;
2、能适应不同皮质的智能钱包,应用范围广;
3、对钱包内的银行卡无任何不良影响;
4、解决了钱包内部结构的破坏问题,降低智能钱包生产时的装配难度。
附图说明:
图1为本发明的实施例的钱包检测打开方法。
具体实施方式:
下面结合具体实施例,进一步阐述本发明。应理解,这些实施例仅用于说明本发明而不用于限制本发明的范围。此外应理解,在阅读了本发明表述的内容之后,本领域技术人员可以对本发明作各种改动或修改,这些等价形式同样落于本申请所附权利要求书所限定的范围。
一种上下开合式钱包的打开检测方法,该方法可以应用于多种不同皮质的智能钱包,首先将主、从加速度传感器安置在开合式钱包的上下开合盖上,主、从传感器可以是任何加速度传感器,包括单轴、二轴、三轴等多种加速度传感器。但主、从加速度传感器在钱包闭合时必须有一个轴(比如:X轴、Y轴、Z轴)方向一致,且该轴与钱包上下面成90度垂直。且主、从加速度传感器放置位置,离钱包转轴越远,效果越好。
步骤二:上下开合的智能钱包的处理器预先设置每100毫秒为一个周期,同时读取主、从加速度传感器的加速度。
步骤三:在处理器中设置一个阀值,0<阀值<180,阀值默认为60,阀值越大检测结果越准确,钱包打开角度越大。上下开合的智能钱包的处理器将主、从加速传感器方向一致的单轴(与钱包上下面成90度垂直)数值做减法运算,然后将结果取绝对值;
步骤四:上下开合的智能钱包的储存器将绝对值保存在队列中。预先设定队列的大小,实行先入先出的原则,如果队列数据没满,新的数据直接放入队列,如果队列已经满,丢弃第一个数据,且所有数据前移一个数据位,然后把新数据放入最末尾。
步骤四:钱包的处理器判断储存器中的队列是否有连续N次超过阀值,N大于1,N值越大判断结果越准确,判断需要的采样时间也越长,储存器中的队列大小与N值相关,N越大则队列也越大;如果结果为否,处理器继续重复步骤二;如果结果为是,则处理器判断钱包打开。

Claims (3)

1.一种上下开合式钱包的打开检测方法,其特征在于,所述方法包括:
在所述钱包的上下开合盖上分别设置有主、从加速度传感器,主、从加速度传感器在钱包闭合时有一个轴方向一致,且该轴与钱包上下面垂直;
每个周期同时读取主、从加速度传感器的加速度值;
设置一个阀值,0<阀值<180,将主、从加速传感器方向一致的单轴加速度数值相减取绝对值;
将绝对值的结果记录保存在队列中;
判断队列是否有连续N次超过阀值,N大于1;
如果结果为否,重复每个周期读取加速度值的步骤,如果结果为是,则判断钱包打开。
2.根据权利要求1所述的一种上下开合式钱包的打开检测方法,其特征在于,每100毫秒为一个周期。
3.根据权利要求1所述的一种上下开合式钱包的打开检测方法,其特征在于,所述阀值为60。
CN201610083756.6A 2016-02-06 2016-02-06 一种上下开合式钱包的打开检测方法 Pending CN105737789A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610083756.6A CN105737789A (zh) 2016-02-06 2016-02-06 一种上下开合式钱包的打开检测方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610083756.6A CN105737789A (zh) 2016-02-06 2016-02-06 一种上下开合式钱包的打开检测方法

Publications (1)

Publication Number Publication Date
CN105737789A true CN105737789A (zh) 2016-07-06

Family

ID=56245140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610083756.6A Pending CN105737789A (zh) 2016-02-06 2016-02-06 一种上下开合式钱包的打开检测方法

Country Status (1)

Country Link
CN (1) CN105737789A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107727049A (zh) * 2017-09-22 2018-02-23 上海龙旗科技股份有限公司 一种实现角度检测的方法及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070123324A1 (en) * 2005-11-30 2007-05-31 Nikon Corporation Portable communication terminal
CN102658556A (zh) * 2012-05-15 2012-09-12 北京理工大学 微型机器人发射防护装置
JP2013073549A (ja) * 2011-09-29 2013-04-22 Sony Corp 情報処理装置および方法、プログラム、並びに記録媒体
EP2679500A2 (en) * 2012-06-28 2014-01-01 Intertechnique Container for an oxygen supply unit, device and system of an arrangement of a number of oxygen supply devices, wherein each oxygen supply untit is stored in a container, method of control of a status and/or change of status of a container
CN104156837A (zh) * 2014-04-16 2014-11-19 深圳华宏联创科技有限公司 包裹实时追踪系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070123324A1 (en) * 2005-11-30 2007-05-31 Nikon Corporation Portable communication terminal
JP2013073549A (ja) * 2011-09-29 2013-04-22 Sony Corp 情報処理装置および方法、プログラム、並びに記録媒体
CN102658556A (zh) * 2012-05-15 2012-09-12 北京理工大学 微型机器人发射防护装置
EP2679500A2 (en) * 2012-06-28 2014-01-01 Intertechnique Container for an oxygen supply unit, device and system of an arrangement of a number of oxygen supply devices, wherein each oxygen supply untit is stored in a container, method of control of a status and/or change of status of a container
CN104156837A (zh) * 2014-04-16 2014-11-19 深圳华宏联创科技有限公司 包裹实时追踪系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107727049A (zh) * 2017-09-22 2018-02-23 上海龙旗科技股份有限公司 一种实现角度检测的方法及设备

Similar Documents

Publication Publication Date Title
CN104573451B (zh) 一种用户验证方法、装置及电子装置
KR101935615B1 (ko) 홀 센서의 밀림 인식 방법 및 이를 이용한 센싱 시스템
CN107219924B (zh) 一种基于惯性传感器的空中手势识别方法
CN106337263A (zh) 一种洗衣机控制方法及装置
Heng et al. Human activity recognition based on transformed accelerometer data from a mobile phone
CN104516474B (zh) 一种信息处理方法及电子设备
CN108584586A (zh) 一种基于视频图像的电梯门状态直线检测方法
CN105243787B (zh) 一种老年人跌倒报警系统、报警方法及报警器
CN105737789A (zh) 一种上下开合式钱包的打开检测方法
CN107341379A (zh) 屏幕解锁方法及装置、电子装置和计算机可读存储介质
CN108255297A (zh) 一种可穿戴设备应用控制方法和装置
CN106814257A (zh) 芯片类型识别系统、方法及装置
CN107358248A (zh) 一种提高跌倒检测系统精度的方法
FR2811789B1 (fr) Procede et dispositif pour classifier des vehicules en categories de silhouettes et pour determiner leur vitesse, a partir de leur signature electromagnetique
US10380449B2 (en) Associating a screenshot group with a screen
CN107682480A (zh) 一种翻盖终端的控制方法、翻盖终端及计算机可读介质
Li et al. An improved content-based outlier detection method for ICS intrusion detection
CN111603169A (zh) 基于mems惯性传感器的行人步态识别方法
Zhu et al. Human activity recognition based on similarity
CN108693982A (zh) 一种将手机内置传感器采集数据从手机坐标系转换到参考坐标系的处理方法
CN102377864A (zh) 基于加速度传感器的手机动作检测方法
CN107834282A (zh) 终端设备连接装置
CN105894273A (zh) 一种根据动作判断支付行为的方法
Ma et al. Kernel based asymmetric learning for software defect prediction
De Marsico et al. Gait recognition: The wearable solution

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170818

Address after: 200000 14A, building 1, building 515, Yishan Road, Shanghai, Xuhui District, China

Applicant after: Shanghai Qi Education Technology Co., Ltd.

Address before: Wujiang District of Suzhou City, Suzhou City, Jiangsu province 215211 Lili town FENHU Road No. 558

Applicant before: SUZHOU TONGYOU INFORMATION TECHNOLOGY CO., LTD.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160706