TWI731924B - Method and device for processing verification information - Google Patents

Method and device for processing verification information Download PDF

Info

Publication number
TWI731924B
TWI731924B TW106102480A TW106102480A TWI731924B TW I731924 B TWI731924 B TW I731924B TW 106102480 A TW106102480 A TW 106102480A TW 106102480 A TW106102480 A TW 106102480A TW I731924 B TWI731924 B TW I731924B
Authority
TW
Taiwan
Prior art keywords
information
verification information
verification
item
patent application
Prior art date
Application number
TW106102480A
Other languages
Chinese (zh)
Other versions
TW201828185A (en
Inventor
孫晨
程剛
喬麗莎
Original Assignee
香港商斑馬智行網絡(香港)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商斑馬智行網絡(香港)有限公司 filed Critical 香港商斑馬智行網絡(香港)有限公司
Priority to TW106102480A priority Critical patent/TWI731924B/en
Publication of TW201828185A publication Critical patent/TW201828185A/en
Application granted granted Critical
Publication of TWI731924B publication Critical patent/TWI731924B/en

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本發明實施例揭露一種驗證資訊的處理方法,用以解決現有技術中由於使用者需要記住簡訊中的驗證碼,而導致身份驗證過程較繁瑣的問題。方法包括:獲取接收的訊息中包含的驗證資訊;在輸入法介面顯示所述驗證資訊。本發明實施例還揭露一種驗證資訊的處理裝置。 The embodiment of the present invention discloses a method for processing verification information, which is used to solve the problem in the prior art that the user needs to remember the verification code in the short message, which causes the identity verification process to be cumbersome. The method includes: obtaining the verification information contained in the received message; and displaying the verification information on the input method interface. The embodiment of the present invention also discloses a processing device for verifying information.

Description

一種驗證資訊的處理方法及裝置 Method and device for processing verification information

本發明關於資訊處理技術領域,尤其關於一種驗證資訊的處理方法及裝置。 The present invention relates to the field of information processing technology, in particular to a method and device for processing verification information.

目前,使用者在執行登錄APP的伺服器等操作時,可能會需要使用者進行身份驗證。在這樣的場景下,APP的伺服器會根據使用者終端的標識,向與使用者帳號綁定過的使用者終端(如手機)發送驗證碼(一般為4~6位的數字或者是其他字元),使用者後續藉由在APP介面上的驗證碼輸入框輸入驗證碼,可以完成身份驗證。 At present, when users perform operations such as logging in to the APP server, the user may be required to authenticate. In such a scenario, the APP server will send a verification code (usually 4-6 digits or other characters) to the user terminal (such as a mobile phone) that has been bound to the user account according to the user terminal’s identity. Yuan), the user can complete the identity verification by entering the verification code in the verification code input box on the APP interface.

例如,以使用者登錄某購物APP的伺服器為例,為完成身份驗證,在使用者終端接收到包含驗證碼的簡訊後,使用者會打開簡訊APP對簡訊進行顯示,並記住簡訊中的驗證碼;進一步的,使用者切換回該購物APP,調用輸入法應用,並藉由輸入法介面,在購物APP介面的驗證碼輸入框手動輸入記住的驗證碼,並觸發使用者終端向伺服器發送該驗證碼,以使得伺服器根據該驗證碼完成對使用者的身份驗證。 For example, taking a user logging into a server of a shopping APP as an example, in order to complete identity verification, after the user terminal receives a text message containing a verification code, the user will open the text message APP to display the text message, and remember the text message Verification code; further, the user switches back to the shopping APP, calls the input method application, and manually enters the memorized verification code in the verification code input box of the shopping APP interface through the input method interface, and triggers the user terminal to send the server The server sends the verification code so that the server completes the identity verification of the user according to the verification code.

針對上例而言,由於需要使用者打開簡訊APP,並記住簡訊中的驗證碼,從而導致身份驗證過程較繁瑣。 For the above example, the user needs to open the SMS APP and remember the verification code in the SMS, which results in a cumbersome identity verification process.

本發明實施例提供一種驗證資訊的處理方法,用以解決現有技術中由於使用者需要記住簡訊中的驗證碼,而導致身份驗證過程較繁瑣的問題。 The embodiment of the present invention provides a method for processing verification information to solve the problem in the prior art that the user needs to remember the verification code in the short message, which causes the identity verification process to be cumbersome.

本發明實施例還提供一種驗證資訊的處理裝置,用以解決現有技術中由於使用者需要記住簡訊中的驗證碼,而導致身份驗證過程較繁瑣的問題。 The embodiment of the present invention also provides a verification information processing device, which is used to solve the problem that the user needs to remember the verification code in the short message in the prior art, which causes the cumbersome identity verification process.

本發明實施例採用下述技術方案:一種驗證資訊的處理方法,包括:獲取接收的訊息中包含的驗證資訊;在輸入法介面顯示所述驗證資訊。 The embodiment of the present invention adopts the following technical solution: a method for processing verification information, including: obtaining verification information contained in a received message; and displaying the verification information on an input method interface.

一種驗證資訊的處理裝置,包括:驗證資訊獲取單元,用於獲取接收的訊息中包含的驗證資訊;驗證資訊顯示單元,用於在輸入法介面顯示所述驗證資訊。 A verification information processing device includes: a verification information acquisition unit for acquiring verification information contained in a received message; a verification information display unit for displaying the verification information on an input method interface.

一種驗證資訊的處理裝置,包括:記憶體,用於儲存程式指令;處理器,耦接到所述記憶體,用於讀取所述記憶體儲存的程式指令,並作為回應,執行如下操作:獲取接收的訊息中包含的驗證資訊;在輸入法介面顯示所述驗證資訊。 A processing device for verifying information includes: a memory for storing program instructions; a processor, coupled to the memory, for reading the program instructions stored in the memory, and in response, performing the following operations: Obtain the verification information contained in the received message; display the verification information on the input method interface.

本發明實施例採用的上述至少一個技術方案能夠達到 以下有益效果:採用本發明實施例提供的驗證資訊的處理方法,可以實現從包含驗證資訊的訊息中,獲取驗證資訊,並在輸入法介面顯示所述驗證資訊,不需要使用者記住所述驗證資訊,從而簡化了使用者進行身份驗證的過程。 The above-mentioned at least one technical solution adopted by the embodiment of the present invention can achieve the following beneficial effects: the verification information processing method provided by the embodiment of the present invention can be used to obtain the verification information from the message containing the verification information, and display it on the input method interface. The verification information does not require the user to remember the verification information, thereby simplifying the process of the user's identity verification.

11‧‧‧步驟 11‧‧‧Step

12‧‧‧步驟 12‧‧‧Step

21‧‧‧步驟 21‧‧‧Step

22‧‧‧步驟 22‧‧‧Step

23‧‧‧步驟 23‧‧‧Step

24‧‧‧步驟 24‧‧‧Step

25‧‧‧步驟 25‧‧‧Step

26‧‧‧步驟 26‧‧‧Step

31‧‧‧驗證資訊獲取單元 31‧‧‧Verification Information Acquisition Unit

32‧‧‧驗證資訊顯示單元 32‧‧‧Verification Information Display Unit

此處所說明的附圖用來提供對本發明的進一步理解,構成本發明的一部分,本發明的示意性實施例及其說明用於解釋本發明,並不構成對本發明的不當限定。在附圖中:圖1為本發明實施例提供的一種驗證資訊的處理方法的具體實現流程示意圖;圖2為本發明實施例提供的一種包含驗證資訊的短訊息的示意圖;圖3為本發明實施例提供的一種輸入法應用的候選詞展示區;圖4為本發明實施例提供的一種手機應用的驗證碼輸入區;圖5為本發明實施例提供的一種判斷是否具備執行指定關聯操作的條件的具體流程圖;圖6為本發明實施例提供的一種驗證資訊的處理裝置的具體結構示意圖。 The drawings described here are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and the description thereof are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the drawings: FIG. 1 is a schematic diagram of a specific implementation flow of a verification information processing method provided by an embodiment of the present invention; FIG. 2 is a schematic diagram of a short message including verification information provided by an embodiment of the present invention; FIG. 3 is a schematic diagram of the present invention The embodiment provides an input method application candidate word display area; FIG. 4 is a verification code input area of a mobile phone application provided by an embodiment of the present invention; The specific flow chart of the conditions; FIG. 6 is a schematic diagram of the specific structure of a processing device for verifying information provided by an embodiment of the present invention.

為使本發明的目的、技術方案和優點更加清楚,下面將結合本發明具體實施例及相應的附圖對本發明技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 In order to make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be described clearly and completely below in conjunction with specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

以下結合附圖,詳細說明本發明各實施例提供的技術方案。 The technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

實施例1 Example 1

為解決現有技術中由於使用者需要記住簡訊中的驗證碼,而導致身份驗證過程較繁瑣的問題,本發明實施例提供一種驗證資訊的處理方法。 In order to solve the problem in the prior art that the user needs to remember the verification code in the short message, the identity verification process is cumbersome, an embodiment of the present invention provides a method for processing verification information.

本發明實施例提供的驗證資訊的處理方法的執行主體,可以但不限於為手機、平板電腦以及個人電腦(Personal Computer,PC)等使用者終端中的至少一種;此外,該方法的執行主體還可以是使用者終端上運行的應用程式(Application,APP)本身。 The execution body of the verification information processing method provided by the embodiment of the present invention can be, but is not limited to, at least one of a mobile phone, a tablet computer, and a personal computer (Personal Computer, PC) and other user terminals; in addition, the execution body of the method is also It can be the application (APP) itself running on the user terminal.

為便於描述,下文以該方法的執行主體為手機的作業系統為例,對該方法的實施方式進行介紹。可以理解,該方法的執行主體為手機的作業系統只是一種實例性的說明,並不應理解為對該方法的限定。 For ease of description, the implementation of the method will be introduced below by taking the operating system of the mobile phone as the execution subject of the method as an example. It can be understood that the operating system of the mobile phone as the execution subject of the method is only an example description, and should not be understood as a limitation of the method.

該方法的具體實現流程示意圖如圖1所示,主要包括 下述步驟: The specific implementation flow diagram of this method is shown in Figure 1, which mainly includes the following steps:

