TWI735756B - Account management method and device - Google Patents

Account management method and device Download PDF

Info

Publication number
TWI735756B
TWI735756B TW107107573A TW107107573A TWI735756B TW I735756 B TWI735756 B TW I735756B TW 107107573 A TW107107573 A TW 107107573A TW 107107573 A TW107107573 A TW 107107573A TW I735756 B TWI735756 B TW I735756B
Authority
TW
Taiwan
Prior art keywords
preset
account
mode
client
action
Prior art date
Application number
TW107107573A
Other languages
Chinese (zh)
Other versions
TW201905753A (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 開曼群島商創新先進技術有限公司
Publication of TW201905753A publication Critical patent/TW201905753A/en
Application granted granted Critical
Publication of TWI735756B publication Critical patent/TWI735756B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

公開一種帳戶管理方法,包括:調用該光線傳感硬體採集光線值;判斷採集到的光線值是否低於預設閾值;如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。An account management method is disclosed, including: invoking the light sensing hardware to collect light values; judging whether the collected light values are lower than a preset threshold; if the collected light values are lower than the preset threshold, logging in to the client The account is switched to the preset mode; and, if the collected light value is not lower than the preset threshold, when the login account of the client has been switched to the preset mode by the user, the login account is switched from the preset mode To normal mode.

Description

帳戶管理方法及裝置Account management method and device

本說明書涉及電腦應用領域,尤其涉及一種帳戶管理方法及裝置。This manual relates to the field of computer applications, in particular to an account management method and device.

帳戶保護模式,是指當用戶在客戶端上的登錄帳戶存在異常時,及時的對該登錄帳戶進行安全防護,對與該登錄帳戶相關的一些特定的用戶權限進行限制的業務模式。在實際應用中,通過將用戶在客戶端上的登錄帳戶,切換至帳戶保護模式,通常可以提升用戶的登錄帳戶的安全性;例如,以用戶的支付帳戶為例,當用戶的支付帳戶存在異常時(比如被盜號),將用戶的支付帳戶及時切換至帳戶保護模式,可以臨時限制該支付帳戶的資金轉出,從而可以在用戶的支付帳戶存在盜用風險時,起到保護用戶的資金的目的。The account protection mode refers to a business mode in which when the user's login account on the client is abnormal, the login account is protected in a timely manner, and some specific user rights related to the login account are restricted. In practical applications, by switching the user's login account on the client to the account protection mode, the security of the user's login account can usually be improved; for example, taking the user's payment account as an example, when the user's payment account is abnormal When the user's payment account is stolen, the user's payment account can be switched to the account protection mode in time, which can temporarily restrict the transfer of funds from the payment account, so as to protect the user's funds when the user's payment account is at risk of misappropriation .

本說明書提出一種帳戶管理方法,應用於客戶端,該方法包括:   調用該客戶端所在的終端設備上預設的光線傳感硬體採集光線值;   判斷採集到的光線值是否低於預設閾值;   如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,   如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   本說明書還提出一種帳戶管理裝置,應用於客戶端,該裝置包括:   採集模組,調用該客戶端所在的終端設備上預設的光線傳感硬體採集光線值;   判斷模組,判斷採集到的光線值是否低於預設閾值;   切換模組,如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   本說明書中,提出一種針對用戶在客戶端上的登錄帳戶快捷的進行模式切換的交互方式;客戶端通過調用所在的終端設備搭載的光線傳感硬體,採集用戶所處環境中的光線值,並判斷採集到的光線值是否低於預設閾值;如果採集到的光線值低於預設閾值,則可以將該客戶端的登錄帳戶由正常模式切換至預設模式;以及,如果採集到的光線值不低於預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式,從而實現了可以基於採集到的光線值的大小,對客戶端的登錄帳戶的帳戶模式進行快捷的切換,可以避免用戶在需要對登錄帳戶進行模式切換時進行複雜的手動配置。This manual proposes an account management method to be applied to the client. The method includes:    calling the preset light sensing hardware on the terminal device where the client is located to collect the light value;    judging whether the collected light value is lower than the preset threshold  If the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode; When the user switches to the preset mode, the login account is switched from the preset mode to the normal mode. This manual also proposes an account management device, applied to the client, the device includes:    collection module, calling the preset light sensing hardware on the terminal device where the client is located to collect the light value;    judging module, judging the collected light Whether the light value of the device is lower than the preset threshold;    switch module, if the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode; and, if the collected light value is not lower than The preset threshold, when the login account of the client terminal has been switched to the preset mode by the user, the login account is switched from the preset mode to the normal mode. In this manual, an interactive mode is proposed for the user's login account on the client to quickly switch modes; the client collects the light value in the user's environment by calling the light sensing hardware carried by the terminal device where it is located, And judge whether the collected light value is lower than the preset threshold; if the collected light value is lower than the preset threshold, you can switch the login account of the client from the normal mode to the preset mode; and, if the collected light If the value is not lower than the preset threshold, when the login account of the client has been switched to the preset mode by the user, the login account will be switched from the preset mode to the normal mode, thus realizing the detection based on the collected light value It can quickly switch the account mode of the client's login account, which can avoid the user from performing complicated manual configuration when the user needs to switch the mode of the login account.

本說明書旨在提出一種針對用戶在客戶端上的登錄帳戶快捷的進行模式切換的交互方式。   在實現時,客戶端通過調用所在的終端設備搭載的光線傳感硬體,採集用戶所處環境中的光線值,並判斷採集到的光線值是否低於預設閾值;如果採集到的光線值低於預設閾值,則可以將該客戶端的登錄帳戶由正常模式切換至預設模式;以及,如果採集到的光線值不低於預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式,從而實現了可以基於採集到的光線值的大小,對客戶端的登錄帳戶的帳戶模式進行快捷的切換,可以避免用戶在需要對登錄帳戶進行模式切換時進行複雜的手動配置。   下面通過具體實施例並結合具體的應用場景進行詳細描述。   請參考圖1,圖1是本說明書一實施例提供的一種帳戶管理方法,應用於客戶端,該方法執行以下步驟:   步驟102,調用該光線傳感硬體採集光線值;   步驟104,判斷採集到的光線值是否低於預設閾值;   步驟106,如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   上述登錄帳戶,是指用戶登錄上述客戶端時,所使用的用戶帳戶;例如,在示出的一種實施方式中,上述登錄帳戶可以是用戶登錄支付客戶端所使用的支付帳戶。   上述客戶端,可以是指用戶的終端設備上安裝的可以面向用戶提供各種在線服務的客戶端軟體;其中,上述終端設備,可以是移動終端(比如智慧型手機),也可以是PC終端;等同的,上述客戶端可以是基於移動終端的APP應用,也可以是基於PC終端的web應用。   上述預設模式,是指相對於上述登錄帳戶的正常模式而言的被切換模式。例如,在示出的一種實施方式中,上述登錄帳戶可以是用戶的支付帳戶,而上述預設模式則可以是針對用戶的支付帳戶的帳戶保護模式;在帳戶保護模式下,可以臨時對支付帳戶的資金轉出功能進行限制。   其中,需要說明的是,在實際應用中,上述預設模式所對應的模式類型,在本說明書中不進行特別限定,可以基於用戶實際的需求進行定義;即在本說明書中,上述客戶端可以通過執行步驟102-106中示出的執行邏輯,將上述登錄用戶在任意兩種帳戶模式下進行切換。   以下以上述終端設備為移動終端,以及上述客戶端為安裝在移動終端上的APP應用為例,對本說明書的技術方案進行詳細說明。   在本實施例中,用戶的移動終端上,可以預先安裝上述APP應用,並搭載光線傳感硬體。其中,上述光線傳感硬體,具體可以是光線傳感器;同時,為了方便上述APP對上述光線傳感硬體進行調用,在移動終端的操作系統中還可以預先提供對應於該光線傳感硬體的調用介面;比如,開發者可以預先在操作系統的源代碼中,面向移動終端所搭載的光線傳感硬體,開發獨立的API調用介面。   而上述APP應用,可以通過上述調用介面,在後台實時的或者週期性的發起對光線傳感硬體的調用,來採集用戶所處環境下的光線值,並將採集到的光線值與預設閾值進行比較,來判斷採集到的光線值是否低於預設閾值。   其中,上述預設閾值,在本說明書中也不進行特別限定,在實際應用中,可以根據實際的需求進行統一配置,或者通過在上述APP應用中提供相應的用戶選項,由用戶自主的進行自定義配置;例如,在實現時,上述預設閾值,可以設置為0,或者與0接近的一個較小的閾值。   一方面,如果判斷出檢測到的光線值小於上述預設閾值,此時上述APP應用可以立即將用戶的登錄帳戶,切換至預設模式;   另一方面,如果判斷出檢測到的光線值不小於上述預設閾值,此時上述APP應用可以進一步檢查用戶的登錄帳戶當前是否已經被切換至預設模式;   如果用戶的登錄帳戶當前已經被切換至預設模式,此時上述APP應用可以立即對該登錄帳戶的模式進行恢復,將該登錄帳戶的模式由預設模式切換至正常模式。當然,如果用戶的登錄帳戶當前未被切換為預設模式,此時上述APP應用可以不進行任何處理。   例如,以上述登錄帳戶為支付帳戶,上述APP應用為支付APP應用為例,在這種情況下,上述預設模式具體可以是針對用戶的支付帳戶的帳戶保護模式。   一方面,如果上述支付APP應用判斷出通過調用移動終端搭載的光線傳感硬體採集到的光線值小於預設閾值,此時可以立即將用戶當前已經成功登錄的該支付帳戶,由當前的模式切換至帳戶保護模式,對該支付帳戶的資金轉出功能進行臨時的限制。   另一方面,如果上述支付APP應用判斷出通過調用移動終端搭載的光線傳感硬體採集到的光線值不小於預設閾值,此時上述APP應用可以進一步檢查用戶的登錄帳戶當前是否已經被切換至帳戶保護模式;如果用戶的登錄帳戶當前已經被切換至帳戶保護模式,此時上述APP應用可以立即對該登錄帳戶的帳戶模式進行恢復,將該登錄帳戶的模式由帳戶保護模式切換至正常模式,將針對該支付帳戶的資金轉出功能的限制解除。   其中,需要說明的是,上述APP應用在對上述登錄帳戶的帳戶模式進行切換時,具體可以通過與對應的服務端進行交互來完成;當上述APP應用需要對上述登錄帳戶進行模式切換時,可以向對應的服務端發送一個模式切換的通知消息,並在該通知消息攜帶需要切換的目標模式的相關資訊,由服務端基於該模式切換的通知消息,在後台完成上述登錄帳戶的模式切換。   例如,以將用戶的支付帳戶切換至帳戶保護模式為例,上述APP應用可以向對應的服務端發送一個將該支付帳戶切換至帳戶保護模式的通知消息;而服務端在收到該通知消息後,可以基於該通知消息中攜帶的資訊,在後台將上述支付帳戶切換為帳戶保護模式。   可見,通過這種方式,使得上述APP應用可以將採集到的光線值的變化,作為對用戶的登錄帳戶進行帳戶模式切換的觸發條件,基於採集到的光線值的大小,對用戶在登錄APP應用時所使用的登錄帳戶的帳戶模式,進行快捷的切換,進而可以避免用戶在需要對登錄帳戶進行模式切換時進行複雜的手動配置。   例如,以將用戶的支付帳戶切換至帳戶保護模式為例,用戶在使用終端設備上安裝的支付客戶端登錄支付帳戶後,如果需要將該支付帳戶主動切換至帳戶保護模式,臨時限制該支付帳戶的資金轉出,那麼此時用戶可以通過執行“反扣”動作,將終端設備翻轉,使得該終端設備搭載的光線傳感硬體翻轉到無法檢測到光線的一側;而支付客戶端可以調用該終端設備上搭載的該光線傳感硬體,實時的檢測光線值,並判斷檢測到的光線值是否小於預設閾值;由於用戶通過“反扣”動作將終端設備翻轉後,終端設備搭載的光線傳感硬體無法檢測到光線,因此支付客戶端在確定檢測到的光線值小於預設閾值時,可以立即將該支付帳戶切換至帳戶保護模式,來臨時限制該支付帳戶的資金轉出。   可見,通過這種方式,能夠為用戶提供了一種可控又方便的帳戶保護模式,既可以滿足用戶對帳戶安全的需求,又不會增加用戶的操作難度,因此可以顯著的提升用戶體驗。   在本實施例中,由於上述APP應用所採集到的光線值的變化,可能是由於用戶在使用移動終端的過程中,通過對移動終端刻意的執行了相應的動作導致的,也可能是由於用戶所處環境的光線自然變化導致的;因此,在實際應用中,如果上述APP應用僅僅將採集到的光線值的變化,作為帳戶模式切換的觸發條件,來完成針對用戶的登錄帳戶的帳戶模式的快捷切換,則可能會出現誤操作的情況。   例如,如果攜帶移動終端進入了一個光線較弱的目標場所中後,此時用戶所處的環境的光線通常會發生變化;在這種情況下,如果該目標場所所處環境中的光線值低於預設閾值,滿足了帳戶模式切換的觸發條件,那麼上述APP應用就有可能在用戶沒有對登錄帳戶進行模式切換的需求時,錯誤的將該登錄帳戶切換至預設模式。   為了解決上述問題,可以在以上描述的通過判斷採集到的光線值是否低於預設閾值的基礎上,在上述APP應用中進一步引入針對用戶的動作識別機制,使得上述APP應用在對用戶的登錄帳戶進行模式切換時,不僅僅需要參考採集到的光線值的大小是否小於上述預設閾值的判斷結果,而且還需要進一步判斷光線值的變化,是否是由於用戶刻意的針對移動終端執行了某種動作而導致的,從而可以最大程度的降低誤操作的可能。   在實現時,上述移動終端除了可以搭載光線傳感硬體以外,還可以搭載相應的運動傳感硬體。其中,上述運動傳感硬體,具體可以包括陀螺儀、角速度傳感器,等等。   通過搭載的運動傳感硬體,可以準確的感應到移動終端的轉動角度以及速度等運動資料,進而可以精准的識別出用戶在使用移動終端時,針對該移動終端所執行的操作動作。   類似的,在上述移動終端的操作系統中,也可以預先提供供對應於該運動傳感硬體的調用介面。上述APP應用調用上述光線傳感硬體採集光線值的過程中,也可以通過該調用介面來同步調用上述運動傳感硬體,實時的或者週期性的採集用戶在使用移動終端的過程中,該移動終端的運動資料(比如轉動的角度以及速度,等等),然後基於採集到的運動資料,來識別用戶在使用該移動終端的過程中所執行的操作動作。   其中,基於採集到的移動終端的運動資料,來識別用戶在使用移動終端的過程中所執行的操作動作的具體過程,在本說明書中不再進行詳述,本領域技術人員在將本說明書中的技術方案付諸實現時,可以參考相關技術中的記載;   例如,在一種實現方式中,上述APP應用可以提前在後台採集用戶在針對移動終端執行各種預定義的標準動作時,移動終端的運動資料,並將採集到的運動資料作為運動資料樣本進行記錄。當需要識別用戶在使用移動終端的過程中,針對移動終端執行的操作動作時,可以將採集到的運動資料,與預先記錄的對應於各種標準動作的運動資料樣本進行匹配,來確定出用戶針對移動終端執行的操作動作。   在本實施例中,當上述APP應用判斷出採集到的光線值低於預設閾值,或者判斷出採集到的光線值不低於預設閾值時,此時上述APP應用可以進一步判斷識別出的用戶針對移動終端所執行的操作動作是否為預設動作;   其中,上述預設動作,具體可以包括用戶在使用上述移動終端的過程中,針對上述移動終端所執行的能夠導致採集到的光線值發生變化的操作動作。在實際應用中,上述預設動作可以進一步包括,能夠導致採集到的光線值下降的第一預設動作,以及能夠導致採集到的光線值上升的第二預設動作。   在示出的一種實施方式中,上述第一預設動作,具體可以是相對於光線傳感硬體在上述移動終端上的安裝表面的向下翻動動作;而上述第二預設動作,具體可以是相對於該光線傳感硬體在該終端設備上的安裝表面的向上翻動動作。   例如,以上述移動終端為智慧型手機為例,假設光線傳感器安裝在智慧型手機的螢幕上方的攝影鏡頭處,那麼上述第一預設動作,則可以是用戶在使用智慧型手機時,將智慧型手機的螢幕所在表面的向下翻動動作(即將智慧型手機的螢幕“反扣”,將光線傳感器翻轉到無法檢測到光線的一側的動作)。而上述第二預設動作,則可以是用戶在使用智慧型手機時,將智慧型手機的螢幕所在表面的向上翻動動作(即將智慧型手機的螢幕從“反扣”狀態翻轉到螢幕朝上的動作)。   一方面,如果上述APP應用判斷出採集到的光線值低於預設閾值,此時上述APP應用可以進一步判斷出識別出的操作動作是否為上述第一預設動作;   如果識別出的操作動作為上述第一預設動作,此時表明採集到的光線值的降低,可能是由用戶針對移動終端執行上述第一預設動作所導致的,在這種情況下,上述APP應用可以立即將用戶的登錄帳戶由當前模式切換至上述預設模式。   當然,如果識別出的操作動作不是上述第一預設動作,此時採集到的光線值的降低,很可能是由於用戶所處環境的光線值的自然變化而導致的,在這種情況下,用戶很可能並不具有對登錄帳戶進行模式切換的需求,因此上述APP應用可以不對上述登陸帳戶的帳戶模式進行切換。   另一方面,如果上述APP應用判斷出採集到的光線值不低於預設閾值,並且用戶的登錄帳戶當前已被切換至預設模式,此時上述APP應用可以進一步判斷出識別出的操作動作是否為上述第二預設動作。   如果識別出的操作動作為上述第二預設動作,此時表明採集到的光線值的上升,可能是由用戶針對移動終端執行上述第二預設動作所導致的,在這種情況下,上述APP應用可以立即將用戶的登錄帳戶由上述預設模式切換至正常模式。   當然,如果識別出的操作動作不是上述第二預設動作,此時採集到的光線值的上升,也很可能是由於用戶所處環境的光線值的自然變化而導致的,在這種情況下,用戶很可能並不具有對登錄帳戶進行模式切換的需求,因此上述APP應用也可以不對上述登陸帳戶的帳戶模式進行切換。   例如,以上述登錄帳戶為支付帳戶,上述APP應用為支付APP應用,上述移動終端為智慧型手機為例;在這種情況下,上述預設模式具體可以是針對用戶的支付帳戶的帳戶保護模式。   假設光線傳感器安裝在智慧型手機的螢幕上方的攝影鏡頭處,此時上述第一預設動作可以是將智慧型手機的螢幕“反扣”的動作,上述第二預設動作可以是將智慧型手機的螢幕由“反扣”狀態翻轉到螢幕朝上的動作。   在一種場景下,如果用戶需要快捷的將支付帳戶切換至帳戶保護模式,此時可以針對智慧型手機的螢幕執行“反扣”動作;一方面,上述支付APP應用可以在後台調用光線傳感硬體採集光線值,並判斷採集到的光線值是否低於預設閾值;另一方面,上述支付APP應用可以同步調用運動傳感硬體,採集移動終端的運動資料,並基於採集到的運動資料識別用戶在使用該移動終端時的操作動作,以及判斷識別出的操作動作是否為上述第一預設動作;如果上述支付APP應用判斷出採集到的光線值低於預設閾值,並且識別出的操作動作為上述第一預設動作時,此時可以立即將用戶的支付帳戶切換至帳戶保護模式,對該支付帳戶的資金轉出功能進行限制。   在另一種場景下,如果用戶需要快捷的將支付帳戶由帳戶保護模式回復到正常模式,此時可以針對智慧型手機的螢幕執行由“反扣”狀態翻轉到螢幕朝上的動作;一方面,上述支付APP應用仍然可以在後台調用光線傳感硬體採集光線值,並判斷採集到的光線值是否大於或者等於預設閾值;另一方面,上述支付APP應用可以同步調用運動傳感硬體,採集移動終端的運動資料,並基於採集到的運動資料識別用戶在使用該移動終端時的操作動作,以及判斷識別出的操作動作是否為上述第二預設動作;如果上述支付APP應用判斷出採集到的光線值大於或者等於預設閾值,並且識別出的操作動作為上述第二預設動作時,此時可以立即將用戶的支付帳戶由帳戶保護模式切換至正常模式,解除對該支付帳戶的資金轉出功能的限制。   可見,通過在以上描述的判斷採集到的光線值是否低於預設閾值的基礎上,在上述APP應用中進一步引入針對用戶的動作識別機制,可以確保對登錄帳戶的帳戶模式切換,是由用戶主動發起的,因此可以規避由於用戶所處環境中光線的自然變化而造成的誤操作。   另外,需要說明的是,由於在實際應用中,用戶的登錄帳戶,通常可以在多個終端上同時進行登錄;例如,同時在移動終端上的APP應用,以及PC終端上的web客戶端同時登錄;   因此,在這種情況下,上述APP應用在針對用戶的登錄帳戶進行切換時,可以進一步向對應的服務端查詢當前的登錄帳戶是否同時在多個終端上登錄;如果是,此時上述APP應用可以僅將該登錄帳戶對應的帳戶模式在移動終端上切換為預設模式,而不對該登錄帳戶對應的帳戶模式在其它的登錄終端上的帳戶模式進行切換。   例如,以將用戶的支付帳戶在移動終端上切換至帳戶保護模式為例,上述APP應用可以向對應的服務端發送一個將該支付帳戶在移動終端上切換至帳戶保護模式的通知消息;而服務端在收到該通知消息後,可以基於該通知消息中攜帶的資訊,在後台將上述支付帳戶在移動終端上切換為帳戶保護模式,限制該支付帳戶的資金轉出功能。當切換完成後,任何人通過移動終端登錄該支付帳戶後,都無法取得將該支付帳戶中的資金轉出的權限。   當然,如果當前的登錄帳戶僅在移動終端上登錄,那麼上述APP應用可以直接將該登錄帳戶對應的帳戶模式切換為帳戶保護模式即可,不再贅述。   需要補充說明的是,以上以上述終端設備為移動終端,以及上述客戶端為安裝在移動終端上的APP應用為例,對本說明書的技術方案進行了詳細說明。需要強調的是,在實際應用中,上述終端設備也可以是PC終端,而上述客戶端也可以是安裝在PC終端上的web客戶端,其具體的實施過程在本說明書中不再贅述,本領域技術人員在將本說明書的技術方案付諸實現時,可以參考以上實施例中描述的實施過程。   與上述方法實施例相對應,本說明書還提供了一種帳戶管理裝置的實施例。   本說明書的帳戶管理裝置的實施例可以應用在電子設備上。裝置實施例可以通過軟體實現,也可以通過硬體或者軟硬體結合的方式實現。以軟體實現為例,作為一個邏輯意義上的裝置,是通過其所在電子設備的處理器將非揮發性記憶體中對應的電腦程序指令讀取到記憶體中運行形成的。從硬體層面而言,如圖2所示,為本說明書的帳戶管理裝置所在電子設備的一種硬體結構圖,除了圖2所示的處理器、記憶體、網路介面、以及非揮發性記憶體之外,實施例中裝置所在的電子設備通常根據該電子設備的實際功能,還可以包括其他硬體,對此不再贅述。   圖3是本說明書一示例性實施例示出的一種帳戶管理裝置的方塊圖。   請參考圖3,該帳戶管理裝置30可以應用在前述圖2所示的電子設備中,包括有:採集模組301、判斷模組302、切換模組303和標記模組。   其中,採集模組301,調用該光線傳感硬體採集光線值;   判斷模組302,判斷採集到的光線值是否低於預設閾值;   切換模組303,如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   在本實施例中,該採集模組301進一步用於:   調用預設的運動傳感硬體採集該終端設備的運動資料;   該裝置30還包括:   識別模組304(圖3中未示出),基於該運動資料識別用戶在使用該終端設備時的操作動作。   在本實施例中,該切換模組303:   判斷該識別模組304識別出的該操作動作是否為第一預設動作;   如果是,將該客戶端的登錄帳戶由正常模式切換至預設模式。   該切換模組303進一步:   判斷該識別模組識別304出的該操作動作是否為第二預設動作;   如果是,將該登錄帳戶由該預設模式切換至正常模式。   在本實施例中,該終端設備為移動終端;該第一預設動作包括相對於該光線傳感硬體在該終端設備上的安裝表面的向下翻動動作;該第二預設動作包括相對於該光線傳感硬體在該終端設備上的安裝表面的向上翻動動作。   在本實施例中,該帳戶為支付帳戶;該預設模式為針對支付帳戶的帳戶保護模式。   上述裝置中各個模組的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。   對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中該作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本發明方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。   上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦,電腦的具體形式可以是個人電腦、筆記型電腦、行動電話、相機電話、智慧型電話、個人數位助理、媒體播放器、導航設備、電子郵件收發設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任意幾種設備的組合。   與上述方法實施例相對應,本發明還提供了一種帳戶管理設備的實施例。該帳戶管理設備包括:處理器以及用於儲存機器可執行指令的記憶體;其中,處理器和記憶體通常通過內部匯流排相互連接。在其他可能的實現方式中,該設備還可能包括外部介面,以能夠與其他設備或者部件進行通信。   在本實施例中,通過讀取並執行該記憶體儲存的與資料庫損壞的恢復的控制邏輯對應的機器可執行指令,該處理器被促使:   調用該光線傳感硬體採集光線值;   判斷採集到的光線值是否低於預設閾值;   如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,   如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   在本實施例中,通過讀取並執行該記憶體儲存的與資料庫損壞的恢復的控制邏輯對應的機器可執行指令,該處理器還被促使:   調用預設的運動傳感硬體採集該終端設備的運動資料;   基於該運動資料識別用戶在使用該終端設備時的操作動作。   在本實施例中,通過讀取並執行該記憶體儲存的與資料庫損壞的恢復的控制邏輯對應的機器可執行指令,該處理器還被促使:   判斷識別出的該操作動作是否為第一預設動作;   如果是,將該客戶端的登錄帳戶由正常模式切換至預設模式。   在本實施例中,通過讀取並執行該記憶體儲存的與資料庫損壞的恢復的控制邏輯對應的機器可執行指令,該處理器還被促使:   判斷識別出的該操作動作是否為第二預設動作;   如果是,將該登錄帳戶由該預設模式切換至正常模式。   在本實施例中,該終端設備為移動終端;該第一預設動作為相對於該光線傳感硬體在該終端設備上的安裝表面的向下翻動動作;該第二預設動作為相對於該光線傳感硬體在該終端設備上的安裝表面的向上翻動動作。   在本實施例中,該帳戶為支付帳戶;該預設模式為針對支付帳戶的帳戶保護模式。   本領域技術人員在考慮說明書及實踐這裡公開的發明後,將容易想到本發明的其它實施方案。本發明旨在涵蓋本發明的任何變型、用途或者適應性變化,這些變型、用途或者適應性變化遵循本發明的一般性原理並包括本發明未公開的本技術領域中的公知常識或慣用技術手段。說明書和實施例僅被視為示例性的,本發明的真正範圍和精神由下面的申請專利範圍指出。   應當理解的是,本發明並不局限於上面已經描述並在圖式中示出的精確結構,並且可以在不脫離其範圍進行各種修改和改變。本發明的範圍僅由所附的申請專利範圍來限制。   上述對本說明書特定實施例進行了描述。其它實施例在所附申請專利範圍的範圍內。在一些情況下,在申請專利範圍中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在圖式中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。在某些實施方式中,多任務處理和並行處理也是可以的或者可能是有利的。   對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中該作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本說明書方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。   上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦,電腦的具體形式可以是個人電腦、筆記型電腦、行動電話、相機電話、智慧型電話、個人數位助理、媒體播放器、導航設備、電子郵件收發設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任意幾種設備的組合。   本領域技術人員在考慮說明書及實踐這裡公開的發明後,將容易想到本說明書的其它實施方案。本說明書旨在涵蓋本說明書的任何變型、用途或者適應性變化,這些變型、用途或者適應性變化遵循本說明書的一般性原理並包括本說明書未公開的本技術領域中的公知常識或慣用技術手段。說明書和實施例僅被視為示例性的,本說明書的真正範圍和精神由下面的申請專利範圍指出。   應當理解的是,本說明書並不局限於上面已經描述並在圖式中示出的精確結構,並且可以在不脫離其範圍進行各種修改和改變。本說明書的範圍僅由所附的申請專利範圍來限制。   以上所述僅為本說明書的較佳實施例而已,並不用以限制本說明書,凡在本說明書的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本說明書保護的範圍之內。The purpose of this manual is to propose an interactive mode for quick mode switching for the user's login account on the client. In implementation, the client collects the light value in the environment where the user is located by calling the light sensing hardware on the terminal device where it is located, and judges whether the collected light value is lower than the preset threshold; if the collected light value is If it is lower than the preset threshold, the login account of the client can be switched from the normal mode to the preset mode; and if the collected light value is not lower than the preset threshold, the login account of the client has been switched to by the user In the preset mode, the login account is switched from the preset mode to the normal mode, so that the account mode of the client's login account can be quickly switched based on the size of the collected light value, which can prevent the user from needing to Perform complicated manual configuration when switching the mode of the login account.   The following is a detailed description through specific embodiments and combined with specific application scenarios. Please refer to Figure 1. Figure 1 is an account management method provided by an embodiment of this specification, applied to a client, and the method performs the following steps:    step 102, call the light sensor hardware to collect light values;    step 104, determine the collection Whether the received light value is lower than the preset threshold; Step 106, if the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode; and, if the collected light value is not lower than The preset threshold, when the login account of the client terminal has been switched to the preset mode by the user, the login account is switched from the preset mode to the normal mode.   The aforementioned login account refers to the user account used by the user when logging in to the client; for example, in the illustrated embodiment, the aforementioned login account may be the payment account used by the user to log in to the payment client. The above-mentioned client may refer to the client software installed on the user's terminal device that can provide various online services to the user; wherein, the above-mentioned terminal device may be a mobile terminal (such as a smart phone) or a PC terminal; equivalently Yes, the above-mentioned client can be an APP application based on a mobile terminal, or a web application based on a PC terminal.  The aforementioned preset mode refers to the switched mode relative to the normal mode of the aforementioned login account. For example, in an embodiment shown, the login account may be the user's payment account, and the preset mode may be an account protection mode for the user's payment account; in the account protection mode, the payment account can be temporarily The fund transfer function is restricted. Among them, it should be noted that in actual applications, the mode type corresponding to the above preset mode is not particularly limited in this specification, and can be defined based on the actual needs of the user; that is, in this specification, the above client can By executing the execution logic shown in steps 102-106, the above-mentioned logged-in user is switched between any two account modes.   The following takes the above-mentioned terminal device as a mobile terminal and the above-mentioned client as an APP application installed on the mobile terminal as an example to describe the technical solution of this specification in detail.   In this embodiment, the user's mobile terminal can be pre-installed with the above APP application and equipped with light sensing hardware. Wherein, the light sensing hardware may specifically be a light sensor; at the same time, in order to facilitate the above APP to call the light sensing hardware, the operating system of the mobile terminal may also provide the light sensing hardware in advance. For example, developers can develop an independent API call interface in the source code of the operating system in advance for the light sensing hardware carried by the mobile terminal. The above APP application can use the above calling interface to initiate real-time or periodic calls to the light sensing hardware in the background to collect the light value of the user's environment, and compare the collected light value with the preset The threshold value is compared to determine whether the collected light value is lower than the preset threshold value. Among them, the above preset threshold is not particularly limited in this specification. In actual applications, it can be configured in a unified manner according to actual needs, or by providing corresponding user options in the above APP application, the user can independently carry out self-determination. Define the configuration; for example, in implementation, the above preset threshold can be set to 0, or a smaller threshold close to 0. On the one hand, if it is determined that the detected light value is less than the above preset threshold, the above APP application can immediately switch the user's login account to the preset mode;    on the other hand, if it is determined that the detected light value is not less than The above preset threshold, at this time, the above APP application can further check whether the user's login account is currently switched to the preset mode;    If the user's login account is currently switched to the preset mode, the above APP application can immediately check The mode of the login account is restored, and the mode of the login account is switched from the preset mode to the normal mode. Of course, if the user's login account is not currently switched to the preset mode, the above APP application may not perform any processing at this time.   For example, taking the above login account as a payment account and the above APP application as a payment APP application as an example, in this case, the above preset mode may specifically be an account protection mode for the user's payment account. On the one hand, if the above payment APP application determines that the light value collected by calling the light sensing hardware on the mobile terminal is less than the preset threshold, the payment account that the user has currently successfully logged in can be immediately changed from the current mode Switch to the account protection mode, and temporarily restrict the fund transfer function of the payment account. On the other hand, if the above payment APP application determines that the light value collected by calling the light sensing hardware on the mobile terminal is not less than the preset threshold, the above APP application can further check whether the user's login account has been switched currently To account protection mode; if the user’s login account is currently switched to account protection mode, the above APP application can immediately restore the account mode of the login account, and switch the login account mode from account protection mode to normal mode , The restriction on the fund transfer function of the payment account will be lifted. Among them, it should be noted that when the above APP application switches the account mode of the above login account, it can be specifically completed by interacting with the corresponding server; when the above APP application needs to switch the mode of the above login account, you can A mode switching notification message is sent to the corresponding server, and the notification message carries relevant information about the target mode that needs to be switched, and the server completes the mode switching of the login account in the background based on the mode switching notification message. For example, taking the user’s payment account switch to the account protection mode as an example, the above APP application can send a notification message to the corresponding server to switch the payment account to the account protection mode; and the server receives the notification message , Based on the information carried in the notification message, the above payment account can be switched to the account protection mode in the background. It can be seen that in this way, the above APP application can use the changes in the collected light value as a trigger condition for switching the account mode of the user's login account. Based on the collected light value, the user can log in to the APP application. The account mode of the login account used at the time can be quickly switched, thereby avoiding the user from performing complicated manual configuration when the user needs to switch the mode of the login account. For example, take the user’s payment account switch to account protection mode as an example. After the user logs in to the payment account using the payment client installed on the terminal device, if he needs to actively switch the payment account to the account protection mode, temporarily restrict the payment account If the funds are transferred out, then the user can turn the terminal device over by performing the “reverse deduction” action, so that the light sensing hardware on the terminal device is turned over to the side where the light cannot be detected; and the payment client can call The light sensing hardware mounted on the terminal device detects the light value in real time and judges whether the detected light value is less than the preset threshold; after the user flips the terminal device through the "knock" action, the terminal device carries The light sensing hardware cannot detect the light, so when the payment client determines that the detected light value is less than the preset threshold, it can immediately switch the payment account to the account protection mode to temporarily restrict the transfer of funds from the payment account.  It can be seen that in this way, it can provide users with a controllable and convenient account protection mode, which can not only meet the user's account security needs, but will not increase the user's operational difficulty, so it can significantly improve the user experience. In this embodiment, the change in the light value collected by the above APP application may be caused by the user deliberately performing corresponding actions on the mobile terminal during the use of the mobile terminal, or it may be caused by the user It is caused by the natural change of the light in the environment; therefore, in actual applications, if the above APP application only uses the change of the collected light value as the triggering condition of the account mode switch, it completes the account mode for the user’s login account. If you switch quickly, misoperation may occur. For example, if the mobile terminal is carried into a target place with weak light, the light of the environment where the user is located at this time will usually change; in this case, if the light value of the environment in which the target place is located is low If the preset threshold value satisfies the triggering condition of the account mode switch, the above APP application may switch the login account to the preset mode by mistake when the user does not need to switch the mode of the login account. In order to solve the above problems, based on the judgment of whether the collected light value is lower than the preset threshold as described above, a user-specific action recognition mechanism can be further introduced into the above APP application, so that the above APP application can log in to the user. When the account is switched, it is not only necessary to refer to the judgment result of whether the collected light value is less than the above-mentioned preset threshold, but also to further determine whether the change of the light value is due to the user deliberately executing some kind of light on the mobile terminal. It is caused by the action, which can minimize the possibility of misoperation.   When implemented, the above-mentioned mobile terminal can be equipped with corresponding motion-sensing hardware in addition to light-sensing hardware. Among them, the aforementioned motion sensing hardware may specifically include a gyroscope, an angular velocity sensor, and so on.  Through the mounted motion sensing hardware, it can accurately sense the motion data such as the rotation angle and speed of the mobile terminal, and then accurately identify the operation actions performed by the user on the mobile terminal when using the mobile terminal.  Similarly, in the operating system of the above mobile terminal, a call interface corresponding to the motion sensing hardware may also be provided in advance. When the APP application calls the light sensing hardware to collect light values, it can also use the call interface to synchronously call the motion sensing hardware to collect the user’s mobile terminal in real time or periodically. The movement data of the mobile terminal (such as the angle and speed of rotation, etc.) are then based on the collected movement data to identify the operation actions performed by the user in the process of using the mobile terminal. Among them, based on the collected movement data of the mobile terminal, the specific process of identifying the operation actions performed by the user in the process of using the mobile terminal will not be described in detail in this specification. Those skilled in the art will refer to this specification When the technical solution is implemented, you can refer to the records in the related technology;    For example, in one implementation, the above APP application can collect in advance the movement of the mobile terminal when the user performs various predefined standard actions on the mobile terminal in the background. Data, and record the collected exercise data as a sample of exercise data. When it is necessary to identify the operation actions performed by the user in the process of using the mobile terminal, the collected exercise data can be matched with the pre-recorded exercise data samples corresponding to various standard actions to determine the user’s target Operation actions performed by the mobile terminal. In this embodiment, when the above APP application judges that the collected light value is lower than the preset threshold value, or judges that the collected light value is not lower than the preset threshold value, at this time, the above APP application can further judge the recognized light value. Whether the operation action performed by the user on the mobile terminal is a preset action;   , the foregoing preset action may specifically include the user’s execution of the mobile terminal in the process of using the mobile terminal that can cause the collected light value to occur Change of operating actions. In practical applications, the aforementioned preset action may further include a first preset action that can cause the value of the collected light to decrease, and a second preset action that can cause the value of the collected light to rise. In the illustrated embodiment, the above-mentioned first preset action may specifically be a downward flipping action relative to the installation surface of the light sensing hardware on the above-mentioned mobile terminal; and the above-mentioned second preset action may specifically be It is an upward flip action relative to the mounting surface of the light sensing hardware on the terminal device. For example, taking the above-mentioned mobile terminal as a smart phone as an example, assuming that the light sensor is installed at the camera lens above the screen of the smart phone, then the above-mentioned first preset action may be that when the user uses the smart phone, the smart phone The downward flip action of the surface where the screen of the smartphone is located (that is, the action of turning the light sensor on the screen of the smartphone to the side where light cannot be detected). The second preset action mentioned above can be the upward flipping action of the surface where the screen of the smartphone is located when the user is using the smartphone (that is, the screen of the smartphone is flipped from the "reversed" state to the screen facing up. action). On the one hand, if the aforementioned APP application determines that the collected light value is lower than the preset threshold, the aforementioned APP application can further determine whether the recognized operation action is the aforementioned first preset action;    if the recognized operation action is The above-mentioned first preset action at this time indicates that the decrease in the collected light value may be caused by the user performing the above-mentioned first preset action on the mobile terminal. In this case, the above-mentioned APP application can immediately change the user's The login account is switched from the current mode to the above-mentioned preset mode. Of course, if the recognized operation action is not the above-mentioned first preset action, the decrease in the light value collected at this time is likely to be caused by the natural change of the light value of the user's environment. In this case, The user probably does not have the need to switch the mode of the login account, so the above APP application may not switch the account mode of the above login account. On the other hand, if the above APP application determines that the collected light value is not lower than the preset threshold, and the user's login account is currently switched to the preset mode, at this time the above APP application can further determine the recognized operation action Whether it is the second preset action mentioned above. If the recognized operation action is the above-mentioned second preset action, it indicates that the increase in the collected light value may be caused by the user performing the above-mentioned second preset action on the mobile terminal. In this case, the above-mentioned The APP application can immediately switch the user's login account from the aforementioned preset mode to the normal mode. Of course, if the recognized operation action is not the second preset action mentioned above, the increase in the light value collected at this time may also be caused by the natural change of the light value of the user’s environment. In this case , The user probably does not have the need to switch the mode of the login account, so the above APP application may not switch the account mode of the above login account. For example, taking the above login account as a payment account, the above APP application as a payment APP application, and the above mobile terminal being a smart phone as an example; in this case, the above preset mode may specifically be an account protection mode for the user's payment account . Assuming that the light sensor is installed at the camera lens above the screen of the smartphone, the first preset action can be the action of "rewinding" the screen of the smartphone, and the second preset action can be The screen of the mobile phone is flipped from the "reverse button" state to the action of the screen facing upwards. In one scenario, if the user needs to quickly switch the payment account to the account protection mode, the “reverse” action can be performed on the screen of the smartphone at this time; on the one hand, the above payment APP application can call the light sensor hardware in the background. The body collects the light value and judges whether the collected light value is lower than the preset threshold; on the other hand, the above payment APP application can synchronously call the motion sensing hardware to collect the motion data of the mobile terminal, and based on the collected motion data Recognize the user's operating action when using the mobile terminal, and determine whether the identified operating action is the above-mentioned first preset action; if the above-mentioned payment APP application determines that the collected light value is lower than the preset threshold, and the identified When the operation action is the aforementioned first preset action, the user's payment account can be immediately switched to the account protection mode at this time, and the fund transfer function of the payment account can be restricted. In another scenario, if the user needs to quickly restore the payment account from the account protection mode to the normal mode, the screen of the smartphone can be turned from the "reverse" state to the screen up; on the one hand, The above payment APP application can still call the light sensing hardware in the background to collect the light value, and determine whether the collected light value is greater than or equal to the preset threshold; on the other hand, the above payment APP application can call the motion sensing hardware simultaneously, Collect the exercise data of the mobile terminal, and identify the user's operation action when using the mobile terminal based on the collected exercise data, and determine whether the identified operation action is the above-mentioned second preset action; if the above-mentioned payment APP application determines the collection When the received light value is greater than or equal to the preset threshold, and the recognized operation action is the second preset action, the user's payment account can be immediately switched from the account protection mode to the normal mode, and the payment account is released Limitations of the fund transfer function. It can be seen that by judging whether the collected light value is lower than the preset threshold as described above, the user-specific action recognition mechanism is further introduced in the above APP application to ensure that the account mode switch of the login account is determined by the user. It is initiated actively, so it can avoid the misoperation caused by the natural change of the light in the environment where the user is located. In addition, it should be noted that in actual applications, the user's login account can usually be logged in at the same time on multiple terminals; for example, the APP application on the mobile terminal and the web client on the PC terminal can log in at the same time.   Therefore, in this case, when the above APP application switches the user's login account, it can further query the corresponding server whether the current login account is logged in on multiple terminals at the same time; if so, the above APP at this time The application can only switch the account mode corresponding to the login account to the preset mode on the mobile terminal, and does not switch the account mode corresponding to the login account to the account modes of other login terminals. For example, taking the user's payment account switched to the account protection mode on the mobile terminal as an example, the above APP application can send a notification message to the corresponding server to switch the payment account to the account protection mode on the mobile terminal; and the service After receiving the notification message, the terminal can switch the payment account to the account protection mode on the mobile terminal in the background based on the information carried in the notification message, and restrict the fund transfer function of the payment account. After the switching is completed, anyone who logs in to the payment account through the mobile terminal cannot obtain the authority to transfer the funds in the payment account.   Of course, if the current login account is only logged in on the mobile terminal, then the above APP application can directly switch the account mode corresponding to the login account to the account protection mode, so I will not repeat it.  It needs to be supplemented that the above-mentioned terminal device is a mobile terminal, and the above-mentioned client is an APP application installed on the mobile terminal as an example, and the technical solution of this specification is described in detail. It should be emphasized that in practical applications, the above-mentioned terminal device may also be a PC terminal, and the above-mentioned client may also be a web client installed on the PC terminal. The specific implementation process will not be repeated in this specification. Those skilled in the art can refer to the implementation process described in the above embodiments when implementing the technical solutions of this specification.   Corresponding to the foregoing method embodiment, this specification also provides an embodiment of an account management device.   The embodiments of the account management device in this specification can be applied to electronic equipment. The device embodiments can be implemented by software, or can be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the electronic device where it is located. From a hardware perspective, as shown in Figure 2, it is a hardware structure diagram of the electronic equipment where the account management device of this specification is located, except for the processor, memory, network interface, and non-volatile components shown in Figure 2. In addition to the memory, the electronic device in which the device is located in the embodiment may also include other hardware according to the actual function of the electronic device, which will not be repeated here.   FIG. 3 is a block diagram of an account management device shown in an exemplary embodiment of this specification.  Please refer to FIG. 3. The account management device 30 can be applied to the electronic device shown in FIG. 2 and includes: a collection module 301, a judgment module 302, a switching module 303, and a marking module. Among them, the collection module 301 calls the light sensing hardware to collect the light value; the    judgment module 302 judges whether the collected light value is lower than the preset threshold; the    switch module 303, if the collected light value is lower than the preset threshold If the threshold is set, the login account of the client is switched to the preset mode; and if the collected light value is not lower than the preset threshold, when the login account of the client has been switched to the preset mode by the user, the The login account is switched from the preset mode to the normal mode. In this embodiment, the collection module 301 is further used to:    call a preset motion sensing hardware to collect the motion data of the terminal device;    the device 30 further includes:    identification module 304 (not shown in FIG. 3) , Based on the exercise data to identify the user's operation when using the terminal device.  In this embodiment, the switching module 303:    determines whether the operation action identified by the identification module 304 is the first preset action;   if yes, switch the login account of the client from the normal mode to the preset mode.  The switching module 303 further:    judge whether the operation action identified by the identification module 304 is a second preset action;   if yes, switch the login account from the preset mode to the normal mode. In this embodiment, the terminal device is a mobile terminal; the first preset action includes a downward flip action relative to the installation surface of the light sensing hardware on the terminal device; the second preset action includes relative For the upward flip action of the light sensing hardware on the mounting surface of the terminal device.   In this embodiment, the account is a payment account; the preset mode is an account protection mode for the payment account.   The implementation process of the functions and roles of each module in the above-mentioned device is detailed in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here. "For the device embodiment, since it basically corresponds to the method embodiment, please refer to the part of the description of the method embodiment for related parts. The device embodiments described above are merely illustrative. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one unit. Locally, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solution of the present invention. Those of ordinary skill in the art can understand and implement without creative work.   The system, device, module or unit explained in the above embodiment can be implemented by a computer chip or entity, or implemented by a product with a certain function. A typical implementation device is a computer. The specific form of the computer can be a personal computer, a notebook computer, a mobile phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email receiving and sending device, and a game console. , Tablets, wearable devices, or a combination of any of these devices. "Corresponding to the foregoing method embodiment, the present invention also provides an embodiment of an account management device. The account management device includes a processor and a memory for storing machine executable instructions; wherein the processor and the memory are usually connected to each other through an internal bus. In other possible implementation manners, the device may also include an external interface to be able to communicate with other devices or components. In this embodiment, by reading and executing the machine executable instructions stored in the memory and corresponding to the control logic for database damage recovery, the processor is prompted to:    call the light sensor hardware to collect light values;    judge Whether the collected light value is lower than the preset threshold;    if the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode; and,    if the collected light value is not lower than the preset threshold If the threshold is set, when the login account of the client terminal has been switched to the preset mode by the user, the login account is switched from the preset mode to the normal mode. In this embodiment, by reading and executing the machine executable instructions stored in the memory and corresponding to the control logic for database damage recovery, the processor is also prompted to:    call the preset motion sensing hardware to collect the The exercise data of the terminal device;    based on the exercise data to identify the user's operation when using the terminal device. In this embodiment, by reading and executing the machine executable instructions stored in the memory and corresponding to the control logic for database damage recovery, the processor is also prompted to:    determine whether the identified operation action is the first Default action;    If yes, switch the login account of the client from the normal mode to the default mode. In this embodiment, by reading and executing the machine executable instructions stored in the memory and corresponding to the control logic for database damage recovery, the processor is also prompted to:    determine whether the identified operation action is the second Preset action;    If yes, switch the login account from the preset mode to the normal mode. In this embodiment, the terminal device is a mobile terminal; the first preset action is a downward flip action relative to the installation surface of the light sensing hardware on the terminal device; the second preset action is relative For the upward flip action of the light sensing hardware on the mounting surface of the terminal device.   In this embodiment, the account is a payment account; the preset mode is an account protection mode for the payment account. "After considering the specification and practicing the invention disclosed herein, those skilled in the art will easily think of other embodiments of the present invention. The present invention is intended to cover any variations, uses, or adaptive changes of the present invention. These variations, uses, or adaptive changes follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed by the present invention. . The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present invention are pointed out by the following patent application scope. "It should be understood that the present invention is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the scope of the attached patent application.   The specific embodiments of this specification have been described above. Other embodiments are within the scope of the attached patent application. In some cases, the actions or steps described in the scope of the patent application may be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous. "For the device embodiment, since it basically corresponds to the method embodiment, please refer to the part of the description of the method embodiment for related parts. The device embodiments described above are merely illustrative. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one unit. Locally, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement without creative work.   The system, device, module or unit explained in the above embodiment can be implemented by a computer chip or entity, or implemented by a product with a certain function. A typical implementation device is a computer. The specific form of the computer can be a personal computer, a notebook computer, a mobile phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email receiving and sending device, and a game console. , Tablets, wearable devices, or a combination of any of these devices. "After considering the specification and practicing the invention disclosed herein, those skilled in the art will easily think of other embodiments of the specification. This specification is intended to cover any variations, uses, or adaptive changes of this specification. These variations, uses, or adaptive changes follow the general principles of this specification and include common knowledge or customary technical means in the technical field that are not disclosed in this specification. . The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the specification are pointed out by the following patent application scope. "It should be understood that this specification is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of this specification is only limited by the scope of the attached patent application. The above descriptions are only the preferred embodiments of this specification and are not intended to limit this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in this specification. Within the scope of protection.

102、104、106‧‧‧步驟302‧‧‧判斷模組30‧‧‧帳戶管理裝置303‧‧‧切換模組301‧‧‧採集模組102, 104, 106‧‧‧Step 302‧‧‧Judgment module 30‧‧‧Account management device 303‧‧‧Switch module 301‧‧‧Collection module

圖1是本說明書一實施例示出的一種帳戶管理方法的流程圖;   圖2是本說明書一實施例提供的承載該一種帳戶管理裝置的電子設備所涉及的硬體結構圖;   圖3是本說明書一實施例提供的一種帳戶管理裝置的的邏輯方塊圖。Figure 1 is a flowchart of an account management method shown in an embodiment of this specification;    Figure 2 is a hardware structure diagram involved in an electronic device carrying the account management device provided by an embodiment of this specification;    Figure 3 is this specification An embodiment provides a logical block diagram of an account management device.

Claims (11)

一種帳戶管理方法,應用於客戶端;其中,該客戶端所在的終端設備搭載了光線傳感硬體;該方法包括:   調用該光線傳感硬體採集光線值;   判斷採集到的光線值是否低於預設閾值;   如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,   如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。An account management method, applied to a client; wherein the terminal device where the client is located is equipped with light sensing hardware; the method includes:    calling the light sensing hardware to collect light values;    judging whether the collected light value is low   If the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode; and,    if the collected light value is not lower than the preset threshold, then the client When the login account of the terminal has been switched to the preset mode by the user, the login account is switched from the preset mode to the normal mode. 根據請求項1所述的方法,該方法還包括:   調用預設的運動傳感硬體採集該終端設備的運動資料;   基於該運動資料識別用戶在使用該終端設備時的操作動作。According to the method of claim 1, the method further includes: "invoking a preset motion sensing hardware to collect the motion data of the terminal device; "``recognizing the user's operation actions when using the terminal device based on the motion data. 根據請求項2所述的方法,該將該客戶端的登錄帳戶由正常模式切換至預設模式,包括:   判斷識別出的該操作動作是否為第一預設動作;   如果是,將該客戶端的登錄帳戶由正常模式切換至預設模式;   該將該登錄帳戶由該預設模式切換至正常模式,包括:   判斷識別出的該操作動作是否為第二預設動作;   如果是,將該登錄帳戶由該預設模式切換至正常模式。According to the method of claim 2, the switching the login account of the client from the normal mode to the preset mode includes:    determining whether the recognized operation action is the first preset action;    if yes, logging in the client The account is switched from the normal mode to the default mode;    should switch the login account from the default mode to the normal mode, including:    judge whether the recognized operation action is the second preset action;    if it is, the login account is switched from The preset mode is switched to the normal mode. 根據請求項3所述的方法,該終端設備為移動終端;該第一預設動作為相對於該光線傳感硬體在該終端設備上的安裝表面的向下翻動動作;該第二預設動作為相對於該光線傳感硬體在該終端設備上的安裝表面的向上翻動動作。According to the method of claim 3, the terminal device is a mobile terminal; the first preset action is a downward flip action relative to the installation surface of the light sensing hardware on the terminal device; the second preset The action is an upward flip action relative to the installation surface of the light sensing hardware on the terminal device. 根據請求項1或3所述的方法,該帳戶為支付帳戶;該預設模式為針對支付帳戶的帳戶保護模式。According to the method described in claim 1 or 3, the account is a payment account; the preset mode is an account protection mode for the payment account. 一種帳戶管理裝置,應用於客戶端;其中,該客戶端所在的終端設備搭載了光線傳感硬體;該裝置包括:   採集模組,調用該光線傳感硬體採集光線值;   判斷模組,判斷採集到的光線值是否低於預設閾值;   切換模組,如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。An account management device applied to a client; wherein the terminal device where the client is located is equipped with light sensing hardware; the device includes: a    collection module, which calls the light sensor hardware to collect light values;    judgment module, Determine whether the collected light value is lower than the preset threshold;    switch module, if the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode; and, if the collected light value If it is not lower than the preset threshold, when the login account of the client terminal has been switched to the preset mode by the user, the login account is switched from the preset mode to the normal mode. 根據請求項6所述的裝置,該採集模組進一步用於:   調用預設的運動傳感硬體採集該終端設備的運動資料;   該裝置還包括:   識別模組,基於該運動資料識別用戶在使用該終端設備時的操作動作。According to the device according to claim 6, the collection module is further used to:    call a preset motion sensing hardware to collect the motion data of the terminal device;    the device further includes:    identification module, which recognizes the user’s presence based on the motion data Operational actions when using this terminal device. 根據請求項7所述的裝置,該切換模組:   判斷該識別模組識別出的該操作動作是否為第一預設動作;   如果是,將該客戶端的登錄帳戶由正常模式切換至預設模式。   該切換模組進一步:   判斷該識別模組識別出的該操作動作是否為第二預設動作;   如果是,將該登錄帳戶由該預設模式切換至正常模式。According to the device according to claim 7, the switching module:    judges whether the operation action identified by the recognition module is the first preset action;    if yes, switches the login account of the client from the normal mode to the preset mode .  The switching module further:    judge whether the operation action identified by the recognition module is the second preset action;   if yes, switch the login account from the preset mode to the normal mode. 根據請求項8所述的裝置,該終端設備為移動終端;   該第一預設動作包括相對於該光線傳感硬體在該終端設備上的安裝表面的向下翻動動作;該第二預設動作包括相對於該光線傳感硬體在該終端設備上的安裝表面的向上翻動動作。According to the apparatus according to claim 8, the terminal device is a mobile terminal;    the first preset action includes a downward flip action relative to the installation surface of the light sensing hardware on the terminal device; the second preset The action includes an upward flip action relative to the installation surface of the light sensing hardware on the terminal device. 根據請求項6或8所述的裝置,該帳戶為支付帳戶;該預設模式為針對支付帳戶的帳戶保護模式。According to the device according to claim 6 or 8, the account is a payment account; the preset mode is an account protection mode for the payment account. 一種帳戶管理裝置,包括:   處理器;   用於儲存機器可執行指令的記憶體;   其中,通過讀取並執行該記憶體儲存的與帳戶管理的控制邏輯對應的機器可執行指令,該處理器被促使:   調用該光線傳感硬體採集光線值;   判斷採集到的光線值是否低於預設閾值;   如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,   如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。An account management device includes:    processor;    memory used to store machine executable instructions;    in which, by reading and executing the machine executable instructions stored in the memory and corresponding to the control logic of account management, the processor is Prompt:    call the light sensor hardware to collect the light value;    judge whether the collected light value is lower than the preset threshold;    if the collected light value is lower than the preset threshold, switch the login account of the client to the preset mode ; And,    if the collected light value is not lower than the preset threshold, when the login account of the client has been switched to the preset mode by the user, switch the login account from the preset mode to the normal mode.
TW107107573A 2017-06-28 2018-03-07 Account management method and device TWI735756B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710507057.4A CN107392606B (en) 2017-06-28 2017-06-28 Account management method and device
CN201710507057.4 2017-06-28
??201710507057.4 2017-06-28

Publications (2)

Publication Number Publication Date
TW201905753A TW201905753A (en) 2019-02-01
TWI735756B true TWI735756B (en) 2021-08-11

Family

ID=60334106

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107107573A TWI735756B (en) 2017-06-28 2018-03-07 Account management method and device

Country Status (3)

Country Link
CN (1) CN107392606B (en)
TW (1) TWI735756B (en)
WO (1) WO2019001427A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392606B (en) * 2017-06-28 2020-08-04 阿里巴巴集团控股有限公司 Account management method and device
CN112165493B (en) * 2020-09-30 2023-02-21 惠州市善居电子商务有限公司 Identity login switching method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105321071A (en) * 2014-07-31 2016-02-10 Lg电子株式会社 Wearable device and method for controlling the same
CN105393193A (en) * 2013-06-11 2016-03-09 谷歌公司 Wearable device multi-mode system
US20160154952A1 (en) * 2016-02-01 2016-06-02 Fitbit, Inc. Method and apparatus for off-body detection for wearable device
TWI556155B (en) * 2014-03-31 2016-11-01 宏達國際電子股份有限公司 Electronic apparatus and messaging method
TWI567677B (en) * 2015-11-11 2017-01-21 南臺科技大學 A Group Buying System and a Group Buying Method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9413770B2 (en) * 2012-11-30 2016-08-09 Lenovo (Singapore) Pte. Ltd. Cloud based application account management
CN104915832B (en) * 2015-06-25 2019-05-14 中国工商银行股份有限公司 Mobile payment, verification method and its device and system
CN106201250A (en) * 2016-06-29 2016-12-07 北京小米移动软件有限公司 Account changing method and device
CN106570489A (en) * 2016-11-10 2017-04-19 腾讯科技(深圳)有限公司 Living body determination method and apparatus, and identity authentication method and device
CN106874746B (en) * 2017-01-13 2020-01-17 北京安云世纪科技有限公司 Application program calling method and device and mobile terminal
CN107392606B (en) * 2017-06-28 2020-08-04 阿里巴巴集团控股有限公司 Account management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105393193A (en) * 2013-06-11 2016-03-09 谷歌公司 Wearable device multi-mode system
TWI556155B (en) * 2014-03-31 2016-11-01 宏達國際電子股份有限公司 Electronic apparatus and messaging method
CN105321071A (en) * 2014-07-31 2016-02-10 Lg电子株式会社 Wearable device and method for controlling the same
TWI567677B (en) * 2015-11-11 2017-01-21 南臺科技大學 A Group Buying System and a Group Buying Method
US20160154952A1 (en) * 2016-02-01 2016-06-02 Fitbit, Inc. Method and apparatus for off-body detection for wearable device

Also Published As

Publication number Publication date
TW201905753A (en) 2019-02-01
CN107392606B (en) 2020-08-04
CN107392606A (en) 2017-11-24
WO2019001427A1 (en) 2019-01-03

Similar Documents

Publication Publication Date Title
JP6721596B2 (en) Method and apparatus for detecting fake user interaction with mobile devices for improved malware protection
CN105894268B (en) Payment processing method and electronic equipment paying for same
TWI468978B (en) Orientation aware authentication on mobile platforms
CN105528554B (en) User interface switching method and terminal
US10551961B2 (en) Touch gesture offset
WO2015135381A1 (en) Device, system, and method for creating virtual credit card field of the technology
JP6616896B2 (en) Fingerprint recognition method and electronic device
CN110224870B (en) Interface monitoring method and device, computing equipment and storage medium
US10257229B1 (en) Systems and methods for verifying users based on user motion
JP2020509622A (en) Wireless network type detection method and apparatus and electronic device
TWI735756B (en) Account management method and device
WO2022222806A1 (en) Insurance verification method and apparatus for electronic device
JP2022153473A (en) Method and system for improved data control and access
CN115329309A (en) Verification method, verification device, electronic equipment and storage medium
WO2023049648A1 (en) Data protection for computing device
US20220075855A1 (en) Identity verification method and apparatus
US11194904B2 (en) Security actions based on monitored computer and user physical activities
CN111079119B (en) Verification method, device, equipment and storage medium
WO2018153288A1 (en) Numerical value transfer method, apparatus, device and storage medium
CN112231666A (en) Illegal account processing method, device, terminal, server and storage medium
US9607136B2 (en) Secure attention for mobile devices
CN111566642B (en) Detection of malware by monitoring a client-side memory stack
US20190156013A1 (en) Information processing apparatus, information processing method, and program
US11809550B2 (en) Electronic device and control method therefor
CN112738065B (en) Verification method and apparatus, computing device, and medium