WO2018023394A1 - 一种从短信中自动提取验证码的方法和手机 - Google Patents
一种从短信中自动提取验证码的方法和手机 Download PDFInfo
- Publication number
- WO2018023394A1 WO2018023394A1 PCT/CN2016/092896 CN2016092896W WO2018023394A1 WO 2018023394 A1 WO2018023394 A1 WO 2018023394A1 CN 2016092896 W CN2016092896 W CN 2016092896W WO 2018023394 A1 WO2018023394 A1 WO 2018023394A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- verification code
- short message
- mobile phone
- field
- unit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Definitions
- the invention belongs to the field of mobile phones, and in particular relates to a method for automatically extracting a verification code from a short message and a mobile phone.
- the steps of mobile phone verification often consume unnecessary energy of the mobile phone user. After all, the mobile phone is different from the computer.
- the desktop computer operates through the mouse, and the display screen is also large.
- the switching page is relatively easy to operate, and the mobile phone is rather troublesome. All users click on a small screen, which is easy to cause misoperation, and it is often easy to remember and remember when passing through the human brain memory. It is necessary to perform secondary switching, resulting in poor user experience due to inefficiency.
- the embodiment of the invention provides a method for automatically extracting a verification code from a short message, and aims to A method for automatically extracting a verification code from a short message is provided for the defect that the current mobile phone verification code requires manual memory and poor user experience.
- the present invention is implemented in such a manner that a method for automatically extracting a verification code from a short message includes the following steps:
- the embodiment of the invention further provides a mobile phone, comprising:
- a recording unit configured to record a preset verification code identification field
- a monitoring unit for monitoring the current receiving of new mobile phone messages
- a judging unit wherein the input end is respectively connected to the output end of the recording unit and the output end of the monitoring unit, and is configured to determine whether the new short message includes the identification field;
- the copy unit has an input end connected to the output end of the judging unit for copying the first letter or number type character segment after the field, and displaying a 'verification code copied' on the screen.
- the invention can copy the verification code in the short message, so that the user can directly paste the verification code on the current page, thereby avoiding the inconvenience caused by switching the mobile phone application back and forth.
- FIG. 1 is a schematic flowchart of a method for automatically extracting a verification code from a short message according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention.
- figure 1 It is a schematic flowchart of a method for automatically extracting a verification code from a short message provided by an embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
- the preset verification code identification field is recorded in step S101.
- the preset verification code identification field is recorded as a 'verification code' and a 'check code' field.
- step S102 the current mobile phone new message receiving situation is monitored.
- the new SMS receiving status of the mobile phone A is monitored in real time.
- step S103 it is determined whether the new short message contains the identification field.
- step S104 if it is determined that the new short message does not contain the identification field, it remains as it is.
- the system when it is determined that the new short message does not include the identification field, it indicates that the short message is not a short message receiving the verification code, and the system does not perform other processing.
- step S105 If it is determined that the new short message contains the identification field, copy the first letter or numeric character segment after the field, and display a 'verification code copied' on the screen.
- the verification code is ' 2358YH ', it is judged that the new short message contains the identification field 'verification code', then the first letter or number type character segment after the field is automatically copied ' 2358YH ', and the box on the screen shows 'Verification code has been copied', the user does not need to open the SMS interface at this time, directly on the current interface can directly paste the verification code.
- the invention can copy the verification code in the short message, so that the user can directly paste the verification code on the current page, thereby avoiding the inconvenience caused by switching the mobile phone application back and forth.
- FIG. 2 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention, where the mobile phone includes:
- a recording unit 21 configured to record a preset verification code identification field
- the monitoring unit 22 is configured to monitor the current mobile phone new message receiving situation
- Judging unit 23 The input end is connected to the output end of the recording unit and the output end of the monitoring unit, respectively, for determining whether the new short message contains the identification field;
- Copy unit 24 The input end is connected to the output end of the judging unit, and is used for copying the first letter or number type character segment after the field, and displaying a 'verification code copied' on the screen.
- the working principle is: the recording unit 21 records the preset verification code identification field; the monitoring unit 22 , monitoring the current mobile phone new short message receiving situation; the determining unit 23, determining whether the new short message contains the identification field; the copying unit 24 , copy the first letter or number of characters after the field, and display the 'Verification code copied' box on the screen.
- the invention can copy the verification code in the short message, so that the user can directly paste the verification code on the current page, thereby avoiding the inconvenience caused by switching the mobile phone application back and forth.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
一种从短信中自动提取验证码的方法以及手机,所述方法包括:记录预设的验证码识别字段(S101);监测当前手机新短信接收情况(S102);判断该新短信是否含有所述识别字段(S103);若否,保持原状(S104);若是,复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示"验证码已复制"(S105)。通过检索手机短信中的字段,可以根据该字段复制短信中的验证码,让用户可以在当前页面直接粘贴验证码,避免了来回切换手机应用带来的不便。
Description
本发明属于手机领域,尤其是涉及 一种从短信中自动提取验证码的方法以及手机 。
随着苹果、安卓智能手机的普及,越来越多的手机应用需要用户提供个人信息,比如社交应用、视频观看应用等都需要用户提交个人信息,同时为了确保此类信息的真实性,则需要通过手机验证,即通过发送短信至用户手机,用户再将手机短信中的验证码填写至相关界面。
安全级别更好的应用比如购物类、手机银行类、股票理财类应用,在用户操作转账、绑定银行卡、新增或者修改个人信息等操作的时候,也必需手机验证的步骤,以确保资金的安全性。
而手机验证的步骤,往往会耗费手机用户不必要的精力,手机毕竟和电脑不一样,台式电脑通过鼠标操作,并且显示屏幕也大,切换页面相对易操作,而手机就显得比较麻烦,来回切换均为用户在小小的屏幕上点击,容易造成误操作,而且通过人脑记忆,往往容易记错、记不住,还得进行二次切换,效率低下造成了用户体验不佳。
综上,针对于当前手机验证码需要人工记忆、用户体验不佳的缺陷,需要提供一种从短信中自动提取验证码的方法。
本发明实施例提供了一种从短信中自动提取验证码的方法 , 目的在于
针对当前手机验证码需要人工记忆、用户体验不佳的缺陷,提供一种从短信中自动提取验证码的方法。
本发明是这样实现的:一种从短信中自动提取验证码的方法,包括以下步骤:
记录预设的验证码识别字段;
监测当前手机新短信接收情况;
判断该新短信是否含有所述识别字段;
若否,保持原状;
若是,复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
本发明实施例还提供了一种手机,包括:
记录单元,监测单元,判断单元,复制单元,其中 :
记录单元,用于记录预设的验证码识别字段;
监测单元,用于监测当前手机新短信接收情况;
判断单元,其输入端分别与所述记录单元的输出端以及所述监测单元的输出端连接,用于判断该新短信是否含有所述识别字段;
复制单元,其输入端与所述判断单元的输出端连接,用于复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
该发明通过检索手机短信中的字段,可以字段复制短信中的验证码,让用户可以在当前页面直接粘贴验证码,避免了来回切换手机应用带来的不便。
图 1 是本发明实施例提供的一种从短信中自动提取验证码的方法 的流程示意图 ;
图 2 是本发明实施例提供的手机的结构示意图。
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
图 1
是发明实施例提供的一种从短信中自动提取验证码的方法的流程示意图,为了便于说明,只示出了与本发明实施例相关的部分。
在步骤 S101 中记录预设的验证码识别字段。
在本实施例中,以手机 A 为例,将预设的验证码识别字段记录为'验证码'、'校验码'字段。
在步骤 S102 中,监测当前手机新短信接收情况。
本步骤中实时监测手机 A 新短信接收情况。
在步骤 S103 中,判断该新短信是否含有所述识别字段。
如接收到新的短信,判断该短信是否为接收验证码的短信,手机 A
自动检索该短信中是否含有上述验证码识别字段:'验证码'和'校验码'。
在步骤 S104 中,若判断出该新短信不含所述识别字段,保持原状。
如上一步骤中,当判断出该新短信不含所述识别字段,说明本短信并非接收验证码的短信,***不作其他处理。
在步骤 S105
中,若判断出该新短信含有所述识别字段,复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
若手机 A 收到一条支付宝发送的验证码短信,验证码为' 2358YH
',其判断出该新短信含有所述识别字段'验证码',则自动复制该字段后第一个字母或者数字类字符段' 2358YH
',并在屏幕上弹框显示'验证码已复制',用户此时不需打开短信界面,直接在目前界面直接可以粘贴该验证码。
该发明通过检索手机短信中的字段,可以字段复制短信中的验证码,让用户可以在当前页面直接粘贴验证码,避免了来回切换手机应用带来的不便。
图 2 是本发明实施例提供的一种手机的结构示意图,该手机包括:
记录单元 21 ,监测单元 22 ,判断单元 23 ,复制单元 24 ,其中 :
记录单元 21 ,用于记录预设的验证码识别字段;
监测单元 22 ,用于监测当前手机新短信接收情况;
判断单元 23
,其输入端分别与所述记录单元的输出端以及所述监测单元的输出端连接,用于判断该新短信是否含有所述识别字段;
复制单元 24
,其输入端与所述判断单元的输出端连接,用于复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
其工作原理是:记录单元 21 ,记录预设的验证码识别字段;监测单元 22
,监测当前手机新短信接收情况;判断单元 23 ,判断该新短信是否含有所述识别字段;复制单元 24`
,复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
该发明通过检索手机短信中的字段,可以字段复制短信中的验证码,让用户可以在当前页面直接粘贴验证码,避免了来回切换手机应用带来的不便。
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。
Claims (2)
- 一种从短信中自动提取验证码的方法,其特征在于,所述方法包括如下步骤:记录预设的验证码识别字段;监测当前手机新短信接收情况;判断该新短信是否含有所述识别字段;若否,保持原状;若是,复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
- 一种手机,其特征在于,所述手机包括:记录单元,监测单元,判断单元,复制单元,其中 :记录单元,用于记录预设的验证码识别字段;监测单元,用于监测当前手机新短信接收情况;判断单元,其输入端分别与所述记录单元的输出端以及所述监测单元的输出端连接,用于判断该新短信是否含有所述识别字段;复制单元,其输入端与所述判断单元的输出端连接,用于复制该字段后第一个字母或者数字类字符段,并在屏幕上弹框显示'验证码已复制'。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/092896 WO2018023394A1 (zh) | 2016-08-02 | 2016-08-02 | 一种从短信中自动提取验证码的方法和手机 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/092896 WO2018023394A1 (zh) | 2016-08-02 | 2016-08-02 | 一种从短信中自动提取验证码的方法和手机 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018023394A1 true WO2018023394A1 (zh) | 2018-02-08 |
Family
ID=61072503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/092896 WO2018023394A1 (zh) | 2016-08-02 | 2016-08-02 | 一种从短信中自动提取验证码的方法和手机 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018023394A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113132925A (zh) * | 2020-01-16 | 2021-07-16 | ***通信集团山东有限公司 | 短信认证方法、***、短信网关设备和终端设备 |
CN113423076A (zh) * | 2021-05-20 | 2021-09-21 | 北京达佳互联信息技术有限公司 | 验证码短信的获取方法、装置、电子设备和存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546914A (zh) * | 2010-12-27 | 2012-07-04 | 梁志龙 | 一种基于智能手机的自动登录***及控制方法 |
CN103902740A (zh) * | 2014-04-22 | 2014-07-02 | 锤子科技(北京)有限公司 | 短信息验证码的驻留方法及装置 |
US20150026598A1 (en) * | 2013-07-17 | 2015-01-22 | Samsung Electronics Co., Ltd. | Method for operating application and electronic device thereof |
CN105159533A (zh) * | 2015-08-31 | 2015-12-16 | 努比亚技术有限公司 | 一种移动终端及其验证码自动输入方法 |
CN105490815A (zh) * | 2015-12-11 | 2016-04-13 | 北京奇虎科技有限公司 | 短信验证码获取方法及装置、登录方法、装置及*** |
-
2016
- 2016-08-02 WO PCT/CN2016/092896 patent/WO2018023394A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546914A (zh) * | 2010-12-27 | 2012-07-04 | 梁志龙 | 一种基于智能手机的自动登录***及控制方法 |
US20150026598A1 (en) * | 2013-07-17 | 2015-01-22 | Samsung Electronics Co., Ltd. | Method for operating application and electronic device thereof |
CN103902740A (zh) * | 2014-04-22 | 2014-07-02 | 锤子科技(北京)有限公司 | 短信息验证码的驻留方法及装置 |
CN105159533A (zh) * | 2015-08-31 | 2015-12-16 | 努比亚技术有限公司 | 一种移动终端及其验证码自动输入方法 |
CN105490815A (zh) * | 2015-12-11 | 2016-04-13 | 北京奇虎科技有限公司 | 短信验证码获取方法及装置、登录方法、装置及*** |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113132925A (zh) * | 2020-01-16 | 2021-07-16 | ***通信集团山东有限公司 | 短信认证方法、***、短信网关设备和终端设备 |
CN113132925B (zh) * | 2020-01-16 | 2022-02-18 | ***通信集团山东有限公司 | 短信认证方法、***、短信网关设备和终端设备 |
CN113423076A (zh) * | 2021-05-20 | 2021-09-21 | 北京达佳互联信息技术有限公司 | 验证码短信的获取方法、装置、电子设备和存储介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107844189A (zh) | 一种降低黑屏耗电的方法、***、终端及计算机可读存储介质 | |
WO2018023394A1 (zh) | 一种从短信中自动提取验证码的方法和手机 | |
WO2023193717A1 (zh) | 群聊会话管理方法、装置、电子设备和可读存储介质 | |
WO2014090064A1 (zh) | 一种智能密码钥匙装置 | |
CN101697148A (zh) | 一种提高计算机内存卡接口速率的方法和*** | |
WO2018018324A1 (zh) | 一种输入验证码的方法和验证码输入*** | |
WO2018023395A1 (zh) | 一种验证码提取技术的数据采集方法和手机 | |
WO2018018342A1 (zh) | 一种打开手机应用程序的方法和手机 | |
WO2017124452A1 (zh) | 手势匹配***指令技术的数据采集方法以及操作装置 | |
WO2017128342A1 (zh) | 一种链接信息分享技术的数据统计方法及移动终端 | |
WO2018027617A1 (zh) | 根据关键字自动记录通话的方法以及记录*** | |
WO2018018307A1 (zh) | 电脑操作认证技术的使用情况反馈方法和识别*** | |
WO2018023396A1 (zh) | 一种提取验证码时的信息推送方法和手机 | |
WO2018027635A1 (zh) | 根据规则接收消息的方法和消息*** | |
WO2018027490A1 (zh) | 文件打开技术的数据采集方法以及文件*** | |
WO2018023799A1 (zh) | 流量控制技术的使用情况反馈方法和流量管理*** | |
WO2018023251A1 (zh) | 手机解锁技术的数据采集方法和解锁*** | |
WO2018027491A1 (zh) | 打开文件路径时的信息推送方法以及文件*** | |
WO2017132868A1 (zh) | 一种信箱状态通知技术的数据统计方法及智能信箱 | |
WO2017120918A1 (zh) | 一种过滤短信时的数据传送方法及移动终端 | |
WO2018023805A1 (zh) | 根据关键字屏蔽朋友圈消息的方法以及权限*** | |
WO2018018337A1 (zh) | 推荐手机壁纸时的数据采集方法和推荐*** | |
WO2018027377A1 (zh) | 手机端读取阅读记录的方法以及读书*** | |
WO2018032146A1 (zh) | 通话语音提示时的数据采集方法和提示*** | |
WO2017128431A1 (zh) | 根据消息类型屏蔽朋友圈消息的方法以及权限*** |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16910992 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16910992 Country of ref document: EP Kind code of ref document: A1 |