步驟11,手機的作業系統獲取接收的訊息中包含的驗證資訊;所述接收的訊息,可以為手機上安裝的簡訊APP接收到的短訊息;或者也可以為手機上安裝的聊天APP接收到的即時通訊訊息,等等。所述訊息中,可以包含驗證資訊。以簡訊APP和聊天APP為例,手機的作業系統,可以藉由APP向作業系統開放的介面,獲取APP接收的訊息中包含的驗證資訊。 Step 11. The operating system of the mobile phone obtains the verification information contained in the received message; the received message can be a short message received by a short message app installed on the mobile phone; or it can be received by a chat app installed on the mobile phone. IM messages, etc. The message may include verification information. Take SMS APP and chat APP as examples. The operating system of the mobile phone can obtain the verification information contained in the message received by the APP through the interface that the APP opens to the operating system.

從用途上來講,本發明實施例中所述的驗證資訊,可以是用於對使用者進行身份驗證的資訊。 In terms of usage, the verification information described in the embodiment of the present invention may be information used to verify the user's identity.

例如,該驗證資訊可以是用於保證資訊安全性的驗證碼。舉例來說,某購物應用的帳號往往會與使用者的手機號和支付應用(如銀行或第三方支付平臺等)綁定,則當使用者利用所述帳號購物時,為了保證使用者電子帳戶的安全性,所述支付應用的伺服器往往會向所述手機號推送包含驗證資訊(一般為4位數數字)的短訊息,使用者將該驗證資訊發送給所述支付應用的伺服器,可以完成身份驗證。 For example, the verification information may be a verification code used to ensure the security of the information. For example, the account of a certain shopping application is often bound with the user’s mobile phone number and payment application (such as a bank or third-party payment platform, etc.). When the user uses the account to make purchases, in order to ensure that the user’s electronic account The security of the payment application, the server of the payment application often pushes a short message containing verification information (usually a 4-digit number) to the mobile phone number, and the user sends the verification information to the server of the payment application. The identity verification can be completed.

又例如,本發明實施例中所述的驗證資訊,也可以是用於區分使用者是電腦還是人的全自動區分電腦和人類的圖靈測試(Completely Automated Public Turing test to tell Computers and Humans Apart,CAPTCHA,簡稱“驗證碼”)。 For another example, the verification information described in the embodiment of the present invention may also be a completely automated Turing test to tell Computers and Humans Apart (Completely Automated Public Turing test to tell Computers and Humans Apart, which is used to distinguish whether a user is a computer or a human). CAPTCHA, referred to as "Verification Code").

本發明實施例中,所述驗證資訊可以包括驗證碼內容,其中,所述驗證碼一般為數字、字母或文字等字元;或者,驗證碼也可以是數字、字母或文字中至少兩者構成的字元組合。 In the embodiment of the present invention, the verification information may include the content of a verification code, where the verification code is generally characters such as numbers, letters, or text; or, the verification code may also be composed of at least two of numbers, letters, or text. The character combination of.

一般地,手機的作業系統接收到的包含驗證資訊的訊息中,除了包含驗證資訊外,還可以包含其他特定的內容,如訊息的發送方、與訊息中包含的驗證資訊的有效期相關的時間資訊,等等。 Generally, in addition to the verification information, the message containing the verification information received by the operating system of the mobile phone can also contain other specific content, such as the sender of the message, and time information related to the validity period of the verification information contained in the message. ,and many more.

包含驗證資訊的訊息,可以具有相同或不同的格式。例如,APP1的伺服器A發送(伺服器一般藉由移動通訊網路的基地台發送短訊息)的包含驗證資訊的訊息為:“[伺服器A]驗證碼:1234”,APP2的伺服器B發送的包含驗證資訊的訊息為:“[伺服器B]驗證資訊1234”,APP3的伺服器C發送的包含驗證資訊的訊息為:“[伺服器C]驗證碼1234,15分鐘內有效”。 Messages containing verification information can have the same or different formats. For example, the message containing verification information sent by server A of APP1 (the server usually sends short messages through the base station of the mobile communication network) is: "[Server A] verification code: 1234", and sent by server B of APP2 The message containing verification information is: "[Server B] Verification Information 1234", and the message containing verification information sent by APP3 Server C is: "[Server C] Verification Code 1234, valid within 15 minutes".

手機的作業系統可以但不限於藉由以下兩種方式,實現獲取接收的訊息中包含的驗證資訊和其他特定內容: The operating system of the mobile phone can, but is not limited to, obtain the verification information and other specific content contained in the received message through the following two methods:

方式1:根據訊息的格式,對訊息進行解析,從而獲取所述訊息中與指定符號相關的資訊。 Method 1: Analyze the message according to the format of the message, so as to obtain information related to the designated symbol in the message.

例如,假設簡訊APP接收到的包含所述驗證資訊的短訊息如圖2所示,則根據預先保存的所述格式,作業系統可以獲得方括號以內的資訊,作為所述短訊息的發送方;獲取帶有底線的資訊,作為所述短訊息中包含的驗證訊息;並獲取位於帶有底線的資訊之後,且與所述帶有底 線的資訊間隔一個字元的時間資訊“15分鐘以內”。這裡所說的“方括號”、“底線”,均為所述指定符號。 For example, suppose that the short message containing the verification information received by the SMS APP is as shown in Figure 2, and then according to the pre-saved format, the operating system can obtain the information within the square brackets as the sender of the short message; Obtain the underlined information as the verification message included in the short message; and obtain the time information "within 15 minutes" that is located after the underlined information and is separated from the underlined information by one character. The "square brackets" and "underline" mentioned here are the designated symbols.

需要說明的是,手機的作業系統可以分別根據不同訊息的格式,確定訊息中的指定符號,並分別獲取訊息中與指定符號相關的資訊。就具體實現方式而言,例如,手機的作業系統可以預先保存短訊息的不同格式與短訊息的發送方號碼的映射關係;在保存了該映射關係的情況下,手機的作業系統在接收到短訊息後,可以根據該短訊息的發送方號碼以及該映射關係,確定出該短訊息映射的格式,從而根據該格式,實現對短訊息的解析。 It should be noted that the operating system of the mobile phone can determine the designated symbol in the message according to the format of different messages, and obtain the information related to the designated symbol in the message. In terms of specific implementation methods, for example, the operating system of the mobile phone can pre-store the mapping relationship between the different formats of the short message and the sender number of the short message; when the mapping relationship is saved, the operating system of the mobile phone can receive the short message in advance. After the message is sent, the format of the short message mapping can be determined according to the sender number of the short message and the mapping relationship, so as to realize the analysis of the short message according to the format.

方式2:藉由對訊息的解析,獲取訊息中包含的、帶有指定特徵的資訊。 Method 2: Obtain the information contained in the message with specified characteristics by analyzing the message.

例如,使用者手機的簡訊APP接收到的包含驗證資訊的短訊息為:“[新浪科技]驗證碼:1234,有效期15分鐘”,其中,“[新浪科技]”帶有“發送方標識”,“1234”帶有“驗證資訊標識”,“15分鐘”帶有“時間標識”。那麼,手機的作業系統根據預先保存的“發送方標識”、“驗證資訊標識”和“時間標識”,對短訊息進行解析,可以獲取到簡訊發送方資訊“[新浪科技]”,驗證資訊“1234”以及時間資訊“15分鐘”。 For example, the short message containing the verification information received by the SMS APP of the user’s mobile phone is: "[Sina Technology] verification code: 1234, valid for 15 minutes", where "[Sina Technology]" carries "Sender ID", "1234" carries a "verification information mark", and "15 minutes" carries a "time mark". Then, the operating system of the mobile phone parses the short message according to the pre-saved "Sender ID", "Verification Information ID" and "Time ID", and can obtain the SMS sender information "[Sina Technology]" and "Verification Information" 1234" and time information "15 minutes".

上述對訊息的解析方式,僅是一種實例性的說明。本發明實施例中,也可以採用其他方式,實現對訊息進行解析,從而獲取到訊息中的驗證資訊和其他特定內容。 The above method of analyzing the message is only an example. In the embodiment of the present invention, other methods may also be adopted to realize the analysis of the message, so as to obtain the verification information and other specific content in the message.

還需要說明的是,針對訊息的發送伺服器的確定方式 而言,手機的作業系統還可以藉由接收到的訊息的發送號碼(如,電話號碼以及聊天帳號,等等),以及訊息的不同發送號碼與相應的伺服器的預設映射關係,確定所述訊息的發送伺服器。 It should also be noted that, in terms of the determination method of the message sending server, the operating system of the mobile phone can also use the sending number of the received message (such as phone number and chat account, etc.), and the difference of the message The preset mapping relationship between the sending number and the corresponding server determines the sending server of the message.

步驟12,在輸入法介面顯示藉由執行步驟11獲取的驗證資訊。 In step 12, the verification information obtained by executing step 11 is displayed on the input method interface.

具體的,本發明實施例中,可以將所述驗證資訊作為輸入法的候選項,顯示在輸入法介面。例如,可以將所驗證資訊作為輸入法的候選詞,顯示在如圖3所示的輸入法介面的候選詞展示區中(例如,可以顯示在候選詞展示區的右側,也可以顯示在候選詞展示區的左側,等等)。 Specifically, in the embodiment of the present invention, the verification information may be used as a candidate for the input method and displayed on the input method interface. For example, the verified information can be used as input method candidate words and displayed in the candidate word display area of the input method interface as shown in Figure 3 (for example, it can be displayed on the right side of the candidate word display area, or it can be displayed in the candidate word display area. The left side of the display area, etc.).

後續當手機接收到使用者對所述輸入法介面顯示的所述驗證資訊的操作時,回應於使用者的操作,手機可以對所述驗證資訊執行指定操作,所述指定操作包括但不僅限於下述兩種: Subsequently, when the mobile phone receives the user's operation on the verification information displayed on the input method interface, in response to the user's operation, the mobile phone can perform a designated operation on the verification information, and the designated operation includes but is not limited to the following Said two kinds:

操作1:將所述輸入法介面顯示的所述驗證碼內容,輸入到焦點所在的輸入框。 Operation 1: Input the content of the verification code displayed on the input method interface into the input box where the focus is located.

