CN111143806A - Password obtaining method, electronic equipment and server - Google Patents

Password obtaining method, electronic equipment and server Download PDF

Info

Publication number
CN111143806A
CN111143806A CN201911413109.7A CN201911413109A CN111143806A CN 111143806 A CN111143806 A CN 111143806A CN 201911413109 A CN201911413109 A CN 201911413109A CN 111143806 A CN111143806 A CN 111143806A
Authority
CN
China
Prior art keywords
password
audio
information
account information
target
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
CN201911413109.7A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911413109.7A priority Critical patent/CN111143806A/en
Publication of CN111143806A publication Critical patent/CN111143806A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a password acquisition method, electronic equipment and a server, relates to the technical field of communication, and can solve the problems that the process of acquiring a login password by a user is complicated and time-consuming. The method comprises the following steps: sending first data to a server, wherein the first data comprises target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer; and receiving target password information which is sent by the server and corresponds to the target account information, wherein the target password information is sent by the server under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio. The embodiment of the invention is applied to the process of acquiring the password of the application program by the electronic equipment.

Description

Password obtaining method, electronic equipment and server
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a password obtaining method, electronic equipment and a server.
Background
Generally, when a user forgets a login password of a certain application program in an electronic device, the user may search for the login password of the certain application program in a plurality of memo information of a memo application program of the electronic device, or may recall the login password of the certain application program to obtain the login password.
However, when the login password of a certain application is forgotten, the user needs to search the multiple memo information of the memo application for the login password of the certain application one by one, or needs to recall the login password of the certain application for a long time, which results in a complicated and time-consuming process for the user to obtain the login password.
Disclosure of Invention
The embodiment of the invention provides a password obtaining method, electronic equipment and a server, and can solve the problems that the process of obtaining a login password by a user is complicated and time-consuming.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, a password obtaining method is provided, which is applied to a first electronic device, and the password obtaining method includes: sending first data to a server, wherein the first data comprises target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer; and receiving target password information which is sent by the server and corresponds to the target account information, wherein the target password information is sent by the server under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio.
In a second aspect of the embodiments of the present invention, a password obtaining method is provided, which is applied to a server, and the password obtaining method includes: receiving first data sent by first electronic equipment, wherein the first data comprise target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer; and under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio, transmitting target password information corresponding to the target account information to the first electronic equipment.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, including: the device comprises a sending module and a receiving module. The sending module is used for sending first data to the server, the first data comprises target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer. The receiving module is used for receiving target password information which is sent by the server and corresponds to the target account information, wherein the target password information is sent by the server under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio.
In a fourth aspect of the embodiments of the present invention, a server is provided, where the server includes: the device comprises a receiving module and a sending module. The receiving module is used for receiving first data sent by first electronic equipment, wherein the first data comprise target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer. And the sending module is used for sending the target password information corresponding to the target account information received by the receiving module to the first electronic equipment under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio.
In a fifth aspect of the embodiments of the present invention, an electronic device is provided, where the electronic device includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and the computer program, when executed by the processor, implements the steps of the password obtaining method according to the first aspect.
In a sixth aspect of the embodiments of the present invention, a server is provided, where the electronic device includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program, when executed by the processor, implements the steps of the password obtaining method according to the second aspect.
A seventh aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the password obtaining method according to the first aspect.
In the embodiment of the present invention, the first electronic device may send first data (the first data includes target account information and a first audio) to the server, and in a case that the server determines that the target account information matches the preset account information and the first audio matches the preset audio, the first electronic device may receive the target password information sent by the server. The target account information and the first audio can be sent to the server by the user through the first electronic device, so that the server can detect the target account information and the first audio, and directly send the target password information to the first electronic device under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio, and the user does not need to search the login password of the certain application program one by one in the multiple memo information of the memo application program or remember the login password of the certain application program for a long time, so that the operation of the user in the process of obtaining the login password can be simplified, and the time consumption is saved.
Drawings
Fig. 1 is a schematic diagram of an operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a password obtaining method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
fig. 6 is a fourth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 7 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 8 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 9 is a seventh schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 12 is a second schematic structural diagram of a server according to an embodiment of the present invention;
fig. 13 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
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, 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.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first audio and the second audio, etc. are for distinguishing different audio, not for describing a particular order of the audio.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides a password obtaining method, electronic equipment and a server, wherein a user can send target account information and a first audio to the server through first electronic equipment, so that the server can detect the target account information and the first audio, and directly send target password information to the first electronic equipment under the condition that the target account information is matched with preset account information and the first audio is matched with the preset audio, and the user does not need to search login passwords of an application program one by one in a plurality of memo information of the memo application program or remember the login passwords of the application program for a long time, so that the operation of the user in the process of obtaining the login passwords can be simplified and time consumption can be saved.
The password acquisition method and the electronic equipment provided by the embodiment of the invention can be applied to the process of acquiring the password of the application program by the electronic equipment. In particular, the method can be applied to the process that the electronic equipment sends the target data to the server to acquire the password of the application program.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the password obtaining method according to the embodiment of the present invention, taking an operating system as an example.
Fig. 1 is a schematic diagram of a possible operating system according to an embodiment of the present invention. In fig. 1, the architecture of the operating system includes 4 layers, respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application layer comprises various application programs (including system application programs and third-party application programs) in an operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes a library (also referred to as a system library) and an operating system runtime environment. The library mainly provides various resources required by the operating system. The operating system runtime environment is used to provide a software environment for the operating system.
The kernel layer is the operating system layer of the operating system and belongs to the lowest layer of the operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the operating system based on the Linux kernel.
Taking an operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the password obtaining method provided in the embodiment of the present invention based on the system architecture of the operating system shown in fig. 1, so that the password obtaining method may run based on the operating system shown in fig. 1. That is, the processor or the electronic device may implement the password obtaining method provided by the embodiment of the present invention by running the software program in the operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
A password obtaining method, an electronic device, and a server provided in the embodiments of the present invention are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the embodiment of the invention, when a user forgets a login password of an application program in the electronic equipment, the account information and an audio file of the application program can be sent to the server through the electronic equipment, so that the server can determine whether the account information sent by the user is matched with the preset account information and whether the audio file is matched with the preset audio file according to the account information and the audio file, and directly send the login password of the application program to the electronic equipment under the condition that the account information sent by the user is matched with the preset account information and the audio file is matched with the preset audio file, thereby avoiding that the user searches the login password of the application program in a plurality of memo information of the memo application program one by one or does not need to recall the login password of the application program for a long time, therefore, the operation of the user in the process of obtaining the login password can be simplified, and time is saved.
Fig. 2 shows a flowchart of a password obtaining method provided in an embodiment of the present invention, and the method may be applied to an electronic device having an operating system as shown in fig. 1. As shown in fig. 2, the password obtaining method provided by the embodiment of the present invention may include steps 201 to 204 described below.
Step 201, the first electronic device sends first data to a server.
In an embodiment of the present invention, the first data includes target account information of the target application program and a first audio, where the first audio includes M password characters associated with the target account information, and M is a positive integer.
Optionally, in this embodiment of the present invention, the first electronic device may send the first data to the server through the target application.
Optionally, in this embodiment of the present invention, when the target application runs in the foreground of the first electronic device, the user may input the first audio on an interface (for example, a first interface) of the target application, so as to trigger the first electronic device to send the first data to the server through the target application.
In the embodiment of the present invention, the first data is used to request a server for target password information corresponding to a target application program, so that a user can log in the target application program through the target password information.
In an embodiment of the present invention, the target account information of the target application may include at least one of the following items: and the user name and the user account corresponding to the target application program.
Optionally, in this embodiment of the present invention, the first audio may include M password characters and information (e.g., frequency spectrum and audio characters) of an audio file.
In an embodiment of the present invention, the M password characters are used to indicate password information corresponding to the target account information.
Optionally, in this embodiment of the present invention, the first audio may include content of M password characters and sequence information of the M password characters, where the sequence information of the M password characters is used to indicate an arrangement sequence of the M password characters.
Optionally, in this embodiment of the present invention, the content of the M password characters may include at least one of the following: numbers, letters, symbols, and the like.
Optionally, in this embodiment of the present invention, the first audio may include M first sub-audios, where each first sub-audio includes N password characters associated with the target account information, N is a positive integer, and M is an integer greater than 1.
Optionally, in this embodiment of the present invention, when the first audio includes M first sub-audios, the user may sequentially send the M first sub-audios through the target application program.
Optionally, in this embodiment of the present invention, the first interface of the target application includes at least one first control and one second control, where each first control is used to select a first audio in the first electronic device, and the second control is used to control the first electronic device to send the first audio.
The first electronic device is taken as a mobile phone for illustration. Assuming that the at least one first control includes a first control, as shown in fig. 3, the mobile phone displays a first interface 10 of the target application, where the first interface 10 includes a first control (e.g., "upload music voucher" control 11) and a second control (e.g., "next step" control 12), the "upload music voucher" control 11 is used to select a first audio in the mobile phone, the "next step" control 12 is used to control the mobile phone to send first data, and the user may input the "upload music voucher" control 11 first to enable the mobile phone to select the first audio, and then input the "next step" control 12 to enable the mobile phone to send the first data to the server.
Optionally, in this embodiment of the present invention, in a case that the at least one first control includes a plurality of first controls, each of the plurality of first controls is used to select one first audio in the first electronic device, and each of the plurality of first controls may instruct the first electronic device to send sending order information of one first audio.
Further exemplarily, assuming that the at least one first control includes three first controls, as shown in fig. 4, the mobile phone displays a first interface 13 of the target application, where the first interface 13 includes at least one first control (e.g., a "first music voucher" control 14, a "second music voucher" control 15, and a "third music voucher" control 16) and a second control (e.g., a "next step" control 12), the "first music voucher" control 14 is used to select one first audio in the mobile phone, and the "first music voucher" control 14 is used to instruct the mobile phone to send sending sequence information of the one first audio; the "second music voucher" control 15 is used to select a first audio in the mobile phone, and the "second music voucher" control 15 is used to instruct the mobile phone to send the sending sequence information of the first audio; the third music voucher control 16 is used for selecting a first audio in the mobile phone, and the third music voucher control 14 is used for instructing the mobile phone to send the sending sequence information of the first audio; the "next" control 12 is used to control the mobile phone to send the first data, and the user may sequentially input the "first music certificate" control 14, the "second music certificate" control 15, and the "third music certificate" control 16, so that the mobile phone selects three first audios, and then input the "next" control 12, so that the mobile phone sends the first data to the server.
Step 202, the server receives first data sent by the first electronic device.
Optionally, in this embodiment of the present invention, after the server receives the first data sent by the first electronic device, the server may perform parsing processing on the first audio in the first data to obtain the content of the M password characters and the sequence information of the M password characters.
Optionally, in this embodiment of the present invention, after the server receives the first data sent by the first electronic device, the server may perform parsing processing on the M first sub-audios in the first data to obtain the contents of the N password characters in each first sub-audio.
Optionally, in this embodiment of the present invention, if the first audio includes M first sub-audios, the server may obtain sending sequence information of the M first sub-audios sent by the first electronic device.
And 203, under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio, the server sends target password information corresponding to the target account information to the first electronic device.
Optionally, in the embodiment of the present invention, the preset account information may be account information pre-stored in the server.
Optionally, in the embodiment of the present invention, the preset audio may be an audio file pre-stored in a server.
Optionally, in the embodiment of the present invention, the preset audio includes preset password information, and the preset password information corresponds to preset account information.
Optionally, in the embodiment of the present invention, the server may include a plurality of pieces of preset account information and a plurality of preset audios, where one piece of preset account information corresponds to one piece of preset audio; that is, the server may correspondingly store each preset account information and each preset audio to form a plurality of corresponding relationships.
Optionally, in the embodiment of the present invention, when both the target account information and the first audio meet the preset condition, the electronic device may determine that the target account information matches the preset account information, and the first audio matches the preset audio, so that the server may send the target password information corresponding to the target account information to the first electronic device.
Optionally, in the embodiment of the present invention, the server may search, according to the target account information, one preset account information matched with the target account information from a plurality of preset account information pre-stored in the server, and search, according to the one preset account information, one preset audio corresponding to the one preset account information from a plurality of corresponding relationships in the server, so as to determine whether the target account information and the first audio both satisfy the preset condition or not.
Optionally, in this embodiment of the present invention, the form of the target password information may include at least one of the following: numeric form, graphic form, alphabetical form, symbolic form, and the like.
Optionally, in this embodiment of the present invention, the first audio includes content of M password characters and sequence information of the M password characters. Step 203 may be implemented by step 203a described below.
Step 203a, under the condition that the target account information is matched with the preset account information in the server, the contents of the M password characters are matched with the contents of the preset password information, and the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information, the server sends the target password information corresponding to the target account information to the first electronic device.
Optionally, in this embodiment of the present invention, when the first audio includes content of M password characters in the first audio and sequence information of the M password characters, the preset condition may be: the target account information is the same as the preset account information, the content of the M password characters is matched with the content of the preset password information, and the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information.
Optionally, in the embodiment of the present invention, the "content of the M password characters matches with content of the preset password information" may be understood as: the content of each password character in the M password characters is respectively the same as the content of one password character in the preset password information, and/or the content form of each password character in the M password characters is respectively the same as the content form of one password character in the preset password information.
Optionally, in this embodiment of the present invention, the content format may be a format of a password character (for example, a capital and lower case format of a letter, a chinese and english format of a symbol, and the like).
For example, assuming that M is 2, that is, M password characters include an "Ab" password character, and the preset password information includes an "Ab" password character, the content of the "a" password character in the M password characters is the same as the content of the "a" password character in the preset password information, and the content form of the "a" password character in the M password characters is the same as the content form of the "a" password character in the preset password information; the content of the 'B' password character in the M password characters is the same as that of the 'B' password character in the preset password information, and the content form of the 'B' password character in the M password characters is different from that of the 'B' password character in the preset password information.
Optionally, in this embodiment of the present invention, the server may search, according to the target account information, one preset account information that matches with the target account information from a plurality of preset account information that is pre-stored in the server, and search, according to the one preset account information, one preset audio that corresponds to the one preset account information from a plurality of corresponding relationships in the server, so as to determine whether the contents of the M password characters match with the content of the preset password information that is included in the one preset audio, and whether the sequence information of the M password characters is the same as the sequence information of the password characters of the preset password information.
Optionally, in the embodiment of the present invention, after determining that the content of each password character is respectively matched with the content of one password character of preset password information, the electronic device may determine whether the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information; or, the electronic device may determine whether the first password character is the first password character in the sequence information of the password characters in the preset password information after determining that the content of the first password character matches the content of one password character of the preset password information, determine whether the second password character is the second password character in the sequence information of the password characters in the preset password information after determining that the content of the second password character matches the content of another password character of the preset password information, and so on until determining that the content of the last password character matches the content of another password character of the preset password information, determine whether the last password character is the last password character in the sequence information of the password characters in the preset password information, thereby determining whether the content of the M password characters and the content of the preset password information included in the preset audio are the same And matching, and judging whether the sequence information of the M password characters is the same as the sequence information of the password characters of the preset password information.
Optionally, in this embodiment of the present invention, the first audio includes M first sub-audios, each first sub-audio includes N password characters associated with the target account information, N is a positive integer, and M is an integer greater than 1. Step 203 may be realized by step 203b or step 203c described below.
Step 203b, under the condition that the target account information is matched with the preset account information in the server, and N password characters in each first sub-audio are respectively matched with N password characters in the preset password information, and the sending sequence information of all password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information, the server sends the target password information corresponding to the target account information to the first electronic device.
Optionally, in this embodiment of the present invention, when the first audio includes M first sub-audios, the preset condition is: the target account information is the same as the preset account information, N password characters in each first sub-audio are respectively matched with N password characters in the preset password information, and the sending sequence information of all the password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information.
Optionally, in this embodiment of the present invention, the server may determine whether each of the N password characters in each of the first sub-audios matches one of the N password characters in the preset password information, so as to determine whether each of the N password characters in each of the first sub-audios matches the N password characters in the preset password information.
Optionally, in this embodiment of the present invention, the "N password characters in each first sub-audio are respectively matched with N password characters in preset password information" may be understood as follows: the content of the N password characters in each first sub-audio respectively matches (e.g., is the same as) the content of the N password characters in the preset password information, and/or the content form of the N password characters in each first sub-audio respectively matches (e.g., is the same as) the content form of the N password characters in the preset password information.
Optionally, in this embodiment of the present invention, the sending sequence information of all the password characters in the M first sub-audios may be the same as the sending sequence information of the M first sub-audios.
Step 203c, the server sends the target password information corresponding to the target account information to the first electronic device under the condition that the target account information is matched with the preset account information, the N password characters in each first sub-audio are respectively matched with the N password characters in the preset password information, and all the password characters in all the first sub-audios in the M first sub-audios are the same as all the password characters in the preset password information.
Optionally, in this embodiment of the present invention, when the first audio includes M first sub-audios, the preset condition is: the target account information is the same as the preset account information, N password characters in each first sub-audio are respectively matched with N password characters in the preset password information, and all password characters in all first sub-audio in the M first sub-audio are the same as all password characters in the preset password information.
It should be noted that, the above "all the password characters in all the first sub-audios are the same as all the password characters in the preset password information" may be understood as follows: the content of all the password characters in all the first sub-audios is the same as that of all the password characters in the preset password information, and/or the content form of all the password characters in all the first sub-audios is the same as that of all the password characters in the preset password information.
And step 204, the first electronic device receives target password information which is sent by the server and corresponds to the target account information.
Optionally, in this embodiment of the present invention, the first audio includes content of M password characters and sequence information of the M password characters; the target password information is the password information sent by the server under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio.
The password obtaining method provided by the embodiment of the invention can be applied to a scene that a user sends target account information and a music file (namely, a first audio) through a target application program in a first electronic device to retrieve a login password of the target application program, because the first electronic device receives the target password information sent by a server only when the target account information sent by the user is matched with preset account information and a plurality of password characters included in the first audio sent by the user are matched with the preset password information in the server, namely, when the target account information sent by the user is not matched with the preset account information and/or the plurality of password characters included in the first audio sent by the user are not matched with the preset password information in the server, the first electronic device does not receive the target password information sent by the server, thereby avoiding other users retrieving the login password of the target application program through the first electronic device, therefore, the security of the first electronic equipment for acquiring the password information can be improved.
Optionally, in the embodiment of the present invention, the target password information is password information that is sent by the server when the target account information matches preset account information, N password characters in each first sub-audio match N password characters in the preset password information, and sending sequence information of all password characters in M first sub-audios is the same as sequence information of password characters in the preset password information; or, the target password information is the password information sent by the server under the condition that the target account information is matched with the preset account information, the N password characters in each first sub-audio are respectively matched with the N password characters in the preset password information, and all the password characters in all the first sub-audios in the M first sub-audios are the same as all the password characters in the preset password information.
The password obtaining method provided by the embodiment of the invention can be applied to a scenario that a user sends target account information and a plurality of music files (i.e. M first sub-audios) through a target application program in a first electronic device to retrieve a login password of the target application program, because the target account information sent by the user is matched with preset account information, a plurality of password characters included in the first audio sent by the user are matched with preset password information in a server, and the sending sequence information of all the password characters in the M first sub-audios sent by the user is the same as the sequence information of the password characters in the preset password information, the first electronic device receives the target password information sent by the server, that is, the target account information sent by the user is not matched with the preset account information, and/or the plurality of password characters included in the first audio sent by the user are not matched with the preset password information in the server, and/or when the sending sequence information of all password characters in the M first sub-audios sent by the user is different from the sequence information of the password characters in the preset password information, the first electronic device does not receive the target password information sent by the server, so that other users can be prevented from finding back the login password of the target application program through the first electronic device, and the security of the first electronic device for obtaining the password information can be improved.
The password obtaining method provided by the embodiment of the invention can be applied to a scenario that a user sends target account information and a plurality of music files (i.e. M first sub-audios) through a target application program in a first electronic device to retrieve a login password of the target application program, because the target account information sent by the user is matched with preset account information, a plurality of password characters included in the first audio sent by the user are matched with preset password information in a server, and whether all the password characters in all the first sub-audio sent by the user are the same as all the password characters in the preset password information or not, the first electronic device receives the target password information sent by the server, that is, the target account information sent by the user is not matched with the preset account information, and/or a plurality of password characters included in the first audio sent by the user are not matched with the preset password information in the server, and/or when all password characters in all the first sub-audios in the M first sub-audios sent by the user are different from all password characters in the preset password information, the first electronic device does not receive the target password information sent by the server, so that other users can be prevented from finding back the login password of the target application program through the first electronic device, and the security of the first electronic device for obtaining the password information can be improved.
Optionally, in the embodiment of the present invention, under the condition that both the target account information and the first audio meet the preset condition, the first electronic device may receive the target password information corresponding to the target account information sent by the server.
Optionally, in this embodiment of the present invention, the first electronic device may display the password prompt information according to the received target password information, so as to prompt the user of the target password information corresponding to the target account information through the password prompt information, so that the user may log in and use the target application program through the target password information.
For example, as shown in fig. 5, the mobile phone may display a password prompt message 17 (for example, "your password is XXXXXX, please keep it well" message) according to the received target password information, so that the user can log in and use the target application through the target password information 17 (for example, XXXXXX).
In the password obtaining method provided by the embodiment of the present invention, the first electronic device may send first data (the first data includes the target account information and the first audio) to the server, and may receive the target password information sent by the server when the server determines that the target account information matches the preset account information and the first audio matches the preset audio. The target account information and the first audio can be sent to the server by the user through the first electronic device, so that the server can detect the target account information and the first audio, and directly send the target password information to the first electronic device under the condition that the target account information is matched with the preset account information and the first audio is matched with the preset audio, and the user does not need to search the login password of the certain application program one by one in the multiple memo information of the memo application program or remember the login password of the certain application program for a long time, so that the operation of the user in the process of obtaining the login password can be simplified, and the time consumption is saved.
It can be understood that the embodiment of the invention can retrieve the login password of the application program in the form of a file, thereby avoiding the situation that the account of the application program is stolen when the electronic equipment is lost, and meanwhile, the music file is stored in the electronic equipment and is not easy to be found by other users, so that the safety of the electronic equipment can be improved, and the operation of retrieving the login password of the application program by the user can be simplified, so as to improve the use experience of the user.
Optionally, in the embodiment of the present invention, before the step 201, the password obtaining method provided in the embodiment of the present invention may further include the following step 301a, step 301b, or step 301 c.
Step 301, the first electronic device generates a first audio according to the second audio and the M password characters in the electronic device.
Optionally, in this embodiment of the present invention, the second audio may be an audio file pre-stored in the first electronic device.
Optionally, in this embodiment of the present invention, for each password character of the M password characters, the first electronic device may generate, according to the content of one password character and the position information of the one password character, one piece of first audio information (for example, a frequency spectrum or an audio character) corresponding to the content of the one password character and the position information of the one password character to generate M pieces of first audio information, so that the first electronic device may generate the first audio according to the M pieces of first audio information and the second audio.
For example, for each of M password characters, the server may generate a spectrum corresponding to the content of one password character and the location information of the one password character according to the content of the one password character and the location information of the one password character (e.g., one peak of the spectrum corresponding to the content of the one password character and another peak of the spectrum corresponding to the location information of the one password character).
It should be noted that the above "position information of one password character" can be understood as: information of the position of the one password character among the M password characters.
Optionally, in this embodiment of the present invention, the server may write each piece of the first audio information into the same part (for example, a head end, a tail end, and the like) of the second audio to generate the first audio; alternatively, the server may write each piece of first audio information to a different part of the second audio, respectively, to generate the first audio, which is not limited in this embodiment of the present invention.
Step 301b, the first electronic device records the first audio played by the second electronic device.
In the embodiment of the present invention, the second electronic device is pre-stored with the first audio, and the user can selectively input the first audio on the second electronic device to trigger the second electronic device to play the first audio, so that the first electronic device can record the first audio played by the second electronic device.
Optionally, in this embodiment of the present invention, the first interface may further include a third control element, and the user may perform an input on the third control element, so that the first electronic device may record the first audio.
Optionally, in this embodiment of the present invention, after the user inputs the third control element, the first electronic device may display a recorded file prompt message to prompt the user of a file currently recorded by the first electronic device.
Illustratively, as shown in fig. 6 (a), a third control (e.g., "start listening" control 18) is included in the first interface (e.g., password recovery interface 10) of the mobile phone, and is used for triggering the mobile phone to record an audio file; after the user inputs the "start listening" control 18, the cell phone may display a recording file prompting message (e.g., an "analyzing being" message) to prompt the user for the audio file currently recorded by the cell phone, as shown in fig. 5 (B).
Step 301c, the first electronic device obtains the first audio from the server.
Optionally, in the embodiment of the present invention, the step 301c may be specifically implemented by the following steps 301c1 to 301c 7.
Step 301c1, the first electronic device sends the target account information and the target password information to the server.
In an embodiment of the present invention, the target password information includes M password characters.
Optionally, in this embodiment of the present invention, the first electronic device may send the target account information and the target password information to the server through the target application program.
Optionally, in this embodiment of the present invention, when the first electronic device displays the second interface of the target application, the user may input the target account information and the target password information on the second interface, so as to trigger that the first electronic device may send the target account information and the target password information to the server.
Optionally, in this embodiment of the present invention, the second interface may include an account entry box and at least one password entry box, the user may perform one input (for example, text input) on the account entry box in the second interface, so that the first electronic device may obtain the target account information, and the user may perform one input (for example, text input of M password characters) on each password entry box in the at least one password entry box, so that the first electronic device may obtain the target password information, and thus the first electronic device may send the target account information and the target password information to the server.
It will be appreciated that the input content (i.e. the M password characters) of the text input by the user for each third input box is the same.
Optionally, in this embodiment of the present invention, M is an integer greater than or equal to 8, and the M password characters may include at least one of the following: numbers, letters, symbols, and the like.
Illustratively, as shown in fig. 7, the mobile phone displays a second interface (e.g., the account registration interface 19), the account registration interface 19 includes an account input box (e.g., "user name" input box) and at least one password input box (e.g., "password" input box and "password again" input box), the user can perform text input on the "user name" input box to enable the mobile phone to obtain the target account information, and the user can perform text input on the "password" input box and the "password again" input box respectively to enable the mobile phone to send the target account information and the target password information to the server.
Step 301c2, the first electronic device sends L third audios to the server.
In the embodiment of the invention, L is a positive integer.
Optionally, in this embodiment of the present invention, the L third audios may be one third audio or multiple third audios. It is to be understood that, in the case where the L third audios are one third audio, the first audio includes one audio file; in a case where the L third audios are a plurality of third audios, the first audio includes M first sub-audios.
Optionally, in this embodiment of the present invention, if the L third audios are one third audio, after the first electronic device sends the target account information and the target password information to the server, the first electronic device may display a fourth interface, where the fourth interface includes a fourth control and/or searches for a fifth control, the sending of the fourth control is used to select the third audio in the first electronic device, and the fifth control is used to select link information of the third audio.
Optionally, in this embodiment of the present invention, when the L third audios are one third audio, the user may perform an input on the fourth control to trigger the first electronic device to display a fifth interface (for example, an audio file search interface), so that the user may search the fifth interface for the one third audio in the first electronic device and select the one third audio, so that the first electronic device may send the one third audio to the server; alternatively, the user may make an input to the fifth control to trigger the first electronic device to display a sixth interface (e.g., an audio file link search interface), so that the user may search for the link information of the one third audio in the sixth interface and select the link information of the one third audio, so that the first electronic device may send the one third audio to the server.
For example, after the mobile phone sends the target account information and the target password information to the server, as shown in fig. 8, the mobile phone displays a fourth interface (e.g., a file sending interface 20), the file sending interface 20 includes a fourth sending control (e.g., "upload music" control) and a fifth sending control (e.g., "search music" control), and the user may make one input to the "upload music" control to trigger the mobile phone to display the fifth interface, so that the user may search the fifth interface for the one third audio in the mobile phone, or the user may make one input to the "search music" control to trigger the mobile phone to display a sixth interface, so that the user may search the sixth interface for link information of the one third audio to cause the mobile phone to send the one third audio to the server.
Optionally, in this embodiment of the present invention, if the L third audios are multiple third audios, after the first electronic device sends the target account information and the target password information to the server, the first electronic device may use a seventh interface, where the seventh interface includes a sixth control and at least one seventh control.
Optionally, in this embodiment of the present invention, when the L third audios are multiple third audios, the user may perform an input (for example, text input) on the sixth control, so that the first electronic device displays at least one seventh control according to the text input, where each seventh control in the at least one seventh control is used to control the first electronic device to display the fifth interface, so that the user may search for one third audio in the first electronic device in the fifth interface, and each seventh control respectively instructs the first electronic device to send sending order information of each third audio.
For example, after the mobile phone sends the target account information and the target password information to the server, as shown in fig. 9, the mobile phone may display a seventh interface (e.g., a file sending interface 21), where the file sending interface 21 includes a sixth control (e.g., a password segment setting control 22) and at least one seventh control, and the user may perform text input (e.g., "3" text input) on the password segment setting control 22, so that the mobile phone may display three seventh controls (e.g., "first music" control, second music "control, and third music" control) according to the "3" text input, where the "first music" control is used to control the mobile phone to display the fifth interface, and the "first music" control indicates the mobile phone to send the sending sequence information of one third audio, and the "second music" control is used to control the mobile phone to display the fifth interface, the third audio, and the third music "control is used to control the mobile phone to display, And the 'second music' control indicates the mobile phone to send the sending sequence information of a third audio, the 'third music' control is used for controlling the mobile phone to display a fifth interface, and the 'third music' control indicates the mobile phone to send the sending sequence information of the third audio.
In step 301c3, the server receives the target account information and the target password information and the L third audios sent by the first electronic device.
It should be noted that, the first electronic device may send the target account information and the target password information to the server first, and then send the L third audios to the server; alternatively, the first electronic device may simultaneously transmit the target account information, the target password information, and the L third audios to the server. It can be understood that the server may receive the target account information and the target password information sent by the first electronic device first, and then receive the L third audios sent by the first electronic device; or, the server may receive the target account information, the target password information, and the L third audios sent by the first electronic device at the same time.
Step 301c4, for each of the L third audios, the server generates a first sub-audio according to a third audio and K password characters to generate L first sub-audios.
In an embodiment of the present invention, the K password characters are password characters in M password characters, K is smaller than M, and K is a positive integer.
Optionally, in this embodiment of the present invention, for each password character of the K password characters, the server may generate, according to the content of one password character and the position information of the one password character, one second audio information (for example, a frequency spectrum or an audio character) corresponding to the content of the one password character and the position information of the one password character to generate K second audio information, so that the server may generate one first sub-audio according to one third audio and the K second audio information to generate L first sub-audios.
Optionally, in this embodiment of the present invention, for each of the L third audios, the server may write each piece of second audio information into the same part (for example, a head end, a tail end, and the like) of one third audio to generate a first sub audio; alternatively, the server may write each second audio information to a different portion of a third audio to generate the first sub-audio, which is not limited in this embodiment of the present invention.
In step 301c5, the server generates a first audio corresponding to the target account information according to the L first sub-audios.
Optionally, in this embodiment of the present invention, the server may store the L first sub-audios in correspondence with the target account information, so as to generate a first audio corresponding to the target account information.
Optionally, in the embodiment of the present invention, after generating the first audio corresponding to the target account information, the server may store the target account information and the first audio to obtain the preset account information and the preset audio.
Step 301c6, the server sends the first audio to the first electronic device.
In an embodiment of the present invention, the first audio is an audio generated by the server according to the target account information, the M password characters, and the L third audio.
In the embodiment of the invention, the server can simultaneously send the first audio to the first electronic equipment; or the server sequentially sends the L first sub-audios to the first electronic device according to the sending sequence information of the L third audios sent by the first electronic device so as to send the first audio.
In the embodiment of the present invention, the number of L first sub-audios may be the same as the number of M first sub-audios, that is, L ═ M.
Step 301c7, the first electronic device receives the first audio sent by the server.
In the embodiment of the invention, the first electronic device can send the target account information, the target password information and the at least one third audio to the server, so that the server can generate the first audio according to the target account information, the target password information and the at least one third audio, and a user can quickly retrieve the target password information of the target application program through the first audio.
It can be understood that the first audio can be stored in the electronic device and is not easy to be found by other users, so that the security of the first electronic device can be improved, and meanwhile, the user can quickly retrieve the password of the target application program through the first audio, so that the password retrieving efficiency is improved, and the security of the first electronic device is improved.
Fig. 10 shows a schematic diagram of a possible structure of an electronic device involved in the embodiment of the present invention. As shown in fig. 10, the electronic device 90 may include: a transmitting module 91 and a receiving module 92.
The sending module 91 is configured to send first data to the server, where the first data includes target account information of the target application program and a first audio, the first audio includes M password characters associated with the target account information, and M is a positive integer. The receiving module 92 is configured to receive target password information corresponding to the target account information, where the target password information is sent by the server when the target account information matches with the preset account information and the first audio matches with the preset audio.
The embodiment of the invention provides electronic equipment, wherein a user can send target account information and a first audio to a server through first electronic equipment, so that the server can detect the target account information and the first audio, and directly send target password information to the first electronic equipment under the condition that the target account information is matched with preset account information and the first audio is matched with the preset audio, and the user does not need to search a login password of a certain application program in a plurality of memo information of the memo application program one by one or recall the login password of the certain application program for a long time, so that the operation of the user in the process of obtaining the login password can be simplified, and the time consumption is saved.
In a possible implementation manner, the first audio includes content of M password characters and sequence information of the M password characters. The first audio is matched with the preset audio, and the method comprises the following steps: the content of the M password characters is matched with the content of the preset password information, and the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information.
In the embodiment of the invention, when the target account information sent by the user is matched with the preset account information and the plurality of password characters included in the first audio sent by the user are matched with the preset password information in the server, the first electronic device receives the target password information sent by the server, namely when the target account information sent by the user is not matched with the preset account information and/or the plurality of password characters included in the first audio sent by the user are not matched with the preset password information in the server, the first electronic device does not receive the target password information sent by the server, so that other users can be prevented from finding back the login password of the target application program through the first electronic device, and the security of the first electronic device for obtaining the password information can be improved.
In a possible implementation manner, the first audio includes M first sub-audios, each first sub-audio includes N password characters associated with the target account information, N is a positive integer, and M is an integer greater than 1. The first audio is matched with the preset audio, and the method comprises the following steps: n password characters in each first sub-audio are respectively matched with N password characters in preset password information, and the sending sequence information of all the password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information; or, the matching of the first audio and the preset audio includes: n password characters in each first sub-audio are respectively matched with N password characters in preset password information, and all password characters in all first sub-audios in the M first sub-audios are the same as all password characters in the preset password information.
In the embodiment of the invention, when the target account information sent by the user is matched with the preset account information and the plurality of password characters included in the first audio sent by the user is matched with the preset password information in the server, and the sending sequence information of all the password characters in the M first sub-audios sent by the user is the same as the sequence information of the password characters in the preset password information, the first electronic device only receives the target password information sent by the server, namely when the target account information sent by the user is not matched with the preset account information and/or the plurality of password characters included in the first audio sent by the user is not matched with the preset password information in the server and/or the sending sequence information of all the password characters in the M first sub-audios sent by the user is not the same as the sequence information of the password characters in the preset password information, the first electronic device does not receive the target password information sent by the server, so that other users can be prevented from finding back the login password of the target application program through the first electronic device, and the security of the first electronic device for obtaining the password information can be improved.
In the embodiment of the present invention, when the target account information sent by the user matches with the preset account information, and a plurality of password characters included in the first audio sent by the user matches with the preset password information in the server, and whether all the password characters in all the first sub-audio in the M first sub-audio sent by the user are the same as all the password characters in the preset password information, the first electronic device receives the target password information sent by the server, that is, when the target account information sent by the user does not match with the preset account information, and/or a plurality of password characters included in the first audio sent by the user do not match with the preset password information in the server, and/or all the password characters in all the first sub-audio in the M first sub-audio sent by the user are not the same as all the password characters in the preset password information, the first electronic device does not receive the target password information sent by the server, so that other users can be prevented from finding back the login password of the target application program through the first electronic device, and the security of the first electronic device for obtaining the password information can be improved.
In a possible implementation manner, the electronic device 90 provided in the embodiment of the present invention may further include: the device comprises a generating module, a recording module or an acquiring module.
The generating module is configured to generate the first audio according to the second audio and the M password characters in the electronic device before the sending module 91 sends the first data to the server. Or, the recording module is configured to record the first audio played by the second electronic device before the sending module 91 sends the first data to the server. Or, the obtaining module is configured to obtain the first audio from the server before the sending module 91 sends the first data to the server.
In a possible implementation manner, the obtaining module is specifically configured to send target account information and target password information to a server, where the target password information includes M password characters; sending L third audios to the server, wherein L is a positive integer; and receiving a first audio frequency sent by the server, wherein the first audio frequency is generated by the server according to the target account information, the M password characters and the L third audio frequencies.
In the embodiment of the invention, the first electronic device can send the target account information, the target password information and the at least one third audio to the server, so that the server can generate the first audio according to the target account information, the target password information and the at least one third audio, and a user can quickly retrieve the target password information of the target application program through the first audio.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
Fig. 11 shows a schematic diagram of a possible structure of a server involved in the embodiment of the present invention. As shown in fig. 11, the server 100 may include: a receiving module 101 and a transmitting module 102.
The receiving module 101 is configured to receive first data sent by a first electronic device, where the first data includes target account information of a target application and a first audio, the first audio includes M password characters associated with the target account information, and M is a positive integer. The sending module 102 is configured to send, to the first electronic device, target password information corresponding to the target account information received by the receiving module 101 when the target account information matches the preset account information and the first audio matches the preset audio.
The embodiment of the invention provides a server, which can detect target account information and a first audio so as to directly send target password information to first electronic equipment under the condition that the target account information is matched with preset account information and the first audio is matched with the preset audio, so that a user does not need to search a login password of a certain application program one by one in a plurality of memo information of the memo application program, or the user does not need to recall the login password of the certain application program for a long time, the operation of the user in the process of obtaining the login password can be simplified, and the time consumption is saved.
In a possible implementation manner, the first audio includes content of M password characters and sequence information of the M password characters. The sending module 102 is specifically configured to send the target password information corresponding to the target account information to the first electronic device under the condition that the target account information matches with the preset account information in the server, the contents of the M password characters match with the contents of the preset password information, and the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information.
In the embodiment of the present invention, the server may send the target password information to the first electronic device only after detecting for multiple times (i.e., detecting whether the target account information matches the preset account information and whether the password characters included in the first audio match the preset password information in the server), and when the target account information matches the preset account information and the password characters included in the first audio match the preset password information in the server, that is, when the target account information sent by the user does not match the preset account information and/or the password characters included in the first audio sent by the user do not match the preset password information in the server, the server does not send the target password information to the first electronic device, so that it is possible to prevent other users from finding back the login password of the target application program through the first electronic device, therefore, the security of the server for sending the password information can be improved.
In a possible implementation manner, the first audio includes M first sub-audios, each first sub-audio includes N password characters associated with the target account information, N is a positive integer, and M is an integer greater than 1. The sending module 102 is specifically configured to send target password information corresponding to the target account information to the first electronic device under the condition that the target account information matches preset account information, N password characters in each first sub-audio match N password characters in the preset password information, and sending sequence information of all password characters in M first sub-audios is the same as sequence information of password characters in the preset password information; or, the sending module 102 is specifically configured to send the target password information corresponding to the target account information to the first electronic device under the condition that the target account information matches the preset account information, N password characters in each first sub-audio match N password characters in the preset password information, and all password characters in all first sub-audios in the M first sub-audios are the same as all password characters in the preset password information.
In the embodiment of the present invention, since the server may send the target password information to the first electronic device by multiple detections (i.e. detecting whether the target account information matches the preset account information, whether the plurality of password characters included in the first audio matches the preset password information in the server, and detecting whether the sending sequence information of all the password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information), and in the case that the target account information matches the preset account information, and the plurality of password characters included in the first audio matches the preset password information in the server, and the sending sequence information of all the password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information, that is, when the target account information sent by the user does not match the preset account information, and/or when a plurality of password characters included in the M first sub-audios sent by the user are not matched with preset password information in the server, and/or when sending sequence information of the M first sub-audios sent by the user is different from sequence information of the password characters in the preset password information, the server does not send target password information to the first electronic equipment, so that other users can be prevented from finding back login passwords of target application programs through the first electronic equipment, and the security of the server for sending the password information can be improved.
In the embodiment of the present invention, since the server may send the target password information to the first electronic device by multiple detections (i.e., detecting whether the target account information matches the preset account information, whether a plurality of password characters included in the first audio matches the preset password information in the server, and detecting whether all password characters in all first sub-audio in the M first sub-audio are the same as all password characters in the preset password information), and in the case that the target account information matches the preset account information, and a plurality of password characters included in the first audio match the preset password information in the server, and all password characters in all first sub-audio in the M first sub-audio are the same as all password characters in the preset password information, that is, when the target account information sent by the user does not match the preset account information, and/or when a plurality of password characters included in the M first sub-audios sent by the user are not matched with the preset password information in the server, and/or when all password characters in all first sub-audios in the M first sub-audios sent by the user are different from all password characters in the preset password information, the server does not send the target password information to the first electronic equipment, so that other users can be prevented from finding back the login password of the target application program through the first electronic equipment, and the security of sending the password information by the server can be improved.
In a possible implementation manner, the receiving module 101 is further configured to receive, before receiving the first data sent by the first electronic device, target account information, target password information, and L third audios sent by the first electronic device. Referring to fig. 11, as shown in fig. 12, the server 100 according to the embodiment of the present invention may further include: a generating module 103. The generating module 103 is configured to generate, for each of the L third audios, a first sub-audio according to one third audio and K password characters received by the receiving module 101, so as to generate L first sub-audios, where the K password characters are password characters of M password characters, K is smaller than M, and K is a positive integer; and generating a first audio corresponding to the target account information according to the L first sub-audios. The sending module 102 is further configured to send the first audio generated by the generating module 103 to the first electronic device.
In the embodiment of the invention, the server can generate the first audio according to the target account information, the target password information and the at least one third audio of the target application program sent by the first electronic device, so that the user can quickly retrieve the target password information of the target application program through the first audio.
The server provided by the embodiment of the present invention can implement each process implemented by the server in the above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
Fig. 13 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 13, the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that the electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 13, or combine some components, or arrange different components, as will be understood by those skilled in the art. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to control the radio frequency unit 101 to send first data to the server, where the first data includes target account information of a target application program and a first audio, the first audio includes M password characters associated with the target account information, and M is a positive integer; and controlling the radio frequency unit 101 to receive target password information corresponding to the target account information, which is sent by the server under the condition that the target account information is matched with the preset account information and the first audio frequency is matched with the preset audio frequency.
The embodiment of the invention provides electronic equipment, wherein a user can send target account information and a first audio to a server through first electronic equipment, so that the server can detect the target account information and the first audio, and directly send target password information to the first electronic equipment under the condition that the target account information is matched with preset account information and the first audio is matched with the preset audio, and the user does not need to search a login password of a certain application program in a plurality of memo information of the memo application program one by one or recall the login password of the certain application program for a long time, so that the operation of the user in the process of obtaining the login password can be simplified, and the time consumption is saved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 13, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 13, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements the processes of the foregoing method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be, for example, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A password obtaining method is applied to first electronic equipment, and is characterized by comprising the following steps:
sending first data to a server, wherein the first data comprises target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer;
and receiving target password information which is sent by the server and corresponds to the target account information, wherein the target password information is sent by the server under the condition that the target account information is matched with preset account information and the first audio is matched with preset audio.
2. The method of claim 1, wherein the first audio comprises content of the M password characters and sequence information of the M password characters;
the first audio is matched with the preset audio, and the method comprises the following steps: the content of the M password characters is matched with the content of the preset password information, and the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information.
3. The method of claim 1, wherein the first audio comprises M first sub-audio, each first sub-audio comprising N password characters associated with the target account information, N being a positive integer, M being an integer greater than 1;
the first audio is matched with the preset audio, and the method comprises the following steps: the N password characters in each first sub-audio are respectively matched with the N password characters in the preset password information, and the sending sequence information of all the password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information; alternatively, the first and second electrodes may be,
the first audio is matched with the preset audio, and the method comprises the following steps: the N password characters in each first sub-audio are respectively matched with the N password characters in the preset password information, and all the password characters in all the first sub-audios in the M first sub-audios are the same as all the password characters in the preset password information.
4. The method of any of claims 1 to 3, wherein prior to sending the first data to the server, the method further comprises:
generating the first audio according to a second audio in the electronic equipment and the M password characters;
alternatively, the first and second electrodes may be,
recording the first audio played by the second electronic equipment;
alternatively, the first and second electrodes may be,
obtaining the first audio from the server.
5. The method of claim 4, wherein the obtaining the first audio from the server comprises:
sending the target account information and the target password information to the server, wherein the target password information comprises M password characters;
sending L third audios to the server, wherein L is a positive integer;
and receiving the first audio sent by the server, wherein the first audio is generated by the server according to the target account information, the M password characters and the L third audio.
6. A password obtaining method is applied to a server, and is characterized by comprising the following steps:
receiving first data sent by first electronic equipment, wherein the first data comprise target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer;
and under the condition that the target account information is matched with preset account information and the first audio is matched with preset audio, sending target password information corresponding to the target account information to the first electronic equipment.
7. The method of claim 6, wherein the first audio comprises content of the M password characters and sequence information of the M password characters;
the sending, to the first electronic device, target password information corresponding to the target account information under the condition that the target account information matches preset account information and the first audio matches preset audio, includes:
and under the condition that the target account information is matched with preset account information in the server, the contents of the M password characters are matched with the contents of the preset password information, and the sequence information of the M password characters is the same as the sequence information of the password characters in the preset password information, transmitting the target password information corresponding to the target account information to the first electronic equipment.
8. The method of claim 6, wherein the first audio comprises M first sub-audio, each first sub-audio comprising N password characters associated with the target account information, N being a positive integer, M being an integer greater than 1;
the sending, to the first electronic device, target password information corresponding to the target account information under the condition that the target account information matches preset account information and the first audio matches preset audio, includes:
under the condition that the target account information is matched with the preset account information, N password characters in each first sub-audio are respectively matched with N password characters in the preset password information, and the sending sequence information of all password characters in the M first sub-audios is the same as the sequence information of the password characters in the preset password information, sending the target password information corresponding to the target account information to the first electronic equipment;
alternatively, the first and second electrodes may be,
and under the condition that the target account information is matched with the preset account information, N password characters in each first sub-audio are respectively matched with N password characters in the preset password information, and all password characters in all first sub-audio in the M first sub-audio are the same as all password characters in the preset password information, transmitting the target password information corresponding to the target account information to the first electronic equipment.
9. The method according to any one of claims 6 to 8, wherein before receiving the first data transmitted by the first electronic device, the method further comprises:
receiving the target account information, the target password information and L third audios sent by the first electronic device, wherein the target password information comprises M password characters, and L is a positive integer;
generating a first sub-audio according to a third audio and K password characters aiming at each third audio in the L third audios so as to generate L first sub-audios, wherein the K password characters are password characters in the M password characters, K is smaller than M, and K is a positive integer;
generating the first audio corresponding to the target account information according to the L first sub-audios;
transmitting the first audio to the first electronic device.
10. An electronic device, characterized in that the electronic device comprises: a transmitting module and a receiving module;
the sending module is configured to send first data to a server, where the first data includes target account information of the target application program and a first audio, the first audio includes M password characters associated with the target account information, and M is a positive integer;
the receiving module is used for receiving target password information which is sent by a server and corresponds to target account information, wherein the target password information is sent by the server under the condition that the target account information is matched with preset account information and the first audio is matched with preset audio.
11. A server, characterized in that the server comprises: the device comprises a receiving module and a sending module;
the receiving module is used for receiving first data sent by first electronic equipment, wherein the first data comprise target account information of a target application program and first audio, the first audio comprises M password characters related to the target account information, and M is a positive integer;
the sending module is configured to send, to the first electronic device, target password information corresponding to the target account information received by the receiving module when the target account information matches preset account information and the first audio matches preset audio.
12. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the password acquisition method as claimed in any one of claims 1 to 5.
13. A server, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the password acquisition method according to any one of claims 6 to 9.
CN201911413109.7A 2019-12-31 2019-12-31 Password obtaining method, electronic equipment and server Pending CN111143806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911413109.7A CN111143806A (en) 2019-12-31 2019-12-31 Password obtaining method, electronic equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911413109.7A CN111143806A (en) 2019-12-31 2019-12-31 Password obtaining method, electronic equipment and server

