CN111373711A - Verification code acquisition method and mobile terminal - Google Patents

Verification code acquisition method and mobile terminal Download PDF

Info

Publication number
CN111373711A
CN111373711A CN201780097100.2A CN201780097100A CN111373711A CN 111373711 A CN111373711 A CN 111373711A CN 201780097100 A CN201780097100 A CN 201780097100A CN 111373711 A CN111373711 A CN 111373711A
Authority
CN
China
Prior art keywords
mobile terminal
verification code
earphone
short message
earphone port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201780097100.2A
Other languages
Chinese (zh)
Inventor
吴永圣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Publication of CN111373711A publication Critical patent/CN111373711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Abstract

The invention relates to a verification code acquisition method and a mobile terminal, wherein the verification code acquisition method comprises the following steps: the mobile terminal receives the verification code; judging whether an earphone port of the mobile terminal is connected with an earphone or not; if yes, the verification code is played in the earphone in a voice broadcasting mode. According to the method and the device, after the mobile terminal receives the verification code, if the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcasting mode, so that the step of obtaining the verification code is simplified, a user can obtain the verification code quickly and conveniently, the information verification efficiency is improved, and the user experience is effectively improved.

Description

Verification code acquisition method and mobile terminal Technical Field
The invention relates to the technical field of information security, in particular to a verification code obtaining method and a mobile terminal.
Background
With the occurrence of various network security events, such as the leakage or theft of network account numbers and passwords, the common way of logging in the account numbers by adopting the verification codes is not necessarily safe and risk-free operation.
In order to better protect privacy of a user, in an existing mobile service, more and more Application (APP) developers may use a dual authentication protection mechanism for login or sensitive operation of an Application, that is, a user needs to operate by using authentication information to ensure security of the service. The user can obtain the verification information through short messages or mails and the like. The authentication code (or so-called check code) is one of the most common authentication information. Among them, the Verification Code (Verification Code) received in the form of Short Messaging Service (SMS) is often also called as Short message Verification Code. In many certifications, especially in payment processes, short message verification is the last safety measure. For example, when registering an account number or making a payment with a mobile phone, a server (service provider, such as a payment bank) generally sends a short message containing a verification code of numbers or characters to a mobile phone number previously bound by a user through a short message gateway to perform identity verification, and the short message is sent in a plaintext form.
The interaction modes of the mobile phone and the human are three, namely visual, auditory and tactile. Because the touch screen is widely applied to the mobile phone, the most used interaction modes of the user are visual and tactile, and the auditory sense is mostly used for displaying multimedia. Therefore, when a user needs to acquire a short message verification code received in a mobile phone, the user needs to perform steps of unlocking the mobile phone, opening a short message application, checking a corresponding short message and the like to acquire the corresponding short message verification code. Therefore, when the short message verification code is acquired, the steps required to be executed by the user are multiple, the operation is complex, the time is consumed, and the user experience is poor.
If the short message verification code received by the mobile phone is notified to the user in a voice mode, the short message verification code is easily leaked to other irrelevant people, so that private information is leaked, and great hidden danger is caused in the aspect of safety.
Based on the above, it is urgently needed to provide a verification code obtaining technology, which can simplify the step of obtaining the verification code on the basis of ensuring the safety of the verification code, so that a user can quickly and conveniently obtain the verification code, the information verification efficiency is improved, and the user experience is effectively improved.
Disclosure of the invention
The invention aims to provide a verification code obtaining method and a mobile terminal, wherein after the mobile terminal receives the verification code, if an earphone port of the mobile terminal is connected with an earphone, the verification code is played on the earphone in a voice broadcasting mode, so that the step of obtaining the verification code is simplified, a user can obtain the verification code quickly and conveniently, the information verification efficiency is improved, and the user experience is effectively improved.
In order to achieve the above object, the present invention provides a verification code obtaining method, including:
the mobile terminal receives the verification code;
judging whether an earphone port of the mobile terminal is connected with an earphone or not;
if yes, the verification code is played in the earphone in a voice broadcasting mode.
Optionally, after the mobile terminal receives the verification code, before determining whether the earphone port of the mobile terminal is connected to the earphone, the verification code obtaining method further includes:
judging whether the mobile terminal is in a screen locking state or not;
and if the mobile terminal is in a screen locking state, judging whether an earphone port of the mobile terminal is connected with an earphone.
Optionally, if the mobile terminal is in a non-screen-locking state, the verification code is displayed in a display screen of the mobile terminal in a text form.
Optionally, if the earphone port of the mobile terminal is not connected with an earphone, the verification code is displayed in a display screen of the mobile terminal in a text form.
Optionally, the receiving, by the mobile terminal, the verification code includes:
the mobile terminal receives the short message;
and analyzing the short message and extracting the verification code in the short message.
The present invention also provides a mobile terminal, comprising:
a verification code receiving unit for receiving a verification code;
the connection judging unit is used for judging whether the earphone port of the mobile terminal is connected with an earphone or not;
and the verification code playing unit is used for playing the verification code on the earphone in a voice broadcasting mode when the earphone port of the mobile terminal is connected with the earphone.
Optionally, the mobile terminal further includes:
the state judging unit is used for judging whether the mobile terminal is in a screen locking state or not;
the connection judging unit is used for judging whether the earphone port of the mobile terminal is connected with an earphone after the state judging unit judges that the mobile terminal is in the screen locking state.
Optionally, the mobile terminal further includes:
and the display screen is used for displaying the verification code in a text form after the state judgment unit judges that the mobile terminal is in the non-screen locking state.
Optionally, the mobile terminal further includes:
and the display screen is used for displaying the verification code in a text form when the earphone port of the mobile terminal is not connected with the earphone.
Optionally, the verification code receiving unit includes:
the information receiving unit is used for receiving the short message;
and the verification code extracting unit analyzes the short message and extracts the verification code in the short message.
In summary, compared with the prior art, the verification code obtaining method and the mobile terminal of the present invention have the following advantages: after the mobile terminal receives the verification code, judging whether an earphone port of the mobile terminal is connected with an earphone or not; and if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. The user can directly listen to the verification code through the earphone, the step of obtaining the verification code is simplified, the user can obtain the verification code quickly and conveniently, the information verification efficiency is improved, and the user experience is effectively improved.
Further, after the mobile terminal receives the verification code, whether the mobile terminal is in a screen locking state is judged; and when the mobile terminal is in the screen locking state, judging whether the earphone port of the mobile terminal is connected with the earphone. And if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. The user can conveniently listen to the verification code through the earphone when the mobile terminal is in the screen locking state and the earphone port of the mobile terminal is connected with the earphone. The steps of complex unlocking, searching, clicking and the like are avoided, the user can acquire the verification code more simply and conveniently, and the user experience is better.
Further, when the mobile terminal is in a non-screen-locking state, the verification code is displayed in a display screen of the mobile terminal in a text form. At the moment, the user can acquire and read the received verification code without complicated unlocking operation, the user can acquire the verification code simply and conveniently, and the user experience is good.
Furthermore, when the earphone port of the mobile terminal is not connected with the earphone, the verification code is displayed in a display screen of the mobile terminal in a text form. The privacy that the verification code broadcast caused is avoided revealing, the security of user information has been ensured.
Further, the receiving, by the mobile terminal, the verification code includes: the mobile terminal receives the short message; and analyzing the short message and extracting the verification code in the short message. The verification code received by the short message is acquired, so that the user can quickly and conveniently acquire the short message verification code, the information verification efficiency is improved, and the user experience is effectively improved.
Brief description of the drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flowchart illustrating an embodiment of a verification code obtaining method according to the present invention;
FIG. 2 is a flowchart illustrating an authentication code obtaining method according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating an authentication code obtaining method according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention;
FIG. 5 is a block diagram illustrating an exemplary embodiment of an authentication code receiving unit of the mobile terminal of FIG. 4;
fig. 6 is a schematic structural diagram of another embodiment of the mobile terminal according to the present invention;
fig. 7 is a schematic structural diagram of a mobile terminal according to still another embodiment of the present invention.
Best mode for carrying out the invention
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that, in this document, relational terms such as "first," "second," "third," and the like, if any, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," "includes," "including," "has," "having" or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrases "comprising … …" or "comprising … …" does not exclude the presence of additional elements in a process, method, article, or terminal that comprises the element. Further, herein, "greater than," "less than," "more than," and the like are understood to exclude the present numbers; the terms "above", "below", "within" and the like are to be understood as including the number.
The technical solution of the present invention will be described in detail with reference to fig. 1 to 7 by specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a flowchart illustrating an embodiment of a verification code obtaining method according to the present invention. As shown in fig. 1, the verification code obtaining method in this embodiment includes:
in step S11, the mobile terminal receives the authentication code.
And step S12, judging whether the earphone port of the mobile terminal is connected with an earphone.
In step S12, if the earphone port of the mobile terminal is connected to an earphone, performing step S13; if the earphone port of the mobile terminal is not connected with the earphone, step S14 is executed.
And step S13, playing the verification code on the earphone in a voice broadcasting mode.
And step S14, displaying the verification code in a display screen of the mobile terminal in a text form.
In this embodiment, the mobile terminal may be a mobile phone, a tablet computer, or a smart wearable device (e.g., a smart watch, a smart bracelet, etc.). The operating system of the mobile terminal may be an android operating system or an IOS operating system, which is not limited herein.
The earphone port of the mobile terminal can be connected with the earphone in a wired or wireless manner (e.g., bluetooth).
In the verification code obtaining method in the embodiment, after the mobile terminal receives the verification code, whether an earphone port of the mobile terminal is connected with an earphone is judged; and if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. And if the earphone port of the mobile terminal is not connected with the earphone, displaying the verification code in a display screen of the mobile terminal in a text form. Therefore, when the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcasting mode, the step of obtaining the verification code is simplified, a user can quickly and conveniently obtain the verification code, the information verification efficiency is improved, and the user experience is effectively improved. When the earphone port of the mobile terminal is not connected with the earphone, the verification code is displayed in a display screen of the mobile terminal in a text mode, privacy disclosure caused by verification code broadcasting is avoided, and safety of user information is guaranteed.
Fig. 2 is a flowchart illustrating an authentication code obtaining method according to another embodiment of the present invention. As shown in fig. 2, the verification code obtaining method in this embodiment includes:
in step S21, the mobile terminal receives the authentication code.
And step S22, judging whether the mobile terminal is in a screen locking state.
In step S22, if the mobile terminal is in the lock screen state, performing step S23; if the mobile terminal is in the non-screen-locking state, step S25 is executed.
And step S23, judging whether the earphone port of the mobile terminal is connected with an earphone.
In step S23, if the earphone port of the mobile terminal is connected to an earphone, performing step S24; if the earphone port of the mobile terminal is not connected with the earphone, step S25 is executed.
And step S24, playing the verification code on the earphone in a voice broadcasting mode.
And step S25, displaying the verification code in a display screen of the mobile terminal in a text form.
In this embodiment, the mobile terminal may be a mobile phone, a tablet computer, or a smart wearable device (e.g., a smart watch, a smart bracelet, etc.). The operating system of the mobile terminal may be an android operating system or an IOS operating system, which is not limited herein.
The earphone port of the mobile terminal can be connected with the earphone in a wired or wireless manner (e.g., bluetooth).
In the verification code obtaining method in the embodiment, after the mobile terminal receives the verification code, whether the mobile terminal is in a screen locking state is judged; and when the mobile terminal is in the screen locking state, judging whether the earphone port of the mobile terminal is connected with the earphone. And if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. The user can conveniently listen to the verification code through the earphone when the mobile terminal is in the screen locking state and the earphone port of the mobile terminal is connected with the earphone. The steps of complex unlocking, searching, clicking and the like are avoided, the user can acquire the verification code more simply and conveniently, and the user experience is better.
And when the mobile terminal is in the non-screen locking state, the verification code is displayed in a display screen of the mobile terminal in a text form. At the moment, the user can acquire and read the received verification code without complicated unlocking operation, the user can acquire the verification code simply and conveniently, and the user experience is good.
In addition, when the earphone port of the mobile terminal is not connected with the earphone, the verification code is displayed in a display screen of the mobile terminal in a text form. The privacy that the verification code broadcast caused is avoided revealing, the security of user information has been ensured.
Fig. 3 is a flowchart illustrating an authentication code obtaining method according to another embodiment of the present invention. As shown in fig. 3, the verification code obtaining method in this embodiment includes:
and step S31, the mobile terminal receives the short message.
And step S32, analyzing the short message and extracting the verification code in the short message.
And step S33, judging whether the earphone port of the mobile terminal is connected with an earphone.
In step S33, if the earphone port of the mobile terminal is connected to an earphone, performing step S34; if the earphone port of the mobile terminal is not connected with the earphone, step S35 is executed.
And step S34, playing the verification code on the earphone in a voice broadcasting mode.
And step S35, displaying the verification code in a display screen of the mobile terminal in a text form.
In this embodiment, the mobile terminal may be a mobile phone, a tablet computer, or a smart wearable device (e.g., a smart watch, a smart bracelet, etc.). The operating system of the mobile terminal may be an android operating system or an IOS operating system, which is not limited herein.
The earphone port of the mobile terminal can be connected with the earphone in a wired or wireless manner (e.g., bluetooth).
In the verification code obtaining method in the embodiment, when the mobile terminal receives the verification code, the short message is received through the mobile terminal; and analyzing the short message and extracting the verification code in the short message. After the mobile terminal receives the verification code, judging whether an earphone port of the mobile terminal is connected with an earphone or not; and if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. And if the earphone port of the mobile terminal is not connected with the earphone, displaying the verification code in a display screen of the mobile terminal in a text form. For the verification code received by the short message, when the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcasting mode, the step of obtaining the verification code is simplified, a user can quickly and conveniently obtain the verification code, the information verification efficiency is improved, and the user experience is effectively improved. When the earphone port of the mobile terminal is not connected with the earphone, the verification code is displayed in a display screen of the mobile terminal in a text mode, privacy disclosure caused by verification code broadcasting is avoided, and safety of user information is guaranteed.
Fig. 4 is a schematic structural diagram of an embodiment of a mobile terminal in the present invention. As shown in fig. 4, the mobile terminal 10 in the present embodiment includes:
an authentication code receiving unit 101 is configured to receive an authentication code.
A connection determining unit 103, configured to determine whether an earphone port of the mobile terminal 10 is connected to an earphone.
A verification code playing unit 105, configured to play the verification code on the earphone in a voice broadcast manner when the earphone port of the mobile terminal 10 is connected to the earphone.
In this embodiment, the mobile terminal may be a mobile phone, a tablet computer, or a smart wearable device (e.g., a smart watch, a smart bracelet, etc.). The operating system of the mobile terminal may be an android operating system or an IOS operating system, which is not limited herein.
The earphone port of the mobile terminal can be connected with the earphone in a wired or wireless manner (e.g., bluetooth).
In this embodiment, the mobile terminal 10 first receives the verification code through the verification code receiving unit 101; then, whether the earphone port of the mobile terminal 10 is connected with an earphone is judged through the connection judging unit 103; when the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcast mode through the verification code playing unit 105. Therefore, the user can directly listen to the verification code through the earphone, the step of obtaining the verification code is simplified, the user can quickly and conveniently obtain the verification code, the information verification efficiency is improved, and the user experience is effectively improved.
Fig. 5 is a schematic structural diagram of an embodiment of an authentication code receiving unit in the mobile terminal of fig. 4. Referring to fig. 5, in another embodiment, the verification code receiving unit 101 in fig. 4 may further include:
the information receiving unit 1011 is configured to receive short messages.
And the verification code extraction unit 1013 is used for analyzing the short message and extracting the verification code in the short message.
In the embodiment, for the verification code received by the short message, the mobile terminal 10 receives the short message through the message receiving unit 1011 first; and then the short message is analyzed by the verification code extraction unit 1013, and the verification code in the short message is extracted. After the mobile terminal receives the verification code, the connection judging unit 103 judges whether the earphone port of the mobile terminal 10 is connected with an earphone; when the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcast mode through the verification code playing unit 105. Therefore, the user can directly listen to the verification code through the earphone, the step of obtaining the verification code is simplified, the user can quickly and conveniently obtain the verification code, the information verification efficiency is improved, and the user experience is effectively improved.
Fig. 6 is a schematic structural diagram of another embodiment of the mobile terminal in the present invention. Compared with fig. 4, the mobile terminal 10 in fig. 6 includes, in addition to the verification code receiving unit 101, the connection judging unit 103, and the verification code playing unit 105:
a display 107 for displaying the verification code in text form when the earphone port of the mobile terminal 10 is not connected to an earphone.
In this embodiment, the mobile terminal 10 first receives the verification code through the verification code receiving unit 101; then, whether the earphone port of the mobile terminal 10 is connected with an earphone is judged through the connection judging unit 103; when the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcast mode through the verification code playing unit 105. Therefore, the user can directly listen to the verification code through the earphone, the step of obtaining the verification code is simplified, the user can quickly and conveniently obtain the verification code, the information verification efficiency is improved, and the user experience is effectively improved. When the earphone port of the mobile terminal 10 is not connected to an earphone, the authentication code is displayed in text form through the display 107. The privacy that the verification code broadcast caused is avoided revealing, the security of user information has been ensured.
Fig. 7 is a schematic structural diagram of a mobile terminal according to still another embodiment of the present invention. As shown in fig. 7, the mobile terminal 20 in this embodiment includes:
an authentication code receiving unit 201, configured to receive an authentication code.
A state determining unit 203, configured to determine whether the mobile terminal is in a screen locking state.
A connection determining unit 205, configured to determine whether an earphone port of the mobile terminal 20 is connected to an earphone after the state determining unit 203 determines that the mobile terminal 20 is in the screen lock state.
The verification code playing unit 207 is configured to play the verification code on the earphone in a voice broadcast manner when the earphone port of the mobile terminal 20 is connected to the earphone.
In this embodiment, the mobile terminal may be a mobile phone, a tablet computer, or a smart wearable device (e.g., a smart watch, a smart bracelet, etc.). The operating system of the mobile terminal may be an android operating system or an IOS operating system, which is not limited herein.
The earphone port of the mobile terminal can be connected with the earphone in a wired or wireless manner (e.g., bluetooth).
In this embodiment, after receiving the verification code, the mobile terminal 20 first determines whether the mobile terminal is in the screen locking state through the state determination unit 203; when the mobile terminal 20 is in the screen-locked state, the connection determining unit 205 determines whether the earphone port of the mobile terminal is connected to an earphone. If the earphone port of the mobile terminal is connected with the earphone, the verification code is played on the earphone in a voice broadcasting mode through the verification code playing unit 207. The user can conveniently listen to the verification code through the earphone when the mobile terminal 20 is in the screen locking state and the earphone port of the mobile terminal is connected with the earphone. The steps of complex unlocking, searching, clicking and the like are avoided, the user can acquire the verification code more simply and conveniently, and the user experience is better.
In another embodiment, the mobile terminal 20 may further include a display screen (not shown) for displaying the verification code in a text form after the state determination unit determines that the mobile terminal is in the non-screen-locked state.
At this time, when the mobile terminal 20 is in the non-screen-locked state, the verification code is displayed in text form on the display screen of the mobile terminal through the display screen. In this embodiment, when the mobile terminal 20 is in the non-lock screen state, the user can acquire and read the received verification code without cumbersome unlocking operation, and the user can acquire the verification code simply and conveniently, and the user experience is good.
In summary, compared with the prior art, the verification code obtaining method and the mobile terminal of the present invention have the following advantages: after the mobile terminal receives the verification code, judging whether an earphone port of the mobile terminal is connected with an earphone or not; and if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. The user can directly listen to the verification code through the earphone, the step of obtaining the verification code is simplified, the user can obtain the verification code quickly and conveniently, the information verification efficiency is improved, and the user experience is effectively improved.
Further, after the mobile terminal receives the verification code, whether the mobile terminal is in a screen locking state is judged; and when the mobile terminal is in the screen locking state, judging whether the earphone port of the mobile terminal is connected with the earphone. And if the earphone port of the mobile terminal is connected with the earphone, playing the verification code on the earphone in a voice broadcasting mode. The user can conveniently listen to the verification code through the earphone when the mobile terminal is in the screen locking state and the earphone port of the mobile terminal is connected with the earphone. The steps of complex unlocking, searching, clicking and the like are avoided, the user can acquire the verification code more simply and conveniently, and the user experience is better.
Further, when the mobile terminal is in a non-screen-locking state, the verification code is displayed in a display screen of the mobile terminal in a text form. At the moment, the user can acquire and read the received verification code without complicated unlocking operation, the user can acquire the verification code simply and conveniently, and the user experience is good.
Furthermore, when the earphone port of the mobile terminal is not connected with the earphone, the verification code is displayed in a display screen of the mobile terminal in a text form. The privacy that the verification code broadcast caused is avoided revealing, the security of user information has been ensured.
Further, the receiving, by the mobile terminal, the verification code includes: the mobile terminal receives the short message; and analyzing the short message and extracting the verification code in the short message. The verification code received by the short message is acquired, so that the user can quickly and conveniently acquire the short message verification code, the information verification efficiency is improved, and the user experience is effectively improved.
As will be appreciated by one skilled in the art, the above-described embodiments may be provided as a method, apparatus, or computer program product. These embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. All or part of the steps in the methods according to the embodiments may be implemented by a program instructing related hardware, where the program may be stored in a storage medium readable by a computer device and used to execute all or part of the steps in the methods according to the embodiments.
The various embodiments described above are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a computer apparatus to produce a machine, such that the instructions, which execute via the processor of the computer apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.