例如,當手機的作業系統接收到使用者藉由對所述輸入法介面顯示的所述驗證碼內容執行操作(如,點擊操作,滑動操作等)時,回應於使用者的操作,手機的作業系統可以將輸入法介面顯示的驗證碼內容,展示在如圖4所示的應用的驗證碼輸入區內。 For example, when the operating system of the mobile phone receives the user performing an operation (such as clicking operation, sliding operation, etc.) on the content of the verification code displayed on the input method interface, it responds to the operation of the user and the operation of the mobile phone The system can display the verification code content displayed on the input method interface in the verification code input area of the application as shown in FIG. 4.

需要說明的是,當手機當前展示的介面所屬的應用與驗證資訊對應的應用不相同時,手機的作業系統可以將手 機當前展示的介面,切換為驗證資訊對應的應用的介面,並在驗證資訊對應的應用的介面指定區域,展示驗證資訊。或者,手機的作業系統可以記錄驗證資訊,並在將手機當前展示的介面切換為驗證資訊對應的應用的介面後,將記錄的驗證資訊展示在驗證資訊對應的應用的介面指定區域。 It should be noted that when the application of the interface currently displayed on the mobile phone is different from the application corresponding to the verification information, the operating system of the mobile phone can switch the interface currently displayed on the mobile phone to the interface of the application corresponding to the verification information, and verify the information The designated area of the corresponding application interface displays the verification information. Alternatively, the operating system of the mobile phone can record the verification information, and after switching the interface currently displayed on the mobile phone to the interface of the application corresponding to the verification information, display the recorded verification information in the designated area of the interface of the application corresponding to the verification information.

操作2:將驗證資訊發送給驗證資訊對應的應用的伺服器。 Operation 2: Send the verification information to the server of the application corresponding to the verification information.

手機的作業系統可以將獲取到的驗證資訊,直接發送給與所述驗證資訊對應的應用的伺服器,以使得所述伺服器對接收到的驗證資訊進行驗證。 The operating system of the mobile phone can directly send the obtained verification information to the server of the application corresponding to the verification information, so that the server verifies the received verification information.

其中,所述驗證資訊所對應的應用,是指使用所述驗證資訊進行使用者身份驗證的應用。該應用本身可以具備驗證所述驗證資訊是否正確的功能,或者,該應用也可以將所述驗證資訊發送給該應用的伺服器進行驗證。 Wherein, the application corresponding to the verification information refers to an application that uses the verification information to perform user identity verification. The application itself may have the function of verifying whether the verification information is correct, or the application may also send the verification information to the server of the application for verification.

例如,若發送包含驗證資訊的短訊息的伺服器與某應用對應的伺服器是同一伺服器,則一般可以說明,該驗證資訊與所述某應用之間存在對應關係。本發明實施例中,可以將這種對應關係,稱為明確對應關係。 For example, if the server that sends the short message containing the verification information and the server corresponding to a certain application are the same server, it can generally be explained that there is a correspondence between the verification information and the certain application. In the embodiment of the present invention, this correspondence relationship may be referred to as an explicit correspondence relationship.

而若發送所述驗證資訊的伺服器,與應用對應的伺服器雖不是同一伺服器,但這兩個伺服器之間存在特定關聯關係,該驗證資訊與所述某應用之間存在對應關係。申請實施例中,可以將這種對應關係,稱為一般對應關係。 If the server sending the verification information is not the same server as the server corresponding to the application, there is a specific association relationship between the two servers, and there is a corresponding relationship between the verification information and the certain application. In the application embodiments, this correspondence relationship may be referred to as a general correspondence relationship.

針對明確對應關係而言,例如,假設聊天APP的伺 服器為伺服器A,購物APP的伺服器為伺服器B,則當所述短訊息的發送方伺服器為伺服器A時,所述短訊息中包含的驗證資訊對應的應用為聊天APP;而當所述短資訊的發送方伺服器為伺服器B時,所述短訊息中包含的驗證資訊所對應的應用為購物APP。 For clear correspondence, for example, if the server of the chat app is server A and the server of the shopping app is server B, when the sender server of the short message is server A, the short message The application corresponding to the verification information contained in the message is a chat APP; and when the sender server of the short message is server B, the application corresponding to the verification information contained in the short message is a shopping APP.

針對一般對應關係而言,例如,發送驗證資訊的伺服器為伺服器C,該伺服器C發送的驗證資訊可以藉由伺服器A以及伺服器B進行驗證;假設伺服器A為手機上安裝的聊天APP的伺服器,伺服器B為手機上安裝的購物APP的伺服器,則伺服器C發送的驗證資訊分別與手機上安裝的兩個應用(購物APP和聊天APP)對應。 For general correspondence, for example, the server sending verification information is server C, and the verification information sent by server C can be verified by server A and server B; suppose server A is installed on the mobile phone The server of the chat APP, server B is the server of the shopping APP installed on the mobile phone, and the verification information sent by the server C respectively corresponds to the two applications (shopping APP and chat APP) installed on the mobile phone.

無論是驗證資訊和應用之間是明確對應關係,還是一般對應關係,本發明實施例中,在接收到訊息後,都可以確定訊息的指定特徵的內容,以及預先設置的指定特徵的不同內容與相應的伺服器的映射關係,確定訊息所對應的伺服器,也即確定訊息包含的驗證資訊所對應的伺服器。所述指定特徵的內容,例如可以是短訊息的發送方號碼,或者是訊息的指定欄位中的內容(該內容例如是應用名稱),等等。 Regardless of whether it is a clear correspondence between the verification information and the application, or a general correspondence, in the embodiment of the present invention, after the message is received, the content of the specified feature of the message can be determined, as well as the different content of the specified feature set in advance. The mapping relationship of the corresponding servers determines the server corresponding to the message, that is, the server corresponding to the verification information contained in the message. The content of the specified feature may be, for example, the sender number of the short message, or the content in the specified field of the message (the content is, for example, the application name), and so on.

需要說明的是,在輸入法介面顯示所述驗證資訊後,為了不影響使用者後續對輸入法應用的使用,在一種實施方式中,本發明實施例提供的方法還可以包括:從所述驗證資訊展示在輸入法介面起的設定時間長度內,若沒有接收到使用者的操作,則刪除所述輸入法介面中的所述驗證 資訊。例如,假設驗證資訊展示在輸入法介面,且設定時間長度為10s,則將所述驗證資訊展示在所述輸入法介面起10s內手機的作業系統未接收到使用者的操作,則可以將輸入法介面中展示的驗證資訊刪除。 It should be noted that, after the verification information is displayed on the input method interface, in order not to affect the subsequent use of the input method application by the user, in an implementation manner, the method provided in an embodiment of the present invention may further include: The information is displayed within the set time period from the input method interface. If no user's operation is received, the verification information in the input method interface is deleted. For example, if the verification information is displayed on the input method interface, and the set time length is 10s, then the operating system of the mobile phone has not received the user's operation within 10 seconds from the display of the verification information on the input method interface, and the input can be The verification information displayed in the legal interface is deleted.

需要說明的是,如果僅僅在輸入法介面顯示驗證資訊,如,驗證碼內容等,此時使用者可能無法獲知該驗證資訊所對應的應用以及該驗證資訊是否有效,進而使用者可能無法確定是否可以對所述驗證資訊執行下一步操作,為了使使用者可以判斷是否對顯示在輸入法介面中的驗證資訊執行操作,在一種實施方式中,本發明實施例還可以在輸入法介面顯示以下至少一項資訊,具體可以包括: It should be noted that if only the verification information, such as the content of the verification code, is displayed on the input method interface, the user may not know the application corresponding to the verification information and whether the verification information is valid, and the user may not be able to determine whether the verification information is valid or not. The next step can be performed on the verification information. In order to enable the user to determine whether to perform an operation on the verification information displayed in the input method interface, in one embodiment, the embodiment of the present invention may also display at least the following on the input method interface A piece of information, which can specifically include:

資訊1:所述訊息中包括的時間資訊;其中,所述時間資訊為與驗證資訊的有效期相關的資訊;例如,若假設手機的簡訊APP接收到如圖2所示的短訊息,則手機作業系統可以將所述訊息中包含的驗證碼以及時間資訊(15分鐘內輸入有效)顯示在輸入法介面的候選詞輸入區。 Information 1: The time information included in the message; where the time information is information related to the validity period of the verification information; for example, if the SMS APP of the mobile phone receives the short message as shown in Figure 2, the mobile phone will operate The system can display the verification code and time information contained in the message (valid for input within 15 minutes) in the candidate word input area of the input method interface.

需要說明的是,若手機接收到的訊息中不包括所述時間資訊時,在一種實施方式中,手機的作業系統可以將預先設置的默認有效時間(例如,半個小時或者一個小時)作為該訊息中的時間資訊。 It should be noted that if the time information is not included in the message received by the mobile phone, in an implementation manner, the operating system of the mobile phone may use a preset default valid time (for example, half an hour or one hour) as the time information. Time information in the message.

資訊2:所述驗證資訊的提供物件資訊。 Information 2: The provided object information of the verification information.

需要說明的是,所述驗證資訊的提供物件資訊可以是根據所述訊息的發送方確定。例如,手機接收到的訊息的 發送方伺服器為伺服器A,則可以確定所述訊息中包含的驗證資訊的提供物件資訊為伺服器A。 It should be noted that the provision object information of the verification information may be determined according to the sender of the message. For example, if the sender server of the message received by the mobile phone is server A, it can be determined that the provided object information of the verification information contained in the message is server A.

需要說明的是,在將所述驗證資訊作為輸入法的候選項顯示在輸入法介面時,可能會出現顯示的驗證資訊無效或者驗證資訊無法顯示的情況。例如,當所述輸入法介面的候選詞展示區不為空時,所述輸入法介面的候選詞展示區中將無法顯示所述驗證資訊;或者,當所述驗證資訊失效時,會出現在所述輸入法介面的候選詞展示區顯示的驗證資訊無效的情況。 It should be noted that when the verification information is displayed on the input method interface as a candidate for the input method, the displayed verification information may be invalid or the verification information cannot be displayed. For example, when the candidate word display area of the input method interface is not empty, the verification information cannot be displayed in the candidate word display area of the input method interface; or, when the verification information becomes invalid, it will appear in The case where the verification information displayed in the candidate word display area of the input method interface is invalid.

為了避免發生上述情況而導致不必要的處理資源浪費,在一種實施方式中,步驟12的具體實現方式包括:在確定具備驗證資訊顯示條件後,在輸入法介面顯示所述驗證資訊。 In order to avoid unnecessary waste of processing resources due to the occurrence of the above situation, in one embodiment, the specific implementation of step 12 includes: after confirming that the verification information display condition is met, the verification information is displayed on the input method interface.

所述具備驗證資訊顯示條件,具體可以包括但不限於以下兩種中的至少一種: The conditions for displaying verification information may specifically include but are not limited to at least one of the following two types:

條件1:與所述驗證資訊相關的資訊滿足預定條件;其中,與所述驗證資訊相關的資訊,可以包括但不限於下述兩種類型的資訊中的至少一種: Condition 1: The information related to the verification information satisfies a predetermined condition; wherein, the information related to the verification information may include, but is not limited to, at least one of the following two types of information:

類型1:所述驗證資訊的輸入有效期資訊。 Type 1: Enter the validity period information of the verification information.

所述驗證資訊的輸入有效期資訊,可以根據所述訊息的接收時間以及所述訊息中包括的時間資訊確定。 The input validity period information of the verification information can be determined according to the receiving time of the message and the time information included in the message.

則,當與所述驗證資訊相關的資訊包括所述驗證資訊的輸入有效期資訊時,所述滿足預定條件,包括:所述驗證資訊的有效期未過期。 Then, when the information related to the verification information includes the input validity period information of the verification information, the satisfaction of the predetermined condition includes: the validity period of the verification information has not expired.

例如,若假設手機的簡訊APP接收到如圖2所示的短訊息,作業系統可以獲取到所述訊息中包括的時間資訊為:短訊息中包含的驗證資訊有效期15分鐘,手機作業系統獲得短訊息的接收時間為“10月30日,下午8:28”,且手機作業系統將所述訊息中包含的驗證碼顯示在輸入法介面的候選詞輸入區。那麼,若手機的作業系統在10月30日下午8:30接收到使用者對所述驗證資訊的操作時,由於簡訊應用接收到所述短訊息為2分鐘,並未超過所述驗證資訊的有效期15分鐘,從而可以確定所述短訊息中包含驗證資訊的有效期未過期。 For example, if the SMS APP of the mobile phone receives the short message as shown in Figure 2, the operating system can obtain the time information included in the message as follows: the verification information contained in the short message is valid for 15 minutes, and the mobile phone operating system obtains the short message. The receiving time of the message is "October 30, 8:28 PM", and the mobile phone operating system displays the verification code contained in the message in the candidate word input area of the input method interface. Then, if the operating system of the mobile phone receives the user's operation on the verification information at 8:30 pm on October 30, it takes 2 minutes for the SMS application to receive the short message, which does not exceed the verification information. The validity period is 15 minutes, so that it can be determined that the validity period of the verification information contained in the short message has not expired.

類型2:所述驗證碼的提供物件資訊。 Type 2: The provided object information of the verification code.

當與所述驗證資訊相關的資訊包括所述驗證資訊的提供物件資訊時,所述滿足預定條件,包括:所述驗證資訊的提供物件,為所述輸入法介面所在介面對應的應用。即所述驗證資訊的提供方伺服器,為所述輸入法介面所在介面對應的應用的伺服器。 When the information related to the verification information includes the provided object information of the verification information, the satisfaction of the predetermined condition includes: the provided object of the verification information is an application corresponding to the interface where the input method interface is located. That is, the provider server of the verification information is the server of the application corresponding to the interface where the input method interface is located.

其中,所述輸入法介面所在介面對應的應用,可以是指調用輸入法介面的應用。例如,使用者啟動微博APP,並期望輸入微博內容時,該微博APP會調用輸入法介面,以使得使用者可以藉由輸入法介面輸入微博內容,此時可以將微博APP稱為輸入法介面所在介面對應的應用。 Wherein, the application corresponding to the interface where the input method interface is located may refer to an application that calls the input method interface. For example, when a user launches a Weibo APP and expects to input Weibo content, the Weibo APP will call the input method interface so that the user can input Weibo content through the input method interface. At this time, the Weibo APP can be called It is the application corresponding to the interface where the input method interface is located.

條件2:獲取的指定場景資訊與預定的場景資訊相匹配。 Condition 2: The acquired specified scene information matches the predetermined scene information.

本發明實施例中,指定場景資訊可以包括但不限於下述兩種類型的資訊中的至少一種: In the embodiment of the present invention, the designated scene information may include but is not limited to at least one of the following two types of information:

類型a:焦點所在輸入框的狀態。 Type a: The state of the input box where the focus is.

當所述指定場景資訊包括焦點所在輸入框的狀態時,所述滿足預定條件,包括:所述焦點所在輸入框為空。 When the specified scene information includes the state of the input box where the focus is located, satisfying a predetermined condition includes: the input box where the focus is located is empty.

一般地,所述焦點所在輸入框往往為如圖4所示的應用的驗證碼輸入區,則應用的驗證碼輸入區為空,可以視為滿足預定條件。 Generally, the input box where the focus is located is often the verification code input area of the application as shown in FIG. 4, and the verification code input area of the application is empty, which can be regarded as meeting a predetermined condition.

類型b:鍵盤類型資訊。 Type b: keyboard type information.

當所述指定場景資訊包括鍵盤類型資訊時,所述滿足預定條件,包括:所述鍵盤的類型為數字鍵盤類型;或所述鍵盤類型為非數字鍵盤類型、且所述訊息的接收時刻以及所述非數字鍵盤的彈起時刻的時間間隔的絕對值小於預設值。 When the specified scene information includes keyboard type information, the satisfaction of the predetermined condition includes: the type of the keyboard is a numeric keyboard type; or the keyboard type is a non-numeric keyboard type, and the receiving time of the message and all the The absolute value of the time interval of the non-numeric keyboard pop-up time is less than the preset value.

在大多數情況下,驗證資訊往往為數字,因此為了提高驗證資訊的輸入效率,目前,當手機的作業系統展示介面當前展示的場景中包括驗證資訊輸入框時,此時手機的作業系統可以通知輸入法應用將鍵盤切換為數字鍵盤。此外,當發生應用介面切換時,根據切換後應用介面功能的不同(例如有的應用介面用於支援使用者輸入待計算的數字;有的應用介面用於支援使用者輸入文字;有的應用介面不支援使用者進行字元的輸入),手機的作業系統可以通知輸入法應用彈出非數字鍵盤或者不彈出鍵盤。因而當所述指定場景資訊包括鍵盤類型資訊時,所述滿足預定條 件,包括:所述鍵盤的類型為數字鍵盤類型。 In most cases, the verification information is often numeric, so in order to improve the input efficiency of the verification information, currently, when the current display scene of the mobile phone operating system display interface includes a verification information input box, the mobile phone’s operating system can notify at this time The input method application switches the keyboard to a numeric keyboard. In addition, when an application interface is switched, it depends on the function of the application interface after the switch (for example, some application interfaces are used to support the user to input the numbers to be calculated; some application interfaces are used to support the user to enter text; some application interfaces The user’s character input is not supported), the mobile phone’s operating system can notify the input method application to pop up a non-numeric keyboard or not to pop up a keyboard. Therefore, when the designated scene information includes keyboard type information, satisfying the predetermined condition includes: the type of the keyboard is a numeric keyboard type.

考慮到當當前展示的輸入法應用的鍵盤的類型雖然不為數字鍵盤,但使用者仍然有可能期望輸入驗證資訊,因此,本發明實施例中,可以根據能夠反映使用者有輸入驗證資訊的傾向的資訊,來進行進一步判斷。在一種實施方式中,當所述指定場景資訊包括鍵盤類型資訊時,所述滿足預定條件,還可以包括:所述鍵盤類型為非數字鍵盤類型、且所述訊息的接收時刻以及所述非數字鍵盤的彈起時刻的時間間隔的絕對值小於預設值。 Considering that although the type of keyboard of the currently displayed input method application is not a numeric keyboard, the user may still expect to enter verification information. Therefore, in the embodiment of the present invention, it can reflect the user’s tendency to enter verification information. Information to make further judgments. In an embodiment, when the designated scene information includes keyboard type information, the meeting predetermined conditions may further include: the keyboard type is a non-numeric keyboard type, and the time of receiving the message and the non-numeric keyboard type The absolute value of the time interval of the keyboard pop-up time is less than the preset value.

例如,預設的時間間隔為10s,假設在鍵盤彈起10s後,手機的作業系統才接收到包含驗證資訊的短訊息,此時手機的作業系統將不會對所述短訊息中的驗證資訊執行關聯操作;而當鍵盤彈起10s內,手機的作業系統接收到包含驗證資訊的短訊息,此時手機的作業系統可以確定鍵盤類型資訊滿足預定條件。 For example, the default time interval is 10s. Assuming that the operating system of the mobile phone receives the short message containing the verification information 10 seconds after the keyboard pops up, the operating system of the mobile phone will not check the verification information in the short message. Perform the associated operation; and within 10 seconds of the keyboard popping up, the operating system of the mobile phone receives a short message containing the verification information, and the operating system of the mobile phone can determine that the keyboard type information meets the predetermined conditions.

需要說明的是,一般地,使用者不僅可以藉由不同APP完成對該APP對應的伺服器的存取,還可以採用B/S(Brower/Server)模式,藉由利用瀏覽器APP實現對不同的APP的伺服器進行存取。在這樣的場景下,在進行身份驗證時,手機接收到的包含驗證資訊的訊息的提供物件,往往為使用者所存取的網頁的伺服器,而當前手機的作業系統展示介面展示的應用為瀏覽器APP,在這樣的情況下,如果仍按照上文判斷與所述驗證資訊相關的資訊是否滿足預定條件過程中的“所述驗證碼的提供物件資訊滿 足預定條件為:所述驗證資訊的提供物件,為所述輸入法介面所在介面對應的應用”這一規則進行判斷,則會確定出與所述驗證資訊相關的資訊不滿足預定條件,進而無法完成驗證。 It should be noted that, generally, users can not only use different APPs to complete the access to the server corresponding to the APP, but also use the B/S (Brower/Server) mode to achieve different To access the server of your APP. In such a scenario, when performing identity verification, the provided object of the message containing the verification information received by the mobile phone is often the server of the webpage accessed by the user, and the application displayed on the display interface of the current mobile phone operating system is Browser APP, in this case, if the information related to the verification information meets the predetermined conditions in the process of judging whether the information related to the verification information satisfies the predetermined conditions in the process of "The verification code provides object information meets the predetermined conditions: Provide an object to judge the application corresponding to the interface where the input method interface is located. It will be determined that the information related to the verification information does not meet the predetermined conditions, and the verification cannot be completed.

為了避免上述的情況的發生,在手機的作業系統判斷所述驗證碼的提供物件資訊是否滿足預定條件時,還可以將應用的類型作為輔助決定依據。基於該輔助決定依據,若判斷出當前手機的作業系統展示介面展示的驗證資訊輸入框,為瀏覽器類型的應用的驗證資訊輸入框,則手機的作業系統可以預設該所述驗證碼的提供物件資訊滿足預定條件。 In order to avoid the occurrence of the above situation, when the operating system of the mobile phone determines whether the provided object information of the verification code meets the predetermined conditions, the type of the application can also be used as an auxiliary decision basis. Based on the auxiliary decision basis, if it is determined that the verification information input box displayed on the display interface of the current mobile phone's operating system is the verification information input box of a browser-type application, the mobile phone's operating system can preset the provision of the verification code The object information meets the predetermined conditions.

在實際應用中,手機可以判斷是否具備上述介紹的條件1和條件2中的一種,並根據判斷結果,確定所述驗證資訊是否具備驗證資訊顯示條件。 In practical applications, the mobile phone can determine whether one of the above-mentioned conditions 1 and 2 is met, and according to the judgment result, determine whether the verification information meets the verification information display conditions.

或者,手機也可以判斷是否具備上述條件1以及條件2構成的條件組合,並根據判斷結果,確定所述驗證資訊是否具備驗證資訊顯示條件。 Alternatively, the mobile phone can also determine whether the combination of conditions constituted by the above-mentioned condition 1 and condition 2 is met, and based on the judgment result, determine whether the verification information meets the verification information display conditions.

以下舉例介紹如何判斷是否具備所述條件組合。 The following example describes how to determine whether the combination of conditions is met.

例如,在實際應用中,可以但不限於藉由以下兩種方式,實現判斷是否具備所述條件組合: For example, in practical applications, it is possible but not limited to the following two ways to determine whether the combination of conditions is met:

方式1:判斷獲取的指定場景資訊是否與預定的場景資訊相匹配;在判斷出獲取的指定場景資訊與預定的場景資訊相匹配時,判斷與所述訊息相關的資訊是否滿足預定條件;在判斷出與所述訊息相關的資訊滿足預定條件時, 確定具備驗證資訊顯示條件。 Method 1: Determine whether the acquired designated scene information matches the predetermined scene information; when it is determined that the acquired designated scene information matches the predetermined scene information, determine whether the information related to the message meets the predetermined conditions; When the information related to the message satisfies the predetermined condition, it is determined that the verification information display condition is met.

舉例而言,在實際中採用方式1判斷是否具備驗證資訊顯示條件的一種流程如圖5所示,具體包括下述步驟:步驟21:判斷當前展示的驗證資訊輸入框是否為空,在判斷出所述驗證資訊輸入框不為空時,結束流程;當判斷出所述驗證資訊輸入框為空時,執行步驟22;步驟22:判斷本地是否存在所述驗證資訊對應的應用,在判斷出本地存在所述驗證資訊對應的應用(後稱所述應用)時,執行步驟23;否則,執行步驟25;步驟23:判斷所述驗證資訊輸入框是否為所述應用的驗證資訊輸入框;在判斷出所述驗證資訊輸入框為所述應用的驗證資訊輸入框時,執行步驟24;否則,結束流程;步驟24:判斷所述驗證資訊是否處於有效期,當判斷結果為是時,將驗證資訊顯示在輸入法介面;否則,結束流程;步驟25:判斷輸入法應用的鍵盤類型是否為數字鍵盤;在判斷出所述鍵盤類型為數字鍵盤時,執行步驟24;在判斷出所述鍵盤類型不為數字鍵盤時,執行步驟26;步驟26:確定所述訊息的接收時刻以及所述鍵盤的彈起時刻;判斷所述接收時刻與所述非數字鍵盤的彈起時刻之間的時間間隔的絕對值是否小於預設的時間間隔;在判斷出所述時間間隔的絕對值小於預設的時間間隔時,將 驗證資訊顯示在輸入法介面;否則,結束流程。 For example, in practice, a process for judging whether the verification information display condition is met by using method 1 is shown in Figure 5, which specifically includes the following steps: Step 21: Determine whether the currently displayed verification information input box is empty, and then determine whether the verification information input box is empty. When the verification information input box is not empty, the process ends; when it is judged that the verification information input box is empty, go to step 22; Step 22: judge whether there is an application corresponding to the verification information locally, When there is an application corresponding to the verification information (hereinafter referred to as the application), go to step 23; otherwise, go to step 25; Step 23: Determine whether the verification information input box is the verification information input box of the application; When the verification information input box is the verification information input box of the application, go to step 24; otherwise, end the process; step 24: determine whether the verification information is within the validity period, and display the verification information when the judgment result is yes In the input method interface; otherwise, end the process; Step 25: Determine whether the keyboard type of the input method application is a numeric keyboard; When it is determined that the keyboard type is a numeric keyboard, perform step 24; When it is determined that the keyboard type is not For a numeric keyboard, go to step 26; Step 26: determine the receiving moment of the message and the pop-up moment of the keyboard; determine the absolute value of the time interval between the receiving moment and the pop-up moment of the non-numeric keyboard Whether it is less than the preset time interval; when it is determined that the absolute value of the time interval is less than the preset time interval, the verification information is displayed on the input method interface; otherwise, the process ends.

方式2:判斷與所述訊息相關的資訊是否滿足預定條件;在判斷出與所述訊息相關的資訊滿足預定條件時,判斷獲取的指定場景資訊是否與預定的場景資訊相匹配;在判斷出獲取的指定場景資訊與預定的場景資訊相匹配時,確定具備驗證資訊顯示條件。 Method 2: Determine whether the information related to the message meets a predetermined condition; when it is determined that the information related to the message meets the predetermined condition, determine whether the acquired designated scene information matches the predetermined scene information; When the specified scene information of matches the predetermined scene information, it is confirmed that the conditions for displaying the verification information are met.

具體的,可以根據實際情況,靈活設置如何判斷是否具備驗證資訊顯示條件。 Specifically, it is possible to flexibly set how to determine whether the verification information display conditions are met according to actual conditions.

還需要說明的是,當手機接收到的包括驗證資訊的訊息為短訊息時,為了避免使用者對已經在輸入法介面顯示的驗證資訊所在的短訊息的重複閱讀,在一種實施方式中,當手機的作業系統在輸入法介面顯示驗證資訊後,手機的作業系統可以通知簡訊APP將包含所述驗證資訊的簡訊標記為已讀。 It should also be noted that when the message including the verification information received by the mobile phone is a short message, in order to avoid repeated reading of the short message where the verification information has been displayed on the input method interface, in one implementation, when After the operating system of the mobile phone displays the verification information on the input method interface, the operating system of the mobile phone can notify the SMS APP to mark the SMS containing the verification information as read.

採用本發明實施例1提供的驗證資訊的處理方法,可以實現從包含驗證資訊的訊息中,獲取驗證資訊,並在輸入法介面顯示所述驗證資訊,不需要使用者記住所述驗證資訊,從而簡化了使用者進行身份驗證的過程。 Using the verification information processing method provided in Embodiment 1 of the present invention, it is possible to obtain verification information from a message containing verification information, and display the verification information on the input method interface, without requiring the user to remember the verification information. This simplifies the process of user authentication.

本發明實施例提供的該方法,除了可以是作業系統作為執行主體外,還可以是某應用作為執行主體。當由所述某應用作為執行主體時,若某應用能夠針對驗證資訊以及驗證資訊所對應的應用執行指定關聯操作,則往往要求所述對應的應用向所述某應用開放資料存取介面。 In addition to the operating system as the execution subject, the method provided by the embodiment of the present invention can also be an application as the execution subject. When the application is the execution subject, if an application can perform a specified association operation for the verification information and the application corresponding to the verification information, the corresponding application is often required to open a data access interface to the application.

實施例2 Example 2

本發明實施例提供了一種驗證資訊的處理裝置,用以解決現有技術中由於使用者需要記住簡訊中的驗證碼,而導致身份驗證過程較繁瑣的問題。該裝置的具體結構示意圖如圖6所示,包括:驗證資訊獲取單元31以及驗證資訊顯示單元32。 The embodiment of the present invention provides a verification information processing device to solve the problem that the user needs to remember the verification code in the short message in the prior art, which causes the identity verification process to be cumbersome. The specific structure diagram of the device is shown in FIG. 6, and includes: a verification information acquisition unit 31 and a verification information display unit 32.

其中,驗證資訊獲取單元31,獲取接收的訊息中包含的驗證資訊;驗證資訊顯示單元32,用於在輸入法介面顯示所述驗證資訊。 Wherein, the verification information obtaining unit 31 obtains the verification information contained in the received message; the verification information display unit 32 is used for displaying the verification information on the input method interface.

在一種實施方式中,驗證資訊顯示單元32,用於:將所述驗證資訊作為輸入法的候選項,顯示在所述輸入法介面。 In one embodiment, the verification information display unit 32 is used to display the verification information as a candidate for the input method on the input method interface.

在一種實施方式中,所述驗證資訊,包括:驗證碼內容。 In one embodiment, the verification information includes: verification code content.

在一種實施方式中,驗證資訊顯示單元32,還用於:在輸入法介面顯示以下至少一項資訊:所述訊息中包括的時間資訊;其中,所述時間資訊為與驗證資訊的有效期相關的資訊;所述驗證資訊的提供物件資訊。 In one embodiment, the verification information display unit 32 is further configured to display at least one of the following information on the input method interface: the time information included in the message; wherein the time information is related to the validity period of the verification information Information; the provided object information of the verification information.

在一種實施方式中,驗證資訊顯示單元32,用於:回應於使用者的操作,將所述輸入法介面顯示的所述驗證碼內容,輸入到焦點所在的輸入框。 In one embodiment, the verification information display unit 32 is configured to input the verification code content displayed on the input method interface into the input box where the focus is in response to a user's operation.

在一種實施方式中,驗證資訊顯示單元32,用於:在確定具備驗證資訊顯示條件後,在輸入法介面顯示所述 驗證資訊。 In one embodiment, the verification information display unit 32 is configured to display the verification information on the input method interface after it is determined that the verification information display conditions are met.

在一種實施方式中,具備驗證資訊顯示條件,包括下述至少一種:與所述驗證資訊相關的資訊滿足預定條件;獲取的指定場景資訊與預定的場景資訊相匹配。 In one embodiment, the verification information display condition is satisfied, including at least one of the following: the information related to the verification information satisfies a predetermined condition; the acquired designated scene information matches the predetermined scene information.

在一種實施方式中,與所述驗證資訊相關的資訊,包括下述至少一種:所述驗證資訊的輸入有效期資訊;所述驗證資訊的提供物件資訊。 In one embodiment, the information related to the verification information includes at least one of the following: input validity period information of the verification information; and provision object information of the verification information.

在一種實施方式中,所述驗證資訊的輸入有效期資訊,根據所述訊息的接收時間以及所述訊息中包括的時間資訊確定。 In one embodiment, the input validity period information of the verification information is determined according to the receiving time of the message and the time information included in the message.

在一種實施方式中,所述驗證資訊的提供物件資訊根據所述訊息的發送方確定。 In one embodiment, the provided object information of the verification information is determined according to the sender of the message.

在一種實施方式中,驗證資訊顯示單元32,用於:當與所述驗證資訊相關的資訊包括所述驗證資訊的輸入有效期資訊時,確定所述驗證資訊的有效期未過期的驗證資訊,滿足所述預定條件。 In one embodiment, the verification information display unit 32 is configured to: when the information related to the verification information includes the input validity period information of the verification information, confirm that the verification information whose validity period has not expired satisfies all requirements. The predetermined conditions.

在一種實施方式中,驗證資訊顯示單元32,用於:當與所述驗證資訊相關的資訊包括所述驗證資訊的提供物件資訊時,確定所述提供物件為所述輸入法介面所在介面對應的應用的驗證資訊,滿足所述預定條件。 In one embodiment, the verification information display unit 32 is configured to: when the information related to the verification information includes the provided object information of the verification information, determine that the provided object is corresponding to the interface where the input method interface is located. The verification information of the application satisfies the predetermined condition.

在一種實施方式中,所述指定場景資訊,包括下述至少一種:焦點所在輸入框的狀態;鍵盤類型資訊。 In one embodiment, the designated scene information includes at least one of the following: the state of the input box where the focus is located; and keyboard type information.

在一種實施方式中,驗證資訊顯示單元32,用於: 當所述指定場景資訊包括鍵盤類型資訊時,確定所述焦點所在輸入框為空,滿足預定條件。 In one embodiment, the verification information display unit 32 is configured to: when the designated scene information includes keyboard type information, determine that the input box where the focus is located is empty and meet a predetermined condition.

在一種實施方式中,驗證資訊顯示單元32,用於:當所述指定場景資訊包括鍵盤類型資訊時,確定所述鍵盤的類型為數字鍵盤類型,滿足預定條件;或所述鍵盤類型為非數字鍵盤類型、且所述訊息的接收時刻以及所述非數字鍵盤的彈起時刻的時間間隔的絕對值小於預設值,滿足預定條件。 In one embodiment, the verification information display unit 32 is configured to: when the designated scene information includes keyboard type information, determine that the type of the keyboard is a numeric keyboard type and meet a predetermined condition; or the keyboard type is non-numeric The type of the keyboard and the absolute value of the time interval between the receiving time of the message and the time when the non-numeric keyboard is popped up is less than a preset value and meets a predetermined condition.

在一種實施方式中,驗證資訊顯示單元32,用於:回應於使用者的操作,將所述驗證資訊發送給所述應用的伺服器。 In one embodiment, the verification information display unit 32 is configured to send the verification information to the server of the application in response to a user's operation.

在一種實施方式中,驗證資訊顯示單元32,還用於:從所述驗證資訊展示在輸入法介面起的設定時間長度內,若沒有接收到使用者的操作,則刪除所述輸入法介面中的所述驗證資訊。 In one embodiment, the verification information display unit 32 is further configured to: within a set time period after the verification information is displayed on the input method interface, if no user operation is received, delete the input method interface The verification information for.

採用本發明實施例2提供的驗證資訊的處理裝置,可以實現從包含驗證資訊的訊息中,獲取驗證資訊,並在輸入法介面顯示所述驗證資訊,不需要使用者記住所述驗證資訊,從而簡化了使用者進行身份驗證的過程。 Using the verification information processing device provided in the second embodiment of the present invention, it is possible to obtain verification information from a message containing verification information, and display the verification information on the input method interface, without requiring the user to remember the verification information. This simplifies the process of user authentication.

實施例3 Example 3

為解決現有技術中由於使用者需要記住簡訊中的驗證碼,而導致身份驗證過程較繁瑣的問題。本發明實施例提供一種驗證資訊的處理裝置。 In order to solve the problem in the prior art that the user needs to remember the verification code in the short message, the identity verification process is cumbersome. The embodiment of the present invention provides a processing device for verifying information.

該裝置,例如可以是智慧手機或平板電腦等。所述驗證資訊處理裝置可以包括處理器以及記憶體等。 The device, for example, can be a smart phone or a tablet computer. The verification information processing device may include a processor, a memory, and the like.

其中,所述記憶體用於儲存程式指令;所述處理器,耦接到所述記憶體,用於讀取所述記憶體儲存的程式指令,並作為回應,執行如下操作:獲取接收的訊息中包含的驗證資訊;在輸入法介面顯示所述驗證資訊。 Wherein, the memory is used to store program instructions; the processor, coupled to the memory, is used to read the program instructions stored in the memory, and in response, perform the following operations: get the received message The verification information contained in the input method; the verification information is displayed on the input method interface.

在一種實施方式中,所述處理器,用於將所述驗證資訊作為輸入法的候選項,顯示在所述輸入法介面。 In one embodiment, the processor is configured to use the verification information as a candidate for the input method and display it on the input method interface.

所述驗證資訊,包括:驗證碼內容。 The verification information includes: verification code content.

在一種實施方式中,所述處理器,用於在輸入法介面顯示以下至少一項資訊:所述訊息中包括的時間資訊;其中,所述時間資訊為與驗證資訊的有效期相關的資訊;所述驗證資訊的提供物件資訊。 In one embodiment, the processor is configured to display at least one of the following information on the input method interface: time information included in the message; wherein the time information is information related to the validity period of the verification information; Provide object information for verification information.

在一種實施方式中,所述處理器,用於回應於使用者的操作,將所述輸入法介面顯示的所述驗證碼內容,輸入到焦點所在的輸入框。 In one embodiment, the processor is configured to respond to a user's operation by inputting the content of the verification code displayed on the input method interface into the input box where the focus is located.

在將所述驗證資訊作為輸入法的候選項顯示在輸入法介面時,可能會出現顯示的驗證資訊無效或者驗證資訊無法顯示的情況。例如,當所述輸入法介面的候選詞展示區不為空時,所述輸入法介面的候選詞展示區中將無法顯示所述驗證資訊;或者,當所述驗證資訊失效時,會出現在所述輸入法介面的候選詞展示區顯示的驗證資訊無效的情況。 When the verification information is displayed on the input method interface as a candidate for the input method, the displayed verification information may be invalid or the verification information may not be displayed. For example, when the candidate word display area of the input method interface is not empty, the verification information cannot be displayed in the candidate word display area of the input method interface; or, when the verification information becomes invalid, it will appear in The case where the verification information displayed in the candidate word display area of the input method interface is invalid.

為了避免發生上述情況而導致不必要的處理資源浪 費,所述處理器,用於在確定具備驗證資訊顯示條件後,在輸入法介面顯示所述驗證資訊。 In order to avoid unnecessary waste of processing resources due to the occurrence of the foregoing situation, the processor is configured to display the verification information on the input method interface after determining that the verification information display condition is met.

其中,具備執行指定關聯操作的條件,包括下述至少一種:與所述驗證資訊相關的資訊滿足預定條件;獲取的指定場景資訊與預定的場景資訊相匹配。 Wherein, the conditions for performing the specified association operation include at least one of the following: the information related to the verification information satisfies a predetermined condition; the acquired specified scene information matches the predetermined scene information.

與所述驗證資訊相關的資訊,包括下述至少一種:所述驗證資訊的輸入有效期資訊;所述驗證資訊的提供物件資訊。 The information related to the verification information includes at least one of the following: input validity period information of the verification information; and provision object information of the verification information.

其中,所述驗證資訊的輸入有效期資訊,根據所述訊息的接收時間以及所述訊息中包括的時間資訊確定。所述驗證資訊的提供物件資訊根據所述訊息的發送方確定。 Wherein, the input validity period information of the verification information is determined according to the receiving time of the message and the time information included in the message. The provided object information of the verification information is determined according to the sender of the message.

在一種實施方式中,所述處理器,用於當與所述驗證資訊相關的資訊包括所述驗證資訊的提供物件資訊時,確定所述提供物件為所述輸入法介面所在介面對應的應用的驗證資訊,滿足所述預定條件。 In one embodiment, the processor is configured to determine that the provided object is the application corresponding to the interface where the input method interface is located when the information related to the verification information includes the provided object information of the verification information The verification information satisfies the predetermined condition.

在一種實施方式中,所述處理器,用於當與所述驗證資訊相關的資訊包括所述驗證資訊的輸入有效期資訊時,確定所述驗證資訊的有效期未過期的驗證資訊,滿足所述預定條件。 In one embodiment, the processor is configured to, when the information related to the verification information includes the input validity period information of the verification information, determine that the verification information whose validity period of the verification information has not expired satisfies the predetermined condition.

所述指定場景資訊,包括下述至少一種:焦點所在輸入框的狀態;鍵盤類型資訊。 The specified scene information includes at least one of the following: the state of the input box where the focus is located; and keyboard type information.

在一種實施方式中,所述處理器,用於當所述指定場景資訊包括鍵盤類型資訊時,確定所述焦點所在輸入框為 空,滿足預定條件。 In one embodiment, the processor is configured to, when the designated scene information includes keyboard type information, determine that the input box where the focus is located is empty and meet a predetermined condition.

在一種實施方式中,所述處理器,用於當所述指定場景資訊包括鍵盤類型資訊時,確定所述鍵盤的類型為數字鍵盤類型,滿足預定條件;或所述鍵盤類型為非數字鍵盤類型、且所述訊息的接收時刻以及所述非數字鍵盤的彈起時刻的時間間隔的絕對值小於預設值,滿足預定條件。 In one embodiment, the processor is configured to, when the designated scene information includes keyboard type information, determine that the type of the keyboard is a numeric keyboard type and meet a predetermined condition; or the keyboard type is a non-numeric keyboard type And the absolute value of the time interval between the receiving time of the message and the time when the non-numeric keyboard is popped up is less than a preset value and meets a predetermined condition.

在一種實施方式中,所述處理器,用於回應於使用者的操作,將所述驗證資訊發送給所述應用的伺服器。 In one embodiment, the processor is configured to send the verification information to the server of the application in response to a user's operation.

當驗證資訊展示在輸入法應用的候選詞展示區後,為了不影響使用者後續對輸入法應用的使用,在一種實施方式中,所述處理器,用於從所述驗證資訊展示在輸入法介面起的設定時間長度內,若沒有接收到使用者的操作,則刪除所述輸入法介面中的所述驗證資訊。 After the verification information is displayed in the candidate word display area of the input method application, in order not to affect the subsequent use of the input method application by the user, in one embodiment, the processor is configured to display the verification information in the input method Within the set time period from the interface, if no user's operation is received, the verification information in the input method interface is deleted.

採用本發明實施例3提供的驗證資訊的處理裝置,可以實現從包含驗證資訊的訊息中,獲取驗證資訊,並在輸入法介面顯示所述驗證資訊,不需要使用者記住所述驗證資訊,從而簡化了使用者進行身份驗證的過程。 Using the verification information processing device provided in Embodiment 3 of the present invention, it is possible to obtain verification information from a message containing verification information, and display the verification information on the input method interface, without requiring the user to remember the verification information. This simplifies the process of user authentication.

本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方塊圖中的每一流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得藉由電腦或其他可程式設 計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的裝置。 The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processor of the computer or other programmable data processing equipment The instruction is used to generate a device for realizing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能。 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的步驟。 These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to generate computer-implemented processing, so that the computer or other programmable equipment The instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的實例。 Memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash). RAM). Memory is an example of computer-readable media.

電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體 (PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可抹除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫態電腦可讀媒體(transitory media),如調變的資料訊號和載波。 Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only CD-ROM (CD-ROM), digital multi-function Optical discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission media, can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

還需要說明的是,用語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements includes not only those elements, but also Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.

本領域技術人員應明白,本發明的實施例可提供為方法、系統或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品 的形式。 Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. .

以上所述僅為本發明的實施例而已,並不用於限制本發明。對於本領域技術人員來說,本發明可以有各種更改和變化。凡在本發明的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本發明的申請專利範圍之內。 The foregoing descriptions are merely embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the patent application of the present invention.

Claims (31)

一種驗證資訊的處理方法,所述方法應用於對使用者進行身份驗證的過程中,包括:獲取接收的訊息中包含的驗證資訊;在輸入法介面顯示所述驗證資訊;回應於使用者的操作,將所述輸入法介面顯示的所述驗證資訊中的驗證碼內容,輸入到焦點所在的輸入框。 A method for processing verification information, which is applied in the process of authenticating a user, including: obtaining verification information contained in a received message; displaying the verification information on an input method interface; responding to user operations , Input the verification code content in the verification information displayed on the input method interface into the input box where the focus is located. 如申請專利範圍第1項所述的方法,其中,在輸入法介面顯示所述驗證資訊,包括:將所述驗證資訊作為輸入法的候選項,顯示在所述輸入法介面。 The method according to item 1 of the scope of patent application, wherein displaying the verification information on the input method interface includes: using the verification information as a candidate for the input method and displaying it on the input method interface. 如申請專利範圍第1項所述的方法,其中,還包括:在輸入法介面顯示以下至少一項資訊:所述訊息中包括的時間資訊;其中,所述時間資訊為與驗證資訊的有效期相關的資訊;所述驗證資訊的提供物件資訊。 The method described in item 1 of the scope of patent application, further comprising: displaying at least one of the following information on the input method interface: the time information included in the message; wherein the time information is related to the validity period of the verification information Information; the provided object information of the verification information. 如申請專利範圍第1項所述的方法,其中,在輸入法介面顯示所述驗證資訊,包括:在確定具備驗證資訊顯示條件後,在輸入法介面顯示所述驗證資訊。 The method according to item 1 of the scope of patent application, wherein displaying the verification information on the input method interface includes: displaying the verification information on the input method interface after confirming that the verification information display condition is met. 如申請專利範圍第4項所述的方法,其中,具備驗證資訊顯示條件,包括下述至少一種:與所述驗證資訊相關的資訊滿足預定條件; 獲取的指定場景資訊與預定的場景資訊相匹配。 For example, the method described in item 4 of the scope of patent application, wherein the verification information display conditions are met, including at least one of the following: information related to the verification information satisfies predetermined conditions; The acquired specified scene information matches the predetermined scene information. 如申請專利範圍第5項所述的方法,其中,與所述驗證資訊相關的資訊,包括下述至少一種:所述驗證資訊的輸入有效期資訊;所述驗證資訊的提供物件資訊。 The method according to item 5 of the scope of patent application, wherein the information related to the verification information includes at least one of the following: input validity period information of the verification information; and provision object information of the verification information. 如申請專利範圍第6項所述的方法,其中,所述驗證資訊的輸入有效期資訊,根據所述訊息的接收時間以及所述訊息中包括的時間資訊確定。 The method according to item 6 of the scope of patent application, wherein the input validity period information of the verification information is determined according to the receiving time of the message and the time information included in the message. 如申請專利範圍第6項所述的方法,其中,所述驗證資訊的提供物件資訊根據所述訊息的發送方確定。 The method according to item 6 of the scope of the patent application, wherein the provision object information of the verification information is determined according to the sender of the message. 如申請專利範圍第6項所述的方法,其中,當與所述驗證資訊相關的資訊包括所述驗證資訊的輸入有效期資訊時,所述滿足預定條件,包括:所述驗證資訊的有效期未過期。 The method according to item 6 of the scope of patent application, wherein, when the information related to the verification information includes the input validity period information of the verification information, the satisfaction of the predetermined condition includes: the validity period of the verification information has not expired . 如申請專利範圍第6項所述的方法,其中,當與所述驗證資訊相關的資訊包括所述驗證資訊的提供物件資訊時,所述滿足預定條件,包括:所述驗證資訊的提供物件,為所述輸入法介面所在介面對應的應用。 The method according to item 6 of the scope of patent application, wherein, when the information related to the verification information includes the provision object information of the verification information, the satisfaction of the predetermined condition includes: the provision object of the verification information, It is the application corresponding to the interface where the input method interface is located. 如申請專利範圍第5項所述的方法,其中,所述指定場景資訊,包括下述至少一種:焦點所在輸入框的狀態;鍵盤類型資訊。 The method according to item 5 of the scope of patent application, wherein the designated scene information includes at least one of the following: the state of the input box where the focus is located; and keyboard type information. 如申請專利範圍第11項所述的方法,其中,當 所述指定場景資訊包括焦點所在輸入框的狀態時,所述滿足預定條件,包括:所述焦點所在輸入框為空。 Such as the method described in item 11 of the scope of patent application, wherein, when When the specified scene information includes the state of the input box where the focus is located, satisfying a predetermined condition includes: the input box where the focus is located is empty. 如申請專利範圍第11項所述的方法,其中,當所述指定場景資訊包括鍵盤類型資訊時,所述滿足預定條件,包括:所述鍵盤的類型為數字鍵盤類型;或所述鍵盤類型為非數字鍵盤類型、且所述訊息的接收時刻以及所述非數字鍵盤的彈起時刻的時間間隔的絕對值小於預設值。 The method according to item 11 of the scope of patent application, wherein, when the designated scene information includes keyboard type information, the satisfying predetermined conditions includes: the type of the keyboard is a numeric keyboard type; or the type of the keyboard is The absolute value of the time interval between the non-numeric keyboard type and the receiving time of the message and the time when the non-numeric keyboard is up is less than a preset value. 如申請專利範圍第1項所述的方法,其中,在輸入法介面顯示所述驗證資訊之後,所述方法還包括:回應於使用者的操作,將所述驗證資訊發送給所述應用的伺服器。 The method described in item 1 of the scope of patent application, wherein, after the verification information is displayed on the input method interface, the method further includes: in response to a user's operation, sending the verification information to the server of the application Device. 如申請專利範圍第1項所述的方法,其中,在輸入法介面顯示所述驗證資訊後,所述方法還包括:從所述驗證資訊展示在輸入法介面起的設定時間長度內,若沒有接收到使用者的操作,則刪除所述輸入法介面中的所述驗證資訊。 The method described in item 1 of the scope of patent application, wherein after the verification information is displayed on the input method interface, the method further includes: within a set time period from the display of the verification information on the input method interface, if there is no If the user's operation is received, the verification information in the input method interface is deleted. 一種驗證資訊的處理裝置,應用於對使用者進行身份驗證的過程中,包括:驗證資訊獲取單元,用於獲取接收的訊息中包含的驗證資訊;驗證資訊顯示單元,用於在輸入法介面顯示所述驗證 資訊,並且回應於使用者的操作,將所述輸入法介面顯示的所述驗證資訊中的驗證碼內容,輸入到焦點所在的輸入框。 A processing device for verifying information, which is used in the process of authenticating a user, includes: a verification information acquisition unit for acquiring verification information contained in a received message; a verification information display unit for displaying on an input method interface Said verification In response to the user's operation, input the verification code content in the verification information displayed on the input method interface into the input box where the focus is located. 如申請專利範圍第16項所述的裝置,其中,驗證資訊顯示單元,用於:將所述驗證資訊作為輸入法的候選項,顯示在所述輸入法介面。 The device described in item 16 of the scope of patent application, wherein the verification information display unit is used to display the verification information as a candidate for the input method on the input method interface. 如申請專利範圍第16項所述的裝置,其中,驗證資訊顯示單元,還用於:在輸入法介面顯示以下至少一項資訊:所述訊息中包括的時間資訊;其中,所述時間資訊為與驗證資訊的有效期相關的資訊;所述驗證資訊的提供物件資訊。 For the device described in item 16 of the scope of patent application, wherein the verification information display unit is further used to: display at least one of the following information on the input method interface: the time information included in the message; wherein, the time information is Information related to the validity period of the verification information; the provided object information of the verification information. 如申請專利範圍第16項所述的裝置,其中,驗證資訊顯示單元,用於:在確定具備驗證資訊顯示條件後,在輸入法介面顯示所述驗證資訊。 For the device described in item 16 of the scope of patent application, the verification information display unit is configured to display the verification information on the input method interface after confirming that the verification information display conditions are met. 如申請專利範圍第19項所述的裝置,其中,具備驗證資訊顯示條件,包括下述至少一種:與所述驗證資訊相關的資訊滿足預定條件;獲取的指定場景資訊與預定的場景資訊相匹配。 The device according to item 19 of the scope of patent application, wherein the verification information display condition is provided, including at least one of the following: information related to the verification information satisfies a predetermined condition; the acquired designated scene information matches the predetermined scene information . 如申請專利範圍第20項所述的裝置,其中,與所述驗證資訊相關的資訊,包括下述至少一種:所述驗證資訊的輸入有效期資訊; 所述驗證資訊的提供物件資訊。 The device according to item 20 of the scope of patent application, wherein the information related to the verification information includes at least one of the following: input validity period information of the verification information; The provided object information of the verification information. 如申請專利範圍第21項所述的裝置,其中,所述驗證資訊的輸入有效期資訊,根據所述訊息的接收時間以及所述訊息中包括的時間資訊確定。 The device according to item 21 of the scope of patent application, wherein the input validity period information of the verification information is determined based on the receiving time of the message and the time information included in the message. 如申請專利範圍第21項所述的裝置,其中,所述驗證資訊的提供物件資訊根據所述訊息的發送方確定。 The device according to item 21 of the scope of patent application, wherein the provision object information of the verification information is determined according to the sender of the message. 如申請專利範圍第21項所述的裝置,其中,驗證資訊顯示單元,用於:當與所述驗證資訊相關的資訊包括所述驗證資訊的輸入有效期資訊時,確定所述驗證資訊的有效期未過期的驗證資訊,滿足所述預定條件。 The device described in item 21 of the scope of patent application, wherein the verification information display unit is configured to: when the information related to the verification information includes the input validity period information of the verification information, determine that the validity period of the verification information has not expired. The expired verification information satisfies the predetermined condition. 如申請專利範圍第21項所述的裝置,其中,驗證資訊顯示單元,用於:當與所述驗證資訊相關的資訊包括所述驗證資訊的提供物件資訊時,確定所述提供物件為所述輸入法介面所在介面對應的應用的驗證資訊,滿足所述預定條件。 The device according to item 21 of the scope of patent application, wherein the verification information display unit is configured to: when the information related to the verification information includes the provided object information of the verification information, determine that the provided object is the The verification information of the application corresponding to the interface where the input method interface is located satisfies the predetermined condition. 如申請專利範圍第20項所述的裝置,其中,所述指定場景資訊,包括下述至少一種:焦點所在輸入框的狀態;鍵盤類型資訊。 The device according to item 20 of the scope of patent application, wherein the designated scene information includes at least one of the following: the state of the input box where the focus is located; and keyboard type information. 如申請專利範圍第26項所述的裝置,其中,驗證資訊顯示單元,用於:當所述指定場景資訊包括鍵盤類型資訊時,確定所述焦點所在輸入框為空,滿足預定條件。 The device described in item 26 of the scope of patent application, wherein the verification information display unit is configured to: when the designated scene information includes keyboard type information, determine that the input box where the focus is located is empty and meet a predetermined condition. 如申請專利範圍第26項所述的裝置,其中,驗證資訊顯示單元,用於:當所述指定場景資訊包括鍵盤類型資訊時,確定所述鍵盤的類型為數字鍵盤類型,滿足預定條件;或所述鍵盤類型為非數字鍵盤類型、且所述訊息的接收時刻以及所述非數字鍵盤的彈起時刻的時間間隔的絕對值小於預設值,滿足預定條件。 The device according to item 26 of the scope of patent application, wherein the verification information display unit is configured to: when the designated scene information includes keyboard type information, determine that the type of the keyboard is a numeric keyboard type, and meet a predetermined condition; or The keyboard type is a non-numeric keyboard type, and the absolute value of the time interval between the receiving time of the message and the pop-up time of the non-numeric keyboard is less than a preset value and meets a predetermined condition. 如申請專利範圍第16項所述的裝置,其中,驗證資訊顯示單元,用於:回應於使用者的操作,將所述驗證資訊發送給所述應用的伺服器。 The device described in item 16 of the scope of patent application, wherein the verification information display unit is configured to send the verification information to the server of the application in response to a user's operation. 如申請專利範圍第16項所述的裝置,其中,驗證資訊顯示單元,還用於:從所述驗證資訊展示在輸入法介面起的設定時間長度內,若沒有接收到使用者的操作,則刪除所述輸入法介面中的所述驗證資訊。 For example, the device described in item 16 of the scope of patent application, wherein the verification information display unit is also used to: within a set time period from the display of the verification information on the input method interface, if no user's operation is received, then Delete the verification information in the input method interface. 一種驗證資訊的處理裝置,應用於對使用者進行身份驗證的過程中,包括:記憶體,用於儲存程式指令;處理器,耦接到所述記憶體,用於讀取所述記憶體儲存的程式指令,並作為回應,執行如下操作:獲取接收的訊息中包含的驗證資訊;在輸入法介面顯示所述驗證資訊;回應於使用者的操作,將所述輸入法介面顯示的所述驗證資訊中的驗證碼內容,輸入到焦點所在的輸入框。 A processing device for verifying information, applied in the process of authenticating a user, includes: a memory for storing program instructions; a processor, coupled to the memory, for reading the memory storage In response, perform the following operations: obtain the verification information contained in the received message; display the verification information on the input method interface; respond to the user's operation, display the verification on the input method interface The content of the verification code in the information is entered into the input box where the focus is located.
TW106102480A 2017-01-23 2017-01-23 Method and device for processing verification information TWI731924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106102480A TWI731924B (en) 2017-01-23 2017-01-23 Method and device for processing verification information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106102480A TWI731924B (en) 2017-01-23 2017-01-23 Method and device for processing verification information

Publications (2)

Publication Number Publication Date
TW201828185A TW201828185A (en) 2018-08-01
TWI731924B true TWI731924B (en) 2021-07-01

Family

ID=63960205

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106102480A TWI731924B (en) 2017-01-23 2017-01-23 Method and device for processing verification information

Country Status (1)

Country Link
TW (1) TWI731924B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180505A1 (en) * 2006-02-01 2007-08-02 Xerox Corporation Dynamic collation of domain for user authentication on existing devices
JP2011209971A (en) * 2010-03-29 2011-10-20 Canon It Solutions Inc Test support apparatus, test support system, control method, program and recording medium
US20130139239A1 (en) * 2011-11-29 2013-05-30 Telesign Corporation Dual code authentication system
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103902740A (en) * 2014-04-22 2014-07-02 锤子科技(北京)有限公司 Short message authentication code residing method and device
CN104935744A (en) * 2015-06-10 2015-09-23 腾讯科技(深圳)有限公司 Verification code display method, verification code display device and mobile terminal
TW201601083A (en) * 2014-06-24 2016-01-01 Beijing Anxunben Science & Technology Co Ltd One-time password generation method and device, authentication method and authentication system
TW201610880A (en) * 2014-09-15 2016-03-16 Chunghwa Telecom Co Ltd Online transaction security element, electronic device and method thereof
US20160241530A1 (en) * 2015-02-12 2016-08-18 Vonage Network Llc Systems and methods for managing access to message content

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180505A1 (en) * 2006-02-01 2007-08-02 Xerox Corporation Dynamic collation of domain for user authentication on existing devices
JP2011209971A (en) * 2010-03-29 2011-10-20 Canon It Solutions Inc Test support apparatus, test support system, control method, program and recording medium
US20130139239A1 (en) * 2011-11-29 2013-05-30 Telesign Corporation Dual code authentication system
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103902740A (en) * 2014-04-22 2014-07-02 锤子科技(北京)有限公司 Short message authentication code residing method and device
TW201601083A (en) * 2014-06-24 2016-01-01 Beijing Anxunben Science & Technology Co Ltd One-time password generation method and device, authentication method and authentication system
TW201610880A (en) * 2014-09-15 2016-03-16 Chunghwa Telecom Co Ltd Online transaction security element, electronic device and method thereof
US20160241530A1 (en) * 2015-02-12 2016-08-18 Vonage Network Llc Systems and methods for managing access to message content
CN104935744A (en) * 2015-06-10 2015-09-23 腾讯科技(深圳)有限公司 Verification code display method, verification code display device and mobile terminal

Also Published As

Publication number Publication date
TW201828185A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
US10467622B1 (en) Using on-demand applications to generate virtual numbers for a contactless card to securely autofill forms
CN103546877B (en) A kind of method, system and mobile terminal obtaining simultaneously input content code
KR102107560B1 (en) Method, device, terminal, and server for verifying security of service operation
WO2017097144A1 (en) Verification information processing method and device
CN104580112B (en) A kind of service authentication method, system and server
CN114006718A (en) Verification code obtaining method, device and terminal
CN109754515B (en) Queuing system and queuing data processing method
CN106940674B (en) Method and device for triggering target event in mobile terminal
CN109787959B (en) Account information processing method and related device
CN108574721B (en) Login method, device, server, user terminal and readable storage medium
CN111835714A (en) Information verification processing method, client and server
US20230409827A1 (en) Utilizing natural language processing to automatically perform multi-factor authentication
CN111651749A (en) Method and device for finding account based on password, computer equipment and storage medium
US10044874B2 (en) Telephone number based information loading method and device
CN107679383B (en) Identity verification method and device based on geographic position and touch area
CN112153059A (en) Mail verification code acquisition method and device, electronic equipment and storage medium
CN115426624B (en) Automatic login method, device, equipment and storage medium
TWI731924B (en) Method and device for processing verification information
CN107483534B (en) Service processing method and device
CN113873450B (en) Short message configuration method, device, computer equipment and storage medium
WO2017206251A1 (en) Method and device for freezing application
CN103200246A (en) Network access control method and system based on dependable computing
CN117395008A (en) Certificate monitoring method, system, computer equipment and storage medium
CN106156648B (en) Sensitive operation processing method and device
CN114501426A (en) Information processing method, information processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees