Movatterモバイル変換


[0]ホーム

URL:


CN110457888A - A verification code input method, device, electronic equipment and storage medium - Google Patents

A verification code input method, device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN110457888A
CN110457888ACN201910689821.3ACN201910689821ACN110457888ACN 110457888 ACN110457888 ACN 110457888ACN 201910689821 ACN201910689821 ACN 201910689821ACN 110457888 ACN110457888 ACN 110457888A
Authority
CN
China
Prior art keywords
input
token
target
verification code
verification
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.)
Granted
Application number
CN201910689821.3A
Other languages
Chinese (zh)
Other versions
CN110457888B (en
Inventor
陈纲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201910689821.3ApriorityCriticalpatent/CN110457888B/en
Publication of CN110457888ApublicationCriticalpatent/CN110457888A/en
Application grantedgrantedCritical
Publication of CN110457888BpublicationCriticalpatent/CN110457888B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种验证码输入方法、装置、电子设备及计算机可读存储介质,其中,所述验证码输入方法包括:接收用户针对目标应用程序的第一输入;响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;开放所述目标应用程序访问所述验证码的权限。上述方法中,电子设备根据目标短信中的验证令牌确定目标应用程序,并向目标应用程序开放验证码访问权限,使得只有与验证令牌匹配的目标应用程序才能访问验证码,保证了用户的隐私安全。

The present invention provides a verification code input method, device, electronic equipment, and computer-readable storage medium, wherein the verification code input method includes: receiving a user's first input for a target application program; responding to the first input , sending first information to the server through the target application program; wherein, the first information includes a verification token; receiving a target short message sent by the server, the target short message including a verification code and the verification token; opening the The permission of the target application to access the verification code. In the above method, the electronic device determines the target application program according to the verification token in the target text message, and opens the verification code access authority to the target application program, so that only the target application program matching the verification token can access the verification code, ensuring the user's Privacy and security.

Description

Translated fromChinese
一种验证码输入方法、装置、电子设备及存储介质A verification code input method, device, electronic equipment and storage medium

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种验证码输入方法、装置、电子设备及计算机可读存储介质。The embodiments of the present invention relate to the technical field of communications, and in particular, to a verification code input method, device, electronic equipment, and computer-readable storage medium.

背景技术Background technique

短信验证码被应用于注册、登录、支付、消费等各种场景的用户身份确认,采用短信验证码的方式进行身份验证,其成本较低且容易实现。SMS verification codes are used to confirm user identities in various scenarios such as registration, login, payment, and consumption. Using SMS verification codes for identity verification is low-cost and easy to implement.

发明人在对现有技术的研究过程中发现,目前一些自动输入短信验证码的方案,需要授权应用程序通过读取用户短信内容的方式来识别验证码,因为应用程序申请到的是可以监听读取所有短信的权限,所以一旦防护措施不当或应用程序开发者别有用心,将会造成用户隐私的泄露。In the process of researching the existing technology, the inventor found that some current schemes for automatically inputting SMS verification codes need to authorize the application program to identify the verification code by reading the content of the user's SMS, because the application program can monitor and read the verification code. Access to all SMS permissions, so if the protection measures are improper or the application developer has ulterior motives, it will cause the user's privacy to be leaked.

由此可见,现有的自动输入短信验证码的方案安全性较低。It can be seen that the security of the existing scheme for automatically inputting the SMS verification code is relatively low.

发明内容Contents of the invention

本发明提供一种验证码输入方法、装置及计算机可读存储介质,以便解决现有的自动输入短信验证码的方案安全性较低的问题。The invention provides a verification code input method, device and computer-readable storage medium, so as to solve the problem of low security of the existing scheme for automatically inputting a short message verification code.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种验证码输入方法,应用于电子设备,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for inputting a verification code, which is applied to an electronic device, and the method includes:

接收用户针对目标应用程序的第一输入;receiving a user's first input for a target application;

响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;In response to the first input, sending first information to a server through the target application; wherein the first information includes a verification token;

接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;receiving the target short message sent by the server, the target short message including a verification code and the verification token;

开放所述目标应用程序访问所述验证码的权限。Allow the target application program to access the verification code.

可选地,所述响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息,具体包括:Optionally, the sending the first information to the server through the target application in response to the first input specifically includes:

响应于所述第一输入,生成所述验证令牌,并通过所述目标应用程序向服务器发送第一信息。In response to the first input, the verification token is generated, and first information is sent to the server through the target application program.

可选地,所述开放所述目标应用程序访问所述验证码的权限之后,所述方法还包括:Optionally, after the permission of the target application program to access the verification code is released, the method further includes:

将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件。Inputting the verification code into a target control corresponding to the verification token in the target application program.

可选地,所述验证令牌包括第一验证令牌和第二验证令牌,所述验证码包括第一验证码和第二验证码;Optionally, the verification token includes a first verification token and a second verification token, and the verification code includes a first verification code and a second verification code;

所述将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件,具体包括:The inputting the verification code into the target control corresponding to the verification token in the target application program specifically includes:

将所述第一验证码输入所述目标应用程序中与所述第一验证令牌相对应的第一目标控件,将所述第二验证码输入所述目标应用程序中与所述第二验证令牌相对应的第二目标控件。inputting the first verification code into the first target control corresponding to the first verification token in the target application, and inputting the second verification code into the target application corresponding to the second verification token The token corresponds to the second target control.

第二方面,本发明实施例提供了一种验证码输入装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a device for inputting a verification code, the device comprising:

第一输入接收模块,用于接收用户针对目标应用程序的第一输入;A first input receiving module, configured to receive a user's first input for the target application;

第一信息发送模块,用于响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;A first information sending module, configured to send first information to a server through the target application program in response to the first input; wherein the first information includes a verification token;

目标短信接收模块,用于接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;The target short message receiving module is used to receive the target short message sent by the server, and the target short message includes a verification code and the verification token;

权限开放模块,用于开放所述目标应用程序访问所述验证码的权限。A permission opening module, configured to open the permission of the target application program to access the verification code.

可选地,所述第一信息发送模块,具体包括:Optionally, the first information sending module specifically includes:

发送子模块,用于响应于所述第一输入,生成所述验证令牌,并通过所述目标应用程序向服务器发送第一信息。The sending submodule is configured to generate the verification token in response to the first input, and send the first information to the server through the target application program.

可选地,所述装置还包括:Optionally, the device also includes:

输入模块,用于将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件。An input module, configured to input the verification code into a target control corresponding to the verification token in the target application program.

可选地,所述验证令牌包括第一验证令牌和第二验证令牌,所述验证码包括第一验证码和第二验证码;所述输入模块具体包括:Optionally, the verification token includes a first verification token and a second verification token, and the verification code includes a first verification code and a second verification code; the input module specifically includes:

输入子模块,用于将所述第一验证码输入所述目标应用程序中与所述第一验证令牌相对应的第一目标控件,将所述第二验证码输入所述目标应用程序中与所述第二验证令牌相对应的第二目标控件。An input submodule, configured to input the first verification code into a first target control corresponding to the first verification token in the target application program, and input the second verification code into the target application program A second target control corresponding to the second verification token.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的验证码输入方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor When realizing the steps of the verification code input method as described in the first aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的验证码输入方法的步骤。In a fourth aspect, an embodiment of the present invention 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 verification code input as described in the first aspect is implemented method steps.

在本发明实施例中,接收用户针对目标应用程序的第一输入;响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;开放所述目标应用程序访问所述验证码的权限。上述方法中,电子设备根据目标短信中的验证令牌确定目标应用程序,并向目标应用程序开放验证码访问权限,使得只有与验证令牌匹配的目标应用程序才能访问验证码,保证了用户的隐私安全。In an embodiment of the present invention, a first input from a user for a target application is received; in response to the first input, first information is sent to a server through the target application; wherein the first information includes a verification token ; receiving a target short message sent by the server, where the target short message includes a verification code and the verification token; and allowing the target application program to access the verification code. In the above method, the electronic device determines the target application program according to the verification token in the target text message, and opens the verification code access authority to the target application program, so that only the target application program matching the verification token can access the verification code, ensuring the user's Privacy and security.

附图说明Description of drawings

图1是本发明实施例提供的验证码输入方法的流程图之一;Fig. 1 is one of the flowcharts of the verification code input method provided by the embodiment of the present invention;

图2是本发明实施例提供的验证码输入方法的流程图之二;Fig. 2 is the second flow chart of the verification code input method provided by the embodiment of the present invention;

图3是本发明实施例提供的验证码输入方法的流程图之三;Fig. 3 is the third flowchart of the verification code input method provided by the embodiment of the present invention;

图4是本发明实施例提供的验证码输入装置的结构框图之一;Fig. 4 is one of the structural block diagrams of the verification code input device provided by the embodiment of the present invention;

图5是本发明实施例提供的验证码输入装置的结构框图之二;Fig. 5 is the second structural block diagram of the verification code input device provided by the embodiment of the present invention;

图6是本发明实施例提供的验证码输入装置的结构框图之三;Fig. 6 is the third structural block diagram of the verification code input device provided by the embodiment of the present invention;

图7为实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1是本发明实施例提供的验证码输入方法的流程图之一。该方法可以应用于电子设备,如图1所示,该方法可以包括以下步骤:Fig. 1 is one of the flow charts of the verification code input method provided by the embodiment of the present invention. The method can be applied to electronic equipment, as shown in Figure 1, the method can include the following steps:

步骤101、接收用户针对目标应用程序的第一输入。Step 101. Receive a user's first input on a target application program.

在本发明实施例中,可选的,目标应用程序为非线性编辑系统生产商以外的软件公司提供的应用程序,不是电子设备操作系统本身自带的应用程序。用户在电子设备的目标应用程序上进行注册、登录、支付、消费时,需要采用短信验证码的方式进行身份验证。In this embodiment of the present invention, optionally, the target application program is an application program provided by a software company other than the non-linear editing system manufacturer, rather than an application program that comes with the operating system of the electronic device itself. When the user registers, logs in, pays, and consumes on the target application program of the electronic device, he needs to use the SMS verification code for identity verification.

具体地,用户针对目标应用程序的第一输入可以为用户在目标应用程序的验证码输入界面上点击验证码发送按钮的操作。Specifically, the user's first input to the target application program may be an operation in which the user clicks a verification code sending button on the verification code input interface of the target application program.

步骤102,响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌。Step 102, in response to the first input, send first information to a server through the target application program; wherein the first information includes a verification token.

在本发明实施例中,电子设备接收第一输入之后,响应于该第一输入,目标应用程序向服务器发送第一信息,该第一信息为验证码获取请求信息,该服务器是为目标应用程序提供业务支持的服务器。第一信息中携带验证令牌,也可以携带目标应用程序所在的电子设备的标识信息,以方便服务器根据验证令牌生成目标短信,并发送至标识信息对应的电子设备。In the embodiment of the present invention, after the electronic device receives the first input, in response to the first input, the target application program sends the first information to the server, the first information is verification code acquisition request information, and the server is the target application program Servers that provide business support. The first message carries the verification token, and may also carry the identification information of the electronic device where the target application is located, so that the server can generate the target short message according to the verification token and send it to the electronic device corresponding to the identification information.

其中,验证令牌可以是通过不可逆算法生成的随机字符串,不带有任何用户、手机硬件信息,因此能够保护用户的隐私。Among them, the verification token can be a random character string generated by an irreversible algorithm, without any user or mobile phone hardware information, so the user's privacy can be protected.

步骤103,接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌。Step 103, receiving the target short message sent by the server, the target short message including the verification code and the verification token.

在本发明实施例中,电子设备接收与目标应用程序对应的服务器发送的目标短息,该目标短信中携带验证码和验证令牌,以便于电子设备根据验证令牌确定请求验证码的目标应用程序。In the embodiment of the present invention, the electronic device receives the target short message sent by the server corresponding to the target application program, and the target short message carries a verification code and a verification token, so that the electronic device can determine the target application requesting the verification code according to the verification token program.

验证令牌可以位于目标短信的预设位置,例如,该预设位置可以是短信正文、短信报文头或短信报文尾,验证令牌插入的位置可以在生成目标短信之前进行预设。The verification token can be located at a preset position of the target short message. For example, the preset position can be the text of the short message, the head of the short message or the tail of the short message. The position where the verification token is inserted can be preset before generating the target short message.

步骤104,开放所述目标应用程序访问所述验证码的权限。Step 104, allowing the target application program to access the verification code.

在电子设备接收到目标短信后,电子设备可以自行触发短信匹配操作,分别使用短信正文、短信报文头和短信报文尾与预先注册在电子设备上的应用程序的验证令牌进行匹配,若可以匹配成功,则将匹配成功的应用程序作为目标应用程序,并开放所述目标应用程序访问验证码的权限。访问验证码的权限具体可以是访问目标短信的权限。After the electronic device receives the target text message, the electronic device can trigger the text message matching operation by itself, and use the text message, message header and message tail of the message to match the verification token of the application program pre-registered on the electronic device respectively. If the matching can be successful, the successfully matched application is used as the target application, and the permission of the target application to access the verification code is released. Specifically, the authority to access the verification code may be the authority to access the target short message.

此外,还可以采取另一种方案,在目标应用程序与验证令牌绑定之后,目标应用程序向电子设备注册短信监听,则在电子设备接收到短信后,可以由目标应用程序请求电子设备触发短信匹配操作。In addition, another solution can be adopted. After the target application program is bound with the verification token, the target application program registers the SMS monitoring with the electronic device, and after the electronic device receives the SMS message, the target application program can request the electronic device to trigger SMS matching operation.

开放权限后,目标应用程序访问目标短信中的验证码,并将验证码写入验证码目标控件中。After the permission is opened, the target application program accesses the verification code in the target text message, and writes the verification code into the verification code target control.

综上所述,在本发明实施例中,接收用户针对目标应用程序的第一输入;响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;开放所述目标应用程序访问所述验证码的权限。上述方法中,电子设备根据目标短信中的验证令牌确定目标应用程序,并向目标应用程序开放验证码访问权限,使得只有与验证令牌匹配的目标应用程序才能访问验证码,保证了用户的隐私安全。To sum up, in this embodiment of the present invention, a user's first input for a target application is received; in response to the first input, first information is sent to the server through the target application; wherein, the first The information includes a verification token; a target short message sent by the server is received, the target short message includes a verification code and the verification token; and the permission of the target application program to access the verification code is released. In the above method, the electronic device determines the target application program according to the verification token in the target text message, and opens the verification code access authority to the target application program, so that only the target application program matching the verification token can access the verification code, ensuring the user's Privacy and security.

图2是本发明实施例提供的验证码输入方法的流程图之二,如图2所示,该方法可以应用于电子设备,该方法可以包括:Fig. 2 is the second flow chart of the verification code input method provided by the embodiment of the present invention. As shown in Fig. 2, the method can be applied to electronic devices, and the method can include:

步骤201,接收用户针对目标应用程序的第一输入。Step 201, receiving a user's first input for a target application program.

在本发明实施例中,步骤201可以参照步骤101,此处不再赘述。In the embodiment of the present invention, step 201 may refer to step 101, which will not be repeated here.

步骤202,响应于所述第一输入,生成所述验证令牌,并通过所述目标应用程序向服务器发送第一信息。Step 202, generating the verification token in response to the first input, and sending first information to the server through the target application program.

在本发明实施例中,用户在目标应用程序的验证码输入界面中点击验证码发送按钮之后,目标应用程序即向电子设备发出验证令牌生成请求。电子设备针对所述验证令牌生成请求生成验证令牌,并将验证令牌与所述目标应用程序绑定。其中,验证令牌可以是通过不可逆算法生成的随机字符串,不带有任何用户、手机硬件信息,因此能够保护用户的隐私。In the embodiment of the present invention, after the user clicks a verification code sending button on the verification code input interface of the target application program, the target application program sends a verification token generation request to the electronic device. The electronic device generates a verification token according to the verification token generation request, and binds the verification token with the target application program. Among them, the verification token can be a random character string generated by an irreversible algorithm, without any user or mobile phone hardware information, so the user's privacy can be protected.

目标应用程序和验证令牌绑定之后,目标应用程序向其对应的服务器发送第一信息,该第一信息为验证码获取请求,该服务器是为目标应用程序提供业务支持的服务器。第一信息中携带验证令牌,也可以携带目标应用程序所在的电子设备的标识信息,以方便服务器根据验证令牌生成目标短信,并发送至标识信息对应的电子设备。After the target application is bound to the verification token, the target application sends first information to its corresponding server, the first information being a verification code acquisition request, and the server is a server that provides business support for the target application. The first message carries the verification token, and may also carry the identification information of the electronic device where the target application is located, so that the server can generate the target short message according to the verification token and send it to the electronic device corresponding to the identification information.

步骤203,接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌。Step 203, receiving the target short message sent by the server, the target short message including the verification code and the verification token.

在本发明实施例中,步骤203可以参照步骤103,此处不再赘述。In the embodiment of the present invention, step 203 may refer to step 103, which will not be repeated here.

步骤204,开放所述目标应用程序访问所述验证码的权限。Step 204, allowing the target application program to access the verification code.

在本发明实施例中,步骤204可以参照步骤104,此处不再赘述。In the embodiment of the present invention, step 204 may refer to step 104, which will not be repeated here.

综上所述,本发明实施例提供的验证码输入方法,除具有图1中的验证码输入方法的有益效果之外,还响应于所述第一输入,生成所述验证令牌,并通过所述目标应用程序向服务器发送第一信息,上述生成的验证令牌可以用于与目标应用程序进行绑定,方便了电子设备确定与目标短信对应的目标应用程序,以进一步保护用户的隐私安全。In summary, the verification code input method provided by the embodiment of the present invention, in addition to the beneficial effects of the verification code input method in Figure 1, also generates the verification token in response to the first input, and passes The target application program sends the first information to the server, and the verification token generated above can be used for binding with the target application program, which facilitates the electronic device to determine the target application program corresponding to the target short message, so as to further protect the user's privacy and security .

图3是本发明实施例提供的验证码输入方法的流程图之三,如图3所示,该方法可以应用于电子设备,该方法可以包括:Fig. 3 is the third flow chart of the verification code input method provided by the embodiment of the present invention. As shown in Fig. 3, the method can be applied to electronic devices, and the method can include:

步骤301,接收用户针对目标应用程序的第一输入。Step 301, receiving a user's first input for a target application.

在本发明实施例中,步骤301可以参照步骤101,此处不再赘述。In the embodiment of the present invention, step 301 may refer to step 101, which will not be repeated here.

步骤302,响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌。Step 302, in response to the first input, send first information to a server through the target application program; wherein, the first information includes a verification token.

在本发明实施例中,步骤302可以参照步骤102,此处不再赘述。In the embodiment of the present invention, step 302 may refer to step 102, which will not be repeated here.

步骤303,接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌。Step 303, receiving the target short message sent by the server, the target short message including the verification code and the verification token.

在本发明实施例中,步骤303可以参照步骤103,此处不再赘述。In the embodiment of the present invention, step 303 may refer to step 103, which will not be repeated here.

步骤304,开放所述目标应用程序访问所述验证码的权限。Step 304, allowing the target application to access the verification code.

在本发明实施例中,步骤304可以参照步骤104,此处不再赘述。In the embodiment of the present invention, step 304 may refer to step 104, which will not be repeated here.

步骤305,将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件。Step 305, input the verification code into the target control corresponding to the verification token in the target application program.

在本发明实施例中,可选的,目标控件可以为目标应用程序界面上用户点击验证码发送按钮时,该按钮对应的目标控件,即目标控件用于接收所述验证码发送操作所请求的验证码。此外,目标控件也可以是之前生成验证令牌时预设的,本发明实施例对此不作具体限定。In the embodiment of the present invention, optionally, the target control may be the target control corresponding to the button when the user clicks the verification code sending button on the target application interface, that is, the target control is used to receive the verification code sending operation requested Captcha. In addition, the target control may also be preset when the verification token is generated, which is not specifically limited in this embodiment of the present invention.

电子设备针对所述验证令牌生成请求生成验证令牌后,可以将验证令牌、目标控件与所述目标应用程序绑定。在开放目标应用程序访问验证码的权限之后,目标应用程序将从目标短信读取的验证码写入与验证令牌绑定的目标控件中。After the electronic device generates a verification token according to the verification token generation request, it can bind the verification token and the target control with the target application program. After the permission of the target application to access the verification code is opened, the target application writes the verification code read from the target SMS into the target control bound with the verification token.

可选地,若所述目标应用程序存在至少两个目标控件,则从所述至少两个目标控件中确定所述验证令牌对应的目标控件。Optionally, if there are at least two target controls in the target application program, the target control corresponding to the verification token is determined from the at least two target controls.

在本发明实施例中,目标应用程序界面上若存在两个及两个以上的目标控件,则需要根据目标短信中携带的验证令牌,选择与该验证令牌对应的目标控件。所以,电子设备需要从目标短信中提取验证码和验证令牌,发送给目标应用程序,以方便目标应用程序确定该验证码对应的目标控件。In the embodiment of the present invention, if there are two or more target controls on the target application program interface, the target control corresponding to the verification token needs to be selected according to the verification token carried in the target short message. Therefore, the electronic device needs to extract the verification code and the verification token from the target text message, and send them to the target application program, so that the target application program can determine the target control corresponding to the verification code.

目标应用程序根据接收到的验证令牌,从验证令牌中提取其绑定的目标控件信息,并将该信息与多个目标控件进行匹配,选出与验证令牌对应的目标控件。在确定了目标控件后,则目标应用程序将验证码写入该目标控件中。According to the received verification token, the target application program extracts the bound target control information from the verification token, matches the information with multiple target controls, and selects the target control corresponding to the verification token. After the target control is determined, the target application program writes the verification code into the target control.

可选地,所述验证令牌包括第一验证令牌和第二验证令牌,所述验证码包括第一验证码和第二验证码,上述步骤305,具体包括:Optionally, the verification token includes a first verification token and a second verification token, and the verification code includes a first verification code and a second verification code. The above step 305 specifically includes:

将所述第一验证码输入所述目标应用程序中与所述第一验证令牌相对应的第一目标控件,将所述第二验证码输入所述目标应用程序中与所述第二验证令牌相对应的第二目标控件。inputting the first verification code into the first target control corresponding to the first verification token in the target application, and inputting the second verification code into the target application corresponding to the second verification token The token corresponds to the second target control.

在本发明实施例中,若目标应用程序的界面上存在两个验证码输入区域,例如,存在用户名和密码的输入区域,目标应用程序发出针对两个验证码输入区域的验证令牌生成请求,则电子设备根据目标应用程序发送的验证令牌生成请求,生成两个验证令牌和两个目标控件,第一验证令牌对应第一目标控件,第二验证令牌对应第二目标控件。目标应用程序向服务器发送验证码生成请求时,也携带两个验证令牌,服务器根据两个验证令牌,生成两个验证码,分别为第一验证码和第二验证码。In the embodiment of the present invention, if there are two verification code input areas on the interface of the target application program, for example, there are input areas for user name and password, and the target application program sends a verification token generation request for the two verification code input areas, Then the electronic device generates two verification tokens and two target controls according to the verification token generation request sent by the target application program, the first verification token corresponds to the first target control, and the second verification token corresponds to the second target control. When the target application program sends a verification code generation request to the server, it also carries two verification tokens, and the server generates two verification codes according to the two verification tokens, namely the first verification code and the second verification code.

目标应用程序读取目标短信的两个验证码,并将两个验证码分别写入对应的目标控件中。这样,可以同时在两个目标控件中写入对应的验证码,避免了目标应用程序多次请求验证码,多次写入,进一步提高了验证码的写入效率。The target application program reads the two verification codes of the target SMS, and writes the two verification codes into corresponding target controls. In this way, the corresponding verification codes can be written in the two target controls at the same time, which avoids the target application program from requesting and writing the verification code multiple times, and further improves the writing efficiency of the verification code.

综上所述,本发明实施例提供的验证码输入方法,除具有图1中的验证码输入方法的有益效果之外,还将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件,使得验证码可以自动写入目标应用程序界面上的对应位置,避免了用户人工写入,提高了效率。此外,在存在两个验证码输入区域的情况下,可以同时在两个目标控件中写入对应的验证码,避免了目标应用程序多次请求验证码,多次写入,进一步提高了验证码的写入效率。To sum up, the verification code input method provided by the embodiment of the present invention, in addition to having the beneficial effect of the verification code input method in Figure 1, also inputs the verification code into the target application program in conjunction with the verification code The target control corresponding to the card allows the verification code to be automatically written into the corresponding position on the target application interface, avoiding manual writing by the user and improving efficiency. In addition, when there are two verification code input areas, the corresponding verification codes can be written in the two target controls at the same time, which avoids the target application program requesting the verification code multiple times and writing it multiple times, further improving the verification code. write efficiency.

图4是本发明实施例提供的一种验证码输入装置的结构框图之一,如图4所示,该验证码输入装置400可以包括:Fig. 4 is one of the structural block diagrams of a verification code input device provided by an embodiment of the present invention. As shown in Fig. 4, the verification code input device 400 may include:

第一输入接收模块401,用于接收用户针对目标应用程序的第一输入;A first input receiving module 401, configured to receive a user's first input for a target application;

第一信息发送模块402,用于响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;A first information sending module 402, configured to send first information to a server through the target application program in response to the first input; wherein the first information includes a verification token;

目标短信接收模块403,用于接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;The target short message receiving module 403 is used to receive the target short message sent by the server, and the target short message includes a verification code and the verification token;

权限开放模块404,用于开放所述目标应用程序访问所述验证码的权限。A permission opening module 404, configured to open the permission of the target application program to access the verification code.

综上所述,在本发明实施例中,接收用户针对目标应用程序的第一输入;响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;开放所述目标应用程序访问所述验证码的权限。上述方法中,验证码输入装置根据目标短信中的验证令牌确定目标应用程序,并向目标应用程序开放验证码访问权限,使得只有与验证令牌匹配的目标应用程序才能访问验证码,保证了用户的隐私安全。To sum up, in this embodiment of the present invention, a user's first input for a target application is received; in response to the first input, first information is sent to the server through the target application; wherein, the first The information includes a verification token; a target short message sent by the server is received, the target short message includes a verification code and the verification token; and the permission of the target application program to access the verification code is released. In the above method, the verification code input device determines the target application program according to the verification token in the target text message, and opens the verification code access authority to the target application program, so that only the target application program matching the verification token can access the verification code, ensuring User privacy and security.

可选地,参照图5,在上述图4的基础上,示出了验证码输入装置的结构框图之二。其中,所述第一信息发送模块402,具体包括:Optionally, referring to FIG. 5 , on the basis of the above-mentioned FIG. 4 , the second structural block diagram of the verification code input device is shown. Wherein, the first information sending module 402 specifically includes:

发送子模块4021,用于响应于所述第一输入,生成所述验证令牌,并通过所述目标应用程序向服务器发送第一信息。The sending submodule 4021 is configured to generate the verification token in response to the first input, and send the first information to the server through the target application program.

综上所述,本发明实施例提供的验证码输入方法,除具有图1中的验证码输入方法的有益效果之外,还响应于所述第一输入,生成所述验证令牌,并通过所述目标应用程序向服务器发送第一信息,上述生成的验证令牌可以用于与目标应用程序进行绑定,方便了验证码输入装置确定与目标短信对应的目标应用程序,以进一步保护用户的隐私安全。In summary, the verification code input method provided by the embodiment of the present invention, in addition to the beneficial effects of the verification code input method in Figure 1, also generates the verification token in response to the first input, and passes The target application program sends the first information to the server, and the verification token generated above can be used for binding with the target application program, which facilitates the verification code input device to determine the target application program corresponding to the target short message, so as to further protect the user's Privacy and security.

可选地,参照图6,在上述图4的基础上,示出了验证码输入装置的结构框图之三。其中,所述装置400还包括:Optionally, referring to FIG. 6 , on the basis of the above-mentioned FIG. 4 , a third structural block diagram of the verification code input device is shown. Wherein, the device 400 also includes:

输入模块405,用于将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件。The input module 405 is configured to input the verification code into a target control corresponding to the verification token in the target application program.

可选地,所述验证令牌包括第一验证令牌和第二验证令牌,所述验证码包括第一验证码和第二验证码;所述输入模块400具体包括:Optionally, the verification token includes a first verification token and a second verification token, and the verification code includes a first verification code and a second verification code; the input module 400 specifically includes:

输入子模块,用于将所述第一验证码输入所述目标应用程序中与所述第一验证令牌相对应的第一目标控件,将所述第二验证码输入所述目标应用程序中与所述第二验证令牌相对应的第二目标控件。An input submodule, configured to input the first verification code into a first target control corresponding to the first verification token in the target application program, and input the second verification code into the target application program A second target control corresponding to the second verification token.

综上所述,本发明实施例提供的验证码输入方法,除具有图1中的验证码输入方法的有益效果之外,还将所述验证码输入所述目标应用程序中与所述验证令牌相对应的目标控件,使得验证码可以自动写入目标应用程序界面上的对应位置,避免了用户人工写入,提高了效率。此外,在存在两个验证码输入区域的情况下,可以同时在两个目标控件中写入对应的验证码,避免了目标应用程序多次请求验证码,多次写入,进一步提高了验证码的写入效率。To sum up, the verification code input method provided by the embodiment of the present invention, in addition to having the beneficial effect of the verification code input method in Figure 1, also inputs the verification code into the target application program in conjunction with the verification code The target control corresponding to the card allows the verification code to be automatically written into the corresponding position on the target application interface, avoiding manual writing by the user and improving efficiency. In addition, when there are two verification code input areas, the corresponding verification codes can be written in the two target controls at the same time, which avoids the target application program requesting the verification code multiple times and writing it multiple times, further improving the verification code. write efficiency.

图7为实现本发明各个实施例的一种电子设备的硬件结构示意图,FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention,

该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 500 includes but not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510 and a power supply 511 and other components. Those skilled in the art can understand that the structure of the electronic device shown in Figure 5 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,用户输入单元507,用于接收用户针对目标应用程序的第一输入;处理器510,用于响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;开放所述目标应用程序访问所述验证码的权限。Wherein, the user input unit 507 is configured to receive a user's first input for the target application program; the processor 510 is configured to send first information to the server through the target application program in response to the first input; wherein, the The first information includes a verification token; receiving a target short message sent by the server, where the target short message includes a verification code and the verification token; and allowing the target application program to access the verification code.

综上所述,在本发明实施例中,接收用户针对目标应用程序的第一输入;响应于所述第一输入,通过所述目标应用程序向服务器发送第一信息;其中,所述第一信息包括验证令牌;接收服务器发送的目标短信,所述目标短信包括验证码和所述验证令牌;开放所述目标应用程序访问所述验证码的权限。上述方法中,电子设备根据目标短信中的验证令牌确定目标应用程序,并向目标应用程序开放验证码访问权限,使得只有与验证令牌匹配的目标应用程序才能访问验证码,保证了用户的隐私安全。To sum up, in this embodiment of the present invention, a user's first input for a target application is received; in response to the first input, first information is sent to the server through the target application; wherein, the first The information includes a verification token; a target short message sent by the server is received, the target short message includes a verification code and the verification token; and the permission of the target application program to access the verification code is released. In the above method, the electronic device determines the target application program according to the verification token in the target text message, and opens the verification code access authority to the target application program, so that only the target application program matching the verification token can access the verification code, ensuring the user's Privacy and security.

应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 510 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 501 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 501 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver and the like.

输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used for receiving audio or video signals. The input unit 504 may include a graphics processing unit (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage media) or sent via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a phone call mode.

电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of electronic equipment (such as horizontal and vertical screen switching, related games) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 5071 or near the touch panel 5071). operate). The touch panel 5071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 510, receive the command sent by the processor 510 and execute it. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 5071 can be covered on the display panel 5061, and when the touch panel 5071 detects a touch operation on or near it, it will be sent to the processor 510 to determine the type of the touch event, and then the processor 510 can The type of event provides a corresponding visual output on the display panel 5061 . Although in FIG. 5, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated. The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the electronic device 500 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs as well as various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509 , to perform various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510 .