Claims (10)

  1. A verification code acquisition method is characterized by comprising the following steps:
    the mobile terminal receives the verification code;
    judging whether an earphone port of the mobile terminal is connected with an earphone or not;
    if yes, the verification code is played in the earphone in a voice broadcasting mode.
  2. The authentication code acquisition method according to claim 1, wherein after the mobile terminal receives the authentication code, before determining whether the earphone port of the mobile terminal is connected to the earphone, the authentication code acquisition method further comprises:
    judging whether the mobile terminal is in a screen locking state or not;
    and if the mobile terminal is in a screen locking state, judging whether an earphone port of the mobile terminal is connected with an earphone.
  3. The verification code acquisition method according to claim 2, wherein if the mobile terminal is in a non-screen-locked state, the verification code is displayed in a display screen of the mobile terminal in a text form.
  4. The method for acquiring the verification code according to claim 1, wherein if the earphone port of the mobile terminal is not connected with an earphone, the verification code is displayed in a display screen of the mobile terminal in a text form.
  5. The authentication code acquisition method of claim 1, wherein the mobile terminal receiving the authentication code comprises:
    the mobile terminal receives the short message;
    and analyzing the short message and extracting the verification code in the short message.
  6. A mobile terminal, comprising:
    a verification code receiving unit for receiving a verification code;
    the connection judging unit is used for judging whether the earphone port of the mobile terminal is connected with an earphone or not;
    and the verification code playing unit is used for playing the verification code on the earphone in a voice broadcasting mode when the earphone port of the mobile terminal is connected with the earphone.
  7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
    the state judging unit is used for judging whether the mobile terminal is in a screen locking state or not;
    the connection judging unit is used for judging whether the earphone port of the mobile terminal is connected with an earphone after the state judging unit judges that the mobile terminal is in the screen locking state.
  8. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
    and the display screen is used for displaying the verification code in a text form after the state judgment unit judges that the mobile terminal is in the non-screen locking state.
  9. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
    and the display screen is used for displaying the verification code in a text form when the earphone port of the mobile terminal is not connected with the earphone.
  10. The mobile terminal of claim 6, wherein the authentication code receiving unit comprises:
    the information receiving unit is used for receiving the short message;
    and the verification code extracting unit analyzes the short message and extracts the verification code in the short message.
CN201780097100.2A 2017-09-27 2017-09-27 Verification code acquisition method and mobile terminal Pending CN111373711A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103600 WO2019061053A1 (en) 2017-09-27 2017-09-27 Verification code acquisition method, and mobile terminal

Publications (1)

Publication Number Publication Date
CN111373711A true CN111373711A (en) 2020-07-03

Family

ID=65900200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780097100.2A Pending CN111373711A (en) 2017-09-27 2017-09-27 Verification code acquisition method and mobile terminal

Country Status (2)

Country Link
CN (1) CN111373711A (en)
WO (1) WO2019061053A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581853A (en) * 2013-10-23 2014-02-12 青岛海信传媒网络技术有限公司 Method and device for voice broadcast of text message on mobile phone
CN104935744A (en) * 2015-06-10 2015-09-23 腾讯科技(深圳)有限公司 Verification code display method, verification code display device and mobile terminal
CN105101122A (en) * 2015-06-29 2015-11-25 安一恒通(北京)科技有限公司 Verification code inputting method and device
CN105159533A (en) * 2015-08-31 2015-12-16 努比亚技术有限公司 Mobile terminal and automatic verification code input method thereof
CN105915700A (en) * 2015-12-12 2016-08-31 乐视移动智能信息技术(北京)有限公司 Verification code prompting method and equipment
CN106028185A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Earphone authentication method and device, electronic equipment and earphone
CN106302945A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 Mobile terminal incoming call processing method and device, mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164934B2 (en) * 2003-01-30 2007-01-16 Hoyt Technologies, Inc. Mobile telephone having voice recording, playback and automatic voice dial pad
CN203708432U (en) * 2013-12-18 2014-07-09 深圳市文鼎创数据科技有限公司 Earphone shield and signature system
CN203930420U (en) * 2014-06-15 2014-11-05 四川农业大学 A kind of GPS location sound broadcasting device
CN105872226A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Unlocking method and device of mobile terminal and the mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581853A (en) * 2013-10-23 2014-02-12 青岛海信传媒网络技术有限公司 Method and device for voice broadcast of text message on mobile phone
CN106302945A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 Mobile terminal incoming call processing method and device, mobile terminal
CN104935744A (en) * 2015-06-10 2015-09-23 腾讯科技(深圳)有限公司 Verification code display method, verification code display device and mobile terminal
CN105101122A (en) * 2015-06-29 2015-11-25 安一恒通(北京)科技有限公司 Verification code inputting method and device
CN105159533A (en) * 2015-08-31 2015-12-16 努比亚技术有限公司 Mobile terminal and automatic verification code input method thereof
CN105915700A (en) * 2015-12-12 2016-08-31 乐视移动智能信息技术(北京)有限公司 Verification code prompting method and equipment
CN106028185A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Earphone authentication method and device, electronic equipment and earphone

Also Published As

Publication number Publication date
WO2019061053A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
CN106600259B (en) Mobile payment method and device and mobile terminal
US9824234B2 (en) Method of protecting care information in a care provider terminal
CN113852594B (en) Verification code obtaining method and terminal
US20150128257A1 (en) Method for unlocking terminal device and terminal device
CN104660589B (en) Method, system and terminal for encrypting control and information analysis of information
CN105072178B (en) Cell-phone number binding information acquisition methods and device
EP3306504A1 (en) Multi-user login method, device and storage medium
US20180063126A1 (en) Methods and user device and authenticator device for authentication of the user device
CN105989485B (en) Service management method and device
WO2015196973A1 (en) Security verification method and apparatus
CN109343779B (en) Method and device for displaying application program information
CN105554741A (en) Communication information transmission method and system, and apparatus
US20180341953A1 (en) Method and apparatus for reporting loss of card or device associated with account number or stolen of account number
WO2018209897A1 (en) Sensitive information display method and apparatus, storage medium and computer device
EP3483765A1 (en) Automatically connecting to online service
CN104853030B (en) The method and mobile terminal of a kind of information processing
CN107241362B (en) Method and device for identifying identity of verification code input user
CN105208179B (en) Telephone number identification method and system and electronic product
CN110445792B (en) Verification code generation method and verification code login system
CN106856474A (en) A kind of processing method and processing device of checking information
CN107707529A (en) A kind of client validation method for realizing limitation identifying code transmission times
CN105430601B (en) Bluetooth device list display method and device and mobile terminal
CN107862192B (en) Login interface unlocking method and device, computer equipment and storage medium
FR2944400A1 (en) METHOD OF AUTHENTICATING A SERVER FROM A USER OF A MOBILE DEVICE
CN111373711A (en) Verification code acquisition method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200703

RJ01 Rejection of invention patent application after publication