Nothing Special   »   [go: up one dir, main page]

WO2017016384A1 - Short message processing method, information processing method and device, mobile terminal and storage medium - Google Patents

Short message processing method, information processing method and device, mobile terminal and storage medium Download PDF

Info

Publication number
WO2017016384A1
WO2017016384A1 PCT/CN2016/089670 CN2016089670W WO2017016384A1 WO 2017016384 A1 WO2017016384 A1 WO 2017016384A1 CN 2016089670 W CN2016089670 W CN 2016089670W WO 2017016384 A1 WO2017016384 A1 WO 2017016384A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
verification code
mark
information
module
Prior art date
Application number
PCT/CN2016/089670
Other languages
French (fr)
Chinese (zh)
Inventor
郎启东
吴昊
Original Assignee
深圳市万普拉斯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2017016384A1 publication Critical patent/WO2017016384A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the present invention relates to mobile terminal technologies in the field of communications, and in particular, to a short message processing method, an information processing method and device, a mobile terminal, and a storage medium.
  • the verification code is usually used as the user's voucher.
  • the user logs in to the server or as a transaction voucher through the verification code sent by the receiving server to the user's mobile terminal (such as a mobile phone), which can effectively prevent malicious, violent and other cracking methods from logging in.
  • the server Since the communication network often has a delay, the server receives multiple requests and resends the verification code short message, so that the user's mobile phone receives multiple verification code short messages, and the user cannot clearly distinguish the validity of the verification code.
  • an embodiment of the present invention provides a method for processing a short message, including:
  • the sending number of the first short message is obtained, and it is detected whether there is a second short message corresponding to the sending number and including the second verification code, and if yes, the first short message and the second short message are separately displayed.
  • the detecting whether the corresponding sending number already exists and including the second The second short message of the verification code, if yes, the differential display of the first short message and the second short message may include:
  • the setting the second flag to the second short message comprises:
  • the mark corresponding to the second short message is modified from the first mark to the second mark.
  • the distinguishing between the first short message and the second short message further includes:
  • the corresponding second short message marked as the second mark is weakened and displayed.
  • the distinguishing between the first short message and the second short message further includes:
  • the corresponding first short message marked as the first mark is highlighted.
  • an embodiment of the present invention provides an information processing method, including:
  • an embodiment of the present invention provides a short message processing apparatus, including:
  • a receiving module configured to receive the first short message
  • Detecting a verification code module configured to detect whether the first short message includes a verification code
  • Detecting a short message module configured to acquire a sending number of the first short message, and detect whether a second short message including a verification code already exists corresponding to the sending number;
  • the display module is configured to display the first short message and the second short message separately if the detection short message module determines to be YES.
  • the detecting the short message module may include:
  • Setting a second marking sub-module configured to acquire a sending number of the first short message, detecting whether a second short message corresponding to the sending number and including a second verification code exists, and if yes, setting a second short message
  • the distinguishing display module is configured to display the first short message and the second short message according to the first mark and the second mark.
  • the setting the second marking module is further configured to modify the mark corresponding to the second short message from the first mark to the second mark.
  • the distinguishing display module is further configured to perform weakening display on the corresponding second short message marked as the second mark.
  • the distinguishing display module is further configured to highlight the corresponding first short message marked as the first mark.
  • an embodiment of the present invention provides an information processing apparatus, including:
  • a receiving module configured to receive the first information
  • a detection information module configured to acquire a sender of the first information, and detect whether a second information corresponding to the sender already exists
  • the display module is configured to be configured to display the first information and the second information separately if the detection information module determines to be YES.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a short message processing apparatus provided by an embodiment of the present invention.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes the information processing apparatus provided by the embodiment of the present invention.
  • an embodiment of the present invention provides a storage medium, where the storage medium includes executable instructions, and the executable instructions are used to execute a short message processing method provided by an embodiment of the present invention.
  • an embodiment of the present invention provides a storage medium, where the storage medium includes executable instructions, and the executable instructions are used to execute an information processing method provided by an embodiment of the present invention.
  • the foregoing short message processing method, information processing and device, mobile terminal, and storage medium distinguish and display the received verification code short message and the verification code short message stored on the mobile terminal, so that the user can intuitively distinguish the valid short message from the expired short message. Allow users to directly know the validity of the verification code SMS.
  • FIG. 1 is a schematic flowchart diagram of a short message processing method according to an embodiment of the present invention
  • FIG. 2 is a functional block diagram of a short message processing apparatus according to an embodiment of the present invention.
  • FIG. 3 is a functional block diagram of a short message detecting module of a short message processing apparatus according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an optional hardware of a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of an information processing method according to an embodiment of the present invention.
  • Fig. 6 is a functional block diagram of an information processing apparatus according to an embodiment of the present invention.
  • first ⁇ second is merely an object that distinguishes similar objects, and does not represent a specific ordering for an object. It can be understood that “first ⁇ second” is allowed. In this case, a specific order or order can be interchanged. It should be understood that the "first ⁇ second" distinguished objects may be interchanged where appropriate to enable embodiments of the invention described herein to Execution is performed in addition to those illustrated or described herein.
  • the embodiments of the present invention are particularly applicable to various mobile terminals, such as a mobile phone, a tablet computer, or other intelligent electronic devices.
  • mobile terminals such as a mobile phone, a tablet computer, or other intelligent electronic devices.
  • only the use scenario of the mobile phone is described in detail.
  • a method for processing a short message includes the steps of: receiving a first short message; detecting whether the first short message includes a verification code; if yes, acquiring a sending number of the first short message, and detecting whether the sending number corresponds to There is a second short message including a verification code, and if so, the first short message and the second short message are displayed separately.
  • the following uses the first short message and the second short message as the verification code short message as an example for description.
  • a short message processing method includes the following steps:
  • Step S100 receiving a first short message.
  • the verification code short message is sent by the server and received by the mobile terminal.
  • Step S200 detecting whether the first short message includes a verification code (to facilitate the distinguishing with the verification code in the other short message, the verification code included in the first short message is also referred to as a first verification code), and if yes, executing step S300 .
  • a verification code to facilitate the distinguishing with the verification code in the other short message, the verification code included in the first short message is also referred to as a first verification code
  • the mobile terminal receives various types of short messages, and after receiving the short message, it is required to detect whether the short-term includes a verification code, thereby determining whether the short message is a verification code short message, for example, determining whether the short message content includes a verification code, and determining
  • the method includes, for example, detecting whether the short message includes a preset keyword, for example, the preset keyword is “verification code”, and when the short message includes the keyword “verification code”, determining that the short message is a verification code short message; for example And detecting whether the short message includes a preset length number.
  • the verification code is a six-digit length number.
  • the short message is determined to be a verification code;
  • the sending number sent by the server that is, the number used by the server to send the verification short message
  • the detection method further determines whether the authentication code is a short message according to the number of the short message sender. Further improve the accuracy of the judging code verification message.
  • the method for determining whether the received short message includes the verification code further includes: collecting a template of the verification code short message of each server (recording a format of the verification code short message sent by the corresponding server, such as various fields included), and receiving After the short message, according to the template of the verification code of each server, it is judged whether the received short message is a verification code short message.
  • each server may be a server of the website or a server of the application of the mobile terminal; for example, according to the operation instruction
  • the verification code short message is identified, and the recognition result is stored. After receiving the short message again, the short message is judged according to the stored recognition result. The accuracy of the judgment is improved by assisting the judgment by collecting templates or storing.
  • Step S300 Acquire a sending number of the first short message, and check whether a second short message corresponding to the sending number already exists, and the second short message includes a second verification code. If yes, step S400 is performed.
  • a verification code short message with the same sender as the verification code short message may be stored in the mobile terminal.
  • this step after receiving the first short message, acquiring the sending number of the first short message, and detecting whether the short message storage area of the mobile terminal includes the second short message having the same sending number as the first short message, to determine the short message storage area. Whether a plurality of short messages having the same sender (that is, having the same transmission number) as the received verification code short message are included in the message, and if the storage area includes the second short message with the same transmission number as the first short message, step S400 is performed.
  • Step S400 distinguishing between displaying the first short message and the second short message.
  • the short message storage area contains a plurality of short messages with the same sender code as the received verification code short message
  • the first short message and the second short message are displayed separately to make the user Clear, clear and easy to distinguish valid verification code SMS and expired verification code SMS.
  • step S300 may include:
  • Step S310 setting a first flag to the first short message.
  • the first short message includes a verification code
  • setting a target corresponding to the first short message Recorded as the first mark
  • the short message After detecting that the received first short message is a verification code short message, setting a first mark on the short message to mark the short message as a valid verification code short message, and the first mark may be a character string, for example, the first mark is a number, exemplary To mark the received short message as "1", the short message is marked as the latest received short message, and the verification code (that is, the first verification code) included in the short message is the latest verification code, so the verification code Is a valid verification code.
  • Step S320 Acquire a sending number of the first short message, and detect whether a second short message including a verification code (a second verification code, different from the first verification code) already exists corresponding to the sending number, and if yes, The second message sets the second tag.
  • a verification code a second verification code, different from the first verification code
  • the mobile terminal Before receiving the new verification code short message, the mobile terminal may store a verification code short message with the same sender as the verification code short message. After obtaining the new verification code short message, the mobile terminal detects whether the verification code has the same transmission number in the storage area, and if so, sets a second mark on the second short message with the verification code corresponding to the transmission number in the storage area.
  • the second flag indicates that the verification code (second verification code) of the second short message is an expired verification code, that is, an invalid verification code.
  • the second indicia corresponds to the first indicia, for example, the second indicia is “0” to distinguish the first short message from the second short message.
  • step S400 may include:
  • the first verification code and the expired verification code short message can be quickly distinguished by the first mark and the second mark, and the verification code of the first short message having the first mark “1” is a valid verification code, and has a second mark “0”.
  • the verification code of the second short message is an expired verification code, and the mobile terminal quickly displays the first short message and the second short message according to the first mark and the second mark, so that the user can distinguish the valid verification code short message and the expired verification intuitively and quickly. Code text message.
  • the step S320 includes:
  • the mark corresponding to the second short message is modified from the first mark to the second mark.
  • the mobile terminal may receive the short message from the same sending number multiple times, the most recently received verification code short message is marked as the first mark when the updated verification code short message is not received, that is, the last received verification code short message is “ 1", and the verification code short message is stored in the short message storage area, and when the mobile terminal receives the verification code short message again, the mark of the verification code short message stored in the short message storage area marked with "1" needs to be modified second.
  • the mark for example, the modification mark is “0”.
  • the mark marked “1” short message verification code in the short message storage area is modified to “0”. ”, indicating that the verification code of the verification code short message is an expired verification code, and avoids conflicting with the mark of the verification code short message received again, and distinguishes the current latest verification code short message from the earlier verification code short message.
  • step S400 further includes:
  • the corresponding second short message marked as the second mark is weakened and displayed.
  • the display of the verification code short message marked with “0” is weakened, thereby highlighting the verification code short message marked as “1”, so that the user can intuitively recognize A valid verification code text message.
  • step S400 further includes:
  • the corresponding first short message marked as the first mark is highlighted.
  • the verification code short message marked with “1” can also be highlighted, so that the verification code short message marked with "1” is distinguished from the verification code short message marked as "0".
  • Verification code SMS, and the verification code SMS marked as "1" is more prominent, enabling users to intuitively identify valid verification code SMS.
  • the step S400 further includes a step S350 to delete the second short message.
  • the efficiency of the user to distinguish valid verification code short messages is reduced, and multiple verification code short messages with the same sender are detected in the short message storage area. After that, delete these verification code SMS messages with expired verification codes. For example, when a new verification code short message is received, the verification code short message of the same transmission number stored in the mobile terminal is deleted, only a valid verification code short message is displayed, thereby improving the efficiency of the user acquiring the verification code, and further improving the accuracy of obtaining the verification code. The user's resolution difficulty is avoided, and on the other hand, the use of the verification code short message for the storage space is reduced.
  • a short message processing device includes a receiving module, a detection verification code module, a detection short message module, and a distinguishing display module, wherein the receiving module is configured to receive a first short message; and the detection verification code module is configured to detect the first Whether the short message is included in the short message; the detecting short message module is configured to acquire the sending number of the first short message, and detect whether a second short message including the verification code already exists corresponding to the sending number; the distinguishing display module is configured to distinguish Displaying the first short message and the second short message.
  • a short message processing apparatus includes:
  • the receiving module 10 is configured to receive the first short message.
  • the detection verification code module 20 is connected to the receiving module 10, and configured to detect whether the first short message includes a verification code
  • the detecting short message module 30 is connected to the detection verification code module 20, configured to acquire the sending number of the first short message, and detect whether there is a second short message corresponding to the sending number and including the second verification code;
  • the distinguishing display module 40 is connected to the receiving module 10 and the detecting short message module 30, and is configured to display the first short message and the second short message separately if the detecting short message module 30 determines to be YES.
  • the detecting short message module 30 may include:
  • a second marking sub-module 32 configured to acquire a sending number of the first short message, detecting whether a second short message corresponding to the sending number and including a second verification code exists, and if yes, setting the second short message Second mark
  • the distinguishing display module 40 is configured to display the first short message and the second short message according to the first mark and the second mark.
  • the setting second marking module 42 is further configured to modify the mark corresponding to the second short message from the first mark to the second mark.
  • the distinguishing display module 40 is further configured to perform weakening display on the corresponding second short message marked as the second mark.
  • the distinguishing display module 40 is further configured to highlight the corresponding first short message marked as the first mark.
  • the method further includes deleting the module, configured to delete the second short message.
  • each module in the device can be implemented by a processor, a microprocessor (MCU), an application specific integrated circuit (ASIC), or a logic programmable gate array (FPGA).
  • MCU microprocessor
  • ASIC application specific integrated circuit
  • FPGA logic programmable gate array
  • the embodiment of the present invention further provides a mobile terminal, including the short message processing device provided by the embodiment of the present invention.
  • a mobile terminal including the short message processing device provided by the embodiment of the present invention.
  • An optional hardware structure diagram of the mobile terminal is shown in FIG. 4, and the mobile terminal 10 includes a processor 11 and an input/output interface. 13 (such as one or more of a display, a keyboard, a touch screen, a speaker microphone), a storage medium 14 and a network interface 12, the components can be connected for communication via the system bus 15.
  • the storage medium 14 stores executable instructions for executing the short message processing method provided by the embodiments of the present invention.
  • An embodiment of the present invention further provides an information processing method. Referring to FIG. 5, the method includes the following steps:
  • Step 500 receiving the first information.
  • the first information is only used to distinguish the other information received by the terminal.
  • the type of the first information is not limited.
  • the first information may be the foregoing short message, and may be any other received by the mobile terminal.
  • Types of information such as emails, instant messaging messages, voice messages, and more.
  • Step 600 Acquire a sender of the first information.
  • the sender of the information differs depending on the type of the information. For example, when the first information is a short message, the sender of the first information is a sending number; when the first information is an instant messaging message of the social application, the sender is a social application.
  • the identifier used by Taichung to identify the user of the first information source such as the user name, serial number, and the like.
  • Step 700 Detect whether there is already a second information corresponding to the sender; if yes, execute step 800; otherwise, return to step 500.
  • Step 800 Differentiate display of the first information and the second information.
  • the detecting whether there is already a second information corresponding to the sender
  • the first information and the second information are displayed separately, including:
  • the setting the second flag to the second information comprises:
  • the mark corresponding to the second information is modified from the first mark to the second mark.
  • the distinguishing between the first information and the second information includes:
  • the corresponding second information marked as the second mark is weakened and displayed.
  • the distinguishing between the first information and the second information includes:
  • the corresponding first information marked as the first mark is highlighted.
  • An embodiment of the present invention further provides an information processing apparatus. Referring to FIG. 6, the method includes:
  • the receiving module 50 is configured to receive the first information.
  • the detecting information module 60 is configured to acquire a sender of the first information, and detect whether there is already second information corresponding to the sender;
  • the distinguishing display module 70 is configured to display the first information and the second information separately if the detection information module 60 determines that it is YES.
  • the detection information module 60 includes:
  • a first marking sub-module 601 configured to set a first marking to the first information
  • the distinguishing display module 70 is further configured to display the first information and the second information according to the first mark and the second mark.
  • the setting the second marking module is further configured to modify the marking corresponding to the second information from the first marking to the second marking.
  • the distinguishing display module 70 is further configured to perform weakening display on the corresponding second information marked as the second mark.
  • the distinguishing display module 70 is further configured to highlight the corresponding first information labeled as the first indicia.
  • the embodiment of the present invention further provides a mobile terminal, including the information processing apparatus provided by the embodiment of the present invention.
  • An optional hardware structure diagram of the mobile terminal is shown in FIG. 4, and the mobile terminal 10 includes a processor 11 and an input/output interface. 13 (eg display, keyboard, touch screen, speaker ⁇ One or more of the winds, the storage medium 14 and the network interface 12, the components can be connected to communicate via the system bus 15.
  • the storage medium 14 stores executable instructions for executing the information processing method provided by the embodiments of the present invention.
  • the foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk.
  • RAM random access memory
  • ROM read-only memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making
  • a computer device which may be a personal computer, server, or network device, etc.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to a short message processing method, an information processing method and device, a mobile terminal and a storage medium. The short message processing method comprises: receiving a first short message; detecting whether the first short message contains a verification code; and if so, acquiring a sending number of the first short message, and detecting whether a second short message containing a verification code and corresponding to the sending number already exists, and if so, differentially displaying the first short message and the second short message. In the present invention, by differentially displaying a received verification code short message and a verification code short message already stored in a mobile terminal, a user can visually distinguish a valid short message and an overdue short message, so that the user can directly learn the validity of the verification code short message.

Description

短信处理方法、信息处理方法及装置、移动终端、存储介质Short message processing method, information processing method and device, mobile terminal, storage medium 技术领域Technical field
本发明涉及通信领域的移动终端技术,特别是涉及短信处理方法、信息处理方法及装置、移动终端、存储介质。The present invention relates to mobile terminal technologies in the field of communications, and in particular, to a short message processing method, an information processing method and device, a mobile terminal, and a storage medium.
背景技术Background technique
验证码通常作为用户的凭证,用户通过接收服务器发送到用户移动终端(如手机)的验证码登陆服务器或作为交易凭证,这样可有效防止恶意、暴力等破解方式进行登陆。由于通信网络时常会发生延迟,导致服务器收到多次请求而重发验证码短信,这样用户手机会收到多个验证码短信,用户无法清楚分辨验证码的有效性。The verification code is usually used as the user's voucher. The user logs in to the server or as a transaction voucher through the verification code sent by the receiving server to the user's mobile terminal (such as a mobile phone), which can effectively prevent malicious, violent and other cracking methods from logging in. Since the communication network often has a delay, the server receives multiple requests and resends the verification code short message, so that the user's mobile phone receives multiple verification code short messages, and the user cannot clearly distinguish the validity of the verification code.
发明内容Summary of the invention
基于此,有必要针对移动终端接收多个验证码短信后无法对验证码进行区分,使用户无法分辨多个验证码的有效性的缺陷,提供一种可对验证码进行区分显示,使用户可直接分辨验证码有效性的短信处理方法、信息处理方法及装置、移动终端、存储介质。Based on this, it is necessary to distinguish the verification code after the mobile terminal receives multiple verification code short messages, so that the user cannot distinguish the validity of the multiple verification codes, and provides a distinguishing display of the verification code, so that the user can Short message processing method, information processing method and device, mobile terminal and storage medium for directly distinguishing the validity of the verification code.
第一方面,本发明实施例提供一种短信处理方法,包括:In a first aspect, an embodiment of the present invention provides a method for processing a short message, including:
接收第一短信;Receiving the first short message;
检测所述第一短信中是否包含第一验证码;Detecting whether the first short message includes the first verification code;
若是,则获取所述第一短信的发送号码,检测是否已存在对应所述发送号码且包括第二验证码的第二短信,若是,则区分显示所述第一短信与所述第二短信。If yes, the sending number of the first short message is obtained, and it is detected whether there is a second short message corresponding to the sending number and including the second verification code, and if yes, the first short message and the second short message are separately displayed.
在一个实施例中,所述检测是否已存在对应所述发送号码且包括第二 验证码的第二短信,若是,则区分显示所述第一短信与所述第二短信,可以包括:In an embodiment, the detecting whether the corresponding sending number already exists and including the second The second short message of the verification code, if yes, the differential display of the first short message and the second short message may include:
对所述第一短信设置第一标记;Setting a first mark to the first short message;
获取所述第一短信的发送号码,检测是否已存在包括对应所述发送号码且包括第二验证码的第二短信,若是,则对所述第二短信设置第二标记;Obtaining a sending number of the first short message, detecting whether a second short message corresponding to the sending number and including a second verification code exists, and if yes, setting a second flag to the second short message;
根据所述第一标记和所述第二标记区分显示所述第一短信和所述第二短信。Displaying the first short message and the second short message according to the first mark and the second mark.
在一个实施例中,所述对所述第二短信设置第二标记,包括:In an embodiment, the setting the second flag to the second short message comprises:
将所述第二短信对应的标记由第一标记修改为第二标记。The mark corresponding to the second short message is modified from the first mark to the second mark.
在一个实施例中,所述区分显示所述第一短信与所述第二短信,还包括:In an embodiment, the distinguishing between the first short message and the second short message further includes:
将对应的标记为第二标记的第二短信进行弱化显示。The corresponding second short message marked as the second mark is weakened and displayed.
在一个实施例中,所述区分显示所述第一短信与所述第二短信,还包括:In an embodiment, the distinguishing between the first short message and the second short message further includes:
将对应的标记为第一标记的第一短信进行高亮显示。The corresponding first short message marked as the first mark is highlighted.
第二方面,本发明实施例提供一种信息处理方法,包括:In a second aspect, an embodiment of the present invention provides an information processing method, including:
接收第一信息;Receiving the first information;
获取所述第一信息的发送者;Obtaining a sender of the first information;
检测是否已存在对应所述发送者的第二信息;Detecting whether there is already a second information corresponding to the sender;
若是,则区分显示所述第一信息与所述第二信息。If yes, the first information and the second information are displayed separately.
第三方面,本发明实施例提供一种短信处理装置,包括:In a third aspect, an embodiment of the present invention provides a short message processing apparatus, including:
接收模块,配置为接收第一短信;a receiving module, configured to receive the first short message;
检测验证码模块,配置为检测所述第一短信中是否包含验证码;Detecting a verification code module, configured to detect whether the first short message includes a verification code;
检测短信模块,配置为获取所述第一短信的发送号码,检测对应所述发送号码是否已存在包含验证码的第二短信; Detecting a short message module, configured to acquire a sending number of the first short message, and detect whether a second short message including a verification code already exists corresponding to the sending number;
区分显示模块,配置为若所述检测短信模块判断为是,则区分显示所述第一短信与所述第二短信。The display module is configured to display the first short message and the second short message separately if the detection short message module determines to be YES.
在一个实施例中,所述检测短信模块可以包括:In an embodiment, the detecting the short message module may include:
设置第一标记子模块,配置为对所述第一短信设置第一标记;Setting a first marking submodule, configured to set a first mark on the first short message;
设置第二标记子模块,配置为获取所述第一短信的发送号码,检测是否已存在对应所述发送号码且包括第二验证码的第二短信,若是,则对所述第二短信设置第二标记;Setting a second marking sub-module, configured to acquire a sending number of the first short message, detecting whether a second short message corresponding to the sending number and including a second verification code exists, and if yes, setting a second short message Two marks
所述区分显示模块配置为根据所述第一标记和所述第二标记区分显示所述第一短信和所述第二短信。The distinguishing display module is configured to display the first short message and the second short message according to the first mark and the second mark.
在一个实施例中,所述设置第二标记模块还配置为将所述第二短信对应的标记由第一标记修改为第二标记。In one embodiment, the setting the second marking module is further configured to modify the mark corresponding to the second short message from the first mark to the second mark.
在一个实施例中,所述区分显示模块还配置为将对应的标记为第二标记的第二短信进行弱化显示。In an embodiment, the distinguishing display module is further configured to perform weakening display on the corresponding second short message marked as the second mark.
在一个实施例中,所述区分显示模块还配置为将对应的标记为第一标记的第一短信进行高亮显示。In one embodiment, the distinguishing display module is further configured to highlight the corresponding first short message marked as the first mark.
第四方面,本发明实施例提供一种信息处理装置,包括:In a fourth aspect, an embodiment of the present invention provides an information processing apparatus, including:
接收模块,配置为接收第一信息;a receiving module configured to receive the first information;
检测信息模块,配置为获取所述第一信息的发送者,检测是否已存在对应所述发送者的第二信息;a detection information module, configured to acquire a sender of the first information, and detect whether a second information corresponding to the sender already exists;
区分显示模块,配置为若所述检测信息模块判断为是,则是,则区分显示所述第一信息与所述第二信息。The display module is configured to be configured to display the first information and the second information separately if the detection information module determines to be YES.
第五方面,本发明实施例提供一种移动终端,所述移动终端包括本发明实施例提供的短信处理装置。In a fifth aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a short message processing apparatus provided by an embodiment of the present invention.
第六方面,本发明实施例提供一种移动终端,所述移动终端包括本发明实施例提供的信息处理装置。 In a sixth aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes the information processing apparatus provided by the embodiment of the present invention.
第七方面,本发明实施例提供一种存储介质,所述存储介质包括可执行指令,所述可执行指令用于执行本发明实施例提供的短信处理方法。In a seventh aspect, an embodiment of the present invention provides a storage medium, where the storage medium includes executable instructions, and the executable instructions are used to execute a short message processing method provided by an embodiment of the present invention.
第八方面,本发明实施例提供一种存储介质,所述存储介质包括可执行指令,所述可执行指令用于执行本发明实施例提供的信息处理方法。In an eighth aspect, an embodiment of the present invention provides a storage medium, where the storage medium includes executable instructions, and the executable instructions are used to execute an information processing method provided by an embodiment of the present invention.
上述短信处理方法、信息处理及装置、移动终端、存储介质,通过对接收的验证码短信和已存储在移动终端上的验证码短信进行区分显示,使用户可直观地分辨有效短信和过期短信,使用户可直接获知验证码短信的有效性。The foregoing short message processing method, information processing and device, mobile terminal, and storage medium distinguish and display the received verification code short message and the verification code short message stored on the mobile terminal, so that the user can intuitively distinguish the valid short message from the expired short message. Allow users to directly know the validity of the verification code SMS.
附图说明DRAWINGS
图1为本发明一实施例的短信处理方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a short message processing method according to an embodiment of the present invention;
图2为本发明一实施例的短信处理装置的功能模块图;2 is a functional block diagram of a short message processing apparatus according to an embodiment of the present invention;
图3为本发明一实施例的短信处理装置的检测短信模块的功能模块图;3 is a functional block diagram of a short message detecting module of a short message processing apparatus according to an embodiment of the present invention;
图4为本发明一实施例的移动终端的一个可选的硬件结构示意图;FIG. 4 is a schematic structural diagram of an optional hardware of a mobile terminal according to an embodiment of the present invention; FIG.
图5为本发明一实施例的信息处理方法的流程示意图;FIG. 5 is a schematic flowchart diagram of an information processing method according to an embodiment of the present invention; FIG.
图6为本发明一实施例的信息处理装置的功能模块图。Fig. 6 is a functional block diagram of an information processing apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的较佳实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容的理解更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully hereinafter with reference to the accompanying drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the understanding of the present disclosure will be more fully understood.
需要说明的是,本发明实施例所涉及的术语“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的本发明的实施例能够以 除了在这里图示或描述的那些以外的顺序实施。It should be noted that the term “first\second” according to the embodiment of the present invention is merely an object that distinguishes similar objects, and does not represent a specific ordering for an object. It can be understood that “first\second” is allowed. In this case, a specific order or order can be interchanged. It should be understood that the "first\second" distinguished objects may be interchanged where appropriate to enable embodiments of the invention described herein to Execution is performed in addition to those illustrated or described herein.
值得一提的是,本发明实施例尤其适用于各种移动终端,如手机、平板电脑或者其他智能电子设备,在下面的实施例中仅以手机的使用场景作详细描述。It is to be noted that the embodiments of the present invention are particularly applicable to various mobile terminals, such as a mobile phone, a tablet computer, or other intelligent electronic devices. In the following embodiments, only the use scenario of the mobile phone is described in detail.
例如,一种短信处理方法,包括以下步骤:接收第一短信;检测所述第一短信中是否包含验证码;若是,则获取所述第一短信的发送号码,检测对应所述发送号码是否已存在包含验证码的第二短信,若是,则区分显示所述第一短信与所述第二短信。。为了便于理解,下文将以第一短信和第二短信为验证码短信为例进行说明。For example, a method for processing a short message includes the steps of: receiving a first short message; detecting whether the first short message includes a verification code; if yes, acquiring a sending number of the first short message, and detecting whether the sending number corresponds to There is a second short message including a verification code, and if so, the first short message and the second short message are displayed separately. . For ease of understanding, the following uses the first short message and the second short message as the verification code short message as an example for description.
例如,如图1所示,一种短信处理方法,包括以下步骤:For example, as shown in FIG. 1, a short message processing method includes the following steps:
步骤S100,接收第一短信。Step S100, receiving a first short message.
一般来说,验证码短信由服务器端发送,并由移动终端接收。Generally, the verification code short message is sent by the server and received by the mobile terminal.
步骤S200,检测所述第一短信中是否包含验证码(为便于与其他短信的中的验证码区分,第一短信中包括的验证码也称为第一验证码),若是,则执行步骤S300。Step S200, detecting whether the first short message includes a verification code (to facilitate the distinguishing with the verification code in the other short message, the verification code included in the first short message is also referred to as a first verification code), and if yes, executing step S300 .
移动终端会收到各种不同类型的短信,在接收短信后,需要检测该短时是否包含验证码,以此判断该短信是否为验证码短信,例如,判断该短信内容是否包含验证码,判断方法包括,例如,检测所述短信中是否包含预设关键词,例如预设关键词为“验证码”,当短信中包含关键词“验证码”时,则判断该短信为验证码短信;例如,检测所述短信中是否包含预设长度的数字,一般来说,验证码为六位数长度的数字,当检测到短信中包含六位数长度的数字,则判断该短信为验证码;一般来说,服务器发送的发送号码(也就是服务器发送验证短信所使用的号码)与移动终端发送的发送号码不同,又如,上述检测方法还根据短信发送方的号码配合判断是否为验证码短信,进一步提高判断的验证码短信的准确性。 The mobile terminal receives various types of short messages, and after receiving the short message, it is required to detect whether the short-term includes a verification code, thereby determining whether the short message is a verification code short message, for example, determining whether the short message content includes a verification code, and determining The method includes, for example, detecting whether the short message includes a preset keyword, for example, the preset keyword is “verification code”, and when the short message includes the keyword “verification code”, determining that the short message is a verification code short message; for example And detecting whether the short message includes a preset length number. Generally, the verification code is a six-digit length number. When the short message is detected to include a six-digit length number, the short message is determined to be a verification code; The sending number sent by the server (that is, the number used by the server to send the verification short message) is different from the sending number sent by the mobile terminal. For example, the detection method further determines whether the authentication code is a short message according to the number of the short message sender. Further improve the accuracy of the judging code verification message.
在一个实施例中,判断接收的短信是否包含验证码的方法还包括:采集各服务器的验证码短信的模版(记录有相应服务器发送的验证码短信的格式,如包括的各种字段),接收短信后,根据各服务器的验证码短信的模版判断接收的短信是否为验证码短信,应该理解的是,各服务器可以是网站的服务器或者是移动终端的应用的服务器;例如,根据操作指令对短信进行验证码短信进行识别,并存储识别结果,再次接收短信后,根据存储的识别结果对该短信进行判断。通过采集模版或存储的方式辅助判断,提高了判断的准确性。In an embodiment, the method for determining whether the received short message includes the verification code further includes: collecting a template of the verification code short message of each server (recording a format of the verification code short message sent by the corresponding server, such as various fields included), and receiving After the short message, according to the template of the verification code of each server, it is judged whether the received short message is a verification code short message. It should be understood that each server may be a server of the website or a server of the application of the mobile terminal; for example, according to the operation instruction The verification code short message is identified, and the recognition result is stored. After receiving the short message again, the short message is judged according to the stored recognition result. The accuracy of the judgment is improved by assisting the judgment by collecting templates or storing.
步骤S300,获取所述第一短信的发送号码,检测是否已存在对应所述发送号码第二短信,且第二短信包括第二验证码,若是,则执行步骤S400。Step S300: Acquire a sending number of the first short message, and check whether a second short message corresponding to the sending number already exists, and the second short message includes a second verification code. If yes, step S400 is performed.
在收到新的验证码短信时,移动终端内可能存储有具有与该验证码短信同一发送方的验证码短信。在本步骤中,当接收了第一短信后,获取第一短信的发送号码,并检测移动终端的短信存储区域内是否包含与第一短信具有相同发送号码的第二短信,以判断短信存储区内是否包含多个与接收的验证码短信具有相同发送方(也就是具有相同发送号码)的短信,如果存储区域内包含有与第一短信相同发送号码的第二短信,则执行步骤S400。When receiving a new verification code short message, a verification code short message with the same sender as the verification code short message may be stored in the mobile terminal. In this step, after receiving the first short message, acquiring the sending number of the first short message, and detecting whether the short message storage area of the mobile terminal includes the second short message having the same sending number as the first short message, to determine the short message storage area. Whether a plurality of short messages having the same sender (that is, having the same transmission number) as the received verification code short message are included in the message, and if the storage area includes the second short message with the same transmission number as the first short message, step S400 is performed.
步骤S400,区分显示所述第一短信与所述第二短信。Step S400, distinguishing between displaying the first short message and the second short message.
当短信存储区内包含多个与接收的验证码短信具有相同发送方的短信,为了便于用户识别有效的验证码短信和过期的验证码短信,将第一短信和第二短信区分显示,使用户清楚、明确且轻易的分辨有效的验证码短信和过期的验证码短信。When the short message storage area contains a plurality of short messages with the same sender code as the received verification code short message, in order to facilitate the user to identify the valid verification code short message and the expired verification code short message, the first short message and the second short message are displayed separately to make the user Clear, clear and easy to distinguish valid verification code SMS and expired verification code SMS.
在一个实施例中,步骤S300可以包括:In an embodiment, step S300 may include:
步骤S310,对所述第一短信设置第一标记。Step S310, setting a first flag to the first short message.
当检测到所述第一短信中包含验证码,则设置所述第一短信对应的标 记为第一标记。When it is detected that the first short message includes a verification code, setting a target corresponding to the first short message Recorded as the first mark.
当检测接收的第一短信为验证码短信后,对该短信设置第一标记,用以标记该短信为有效的验证码短信,第一标记可以是字符串,例如第一标记为数字,示例性地,将接收到的短信设置一标记为“1”,以此标记该短信为最新接收的短信,该短信包含的验证码(也就是第一验证码)为最新的验证码,因此该验证码为有效的验证码。After detecting that the received first short message is a verification code short message, setting a first mark on the short message to mark the short message as a valid verification code short message, and the first mark may be a character string, for example, the first mark is a number, exemplary To mark the received short message as "1", the short message is marked as the latest received short message, and the verification code (that is, the first verification code) included in the short message is the latest verification code, so the verification code Is a valid verification code.
步骤S320,获取所述第一短信的发送号码,检测对应所述发送号码是否已存在包含验证码(第二验证码,与第一验证码不同)的第二短信,若是,则对所述第二短信设置第二标记。Step S320: Acquire a sending number of the first short message, and detect whether a second short message including a verification code (a second verification code, different from the first verification code) already exists corresponding to the sending number, and if yes, The second message sets the second tag.
在收到新的验证码短信前,移动终端内可能存储有具有与该验证码短信同一发送方的验证码短信。移动终端获取到新的验证码短信后,检测存储区域内是否具有同一发送号码的验证码短信,如果是,则对存储区域内该发送号码对应的具有验证码的第二短信设置第二标记,第二标记表明第二短信的验证码(第二验证码)为过期验证码,即无效验证码。示例性地,第二标记与第一标记相对应,例如,第二标记为“0”,以此区分第一短信和第二短信。Before receiving the new verification code short message, the mobile terminal may store a verification code short message with the same sender as the verification code short message. After obtaining the new verification code short message, the mobile terminal detects whether the verification code has the same transmission number in the storage area, and if so, sets a second mark on the second short message with the verification code corresponding to the transmission number in the storage area. The second flag indicates that the verification code (second verification code) of the second short message is an expired verification code, that is, an invalid verification code. Illustratively, the second indicia corresponds to the first indicia, for example, the second indicia is “0” to distinguish the first short message from the second short message.
在一个实施例中,步骤S400可以包括:In an embodiment, step S400 may include:
根据所述第一标记和所述第二标记区分显示所述第一短信和所述第二短信。Displaying the first short message and the second short message according to the first mark and the second mark.
这样,通过第一标记和第二标记可快速区分有效验证码短信和过期验证码短信,具有第一标记“1”的第一短信的验证码为有效验证码,具有第二标记“0”的第二短信的验证码为过期验证码,移动终端根据第一标记和第二标记快速地区分显示第一短信和第二短信,使用户可直观、快捷的区分有效的验证码短信和过期的验证码短信。In this way, the first verification code and the expired verification code short message can be quickly distinguished by the first mark and the second mark, and the verification code of the first short message having the first mark “1” is a valid verification code, and has a second mark “0”. The verification code of the second short message is an expired verification code, and the mobile terminal quickly displays the first short message and the second short message according to the first mark and the second mark, so that the user can distinguish the valid verification code short message and the expired verification intuitively and quickly. Code text message.
在一个实施例中,所述步骤S320包括: In an embodiment, the step S320 includes:
将所述第二短信对应的标记由第一标记修改为第二标记。The mark corresponding to the second short message is modified from the first mark to the second mark.
由于移动终端可能多次接收来自同一发送号码的短信,那么,最近一次接收的验证码短信在未收到更新的验证码短信时其标记为第一标记,即最近一次接收的验证码短信为“1”,且该验证码短信存储在短信存储区域,而当移动终端再次接收到验证码短信时,则需将已标记为“1”的存储在短信存储区域的验证码短信的标记修改第二标记,例如修改标记为“0”,具体来说,当移动终端再次收到同一发送号码的验证码短信时,则将短信存储区域内的标记为“1”短信验证码的标记修改为“0”,表明该验证码短信的验证码为过期的验证码,同时避免与再次接收的验证码短信的标记冲突,并以此区分当前的最新的验证码短信和早前的验证码短信。Since the mobile terminal may receive the short message from the same sending number multiple times, the most recently received verification code short message is marked as the first mark when the updated verification code short message is not received, that is, the last received verification code short message is “ 1", and the verification code short message is stored in the short message storage area, and when the mobile terminal receives the verification code short message again, the mark of the verification code short message stored in the short message storage area marked with "1" needs to be modified second. The mark, for example, the modification mark is “0”. Specifically, when the mobile terminal receives the verification code short message of the same sending number again, the mark marked “1” short message verification code in the short message storage area is modified to “0”. ”, indicating that the verification code of the verification code short message is an expired verification code, and avoids conflicting with the mark of the verification code short message received again, and distinguishes the current latest verification code short message from the earlier verification code short message.
在一个实施例中,所述步骤S400还包括:In an embodiment, the step S400 further includes:
将对应的标记为第二标记的第二短信进行弱化显示。The corresponding second short message marked as the second mark is weakened and displayed.
为了使用户可清楚、明确的分辨有效的验证码短信,对标记为“0”的验证码短信的显示进行弱化显示,以此突出标记为“1”的验证码短信,使用户可直观的识别有效的验证码短信。In order to enable the user to clearly and clearly distinguish the valid verification code short message, the display of the verification code short message marked with “0” is weakened, thereby highlighting the verification code short message marked as “1”, so that the user can intuitively recognize A valid verification code text message.
在一个实施例中,所述步骤S400还包括:In an embodiment, the step S400 further includes:
将对应的标记为第一标记的第一短信进行高亮显示。The corresponding first short message marked as the first mark is highlighted.
为了使用户可清楚、明确的分辨有效的验证码短信,还可以对标记为“1”的验证码短信进行高亮显示,使标记为“1”的验证码短信区别于记为“0”的验证码短信,且标记为“1”的验证码短信更为突出,使用户可直观的识别有效的验证码短信。In order to enable the user to clearly and clearly distinguish the valid verification code short message, the verification code short message marked with "1" can also be highlighted, so that the verification code short message marked with "1" is distinguished from the verification code short message marked as "0". Verification code SMS, and the verification code SMS marked as "1" is more prominent, enabling users to intuitively identify valid verification code SMS.
为了进一步减小多个验证码短信对用户造成的分辨困难,在一个实施例中,所述步骤S400之前还包括步骤S350,删除所述第二短信。In order to further reduce the difficulty of distinguishing multiple verification code short messages from the user, in an embodiment, the step S400 further includes a step S350 to delete the second short message.
为了避免多个验证码短信同时显示,使得用户分辨有效的验证码短信的效率降低,在检测到短信存储区域内具有相同发送方的多个验证码短信 后,删除这些具有过期验证码的验证码短信。例如,当接收到新的验证码短信时,删除移动终端内存储的同一发送号码的验证码短信,仅显示有效的验证码短信,提高用户获取验证码的效率,进一步提高获取验证码的准确性,避免了用户的分辨困难,另一方面则减小了验证码短信对存储空间的占用。In order to prevent multiple verification code text messages from being displayed at the same time, the efficiency of the user to distinguish valid verification code short messages is reduced, and multiple verification code short messages with the same sender are detected in the short message storage area. After that, delete these verification code SMS messages with expired verification codes. For example, when a new verification code short message is received, the verification code short message of the same transmission number stored in the mobile terminal is deleted, only a valid verification code short message is displayed, thereby improving the efficiency of the user acquiring the verification code, and further improving the accuracy of obtaining the verification code. The user's resolution difficulty is avoided, and on the other hand, the use of the verification code short message for the storage space is reduced.
采用上述任一实施例所述短信处理方法,本发明还包括与这些短信处理方法相对应的短信处理装置,即每一实施例所述短信处理方法,对应一个短信处理装置的实施例。例如,一种短信处理装置,包括接收模块、检测验证码模块、检测短信模块和区分显示模块,其中,所述接收模块配置为接收第一短信;所述检测验证码模块配置为检测所述第一短信中是否包含验证码;所述检测短信模块配置为获取所述第一短信的发送号码,检测对应所述发送号码是否已存在包含验证码的第二短信;所述区分显示模块配置为区分显示所述第一短信与所述第二短信。The method for processing a short message according to any of the above embodiments, the present invention further includes a short message processing device corresponding to the short message processing methods, that is, the short message processing method in each embodiment, corresponding to an embodiment of a short message processing device. For example, a short message processing device includes a receiving module, a detection verification code module, a detection short message module, and a distinguishing display module, wherein the receiving module is configured to receive a first short message; and the detection verification code module is configured to detect the first Whether the short message is included in the short message; the detecting short message module is configured to acquire the sending number of the first short message, and detect whether a second short message including the verification code already exists corresponding to the sending number; the distinguishing display module is configured to distinguish Displaying the first short message and the second short message.
在一个实施例中,如图2所示,本发明一个实施例的一种短信处理装置,包括:In an embodiment, as shown in FIG. 2, a short message processing apparatus according to an embodiment of the present invention includes:
接收模块10,配置为接收第一短信;The receiving module 10 is configured to receive the first short message.
检测验证码模块20,与所述接收模块10连接,配置为检测所述第一短信中是否包含验证码;The detection verification code module 20 is connected to the receiving module 10, and configured to detect whether the first short message includes a verification code;
检测短信模块30,与所述检测验证码模块20连接,配置为获取所述第一短信的发送号码,检测是否已存在对应所述发送号码且包括第二验证码的第二短信;The detecting short message module 30 is connected to the detection verification code module 20, configured to acquire the sending number of the first short message, and detect whether there is a second short message corresponding to the sending number and including the second verification code;
区分显示模块40,与所述接收模块10、检测短信模块30连接,配置为若所述检测短信模块30判断为是,则区分显示所述第一短信与所述第二短信。The distinguishing display module 40 is connected to the receiving module 10 and the detecting short message module 30, and is configured to display the first short message and the second short message separately if the detecting short message module 30 determines to be YES.
在一个实施例中,如图3所示,所述检测短信模块30可以包括: In an embodiment, as shown in FIG. 3, the detecting short message module 30 may include:
设置第一标记子模块31,配置为对所述第一短信设置第一标记;Setting a first marking sub-module 31, configured to set a first marking for the first short message;
设置第二标记子模块32,配置为获取所述第一短信的发送号码,检测是否已存在对应所述发送号码且包括第二验证码的第二短信,若是,则对所述第二短信设置第二标记;Setting a second marking sub-module 32, configured to acquire a sending number of the first short message, detecting whether a second short message corresponding to the sending number and including a second verification code exists, and if yes, setting the second short message Second mark
所述区分显示模块40配置为根据所述第一标记和所述第二标记区分显示所述第一短信和所述第二短信。The distinguishing display module 40 is configured to display the first short message and the second short message according to the first mark and the second mark.
在一个实施例中,所述设置第二标记模块42还配置为将所述第二短信对应的标记由第一标记修改为第二标记。In one embodiment, the setting second marking module 42 is further configured to modify the mark corresponding to the second short message from the first mark to the second mark.
在一个实施例中,所述区分显示模块40还配置为将对应的标记为第二标记的第二短信进行弱化显示。In an embodiment, the distinguishing display module 40 is further configured to perform weakening display on the corresponding second short message marked as the second mark.
在一个实施例中,所述区分显示模块40还配置为将对应的标记为第一标记的第一短信进行高亮显示。In an embodiment, the distinguishing display module 40 is further configured to highlight the corresponding first short message marked as the first mark.
在一个实施例中,还包括删除模块,配置为删除所述第二短信。In an embodiment, the method further includes deleting the module, configured to delete the second short message.
应该说明的是,上述实施例中所包括的各个模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。实际应用中,装置中的各模块可由处理器、微处理器(MCU)、专用集成电路(ASIC)或逻辑可编程门阵列(FPGA)实现。It should be noted that the modules included in the foregoing embodiments are only divided according to functional logic, but are not limited to the above divisions, as long as the corresponding functions can be implemented; in addition, the specific names of the functional units are only In order to facilitate mutual differentiation, it is not intended to limit the scope of the invention. In practical applications, each module in the device can be implemented by a processor, a microprocessor (MCU), an application specific integrated circuit (ASIC), or a logic programmable gate array (FPGA).
本发明实施例还提供一种移动终端,包括本发明实施例提供的短信处理装置,移动终端的一个可选的硬件结构示意图如图4所示,移动终端10包括处理器11、输入/输出接口13(例如显示器、键盘、触摸屏、扬声器麦克风中的一个或多个),存储介质14以及网络接口12,组件可以经系统总线15连接通信。示例性地,存储介质14中存储有可执行指令,可执行指令用于执行本发明实施例提供的短信处理方法。 The embodiment of the present invention further provides a mobile terminal, including the short message processing device provided by the embodiment of the present invention. An optional hardware structure diagram of the mobile terminal is shown in FIG. 4, and the mobile terminal 10 includes a processor 11 and an input/output interface. 13 (such as one or more of a display, a keyboard, a touch screen, a speaker microphone), a storage medium 14 and a network interface 12, the components can be connected for communication via the system bus 15. Illustratively, the storage medium 14 stores executable instructions for executing the short message processing method provided by the embodiments of the present invention.
本发明实施例还提供一种信息处理方法,参见图5,包括以下步骤:An embodiment of the present invention further provides an information processing method. Referring to FIG. 5, the method includes the following steps:
步骤500,接收第一信息。Step 500, receiving the first information.
第一信息仅用于与终端接收的其他信息区分,本发明实施中对第一信息的类型不做限定,示例性地,第一信息可为前述的短信,还可以为移动终端接收的任意其他类型的信息,如电子邮件、即时通信消息、语音消息等。The first information is only used to distinguish the other information received by the terminal. In the implementation of the present invention, the type of the first information is not limited. For example, the first information may be the foregoing short message, and may be any other received by the mobile terminal. Types of information, such as emails, instant messaging messages, voice messages, and more.
步骤600,获取所述第一信息的发送者。Step 600: Acquire a sender of the first information.
信息的发送者视信息的类型而有所区别,例如当第一信息为短信时,第一信息的发送者为发送号码;第一信息为社交应用的即时通信消息时,发送者为社交应用后台中用于识别第一信息来源用户的标识,如用户名、序列号等。The sender of the information differs depending on the type of the information. For example, when the first information is a short message, the sender of the first information is a sending number; when the first information is an instant messaging message of the social application, the sender is a social application. The identifier used by Taichung to identify the user of the first information source, such as the user name, serial number, and the like.
步骤700,检测是否已存在对应所述发送者的第二信息;若是,则执行步骤800;否则,返回步骤500。Step 700: Detect whether there is already a second information corresponding to the sender; if yes, execute step 800; otherwise, return to step 500.
步骤800,区分显示所述第一信息与所述第二信息。Step 800: Differentiate display of the first information and the second information.
在一个实施例中,所述检测是否已存在对应所述发送者的第二信息;In an embodiment, the detecting whether there is already a second information corresponding to the sender;
若是,则区分显示所述第一信息与所述第二信息,包括:If yes, the first information and the second information are displayed separately, including:
对所述第一信息设置第一标记;Setting a first mark to the first information;
获取所述第一信息的发送者,检测是否已存在包括对应所述发送者的第二信息,若是,则对所述第二信息设置第二标记;Obtaining, by the sender of the first information, whether there is already a second information including the sender, and if yes, setting a second flag to the second information;
根据所述第一标记和所述第二标记区分显示所述第一信息和所述第二信息。And displaying the first information and the second information according to the first mark and the second mark.
在一个实施例中,所述对所述第二信息设置第二标记,包括:In an embodiment, the setting the second flag to the second information comprises:
将所述第二信息对应的标记由第一标记修改为第二标记。The mark corresponding to the second information is modified from the first mark to the second mark.
在一个实施例中,所述区分显示所述第一信息与所述第二信息,包括:In an embodiment, the distinguishing between the first information and the second information includes:
将对应的标记为第二标记的第二信息进行弱化显示。 The corresponding second information marked as the second mark is weakened and displayed.
在一个实施例中,所述区分显示所述第一信息与所述第二信息,包括:In an embodiment, the distinguishing between the first information and the second information includes:
将对应的标记为第一标记的第一信息进行高亮显示。The corresponding first information marked as the first mark is highlighted.
本发明实施例还提供一种信息处理装置,参见图6,包括:An embodiment of the present invention further provides an information processing apparatus. Referring to FIG. 6, the method includes:
接收模块50,配置为接收第一信息;The receiving module 50 is configured to receive the first information.
检测信息模块60,配置为获取所述第一信息的发送者,检测是否已存在对应所述发送者的第二信息;The detecting information module 60 is configured to acquire a sender of the first information, and detect whether there is already second information corresponding to the sender;
区分显示模块70,配置为若为若所述检测信息模块60判断为是,则是,则区分显示所述第一信息与所述第二信息。The distinguishing display module 70 is configured to display the first information and the second information separately if the detection information module 60 determines that it is YES.
在一个实施例中,所述检测信息模块60包括:In one embodiment, the detection information module 60 includes:
设置第一标记子模块601,配置为对所述第一信息设置第一标记;Setting a first marking sub-module 601, configured to set a first marking to the first information;
设置第二标记子模块602,配置为获取所述第一信息的发送者,检测对应所述发送者是否已存在第二信息,若是,则对所述第二信息设置第二标记;Setting a second marking sub-module 602, configured to acquire a sender of the first information, detecting whether the second information is already present corresponding to the sender, and if yes, setting a second flag to the second information;
所述区分显示模块70,还配置为根据所述第一标记和所述第二标记区分显示所述第一信息和所述第二信息。The distinguishing display module 70 is further configured to display the first information and the second information according to the first mark and the second mark.
在一个实施例中,所述设置第二标记模块还配置为将所述第二信息对应的标记由第一标记修改为第二标记。In one embodiment, the setting the second marking module is further configured to modify the marking corresponding to the second information from the first marking to the second marking.
在一个实施例中,所述区分显示模块70还配置为将对应的标记为第二标记的第二信息进行弱化显示。In an embodiment, the distinguishing display module 70 is further configured to perform weakening display on the corresponding second information marked as the second mark.
在一个实施例中,所述区分显示模块70还配置为将对应的标记为第一标记的第一信息进行高亮显示。In one embodiment, the distinguishing display module 70 is further configured to highlight the corresponding first information labeled as the first indicia.
本发明实施例还提供一种移动终端,包括本发明实施例提供的信息处理装置,移动终端的一个可选的硬件结构示意图如图4所示,移动终端10包括处理器11、输入/输出接口13(例如显示器、键盘、触摸屏、扬声器麦 克风中的一个或多个),存储介质14以及网络接口12,组件可以经系统总线15连接通信。示例性地,存储介质14中存储有可执行指令,可执行指令用于执行本发明实施例提供的信息处理方法。The embodiment of the present invention further provides a mobile terminal, including the information processing apparatus provided by the embodiment of the present invention. An optional hardware structure diagram of the mobile terminal is shown in FIG. 4, and the mobile terminal 10 includes a processor 11 and an input/output interface. 13 (eg display, keyboard, touch screen, speaker 麦 One or more of the winds, the storage medium 14 and the network interface 12, the components can be connected to communicate via the system bus 15. Illustratively, the storage medium 14 stores executable instructions for executing the information processing method provided by the embodiments of the present invention.
本领域的技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储装置、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be completed by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk. A medium that can store program code.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机、服务器、或者网络装置等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储装置、RAM、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making A computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (16)

  1. 一种短信处理方法,包括:A method for processing short messages, including:
    接收第一短信;Receiving the first short message;
    检测所述第一短信中是否包含第一验证码;Detecting whether the first short message includes the first verification code;
    若是,则获取所述第一短信的发送号码,检测是否已存在对应所述发送号码且包括第二验证码的第二短信,若是,则区分显示所述第一短信与所述第二短信。If yes, the sending number of the first short message is obtained, and it is detected whether there is a second short message corresponding to the sending number and including the second verification code, and if yes, the first short message and the second short message are separately displayed.
  2. 根据权利要求1所述的短信处理方法,其中,所述检测是否已存在对应所述发送号码且包括第二验证码的第二短信,若是,则区分显示所述第一短信与所述第二短信,包括:The short message processing method according to claim 1, wherein the detecting whether there is a second short message corresponding to the sending number and including a second verification code, and if so, distinguishing between displaying the first short message and the second SMS, including:
    对所述第一短信设置第一标记;Setting a first mark to the first short message;
    获取所述第一短信的发送号码,检测是否已存在包括对应所述发送号码且包括第二验证码的第二短信,若是,则对所述第二短信设置第二标记;Obtaining a sending number of the first short message, detecting whether a second short message corresponding to the sending number and including a second verification code exists, and if yes, setting a second flag to the second short message;
    根据所述第一标记和所述第二标记区分显示所述第一短信和所述第二短信。Displaying the first short message and the second short message according to the first mark and the second mark.
  3. 根据权利要求2所述的短信处理方法,其中,所述对所述第二短信设置第二标记,包括:The short message processing method according to claim 2, wherein the setting the second flag to the second short message comprises:
    将所述第二短信对应的标记由第一标记修改为第二标记。The mark corresponding to the second short message is modified from the first mark to the second mark.
  4. 根据权利要求2所述的短信处理方法,其中,所述区分显示所述第一短信与所述第二短信,包括:The short message processing method according to claim 2, wherein the distinguishing between displaying the first short message and the second short message comprises:
    将对应的标记为第二标记的第二短信进行弱化显示。The corresponding second short message marked as the second mark is weakened and displayed.
  5. 根据权利要求2所述的短信处理方法,其中,所述区分显示所述第一短信与所述第二短信,包括:The short message processing method according to claim 2, wherein the distinguishing between displaying the first short message and the second short message comprises:
    将对应的标记为第一标记的第一短信进行高亮显示。The corresponding first short message marked as the first mark is highlighted.
  6. 一种信息处理方法,包括: An information processing method includes:
    接收第一信息;Receiving the first information;
    获取所述第一信息的发送者;Obtaining a sender of the first information;
    检测是否已存在对应所述发送者的第二信息;Detecting whether there is already a second information corresponding to the sender;
    若是,则区分显示所述第一信息与所述第二信息。If yes, the first information and the second information are displayed separately.
  7. 一种短信处理装置,包括:A short message processing device includes:
    接收模块,配置为接收第一短信;a receiving module, configured to receive the first short message;
    检测验证码模块,配置为检测所述第一短信中是否包含验证码;Detecting a verification code module, configured to detect whether the first short message includes a verification code;
    检测短信模块,配置为获取所述第一短信的发送号码,检测是否已存在对应所述发送号码且包括第二验证码的第二短信;Detecting a short message module, configured to obtain a sending number of the first short message, and detecting whether a second short message corresponding to the sending number and including a second verification code exists
    区分显示模块,配置为若所述检测短信模块判断为是,则区分显示所述第一短信与所述第二短信。The display module is configured to display the first short message and the second short message separately if the detection short message module determines to be YES.
  8. 根据权利要求7所述的短信处理装置,其中,所述检测短信模块包括:The short message processing device according to claim 7, wherein the detecting the short message module comprises:
    设置第一标记子模块,配置为对所述第一短信设置第一标记;Setting a first marking submodule, configured to set a first mark on the first short message;
    设置第二标记子模块,配置为获取所述第一短信的发送号码,检测对应所述发送号码是否已存在包含验证码的第二短信,若是,则对所述第二短信设置第二标记;Setting a second tag sub-module, configured to acquire a sending number of the first short message, and detecting whether a second short message including a verification code already exists corresponding to the sending number, and if yes, setting a second flag to the second short message;
    所述区分显示模块,还配置为根据所述第一标记和所述第二标记区分显示所述第一短信和所述第二短信。The distinguishing display module is further configured to display the first short message and the second short message according to the first mark and the second mark.
  9. 根据权利要求8所述的短信处理装置,其中,所述设置第二标记模块还配置为将所述第二短信对应的标记由第一标记修改为第二标记。The short message processing device according to claim 8, wherein the setting second marking module is further configured to modify the mark corresponding to the second short message from the first mark to the second mark.
  10. 根据权利要求8所述的短信处理装置,其中,所述区分显示模块还配置为将对应的标记为第二标记的第二短信进行弱化显示。The short message processing device according to claim 8, wherein the distinguishing display module is further configured to perform weakening display on the corresponding second short message marked as the second mark.
  11. 根据权利要求8所述的短信处理装置,其中,所述区分显示模块还配置为将对应的标记为第一标记的第一短信进行高亮显示。 The short message processing device according to claim 8, wherein the distinguishing display module is further configured to highlight the corresponding first short message marked as the first mark.
  12. 一种信息处理装置,包括:An information processing apparatus comprising:
    接收模块,配置为接收第一信息;a receiving module configured to receive the first information;
    检测信息模块,配置为获取所述第一信息的发送者,检测是否已存在对应所述发送者的第二信息;a detection information module, configured to acquire a sender of the first information, and detect whether a second information corresponding to the sender already exists;
    区分显示模块,配置为若所述检测信息模块判断为是,则是,则区分显示所述第一信息与所述第二信息。The display module is configured to be configured to display the first information and the second information separately if the detection information module determines to be YES.
  13. 一种移动终端,所述移动终端包括权利要求7至11任一项所述的验证码短信过期处理装置。A mobile terminal comprising the verification code short message expiration processing apparatus according to any one of claims 7 to 11.
  14. 一种移动终端,所述移动终端包括权利要求12所述的短信处理装置。A mobile terminal comprising the short message processing device of claim 12.
  15. 一种存储介质,所述存储介质包括可执行指令,所述可执行指令用于执行权利要求1至5任一项所述的短信处理方法。A storage medium, the storage medium comprising executable instructions for performing the short message processing method according to any one of claims 1 to 5.
  16. 一种存储介质,所述存储介质包括可执行指令,所述可执行指令用于执行权利要求6所述的信息处理方法。 A storage medium, the storage medium comprising executable instructions for performing the information processing method of claim 6.
PCT/CN2016/089670 2015-07-27 2016-07-11 Short message processing method, information processing method and device, mobile terminal and storage medium WO2017016384A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510446166.0 2015-07-27
CN201510446166.0A CN105141753A (en) 2015-07-27 2015-07-27 Method and device for processing verification code short-message expiration

Publications (1)

Publication Number Publication Date
WO2017016384A1 true WO2017016384A1 (en) 2017-02-02

Family

ID=54726952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089670 WO2017016384A1 (en) 2015-07-27 2016-07-11 Short message processing method, information processing method and device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN105141753A (en)
WO (1) WO2017016384A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141753A (en) * 2015-07-27 2015-12-09 深圳市万普拉斯科技有限公司 Method and device for processing verification code short-message expiration
CN106502505B (en) * 2016-10-31 2020-07-17 维沃移动通信有限公司 Information notification display method and mobile terminal
CN106302139A (en) * 2016-11-15 2017-01-04 青岛海信移动通信技术股份有限公司 Message treatment method and device
CN110012150B (en) * 2019-02-20 2021-07-30 维沃移动通信有限公司 Message display method and terminal equipment
CN110033565A (en) * 2019-04-11 2019-07-19 中国联合网络通信集团有限公司 Pickup code processing method and system, express delivery cabinet management system, carrier server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143455A (en) * 2010-08-05 2011-08-03 华为技术有限公司 Method, server and terminal for displaying short message (SM) icons
US20110217997A1 (en) * 2010-03-03 2011-09-08 Paloma Networks Sas Security mechanisms to protect sms exchange in telecommunication networks
CN103167446A (en) * 2012-08-23 2013-06-19 深圳市金立通信设备有限公司 Short message revocation method in sending process of mobile phone short message
CN103955474A (en) * 2014-03-31 2014-07-30 可牛网络技术(北京)有限公司 Notification message processing method and device
CN105141753A (en) * 2015-07-27 2015-12-09 深圳市万普拉斯科技有限公司 Method and device for processing verification code short-message expiration

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100372414C (en) * 2005-05-27 2008-02-27 华为技术有限公司 Method for automatically covering short message
CN101997849A (en) * 2009-08-18 2011-03-30 阿里巴巴集团控股有限公司 Method, device and system for authentication of internet user
CN101916478A (en) * 2010-08-03 2010-12-15 上海瀚银信息技术有限公司 Method for automatically acquiring, verifying and inputting dynamic password in normal short message by client
CN102905237A (en) * 2011-07-27 2013-01-30 冯元远 Enhanced short message verification code
CN103685384A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 User authentication method and device for preventing malicious harassment
CN103841130A (en) * 2012-11-21 2014-06-04 深圳市腾讯计算机系统有限公司 Verification information pushing method and device, and identity authentication method and device
CN103220413A (en) * 2013-03-25 2013-07-24 深圳市金立通信设备有限公司 Communication device and communication information state identifying method in same
CN104753882B (en) * 2013-12-30 2020-06-16 腾讯科技(深圳)有限公司 Network service verification method, system and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110217997A1 (en) * 2010-03-03 2011-09-08 Paloma Networks Sas Security mechanisms to protect sms exchange in telecommunication networks
CN102143455A (en) * 2010-08-05 2011-08-03 华为技术有限公司 Method, server and terminal for displaying short message (SM) icons
CN103167446A (en) * 2012-08-23 2013-06-19 深圳市金立通信设备有限公司 Short message revocation method in sending process of mobile phone short message
CN103955474A (en) * 2014-03-31 2014-07-30 可牛网络技术(北京)有限公司 Notification message processing method and device
CN105141753A (en) * 2015-07-27 2015-12-09 深圳市万普拉斯科技有限公司 Method and device for processing verification code short-message expiration

Also Published As

Publication number Publication date
CN105141753A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
WO2017016384A1 (en) Short message processing method, information processing method and device, mobile terminal and storage medium
RU2615632C2 (en) Method and device for recognizing communication messages
US10164923B2 (en) Methodology that uses culture information as a means to detect spam
US9280682B2 (en) Automated management of private information
US10776563B2 (en) Systems and methods to improve a technological process for signing documents
CN108650260B (en) Malicious website identification method and device
US10757053B2 (en) High confidence digital content treatment
CN107800765B (en) Information processing method, terminal and system
WO2017097075A1 (en) Fuzzy keyword matching method and apparatus
EP2819351A1 (en) Information processing method, apparatus, and system
US8996633B2 (en) Systems for providing emotional tone-based notifications for communications and related methods
US20140074950A1 (en) Determining additional information associated with geographic location information
WO2017166667A1 (en) Method of pushing message on lock screen on mobile terminal, device, and electronic apparatus
CN105956801A (en) Express collection method
RU2673401C2 (en) Method and device for obtaining certification document
US9571514B2 (en) Notification of security question compromise level based on social network interactions
CN113011856B (en) Online residence method and device for energy enterprise, electronic equipment and medium
CN104683963A (en) Information processing method and electronic equipment
KR20210132129A (en) Data Privacy Using Podium Mechanism
CN109871685B (en) RTF file analysis method and device
US20190364395A1 (en) Electronic device and method for processing message data of the electronic device
WO2017076025A1 (en) Information processing method and apparatus, and electronic device
KR102365160B1 (en) Method, apparatus and system for providing translated contents
CN114047854A (en) Information interaction method and device for document processing, electronic equipment and storage medium
CN106209889B (en) Detect the method and device that information is kidnapped in webpage

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: 16829750

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC DATED 14.06.2018(F1205A).

122 Ep: pct application non-entry in european phase

Ref document number: 16829750

Country of ref document: EP

Kind code of ref document: A1