电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 500 can also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 can be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 500 includes some functional modules not shown, which will not be repeated here.

可选的,本发明实施例还提供一种电子设备,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a processor 510, a memory 509, and a computer program stored in the memory 509 and operable on the processor 510, and the computer program is executed by the processor 510 Each process of the above prompt method embodiment can be realized at the same time, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述文本编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned text editing method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (10)

CN201910689821.3A2019-07-292019-07-29 A verification code input method, device, electronic device and storage mediumActiveCN110457888B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910689821.3ACN110457888B (en)2019-07-292019-07-29 A verification code input method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910689821.3ACN110457888B (en)2019-07-292019-07-29 A verification code input method, device, electronic device and storage medium

Publications (2)

Publication NumberPublication Date
CN110457888Atrue CN110457888A (en)2019-11-15
CN110457888B CN110457888B (en)2021-10-22

Family

ID=68483851

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910689821.3AActiveCN110457888B (en)2019-07-292019-07-29 A verification code input method, device, electronic device and storage medium

Country Status (1)

CountryLink
CN (1)CN110457888B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111596820A (en)*2020-04-282020-08-28维沃移动通信有限公司Head portrait setting method and device
CN111898111A (en)*2020-06-292020-11-06南京博联智能科技有限公司 Device binding method, device, electronic device, storage medium and system
CN111931155A (en)*2020-08-112020-11-13深圳传音控股股份有限公司Verification code input method, verification code input equipment and storage medium
CN112612770A (en)*2020-12-282021-04-06深圳市科创思科技有限公司Distributed file uploading method and system
CN113434847A (en)*2021-06-252021-09-24平安国际智慧城市科技股份有限公司Privacy module processing method and device of application program, electronic equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104796263A (en)*2015-04-292015-07-22百度在线网络技术(北京)有限公司User identity authentication method and device
CN105376204A (en)*2014-08-282016-03-02宇龙计算机通信科技(深圳)有限公司User terminal, authority granting method and system thereof
US20160277421A1 (en)*2015-03-202016-09-22Yahoo! Inc.Secure Service for Receiving Sensitive Information Through Nested iframes
CN106603815A (en)*2016-11-152017-04-26青岛海信移动通信技术股份有限公司Message processing method and device
CN106682485A (en)*2016-11-292017-05-17维沃移动通信有限公司Method for processing verification code and mobile terminal
CN107182043A (en)*2017-06-272017-09-19努比亚技术有限公司The labeling method and mobile terminal of identifying code short message
CN107347117A (en)*2017-08-072017-11-14努比亚技术有限公司A kind of message management method, mobile terminal and computer-readable recording medium
CN109040010A (en)*2015-12-312018-12-18华为技术有限公司A kind of identifying code acquisition methods, device and terminal
CN109245902A (en)*2018-09-212019-01-18厦门美图移动科技有限公司Protection method and device for instant messaging information verification code

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105376204A (en)*2014-08-282016-03-02宇龙计算机通信科技(深圳)有限公司User terminal, authority granting method and system thereof
US20160277421A1 (en)*2015-03-202016-09-22Yahoo! Inc.Secure Service for Receiving Sensitive Information Through Nested iframes
CN104796263A (en)*2015-04-292015-07-22百度在线网络技术(北京)有限公司User identity authentication method and device
CN109040010A (en)*2015-12-312018-12-18华为技术有限公司A kind of identifying code acquisition methods, device and terminal
CN106603815A (en)*2016-11-152017-04-26青岛海信移动通信技术股份有限公司Message processing method and device
CN106682485A (en)*2016-11-292017-05-17维沃移动通信有限公司Method for processing verification code and mobile terminal
CN107182043A (en)*2017-06-272017-09-19努比亚技术有限公司The labeling method and mobile terminal of identifying code short message
CN107347117A (en)*2017-08-072017-11-14努比亚技术有限公司A kind of message management method, mobile terminal and computer-readable recording medium
CN109245902A (en)*2018-09-212019-01-18厦门美图移动科技有限公司Protection method and device for instant messaging information verification code

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
VIRENDRA KUMAR YADAV等: "SRTS: A Novel Technique to Generate Random Text", 《网页在线公开:HTTPS://IEEEXPLORE.IEEE.ORG/DOCUMENT/7065487》*
WENJUN ZHANG: "Zhang’s CAPTCHA Architecture Based on Intelligent Interaction via RIA", 《网页在线公开:HTTPS://IEEEXPLORE.IEEE.ORG/STAMP/STAMP.JSP?TP=&ARNUMBER=5486295》*
胡建等: "验证码安全与验证码绕过技术", 《网络空间安全》*

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111596820A (en)*2020-04-282020-08-28维沃移动通信有限公司Head portrait setting method and device
CN111898111A (en)*2020-06-292020-11-06南京博联智能科技有限公司 Device binding method, device, electronic device, storage medium and system
CN111931155A (en)*2020-08-112020-11-13深圳传音控股股份有限公司Verification code input method, verification code input equipment and storage medium
CN112612770A (en)*2020-12-282021-04-06深圳市科创思科技有限公司Distributed file uploading method and system
CN112612770B (en)*2020-12-282024-05-14深圳市科创思科技有限公司Distributed file uploading method and system
CN113434847A (en)*2021-06-252021-09-24平安国际智慧城市科技股份有限公司Privacy module processing method and device of application program, electronic equipment and medium
CN113434847B (en)*2021-06-252023-10-27深圳赛安特技术服务有限公司Privacy module processing method and device of application program, electronic equipment and medium

