CN106131000B - Verification code filling method and mobile terminal thereof - Google Patents
Verification code filling method and mobile terminal thereof Download PDFInfo
- Publication number
- CN106131000B CN106131000B CN201610513912.8A CN201610513912A CN106131000B CN 106131000 B CN106131000 B CN 106131000B CN 201610513912 A CN201610513912 A CN 201610513912A CN 106131000 B CN106131000 B CN 106131000B
- Authority
- CN
- China
- Prior art keywords
- verification code
- input area
- information
- verification
- web page
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供一种验证码填充方法,包括:在移动终端的WiFi认证页面发送接入互联网的验证请求信息;所述验证请求信息包括接入互联网的账户名;接收服务器返回的验证码信息,识别所述验证码信息中的验证码;获取所述WiFi认证页面的验证码输入区域焦点;所述验证码输入区域焦点为验证码输入区域在所述WiFi认证页面中的位置;将所述识别得到的验证码填充至所述验证码输入区域。相应地,本发明实施例还提供一种移动终端,解决了在浏览器页面进行身份验证时,需要用户在不同应用窗口之间切换,操作繁琐导致降低用户体验的问题。
An embodiment of the present invention provides a verification code filling method, including: sending verification request information for accessing the Internet on the WiFi authentication page of the mobile terminal; the verification request information includes the account name for accessing the Internet; receiving verification code information returned by the server , identify the verification code in the verification code information; acquire the verification code input area focus of the WiFi authentication page; the verification code input area focus is the position of the verification code input area in the WiFi authentication page; set the The identified verification code is filled into the verification code input area. Correspondingly, the embodiment of the present invention also provides a mobile terminal, which solves the problem that the user needs to switch between different application windows when authentication is performed on the browser page, and the cumbersome operation reduces the user experience.
Description
技术领域technical field
本发明涉及移动通信技术领域,特别涉及一种验证码填充方法及其移动终端。The invention relates to the technical field of mobile communication, in particular to a verification code filling method and a mobile terminal thereof.
背景技术Background technique
随着手机等移动终端越来越普及,移动终端通过短信来实现身份验证的应用也越来越普遍。且随着技术的进步,验证码实现了自动填充。例如,在已设定手机号码绑定功能的手机银行客户端的登录窗口中,当需要对登录用户的身份进行识别时,服务器会向手机发送一条包含验证码的短信,手机银行客户端从短信中提取验证码并填充至相应的验证框中。As mobile terminals such as mobile phones become more and more popular, the application of mobile terminals to realize identity verification through short messages is also becoming more and more common. And with the advancement of technology, the verification code has been automatically filled. For example, in the login window of the mobile banking client with the mobile phone number binding function set, when it is necessary to identify the identity of the logged-in user, the server will send a text message containing a verification code to the mobile phone, and the mobile banking client will receive the verification code from the text message. Extract the verification code and fill it into the corresponding verification box.
然而,自动填充验证码只适用于像手机银行客户端这种验证框位置已知的应用程序。浏览器因打开的各网页布局不同,不能明确网页中验证框的位置,无法将验证码自动填充至验证框,需要用户手动操作,降低了用户体验。However, auto-filling captchas only works in apps like mobile banking clients where the location of the captcha is known. Due to the different layouts of the opened webpages, the browser cannot specify the position of the verification box in the webpage, and cannot automatically fill the verification code into the verification box, requiring manual operation by the user, which reduces the user experience.
发明内容Contents of the invention
本发明实施例提供一种验证码填充方法及其移动终端,用以解决在浏览器页面进行身份验证时,需要用户在不同应用窗口之间切换,操作繁琐导致降低用户体验的问题。Embodiments of the present invention provide a verification code filling method and a mobile terminal thereof, which are used to solve the problem that the user needs to switch between different application windows when performing identity verification on a browser page, and the cumbersome operation reduces user experience.
为了达到上述目的,本发明实施例提供了一种验证码填充方法,包括以下步骤:In order to achieve the above object, an embodiment of the present invention provides a verification code filling method, including the following steps:
浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名;The first webpage of the browser sends a verification code acquisition request information, and the verification code acquisition request information includes an account name;
接收服务器返回的验证码信息,识别所述验证码信息中的验证码;receiving the verification code information returned by the server, and identifying the verification code in the verification code information;
获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置;Acquire the focus of the verification code input area of the first webpage, where the verification code input area focus is the position of the verification code input area in the first web page;
将所述识别得到的验证码填充至所述验证码输入区域。Fill the identified verification code into the verification code input area.
本发明实施例还提供了一种移动终端,包括:The embodiment of the present invention also provides a mobile terminal, including:
验证码请求模块,用于浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名;The verification code request module is used for the first web page of the browser to send the verification code acquisition request information, and the verification code acquisition request information includes the account name;
验证码识别模块,用于接收服务器返回的验证码信息,识别所述验证码信息中的验证码;A verification code identification module, configured to receive the verification code information returned by the server, and identify the verification code in the verification code information;
输入区域焦点获取模块,用于获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置;The input area focus acquisition module is configured to acquire the focus of the verification code input area of the first web page, where the verification code input area focus is the position of the verification code input area in the first web page;
验证码填充模块,用于将所述识别得到的验证码填充至所述验证码输入区域。A verification code filling module, configured to fill the identified verification code into the verification code input area.
与现有技术相比,本发明实施例通过识别浏览器中发送验证码获取请求信息的第一网页的验证码输入区域焦点,并将从验证码信息中识别出的验证码填充至验证码输入区域,实现了浏览器中的验证码自动填充,减少了用户操作步骤,提升了用户体验。Compared with the prior art, the embodiment of the present invention identifies the focus of the verification code input area of the first web page that sends the verification code acquisition request information in the browser, and fills the verification code identified from the verification code information into the verification code input area. In the area, the verification code in the browser is automatically filled, which reduces user operation steps and improves user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明第一实施例提供的验证码填充的方法流程图;FIG. 1 is a flowchart of a method for filling verification codes provided in the first embodiment of the present invention;
图2是本发明第二实施例提供的验证码填充的方法流程图;FIG. 2 is a flowchart of a method for filling verification codes provided in the second embodiment of the present invention;
图3是本发明第三实施例提供的验证码填充的方法流程图;FIG. 3 is a flow chart of a method for filling verification codes according to the third embodiment of the present invention;
图4是本发明第四实施例提供的移动终端的结构图一;FIG. 4 is a first structural diagram of a mobile terminal provided by a fourth embodiment of the present invention;
图5是本发明第四实施例提供的移动终端的结构图二;FIG. 5 is a second structural diagram of the mobile terminal provided by the fourth embodiment of the present invention;
图6是本发明第五实施例提供的移动终端内部实体结构框图。Fig. 6 is a block diagram of the internal physical structure of the mobile terminal provided by the fifth embodiment of the present invention.
具体实施方式Detailed ways
下面将结合具体的实施例和附图,对本发明做进一步的详细说明。所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The present invention will be further described in detail below in conjunction with specific embodiments and accompanying drawings. The described embodiments are some, but not all, embodiments of the invention. 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.
第一实施例first embodiment
图1为本发明第一实施例的实现移动终端验证码填充的方法流程图,包括以下步骤:Fig. 1 is the flow chart of the method for realizing mobile terminal verification code filling in the first embodiment of the present invention, comprising the following steps:
步骤101:浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名。Step 101: The first webpage of the browser sends verification code acquisition request information, and the verification code acquisition request information includes an account name.
本发明实施例中,浏览器的第一网页可以是WiFi连接身份验证网页。目前许多公共场所会有公共WiFi,移动终端连接上公共WiFi后,还不能访问网络,需要在WiFi连接身份验证网页输入账户名和验证码,账户名和验证码匹配后才能访问网络。用户在WiFi连接身份验证网页输入账户名后,通过点击验证码获取按钮来发送验证码获取请求信息。验证码获取请求信息包括账户名,以获取和账户名匹配的验证码。In the embodiment of the present invention, the first webpage of the browser may be a WiFi connection authentication webpage. At present, there are public WiFi in many public places. After the mobile terminal is connected to the public WiFi, it cannot access the network. It needs to enter the account name and verification code on the WiFi connection authentication page. The account name and verification code match before accessing the network. After the user enters the account name on the WiFi connection authentication webpage, the user clicks the button to obtain the verification code to send the verification code to obtain the request information. The verification code obtaining request information includes an account name, so as to obtain a verification code matching the account name.
步骤102:接收服务器返回的验证码信息,识别所述验证码信息中的验证码。Step 102: Receive the verification code information returned by the server, and identify the verification code in the verification code information.
服务器接收到验证码获取请求信息后,查找到与账户名匹配的验证码,将验证码信息发送至移动终端。移动终端接收服务器返回的验证码信息,并从验证码信息中提取出验证码。本发明实施例中验证码信息可以是短信,例如,短信内容“验证码1234,请勿泄露给其他人”,移动终端从短信内容中提取出由数字组成的字符串“1234”,得到验证码“1234”。当然验证码还可以是由字符组成的字符串,例如“abcd”,还可以是由数字和字符组成的字符串,例如“1@#4”。验证码的位数也可以是6位或更多位,例如“123456”。After receiving the verification code acquisition request information, the server finds the verification code matching the account name, and sends the verification code information to the mobile terminal. The mobile terminal receives the verification code information returned by the server, and extracts the verification code from the verification code information. In the embodiment of the present invention, the verification code information can be a short message, for example, the content of the short message "Verification code 1234, please do not disclose it to others", the mobile terminal extracts the string "1234" composed of numbers from the short message content, and obtains the verification code "1234". Of course, the verification code can also be a string composed of characters, such as "abcd", or a string composed of numbers and characters, such as "1@#4". The number of digits of the verification code can also be 6 or more digits, such as "123456".
步骤103:获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置。Step 103: Obtain the focus of the verification code input area of the first web page, where the verification code input area focus is the position of the verification code input area in the first web page.
本发明实施例中验证码输入区域可以为验证码输入框,不同网页布局不同,验证码输入框在不同网页的位置不同,所以需要获取第一网页的验证码输入框在第一网页中的位置。通常网页布局中,账户名输入框后面的第一个输入框为验证码输入框,验证码获取按钮的前一个输入框为账户名输入框,验证码获取按钮的后一个输入框为验证码输入框。例如,可以通过用户输入的账户名来实现账户名输入框位置的获取,本发明实施例中账户名可以为用户的手机号码,当检测到用户在某个输入框输入手机号码,即认定用户输入手机号码的那个输入框为账户名输入框。将第一网页中位于账户名输入框后面的第一个输入框的位置确认为第一网页的验证码输入框的位置。In the embodiment of the present invention, the verification code input area can be a verification code input box. Different web pages have different layouts, and the positions of the verification code input boxes on different web pages are different. Therefore, it is necessary to obtain the position of the verification code input box of the first web page in the first web page. . Usually, in the web page layout, the first input box after the account name input box is the verification code input box, the previous input box of the verification code acquisition button is the account name input box, and the last input box of the verification code acquisition button is the verification code input frame. For example, the acquisition of the position of the account name input box can be achieved through the account name input by the user. In the embodiment of the present invention, the account name can be the user's mobile phone number. When it is detected that the user enters the mobile phone number in an input box, the user input The input box of the mobile phone number is the account name input box. Confirm the position of the first input box behind the account name input box on the first web page as the position of the verification code input box on the first web page.
例如,可以通过用户点击验证码获取按钮来实现验证码获取按钮位置的获取。获取到验证码获取按钮位置后,在第一网页中查找验证码获取按钮的前一个输入框的位置。将查找到的验证码获取按钮的前一个输入框的位置认定为账户名输入框位置。将第一网页中跟在账户名输入框后面的第一个输入框的位置确认为第一网页的验证码输入框的位置。For example, the location of the verification code acquisition button may be acquired by the user clicking the verification code acquisition button. After obtaining the position of the verification code acquisition button, search for the position of the previous input box of the verification code acquisition button on the first web page. The position of the previous input box of the found verification code acquisition button is identified as the position of the account name input box. Confirm the position of the first input box following the account name input box on the first web page as the position of the verification code input box on the first web page.
例如,可以通过用户点击验证码获取按钮来实现验证码获取按钮位置的获取。获取到验证码获取按钮位置后,在第一网页中查找验证码获取按钮的后一个输入框的位置。将查找到的验证码获取按钮的后一个输入框的位置认定为验证码输入框的位置。For example, the location of the verification code acquisition button may be acquired by the user clicking the verification code acquisition button. After obtaining the position of the verification code acquisition button, search for the position of the next input box of the verification code acquisition button on the first web page. The position of the next input box of the found verification code acquisition button is identified as the position of the verification code input box.
需要说明的是,步骤102和步骤103不存在顺序限制。可以先执行步骤102,后执行步骤103。也可以先执行步骤103,后执行步骤102。还可以同时执行步骤102和步骤103。It should be noted that there is no sequence restriction on step 102 and step 103 . Step 102 may be executed first, and then step 103 may be executed. It is also possible to execute step 103 first, and then execute step 102. It is also possible to execute step 102 and step 103 at the same time.
步骤104:将所述识别得到的验证码填充至所述验证码输入区域。Step 104: Fill the identified verification code into the verification code input area.
复制从步骤102中获取的验证码,并将验证码粘贴至步骤103中得到的验证码输入框中。Copy the verification code obtained in step 102, and paste the verification code into the verification code input box obtained in step 103.
本发明第一实施例通过识别浏览器中发送验证码获取请求信息的第一网页的验证码输入区域焦点,并将从验证码信息中识别出的验证码填充至验证码输入区域,实现了浏览器中的验证码自动填充,减少了用户操作步骤,提升了用户体验。In the first embodiment of the present invention, browsing is realized by identifying the focus of the verification code input area of the first web page that sends the verification code acquisition request information in the browser, and filling the verification code identified from the verification code information into the verification code input area. The verification code in the browser is automatically filled, reducing user operation steps and improving user experience.
第二实施例second embodiment
图2为本发明第二实施例的验证码填充的方法流程图,包括以下步骤:FIG. 2 is a flow chart of a method for filling verification codes according to a second embodiment of the present invention, including the following steps:
步骤201:浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名。Step 201: The first web page of the browser sends verification code acquisition request information, and the verification code acquisition request information includes an account name.
本发明实施例中,浏览器的第一网页可以是WiFi连接身份验证网页。目前许多公共场所会有公共WiFi,移动终端连接上公共WiFi后,还不能访问网络,需要在WiFi连接身份验证网页输入账户名和验证码,账户名和验证码匹配后才能访问网络。用户在WiFi连接身份验证网页输入账户名后,通过点击验证码获取按钮来发送验证码获取请求信息。验证码获取请求信息包括账户名,以获取和账户名匹配的验证码。In the embodiment of the present invention, the first webpage of the browser may be a WiFi connection authentication webpage. At present, there are public WiFi in many public places. After the mobile terminal is connected to the public WiFi, it cannot access the network. It needs to enter the account name and verification code on the WiFi connection authentication page. The account name and verification code match before accessing the network. After the user enters the account name on the WiFi connection authentication webpage, the user clicks the button to obtain the verification code to send the verification code to obtain the request information. The verification code obtaining request information includes an account name, so as to obtain a verification code matching the account name.
步骤202:接收服务器返回的验证码信息,识别所述验证码信息中的验证码。Step 202: Receive the verification code information returned by the server, and identify the verification code in the verification code information.
服务器接收到验证码获取请求信息后,查找到与账户名匹配的验证码,将验证码信息发送至移动终端。移动终端接收服务器返回的验证码信息,并从验证码信息中提取出验证码。本发明实施例中验证码信息可以是短信,例如,短信内容“验证码1234,请勿泄露给其他人”,移动终端从短信内容中提取出由数字组成的字符串“1234”,得到验证码“1234”。当然验证码还可以是由字符组成的字符串,例如“abcd”,还可以是由数字和字符组成的字符串,例如“1@#4”。验证码的位数也可以是6位,例如“123456”。After receiving the verification code acquisition request information, the server finds the verification code matching the account name, and sends the verification code information to the mobile terminal. The mobile terminal receives the verification code information returned by the server, and extracts the verification code from the verification code information. In the embodiment of the present invention, the verification code information can be a short message, for example, the content of the short message "Verification code 1234, please do not disclose it to others", the mobile terminal extracts the string "1234" composed of numbers from the short message content, and obtains the verification code "1234". Of course, the verification code can also be a string composed of characters, such as "abcd", or a string composed of numbers and characters, such as "1@#4". The number of digits of the verification code can also be 6 digits, such as "123456".
本发明实施例中,验证码存在时间有效限制,例如验证码5分钟有效,在5分钟后验证码失去效力。移动终端在发出验证码获取请求信息后,监听服务器5分钟内返回的短信。对于服务器超时返回的短信则不作处理,例如服务器10分钟后返回的短信,以避免将无效的验证码复制粘贴至验证码输入区域,提升验证码填充的准确性。In the embodiment of the present invention, the verification code has a valid time limit, for example, the verification code is valid for 5 minutes, and the verification code becomes invalid after 5 minutes. After the mobile terminal sends out the verification code to obtain the request information, it monitors the short message returned by the server within 5 minutes. The text message returned by the server overtime will not be processed, for example, the text message returned by the server after 10 minutes, so as to avoid copying and pasting invalid verification codes into the verification code input area and improve the accuracy of verification code filling.
步骤203:获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置。Step 203: Obtain the focus of the verification code input area of the first web page, where the verification code input area focus is the position of the verification code input area in the first web page.
本发明实施例中验证码输入区域可以为验证码输入框,不同网页布局不同,验证码输入框在不同网页的位置不同,所以需要获取第一网页的验证码输入框在第一网页中的位置。通常网页布局中,账户名输入框后面的第一个输入框为验证码输入框,验证码获取按钮的前一个输入框为账户名输入框,验证码获取按钮的后一个输入框为验证码输入框。In the embodiment of the present invention, the verification code input area can be a verification code input box. Different web pages have different layouts, and the positions of the verification code input boxes on different web pages are different. Therefore, it is necessary to obtain the position of the verification code input box of the first web page in the first web page. . Usually, in the web page layout, the first input box after the account name input box is the verification code input box, the previous input box of the verification code acquisition button is the account name input box, and the last input box of the verification code acquisition button is the verification code input frame.
例如,可以通过用户输入的账户名来实现账户名输入框位置的获取,本发明实施例中账户名可以为用户的手机号码,当检测到用户在某个输入框输入手机号码,即认定用户输入手机号码的那个输入框为账户名输入框。将第一网页中跟在账户名输入框后面的第一个输入框的位置确认为第一网页的验证码输入框的位置。具体地,以验证请求信息中的账户名所在输入区域的文档对象模型DOM节点为起始节点,在DOM树中查找起始节点的下一个DOM节点。将查找到的DOM节点对应的输入区域焦点确认为所述第一网页的验证码输入区域焦点。For example, the acquisition of the position of the account name input box can be achieved through the account name input by the user. In the embodiment of the present invention, the account name can be the user's mobile phone number. When it is detected that the user enters the mobile phone number in an input box, the user input The input box of the mobile phone number is the account name input box. Confirm the position of the first input box following the account name input box on the first web page as the position of the verification code input box on the first web page. Specifically, the document object model DOM node in the input area where the account name in the verification request information is located is used as the starting node, and the next DOM node of the starting node is searched in the DOM tree. Confirm the input area focus corresponding to the found DOM node as the verification code input area focus of the first webpage.
例如,可以通过用户点击验证码获取按钮来实现验证码获取按钮位置的获取。获取到验证码获取按钮位置后,在第一网页中查找验证码获取按钮的前一个输入框的位置。将查找到的验证码获取按钮的前一个输入框的位置认定为账户名输入框位置。将第一网页中跟在账户名输入框后面的第一个输入框的位置确认为第一网页的验证码输入框的位置。For example, the location of the verification code acquisition button may be acquired by the user clicking the verification code acquisition button. After obtaining the position of the verification code acquisition button, search for the position of the previous input box of the verification code acquisition button on the first web page. The position of the previous input box of the found verification code acquisition button is identified as the position of the account name input box. Confirm the position of the first input box following the account name input box on the first web page as the position of the verification code input box on the first web page.
例如,可以通过用户点击验证码获取按钮来实现验证码获取按钮位置的获取。获取到验证码获取按钮位置后,在第一网页中查找验证码获取按钮的后一个输入框的位置。将查找到的验证码获取按钮的后一个输入框的位置认定为验证码输入框的位置。For example, the location of the verification code acquisition button may be acquired by the user clicking the verification code acquisition button. After obtaining the position of the verification code acquisition button, search for the position of the next input box of the verification code acquisition button on the first web page. The position of the next input box of the found verification code acquisition button is identified as the position of the verification code input box.
需要说明的是,步骤202和步骤203不存在顺序限制。可以先执行步骤202,后执行步骤203。也可以先执行步骤203,后执行步骤202。还可以同时执行步骤202和步骤203。It should be noted that there is no order restriction for step 202 and step 203 . Step 202 may be performed first, and then step 203 may be performed. Alternatively, step 203 may be performed first, and then step 202 may be performed. It is also possible to execute step 202 and step 203 at the same time.
步骤204:将所述识别得到的验证码填充至所述验证码输入区域。Step 204: Fill the identified verification code into the verification code input area.
复制从步骤202中获取的验证码,并将验证码粘贴至步骤203中得到的验证码输入框中。Copy the verification code obtained in step 202, and paste the verification code into the verification code input box obtained in step 203.
步骤205:发出验证匹配请求。Step 205: Send out a verification matching request.
在检测到验证码被填充至验证码输入框后,提交验证匹配请求,进一步地节省了用户操作的步骤,不仅实现了验证码的自动填充,还实现了验证码的自动提交。After detecting that the verification code is filled in the verification code input box, submit a verification matching request, which further saves the user's operation steps, not only realizes the automatic filling of the verification code, but also realizes the automatic submission of the verification code.
本发明第二实施例通过识别浏览器中发送验证码获取请求信息的第一网页的验证码输入区域焦点,并将从验证码信息中识别出的验证码填充至验证码输入区域,最后,发出验证匹配请求,不仅实现了浏览器中的验证码自动填充,还实现了验证码的自动提交,进一步减少了用户操作步骤,提升了用户体验。In the second embodiment of the present invention, by identifying the focus of the verification code input area of the first web page that sends the verification code to obtain the request information in the browser, and filling the verification code identified from the verification code information into the verification code input area, finally, sending The verification matching request not only realizes the automatic filling of the verification code in the browser, but also realizes the automatic submission of the verification code, which further reduces the user operation steps and improves the user experience.
第三实施例third embodiment
图3为本发明第三实施例的实现移动终端验证码填充的方法流程图,包括以下步骤:Fig. 3 is the flow chart of the method for realizing mobile terminal verification code filling in the third embodiment of the present invention, comprising the following steps:
步骤301:浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名和第一网页的标识信息。Step 301: The first web page of the browser sends verification code acquisition request information, and the verification code acquisition request information includes account name and identification information of the first web page.
本发明实施例中,浏览器的第一网页可以是WiFi连接身份验证网页。目前许多公共场所会有公共WiFi,移动终端连接上公共WiFi后,还不能访问网络,需要在WiFi连接身份验证网页输入账户名和验证码,账户名和验证码匹配后才能访问网络。用户在WiFi连接身份验证网页输入账户名后,通过点击验证码获取按钮来发送验证码获取请求信息。验证码获取请求信息包括账户名,以获取和账户名匹配的验证码。In the embodiment of the present invention, the first webpage of the browser may be a WiFi connection authentication webpage. At present, there are public WiFi in many public places. After the mobile terminal is connected to the public WiFi, it cannot access the network. It needs to enter the account name and verification code on the WiFi connection authentication page. The account name and verification code match before accessing the network. After the user enters the account name on the WiFi connection authentication webpage, the user clicks the button to obtain the verification code to send the verification code to obtain the request information. The verification code obtaining request information includes an account name, so as to obtain a verification code matching the account name.
本发明实施例中,浏览器打开了多个网页,例如,第一网页和第二网页。第一网页可以是WiFi连接身份验证网页,第二网页可以是银行登录身份验证网页。第一网页的标识信息可以是第一网页的网址,第二网页的标识信息可以是第二网页的网址。In the embodiment of the present invention, the browser opens multiple webpages, for example, a first webpage and a second webpage. The first webpage may be a WiFi connection identity verification webpage, and the second webpage may be a bank login identity verification webpage. The identification information of the first webpage may be the website address of the first webpage, and the identification information of the second webpage may be the website address of the second webpage.
步骤302:接收服务器返回的验证码信息,识别所述验证码信息中的验证码。Step 302: Receive the verification code information returned by the server, and identify the verification code in the verification code information.
服务器接收到验证码获取请求信息后,查找到与账户名匹配的验证码,将验证码信息发送至移动终端。移动终端接收服务器返回的验证码信息,并从验证码信息中提取出验证码。本发明实施例中验证码信息可以是短信,例如,短信内容“验证码1234,请勿泄露给其他人”,移动终端从短信内容中提取出由数字组成的字符串“1234”,得到验证码“1234”。当然验证码还可以是由字符组成的字符串,例如“abcd”,还可以是由数字和字符组成的字符串,例如“1@#4”。验证码的位数也可以是6位,例如“123456”。本发明实施例中,服务器返回的验证码信息还包括第一网页的标识信息。After receiving the verification code acquisition request information, the server finds the verification code matching the account name, and sends the verification code information to the mobile terminal. The mobile terminal receives the verification code information returned by the server, and extracts the verification code from the verification code information. In the embodiment of the present invention, the verification code information can be a short message, for example, the content of the short message "Verification code 1234, please do not disclose it to others", the mobile terminal extracts the string "1234" composed of numbers from the short message content, and obtains the verification code "1234". Of course, the verification code can also be a string composed of characters, such as "abcd", or a string composed of numbers and characters, such as "1@#4". The number of digits of the verification code can also be 6 digits, such as "123456". In the embodiment of the present invention, the verification code information returned by the server further includes identification information of the first web page.
本发明实施例中,若用户在浏览器的第一网页多次发送了验证码获取请求信息,那么以移动终端接收到的最后一个验证码信息作为待填充至验证码输入区域的验证码信息,以避免将无效的验证码复制粘贴至验证码输入区域,提升验证码填充的准确性。In the embodiment of the present invention, if the user sends the verification code acquisition request information multiple times on the first web page of the browser, then the last verification code information received by the mobile terminal is used as the verification code information to be filled in the verification code input area, Avoid copying and pasting invalid verification codes into the verification code input area, and improve the accuracy of verification code filling.
步骤303:获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置。Step 303: Obtain the focus of the verification code input area of the first web page, where the verification code input area focus is the position of the verification code input area in the first web page.
本发明实施例中验证码输入区域可以为验证码输入框,不同网页布局不同,验证码输入框在不同网页的位置不同,所以需要获取第一网页的验证码输入框在第一网页中的位置。通常网页布局中,账户名输入框后面的第一个输入框为验证码输入框,验证码获取按钮的前一个输入框为账户名输入框,验证码获取按钮的后一个输入框为验证码输入框。In the embodiment of the present invention, the verification code input area can be a verification code input box. Different web pages have different layouts, and the positions of the verification code input boxes on different web pages are different. Therefore, it is necessary to obtain the position of the verification code input box of the first web page in the first web page. . Usually, in the web page layout, the first input box after the account name input box is the verification code input box, the previous input box of the verification code acquisition button is the account name input box, and the last input box of the verification code acquisition button is the verification code input frame.
例如,可以通过用户输入的账户名来实现账户名输入框位置的获取,本发明实施例中账户名可以为用户的手机号码,当检测到用户在某个输入框输入手机号码,即认定用户输入手机号码的那个输入框为账户名输入框。将第一网页中跟在账户名输入框后面的第一个输入框的位置确认为第一网页的验证码输入框的位置。For example, the acquisition of the position of the account name input box can be achieved through the account name input by the user. In the embodiment of the present invention, the account name can be the user's mobile phone number. When it is detected that the user enters the mobile phone number in an input box, the user input The input box of the mobile phone number is the account name input box. Confirm the position of the first input box following the account name input box on the first web page as the position of the verification code input box on the first web page.
例如,可以通过用户点击验证码获取按钮来实现验证码获取按钮位置的获取。获取到验证码获取按钮位置后,在第一网页中查找验证码获取按钮的前一个输入框的位置。将查找到的验证码获取按钮的前一个输入框的位置认定为账户名输入框位置。将第一网页中跟在账户名输入框后面的第一个输入框的位置确认为第一网页的验证码输入框的位置。For example, the location of the verification code acquisition button may be acquired by the user clicking the verification code acquisition button. After obtaining the position of the verification code acquisition button, search for the position of the previous input box of the verification code acquisition button on the first web page. The position of the previous input box of the found verification code acquisition button is identified as the position of the account name input box. Confirm the position of the first input box following the account name input box on the first web page as the position of the verification code input box on the first web page.
例如,可以通过用户点击验证码获取按钮来实现验证码获取按钮位置的获取。获取到验证码获取按钮位置后,在第一网页中查找验证码获取按钮的后一个输入框的位置。将查找到的验证码获取按钮的后一个输入框的位置认定为验证码输入框的位置。For example, the location of the verification code acquisition button may be acquired by the user clicking the verification code acquisition button. After obtaining the position of the verification code acquisition button, search for the position of the next input box of the verification code acquisition button on the first web page. The position of the next input box of the found verification code acquisition button is identified as the position of the verification code input box.
需要说明的是,步骤302和步骤303不存在顺序限制。可以先执行步骤302,后执行步骤303。也可以先执行步骤303,后执行步骤302。还可以同时执行步骤302和步骤303。It should be noted that there is no order restriction for step 302 and step 303 . Step 302 may be executed first, and then step 303 may be executed. Alternatively, step 303 may be performed first, and then step 302 may be performed. It is also possible to execute step 302 and step 303 at the same time.
步骤304:将所述识别得到的验证码填充至所述验证码输入区域。Step 304: Fill the identified verification code into the verification code input area.
本发明实施例中,浏览器打开了多个网页,例如,第一网页和第二网页,浏览器当前展现的为第二网页。通过将验证码信息中包含的标识信息与浏览器打开的多个网页对应的标识信息进行对比,确认浏览器打开的多个网页中与验证码信息中包含的标识信息匹配的网页为第一网页。这样确保了验证码不会被填充至第二网页的验证码输入框,提升了验证码填充的准确性。In the embodiment of the present invention, the browser opens multiple webpages, for example, a first webpage and a second webpage, and the browser currently displays the second webpage. By comparing the identification information contained in the verification code information with the identification information corresponding to the multiple web pages opened by the browser, confirm that the web page that matches the identification information contained in the verification code information among the multiple web pages opened by the browser is the first web page . This ensures that the verification code will not be filled into the verification code input box of the second webpage, thereby improving the accuracy of the verification code filling.
复制从步骤302中获取的验证码,并将验证码粘贴至第一网页的验证码输入框中。Copy the verification code obtained in step 302, and paste the verification code into the verification code input box of the first webpage.
本发明第三实施例通过识别浏览器中发送验证码获取请求信息的第一网页的验证码输入区域焦点,且验证码获取请求信息中包含第一网页的标识信息,从浏览器打开的多个网页中查找出与验证码信息匹配的网页,将从验证码信息中识别出的验证码填充至与验证码信息匹配的网页的验证码输入区域,实现了浏览器开启多个网页时的验证码自动填充,减少了用户操作步骤,提升了用户体验。In the third embodiment of the present invention, by identifying the focus of the verification code input area of the first web page that sends the verification code acquisition request information in the browser, and the verification code acquisition request information includes the identification information of the first web page, multiple pages opened from the browser Find the webpage that matches the verification code information in the webpage, fill the verification code identified from the verification code information into the verification code input area of the webpage that matches the verification code information, and realize the verification code when the browser opens multiple webpages Automatic filling reduces user operation steps and improves user experience.
第四实施例Fourth embodiment
本发明实施例还提供了一种移动终端,可以实现上述方法实施例的所有功能。如图4所示为本发明提供的第四实施例移动终端的结构图,在该实施例中,所述移动终端400包括验证码请求模块401、验证码识别模块402、输入区域焦点获取模块403和验证码填充模块404。The embodiment of the present invention also provides a mobile terminal, which can realize all the functions of the foregoing method embodiments. As shown in Figure 4, it is a structural diagram of the mobile terminal of the fourth embodiment provided by the present invention. In this embodiment, the mobile terminal 400 includes a verification code request module 401, a verification code identification module 402, and an input area focus acquisition module 403 and verification code filling module 404 .
验证码请求模块401,用于浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名。The verification code requesting module 401 is used for the first webpage of the browser to send verification code acquisition request information, and the verification code acquisition request information includes an account name.
验证码识别模块402,用于接收服务器返回的验证码信息,识别所述验证码信息中的验证码。输入区域焦点获取模块403,用于获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置。The verification code identifying module 402 is configured to receive the verification code information returned by the server, and identify the verification code in the verification code information. The input area focus acquisition module 403 is configured to acquire the verification code input area focus of the first webpage, where the verification code input area focus is the position of the verification code input area in the first webpage.
验证码填充模块404,用于将所述识别得到的验证码填充至所述验证码输入区域。A verification code filling module 404, configured to fill the identified verification code into the verification code input area.
在图4的基础上,可选地,移动终端400还可以包括验证匹配请求模块405,参见图5。验证匹配请求模块405,用于发出验证匹配请求。On the basis of FIG. 4 , optionally, the mobile terminal 400 may further include a verification matching request module 405 , see FIG. 5 . A verification matching request module 405, configured to send a verification matching request.
参见图5,输入区域焦点获取模块403,包括网页节点查找子模4031和输入区域焦点确认子模块4032。网页节点查找子模块,用于以验证请求信息中的账户名所在输入区域的文档对象模型DOM节点为起始节点,在DOM树中查找起始节点的下一个DOM节点。输入区域焦点确认子模块4032,用于将查找到的DOM节点对应的输入区域焦点确认为所述第一网页的验证码输入区域焦点。Referring to FIG. 5 , the input area focus acquisition module 403 includes a webpage node search submodule 4031 and an input area focus confirmation submodule 4032 . The webpage node search sub-module is used for searching the next DOM node of the starting node in the DOM tree by taking the document object model DOM node in the input area where the account name in the verification request information is located as the starting node. The input area focus confirmation sub-module 4032 is configured to confirm the input area focus corresponding to the found DOM node as the verification code input area focus of the first webpage.
验证码请求模块401,可选地,验证码获取请求信息包括账户名和第一网页的标识信息。相应地,验证码识别模块402接收服务器返回的验证码信息还包括第一网页的标识信息。Verification code request module 401. Optionally, the verification code acquisition request information includes account name and identification information of the first web page. Correspondingly, the verification code identification module 402 receives the verification code information returned by the server and also includes the identification information of the first web page.
本实施例提供的移动终端能够实现第一、第二和第三实施例中移动终端验证码填充方法的各个过程。The mobile terminal provided in this embodiment can implement each process of the methods for filling the verification code of the mobile terminal in the first, second and third embodiments.
通过识别浏览器中发送验证码获取请求信息的第一网页的验证码输入区域焦点,并将从验证码信息中识别出的验证码填充至验证码输入区域,实现了浏览器中的验证码自动填充,减少了用户操作步骤,提升了用户体验。By identifying the focus of the verification code input area of the first web page that sends the verification code to obtain the request information in the browser, and filling the verification code identified from the verification code information into the verification code input area, the automatic verification code in the browser is realized. Filling reduces user operation steps and improves user experience.
第五实施例fifth embodiment
如图6所示,为本发明第五实施例的移动终端的内部实体结构框图。下面结合该图具体说明本发明实施例的验证码填充方法的应用实体。As shown in FIG. 6 , it is a block diagram of the internal entity structure of the mobile terminal according to the fifth embodiment of the present invention. The application entity of the verification code filling method according to the embodiment of the present invention will be specifically described below with reference to this figure.
如图6所示的移动终端600包括:至少一个处理器601、存储器602、至少一个网络接口604和用户接口603。移动终端600中的各个组件通过总线系统605耦合在一起。可以理解的是,总线系统605用于实现这些组件之间的连接通信。总线系统605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统605。The mobile terminal 600 shown in FIG. 6 includes: at least one processor 601 , a memory 602 , at least one network interface 604 and a user interface 603 . Various components in the mobile terminal 600 are coupled together through a bus system 605 . It can be understood that the bus system 605 is used to realize connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 605 in FIG. 6 for clarity of illustration.
其中,用户接口603可以包括显示器、键盘或者点击设备如鼠标、触感板或触摸屏等。Wherein, the user interface 603 may include a display, a keyboard, or a pointing device such as a mouse, a touch panel, or a touch screen.
可以理解,本发明实施例中的存储器602可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器602旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 602 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 602 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器602存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统6021和应用程序6022。In some implementations, the memory 602 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 6021 and an application program 6022 .
其中,操作系统6021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序6022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序6022中。Among them, the operating system 6021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 6022 .
在本发明实施例中,通过调用存储器602存储的程序或指令,具体的可以是在应用程序6022中存储的程序或指令,处理器601用于浏览器的第一网页发送验证码获取请求信息,所述验证码获取请求信息包括账户名;接收服务器返回的验证码信息,识别所述验证码信息中的验证码;获取所述第一网页的验证码输入区域焦点,所述验证码输入区域焦点为验证码输入区域在所述第一网页中的位置;将所述识别得到的验证码填充至所述验证码输入区域。In the embodiment of the present invention, by calling the program or instruction stored in the memory 602, specifically, the program or instruction stored in the application program 6022, the processor 601 is used for the first web page of the browser to send the verification code to obtain the request information, The verification code acquisition request information includes an account name; receiving the verification code information returned by the server, identifying the verification code in the verification code information; obtaining the focus of the verification code input area of the first webpage, and the focus of the verification code input area is the position of the verification code input area in the first web page; filling the identified verification code into the verification code input area.
上述本发明实施例揭示的方法可以应用于处理器601中,或者由处理器601实现。处理器601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器601可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器602,处理器601读取存储器602中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 601 or implemented by the processor 601 . The processor 601 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 601 or instructions in the form of software. The aforementioned processor 601 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other possible Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路、数字信号处理器、数字信号处理设备、可编程逻辑设备、现场可编程门阵列、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits, digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, general purpose processors, controllers, microcontrollers, microcontrollers processor, other electronic units for performing the functions described in this application, or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选地,处理器601还用于:以验证请求信息中的账户名所在输入区域的DOM节点为起始节点,在DOM树中查找起始节点的下一个DOM节点;将查找到的DOM节点对应的输入区域焦点确认为所述第一网页的验证码输入区域焦点。Optionally, the processor 601 is also configured to: take the DOM node in the input area where the account name in the verification request information is located as the starting node, and search for the next DOM node of the starting node in the DOM tree; The focus of the corresponding input area is confirmed as the focus of the verification code input area of the first web page.
可选地,处理器601还用于:发出验证匹配请求。Optionally, the processor 601 is further configured to: issue a verification matching request.
可选地,处理器601发送的验证码获取请求信息还包括所述第一网页的标识信息。处理器601还用于:将所述验证码信息中的第一网页的标识信息与浏览器展现的所有网页的标识信息进行比对;确认与所述验证码信息中的第一网页的标识信息匹配的网页为所述发送验证码获取请求信息的第一网页。Optionally, the verification code acquisition request information sent by the processor 601 further includes identification information of the first webpage. The processor 601 is further configured to: compare the identification information of the first web page in the verification code information with the identification information of all web pages displayed by the browser; confirm the identification information of the first web page in the verification code information The matched webpage is the first webpage that sends the verification code to obtain the request information.
本实施例通过识别浏览器中发送验证码获取请求信息的第一网页的验证码输入区域焦点,并将从验证码信息中识别出的验证码填充至验证码输入区域,实现了浏览器中的验证码自动填充,减少了用户操作步骤,提升了用户体验。In this embodiment, the focus of the verification code input area of the first web page that sends the verification code acquisition request information in the browser is identified, and the verification code identified from the verification code information is filled into the verification code input area, thereby realizing the verification code input area in the browser. The verification code is automatically filled, reducing user operation steps and improving user experience.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。It should also be noted that in this article, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment.
以上所述仅为解释本发明的较优实施例,并非对本发明做任何形式上的限制。凡在相同的发明精神下所作出的有关本发明的任何修饰或变更,都应仍然包括在本发明意图保护的范围之内。The above description is only to explain the preferred embodiments of the present invention, and does not limit the present invention in any form. Any modifications or changes related to the present invention made under the same spirit of the invention shall still be included within the intended protection scope of the present invention.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610513912.8A CN106131000B (en) | 2016-06-30 | 2016-06-30 | Verification code filling method and mobile terminal thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610513912.8A CN106131000B (en) | 2016-06-30 | 2016-06-30 | Verification code filling method and mobile terminal thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106131000A CN106131000A (en) | 2016-11-16 |
| CN106131000B true CN106131000B (en) | 2019-12-03 |
Family
ID=57468806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610513912.8A Active CN106131000B (en) | 2016-06-30 | 2016-06-30 | Verification code filling method and mobile terminal thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106131000B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534200A (en) * | 2016-12-26 | 2017-03-22 | 维沃移动通信有限公司 | Identity authentication method and mobile terminal |
| CN107357562B (en) * | 2017-05-24 | 2023-09-05 | 青岛海信移动通信技术股份有限公司 | Information filling method, device and client |
| CN108306937B (en) * | 2017-12-29 | 2022-02-25 | 五八有限公司 | Sending method and obtaining method of short message verification code, server and storage medium |
| CN110287655B (en) * | 2019-06-24 | 2021-06-18 | 维沃移动通信有限公司 | A verification code input method, device and mobile terminal |
| CN110532186B (en) * | 2019-08-29 | 2023-04-28 | 中国工商银行股份有限公司 | Method, device, electronic device and storage medium for testing using verification code |
| CN112929320B (en) * | 2019-12-05 | 2023-06-23 | 阿里巴巴集团控股有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
| CN114666116B (en) * | 2022-03-16 | 2024-05-10 | 深圳金蝶账无忧网络科技有限公司 | Authentication processing method, device, equipment and storage medium based on applet |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9336826B2 (en) * | 2009-10-15 | 2016-05-10 | Sony Corporation | Method for facilitating online interactions initiated using optical disc players |
| CN102143016B (en) * | 2010-11-25 | 2013-08-07 | 中国移动(深圳)有限公司 | Website automation test method and system |
| CN102737122B (en) * | 2012-06-08 | 2014-12-10 | 浙江大学 | Method for extracting verification code image from webpage |
| CN102981846B (en) * | 2012-11-13 | 2016-10-05 | 北京奇虎科技有限公司 | The method that Password Input frame element is processed and browser |
| CN104036386B (en) * | 2014-06-12 | 2017-07-07 | 长沙麓云信息科技有限公司 | A kind of POS based on virtual platform is credible transaction system and method |
| US20160012147A1 (en) * | 2014-07-10 | 2016-01-14 | MyMojo Corporation | Asynchronous Initialization of Document Object Model (DOM) Modules |
| CN105376204B (en) * | 2014-08-28 | 2019-02-01 | 宇龙计算机通信科技(深圳)有限公司 | User terminal and permission giving method and its system |
| CN105511949B (en) * | 2015-12-03 | 2020-03-17 | 小米科技有限责任公司 | Verification code filling method and device and mobile terminal |
-
2016
- 2016-06-30 CN CN201610513912.8A patent/CN106131000B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN106131000A (en) | 2016-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106131000B (en) | Verification code filling method and mobile terminal thereof | |
| WO2019127881A1 (en) | Webpage data processing method and device, computer device and computer storage medium | |
| WO2013159721A1 (en) | Method and system for sectionally loading webpage for mobile browser | |
| CN104852889A (en) | Picture identifying code generation method and system, and verify method and client side, and server | |
| CN106339436A (en) | Picture-based shopping method and mobile terminal | |
| CN106649543A (en) | Method, device and terminal for recording reading progress | |
| CN106776082A (en) | The method of attaching and device of text | |
| CN106201187A (en) | A kind of Contents of clipboard processing method and mobile terminal | |
| CN106534200A (en) | Identity authentication method and mobile terminal | |
| US11080322B2 (en) | Search methods, servers, and systems | |
| CN107590228A (en) | A kind of page content processing method and mobile terminal | |
| CN107967278A (en) | Webpage pre-head method, Web access method, equipment and programmable device | |
| CN107124477A (en) | Processing method, terminal and the server of web site contents | |
| CN111651749A (en) | Method, device, computer equipment and storage medium for retrieving account based on password | |
| US20180349580A1 (en) | Information processing method and device, and electronic equipment | |
| CN104679824A (en) | Webpage generating method and webpage generating system of network platform | |
| WO2018001264A1 (en) | Content processing method and mobile terminal | |
| CN104537049B (en) | A kind of picture browsing method and device | |
| CN106803032A (en) | Realize method, device and client device that website fingerprint is logged in | |
| CN106202133A (en) | An implementation method of a guiding device | |
| CN107770155A (en) | A kind of short-message verification method and mobile terminal | |
| CN107133514B (en) | password prompting method and mobile terminal | |
| CN116304403A (en) | Web page access method, device, computer equipment and storage medium | |
| CN106210293A (en) | A kind of information processing method and mobile terminal | |
| US10742639B1 (en) | System and method for improving login and registration efficiency to network-accessed data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20211208 Address after: 5 / F, building B, No. 25, Andemen street, Yuhuatai District, Nanjing City, Jiangsu Province, 210012 Patentee after: NANJING WEIWO SOFTWARE TECHNOLOGY CO.,LTD. Address before: 523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. |
|
| TR01 | Transfer of patent right |