Publications (1)

Publication Number Publication Date
CN111143806A true CN111143806A (en) 2020-05-12

Family

ID=70522597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911413109.7A Pending CN111143806A (en) 2019-12-31 2019-12-31 Password obtaining method, electronic equipment and server

Country Status (1)

Country Link
CN (1) CN111143806A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518875A (en) * 2013-09-27 2015-04-15 深圳市腾讯计算机系统有限公司 Identity authentication method, account acquisition method and mobile terminal
CN106357671A (en) * 2016-10-18 2017-01-25 北京小米移动软件有限公司 Method and device for verifying login
CN106529403A (en) * 2016-09-29 2017-03-22 维沃移动通信有限公司 WIFI password retrieving method based on characteristic identification and mobile terminal
CN107733660A (en) * 2017-11-29 2018-02-23 佛山市因诺威特科技有限公司 A kind of password method for retrieving
CN109242492A (en) * 2018-09-02 2019-01-18 珠海横琴现联盛科技发展有限公司 The Application on Voiceprint Recognition payment information method for anti-counterfeit imitated for sound

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518875A (en) * 2013-09-27 2015-04-15 深圳市腾讯计算机系统有限公司 Identity authentication method, account acquisition method and mobile terminal
CN106529403A (en) * 2016-09-29 2017-03-22 维沃移动通信有限公司 WIFI password retrieving method based on characteristic identification and mobile terminal
CN106357671A (en) * 2016-10-18 2017-01-25 北京小米移动软件有限公司 Method and device for verifying login
CN107733660A (en) * 2017-11-29 2018-02-23 佛山市因诺威特科技有限公司 A kind of password method for retrieving
CN109242492A (en) * 2018-09-02 2019-01-18 珠海横琴现联盛科技发展有限公司 The Application on Voiceprint Recognition payment information method for anti-counterfeit imitated for sound

Similar Documents

Publication Publication Date Title
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN109241775B (en) Privacy protection method and terminal
CN108897473B (en) Interface display method and terminal
CN108334272B (en) Control method and mobile terminal
US11250046B2 (en) Image viewing method and mobile terminal
CN107657163B (en) Application program starting method and mobile terminal
CN110308834B (en) Setting method of application icon display mode and terminal
CN109857297B (en) Information processing method and terminal equipment
CN109412932B (en) Screen capturing method and terminal
CN108108111B (en) Method and device for checking lock screen picture information and mobile terminal
JP7324949B2 (en) Application sharing method, first electronic device and computer readable storage medium
CN111124179A (en) Information processing method and electronic equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN110012151B (en) Information display method and terminal equipment
CN111061446A (en) Display method and electronic equipment
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN110780751A (en) Information processing method and electronic equipment
CN108021315B (en) Control method and mobile terminal
CN108494754B (en) Account information processing method and mobile terminal
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN107835310B (en) Mobile terminal setting method and mobile terminal
CN110851408A (en) File compression method, file decompression method and electronic equipment

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

RJ01 Rejection of invention patent application after publication