Also Published As

Publication numberPublication date
CN110457888B (en)2021-10-22

Similar Documents

PublicationPublication DateTitle
CN110457888A (en) A verification code input method, device, electronic equipment and storage medium
CN109257336B (en) A blockchain-based cryptographic information processing method and terminal device
CN108304105A (en)A kind of application interface starts method, mobile terminal
CN107861669B (en)Switching method of user system and mobile terminal
CN108510022A (en)A kind of Quick Response Code generates, verification method and server
CN108629580A (en)One kind putting out screen method of payment and mobile terminal
CN107682359B (en) Application registration method and mobile terminal
CN111209031B (en)Data acquisition method, device, terminal equipment and storage medium
CN107786569A (en)A kind of identifying code sending method, method of reseptance and relevant device
CN108156537B (en) A kind of remote operation method of mobile terminal and mobile terminal
CN110175449B (en) Password input method and mobile terminal
CN108958582A (en)A kind of application program launching method and terminal
CN110427761A (en) A prompt method and terminal device
CN110149628A (en)A kind of information processing method and terminal device
CN108984231A (en)A kind of login method and mobile terminal of application program account
CN110225040A (en)A kind of information processing method, terminal device and server
CN110213438A (en)A kind of processing method and terminal device of application program
CN111159738B (en)Authority configuration method, application login method and device
CN108959905A (en)A kind of log-on message reminding method and terminal device
CN107835297A (en)Information updating method and mobile terminal
CN108319432A (en)A kind of application operation method and terminal
CN108848270B (en) Screenshot image processing method and mobile terminal
CN108494754B (en) Account information processing method and mobile terminal
CN111310165A (en)Account switching or registering method and electronic equipment
CN110430573A (en)A kind of information authentication method, electronic equipment and network side equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp