TW201905753A - Account management method and device - Google Patents

Account management method and device

Info

Publication number
TW201905753A
TW201905753A TW107107573A TW107107573A TW201905753A TW 201905753 A TW201905753 A TW 201905753A TW 107107573 A TW107107573 A TW 107107573A TW 107107573 A TW107107573 A TW 107107573A TW 201905753 A TW201905753 A TW 201905753A
Authority
TW
Taiwan
Prior art keywords
preset
account
mode
action
client
Prior art date
Application number
TW107107573A
Other languages
Chinese (zh)
Other versions
TWI735756B (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

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

The invention discloses an account management method comprising the steps that the light sensing hardware is called to acquire a light value; whether the acquired light value is lower than a preset threshold is judged; if the acquired light value is lower than the preset threshold, the login account of a client side is switched to the preset mode; and if the acquired light value is not lower than the preset threshold, the login account is switched to the normal mode from the preset mode when the login account of the client side is switched to the preset mode by the user.

Description

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

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

帳戶保護模式,是指當用戶在客戶端上的登錄帳戶存在異常時,及時的對該登錄帳戶進行安全防護,對與該登錄帳戶相關的一些特定的用戶權限進行限制的業務模式。在實際應用中,通過將用戶在客戶端上的登錄帳戶,切換至帳戶保護模式,通常可以提升用戶的登錄帳戶的安全性;例如,以用戶的支付帳戶為例,當用戶的支付帳戶存在異常時(比如被盜號),將用戶的支付帳戶及時切換至帳戶保護模式,可以臨時限制該支付帳戶的資金轉出,從而可以在用戶的支付帳戶存在盜用風險時,起到保護用戶的資金的目的。The account protection mode refers to a business mode in which the login account is securely protected when the user has an abnormality in the login account on the client, and some specific user rights related to the login account are restricted. In actual 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. At the time (such as being stolen), the user's payment account can be switched to the account protection mode in time, and the funds of the payment account can be temporarily restricted, so that the user's payment account can be used to protect the user's funds. .

本說明書提出一種帳戶管理方法,應用於客戶端,該方法包括:   調用該客戶端所在的終端設備上預設的光線傳感硬體採集光線值;   判斷採集到的光線值是否低於預設閾值;   如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,   如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   本說明書還提出一種帳戶管理裝置,應用於客戶端,該裝置包括:   採集模組,調用該客戶端所在的終端設備上預設的光線傳感硬體採集光線值;   判斷模組,判斷採集到的光線值是否低於預設閾值;   切換模組,如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。   本說明書中,提出一種針對用戶在客戶端上的登錄帳戶快捷的進行模式切換的交互方式;客戶端通過調用所在的終端設備搭載的光線傳感硬體,採集用戶所處環境中的光線值,並判斷採集到的光線值是否低於預設閾值;如果採集到的光線值低於預設閾值,則可以將該客戶端的登錄帳戶由正常模式切換至預設模式;以及,如果採集到的光線值不低於預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式,從而實現了可以基於採集到的光線值的大小,對客戶端的登錄帳戶的帳戶模式進行快捷的切換,可以避免用戶在需要對登錄帳戶進行模式切換時進行複雜的手動配置。The present specification provides an account management method, which is applied to a client. The method includes: calling a light sensing hardware preset on a terminal device where the client is located to collect a light value; determining whether the collected light value is lower than a preset threshold. If the collected light value is lower than the preset threshold, 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, the login account of the client has been When the user switches to the preset mode, the login account is switched from the preset mode to the normal mode. The present specification also provides an account management device, which is applied to a client. The device includes: an acquisition module, which calls a light sensing hardware preset on a terminal device where the client is located to collect a light value; Whether the value of the light is lower than a preset threshold; if the collected light value is lower than the preset threshold, 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 is switched from the preset mode to the normal mode when the login account of the client has been switched to the preset mode by the user. In this specification, an interactive mode for mode switching of a user's login account on the client is proposed; the client collects the light value in the environment of the user by calling the light sensing hardware carried by the terminal device. And determining whether the collected light value is lower than a preset threshold; if the collected light value is lower than a preset threshold, the login account of the client may be switched from the normal mode to the preset mode; and if the collected light is collected If the value of the login account is not lower than the preset threshold, when the login account of the client has been switched to the preset mode, the login account is switched from the preset mode to the normal mode, thereby realizing the value based on the collected light. Size, a quick switch to the account mode of the client's login account, to avoid complex 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 present specification aims to propose an interactive manner of mode switching for a user's login account on the client. In the implementation, the client collects the light value in the environment where the user is located by calling the light sensing hardware carried in the terminal device, and determines whether the collected light value is lower than a preset threshold; if the collected light value If the threshold value 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 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 login account of the client can be quickly switched based on the size of the collected light value, thereby avoiding the need of the user. Perform complex manual configuration when switching between login accounts. The following is a detailed description through specific embodiments and specific application scenarios. Please refer to FIG. 1. FIG. 1 is an account management method according to an embodiment of the present disclosure. The method is applied to a client. The method performs the following steps: Step 102: Invoke the light sensing hardware to collect a light value; 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, switching the login account of the client to the preset mode; and if the collected light value is not lower than The preset threshold is switched from the preset mode to the normal mode when the login account of the client has been switched to the preset mode by the user. The above login account refers to the user account used when the user logs in to the client; for example, in one embodiment shown, the login account may be a payment account used by the user to log in to the payment client. The above client may be a client software installed on a user's terminal device and capable of providing various online services to the user; wherein the terminal device may be a mobile terminal (such as a smart phone) or a PC terminal; The above client may be an APP application based on a mobile terminal or a web application based on a PC terminal. The above preset mode refers to the switched mode with respect to the normal mode of the login account described above. For example, in one embodiment, the login account may be a payment account of the user, and the preset mode may be an account protection mode for the user's payment account; in the account protection mode, the payment account may be temporarily The funds transfer function is limited. It should be noted that, in practical applications, the mode type corresponding to the preset mode is not specifically limited in this specification, and may be defined based on actual needs of the user; that is, in the present specification, the client may The above-described logged in user is switched in any of two account modes by executing the execution logic shown in steps 102-106. Hereinafter, the technical solution of the present specification will be described in detail by taking the above-mentioned terminal device as a mobile terminal and the above-mentioned client as an example of an APP application installed on the mobile terminal. In this embodiment, the user application may be pre-installed on the mobile terminal of the user, and the light sensing hardware is mounted. Wherein, the light sensing hardware may be a light sensor; and at the same time, in order to facilitate the calling of the light sensing hardware by the APP, the operating system of the mobile terminal may further provide a corresponding light sensing hardware. The calling interface; for example, the developer can develop a separate API calling interface in the source code of the operating system for the light sensing hardware carried by the mobile terminal. The APP application may use the above-mentioned calling interface to initiate a call to the light sensing hardware in the background in real time or periodically to collect the light value in the environment where the user is located, and to collect the collected light value and the preset. The thresholds are compared to determine whether the collected light value is below a preset threshold. The preset threshold is not specifically limited in this specification. In actual applications, the configuration may be uniformly configured according to actual requirements, or by providing corresponding user options in the APP application. The configuration is defined; for example, when implemented, the above preset threshold may be set to 0, or a smaller threshold close to 0. On the one hand, if it is determined that the detected ray value is less than the preset threshold, the APP application may immediately switch the user's login account to the preset mode; on the other hand, if it is determined that the detected ray value is not less than The preset threshold, the APP application may further check whether the login account of the user has been switched to the preset mode; if the login account of the user has been switched to the preset mode, the APP application may immediately The mode of logging in to the account is restored, and the mode of the login account is switched from the preset mode to the normal mode. Of course, if the login account of the user is not currently switched to the preset mode, the APP application may not perform any processing at this time. For example, the above-mentioned login account is a payment account, and the APP application is an example of a payment APP application. In this case, the preset mode may specifically be an account protection mode for a user's payment account. On the one hand, if the payment APP application determines that the light value collected by calling the light sensing hardware carried by the mobile terminal is less than a preset threshold, the payment account that the user has successfully successfully logged in can be immediately used by the current mode. Switch to account protection mode to temporarily limit the funds transfer function of the payment account. On the other hand, if the payment APP application determines that the light value collected by calling the light sensing hardware mounted on the mobile terminal is not less than a preset threshold, the APP application may further check whether the login account of the user has been currently switched. To the account protection mode; if the user's login account has been switched to the account protection mode, the APP application can immediately restore the account mode of the login account, and switch the mode of the login account from the account protection mode to the normal mode. The restriction on the funds transfer function of the payment account will be lifted. It should be noted that, when the APP application is to switch the account mode of the login account, the application may be performed by interacting with the corresponding server; when the APP application needs to perform mode switching on the login account, Sending a mode switching notification message to the corresponding server, and carrying the related information of the target mode that needs to be switched, and the server performs the mode switching of the login account in the background according to the notification message of the mode switching by the server. For example, in the example of switching the user's payment account to the account protection mode, the APP application may send a notification message to the corresponding server to switch the payment account to the account protection mode; and after receiving the notification message, the server receives the notification message. The payment account can be switched to the account protection mode in the background based on the information carried in the notification message. It can be seen that, in this manner, the APP application can use the collected light value as a trigger condition for switching the account mode of the user's login account, and based on the collected light value, the user is applied to the login APP. The account mode of the login account used at the time is quickly switched, thereby preventing the user from performing complicated manual configuration when the mode of the login account needs to be switched. For example, in the example of switching the user's payment account to the account protection mode, after the user logs in to the payment account using the payment client installed on the terminal device, if the payment account needs to be actively switched to the account protection mode, the payment account is temporarily restricted. The funds are transferred out, then the user can flip the terminal device by performing a "reverse button" action, so that the light sensing hardware carried by the terminal device is flipped 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 determines whether the detected light value is less than a preset threshold; since the user reverses the terminal device through a “reverse button” action, the terminal device is mounted 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, the payment account can be immediately switched to the account protection mode to temporarily limit the funds transfer of the payment account. It can be seen that in this way, the user can be provided with a controllable and convenient account protection mode, which can meet the user's need for account security without increasing the operation difficulty of the user, thereby significantly improving the user experience. In this embodiment, the change of the light value collected by the APP application may be caused by the user performing a corresponding action on the mobile terminal in a process of using the mobile terminal, or may be due to the user. The natural light of the environment is caused by the change; therefore, in the actual application, if the APP application only uses the change of the collected light value as the trigger condition of the account mode switching, the account mode for the login account of the user is completed. If you switch quickly, you may get a misoperation. For example, if the mobile terminal is brought into a weak target area, the light of the environment in which the user is located usually changes; in this case, if the target place is in a low light level in the environment If the preset threshold is used to satisfy the triggering condition of the account mode switching, the APP application may incorrectly switch the login account to the preset mode when the user does not need to perform mode switching on the login account. In order to solve the above problem, the action recognition mechanism for the user may be further introduced in the APP application by determining whether the collected ray value is lower than a preset threshold, so that the APP is applied to the user. When the account is switched in mode, it is not only necessary to refer to whether the size of the collected light value is smaller than the predetermined threshold value, but also to further determine the change of the light value, whether the user deliberately performs some kind of operation on the mobile terminal. Caused by actions, thus minimizing the possibility of misoperation. In implementation, the mobile terminal can carry a corresponding motion sensing hardware in addition to the light sensing hardware. The above motion sensing hardware may specifically include a gyroscope, an angular velocity sensor, and the like. Through the mounted motion sensing hardware, motion data such as the rotation angle and speed of the mobile terminal can be accurately sensed, and the operation performed by the user on the mobile terminal when using the mobile terminal can be accurately identified. Similarly, in the operating system of the mobile terminal, the calling interface corresponding to the motion sensing hardware may also be provided in advance. In the process that the APP application invokes the light sensing hardware to collect the light value, the motion sensing hardware may be synchronously invoked through the calling interface, and the real-time or periodic acquisition user may use the mobile terminal. The motion data of the mobile terminal (such as the angle of rotation and the speed, etc.), and then based on the collected motion data, identify the operation actions performed by the user in the process of using the mobile terminal. The specific process of identifying the operation performed by the user in the process of using the mobile terminal based on the collected motion data of the mobile terminal is not described in detail in the present specification, and those skilled in the art will For example, in an implementation manner, the APP application may collect the motion of the mobile terminal when the user performs various predefined standard actions for the mobile terminal in advance in the background. The data is recorded and recorded as a sample of exercise data. When it is necessary to identify an operation action performed by the mobile terminal for the mobile terminal, the collected motion data may be matched with the pre-recorded motion data samples corresponding to various standard actions to determine that the user targets The action performed by the mobile terminal. In this embodiment, when the APP application determines that the collected light value is lower than a preset threshold, or determines that the collected light value is not lower than a preset threshold, the APP application may further determine the identified Whether the operation action performed by the user for the mobile terminal is a preset action; the foregoing preset action may specifically include that the light value generated by the user for the mobile terminal may be generated during the process of using the mobile terminal Changing operational actions. In an actual application, the foregoing preset action may further include: a first preset action that can cause the collected light value to decrease, and a second preset action that can cause the collected light value to rise. In one embodiment, the first preset action may be a downward flipping action with respect to a mounting surface of the light sensing hardware on the mobile terminal; and the second preset action may be specifically It is an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device. For example, taking the mobile terminal as a smart phone as an example, if the light sensor is installed on the photographic lens above the screen of the smart phone, then the first preset action may be that the user uses the smart phone when the smart phone is used. The downward movement of the surface of the screen of the mobile phone (ie, the "reverse button" of the smart phone's screen, flipping the light sensor to the side where the light cannot be detected). The second preset action may be that the user flips the surface of the screen of the smart phone when using the smart phone (ie, flipping the screen of the smart phone from the "reverse" state to the screen up) action). On the one hand, if the APP application determines that the collected light value is lower than a preset threshold, the APP application may further determine whether the identified operation action is the first preset action; if the recognized operation action is The first preset action indicates that the decrease of the collected light value may be caused by the user performing the first preset action on the mobile terminal. In this case, the APP application may immediately The login account is switched from the current mode to the above preset mode. Of course, if the identified operation action is not the first preset action described above, the decrease in the collected light value at this time is likely to be caused by a natural change in the light value of the environment in which the user is located, in which case, The user probably does not have the need to switch the mode of the login account, so the APP application may not switch the account mode of the login account. On the other hand, if the APP application determines that the collected ray value is not lower than the preset threshold, and the login account of the user has been switched to the preset mode, the APP application may further determine the identified operation action. Whether it is the above second preset action. If the identified operation action is the second preset action, indicating that the rising of the collected light value may be caused by the user performing the second preset action on the mobile terminal, in this case, The APP application can immediately switch the user's login account from the above preset mode to the normal mode. Of course, if the identified operation action is not the second preset action described above, the rise of the collected light value at this time is likely to be caused by a natural change in the light value of the environment in which the user is located, in which case The user may not have the need to switch the mode of the login account, so the APP application may not switch the account mode of the login account. For example, the above-mentioned login account is a payment account, and the APP application is a payment APP application, and the mobile terminal is a smart phone as an example; in this case, the preset mode may specifically be an account protection mode for a user's payment account. . Assuming that the light sensor is installed on the photographic lens above the screen of the smart phone, the first preset action may be the action of “reversing” the screen of the smart phone, and the second preset action may be a smart type. The screen of the phone is flipped from the "reverse" state to the action of the screen facing up. In a scenario, if the user needs to quickly switch the payment account to the account protection mode, the "reverse button" action can be performed on the screen of the smart phone; on the one hand, the payment APP application can call the light sensing hard in the background. The body collects the light value and determines whether the collected light value is lower than a preset threshold; on the other hand, the payment APP application can synchronously call the motion sensing hardware, collect the motion data of the mobile terminal, and based on the collected motion data. Identifying an operation action of the user when using the mobile terminal, and determining whether the recognized operation action is the first preset action; if the payment APP application determines that the collected light value is lower than a preset threshold, and the recognized When the operation action is the first preset action, the user's payment account can be immediately switched to the account protection mode, and the fund transfer function of the payment account is restricted. In another scenario, if the user needs to quickly return the payment account from the account protection mode to the normal mode, the action of flipping the "reverse button" state to the screen upward can be performed on the screen of the smart phone; The payment APP application can still call the light sensing hardware to collect the light value in the background, and determine whether the collected light value is greater than or equal to a preset threshold; on the other hand, the payment APP application can synchronously call the motion sensing hardware. Collecting motion data of the mobile terminal, and identifying an operation action of the user when using the mobile terminal based on the collected motion data, and determining whether the identified operation action is the second preset action; if the 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. The restriction of the funds transfer function. It can be seen that, by determining whether the collected ray value is lower than a preset threshold, the action recognition mechanism for the user is further introduced in the APP application, and the account mode switching to the login account can be ensured by the user. Proactively initiated, thus avoiding misoperations caused by natural changes in light in the user's environment. In addition, it should be noted that, in actual applications, the user's login account can usually log in simultaneously on multiple terminals; for example, the APP application on the mobile terminal and the web client on the PC terminal simultaneously log in at the same time; Therefore, in this case, when the APP application is switched for the login account of the user, the corresponding server may be further queried whether the current login account is simultaneously logged in on multiple terminals; if yes, the above APP The application may switch the account mode corresponding to the login account to the preset mode on the mobile terminal without switching the account mode corresponding to the login account on the account mode of the other login terminal. For example, in the example of switching the user's payment account to the account protection mode on the mobile terminal, the APP application may send a notification message to the corresponding server to switch the payment account to the account protection mode on the mobile terminal; After receiving the notification message, the terminal may switch the payment account to the account protection mode on the mobile terminal in the background according to the information carried in the notification message, and limit the funds transfer function of the payment account. When the handover is completed, after anyone logs in to the payment account through the mobile terminal, the authority to transfer the funds in the payment account cannot be obtained. Of course, if the current login account is only logged in on the mobile terminal, the APP application may directly switch the account mode corresponding to the login account to the account protection mode, and details are not described herein. It should be noted that, in the above, the terminal device is the mobile terminal, and the client is an APP application installed on the mobile terminal as an example, and the technical solution of the present specification is described in detail. It should be emphasized that in the actual application, the terminal device may also be a PC terminal, and the client may also be a web client installed on the PC terminal, and the specific implementation process is not described 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 the present specification. Corresponding to the above method embodiment, the present specification also provides an embodiment of an account management apparatus. Embodiments of the account management apparatus of the present specification can be applied to an electronic device. The device embodiment can be implemented by software or by a combination of hardware or software and hardware. Taking the software implementation as an example, as a logical device, the processor of the electronic device in which the computer is located reads the corresponding computer program instructions in the non-volatile memory into the memory. At a hardware level, as shown in FIG. 2, a hardware structure diagram of an electronic device in which the account management device of the present specification is located, except for the processor, the memory, the network interface, and the non-volatile device shown in FIG. 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, and details are not described herein. FIG. 3 is a block diagram of an account management apparatus shown in an exemplary embodiment of the present specification. Referring to FIG. 3, the account management device 30 can be applied to the electronic device shown in FIG. 2, and includes an acquisition module 301, a determination module 302, a switching module 303, and a marking module. The collecting module 301 calls the light sensing hardware to collect the light value; the determining module 302 determines whether the collected light value is lower than a preset threshold; and the switching module 303 if the collected light value is lower than the preset If the threshold value 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 login account is switched from the preset mode to the normal mode. In this embodiment, the collection module 301 is further configured to: invoke a preset motion sensing hardware to collect motion data of the terminal device; the device 30 further includes: an identification module 304 (not shown in FIG. 3) And identifying an operation action of the user when using the terminal device based on the motion data. In this embodiment, the switching module 303: determines whether the operation action recognized by the identification module 304 is a first preset action; if yes, switches the login account of the client from the normal mode to the preset mode. The switching module 303 further: determining whether the operation action by the recognition module is 304 is a second preset action; if yes, switching 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 flipping action with respect to the mounting surface of the light sensing hardware on the terminal device; the second preset action includes a relative The upward sensing 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. For details of the implementation process of the functions and functions of the modules in the foregoing devices, refer to the implementation process of the corresponding steps in the foregoing methods, and details are not described herein again. For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located in one Places, or they can be distributed to multiple network units. Some or all of the modules may 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 any creative effort. The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer, and 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 e-mail transceiver device, and a game console. , a tablet, a wearable device, or a combination of any of these devices. Corresponding to the above 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 typically connected to each other by an internal bus. In other possible implementations, the device may also include an external interface to enable communication with other devices or components. In this embodiment, by reading and executing the machine executable instructions corresponding to the memory-stored recovery control logic of the memory, the processor is caused to: call the light sensing hardware to collect the light value; Whether the collected light value is lower than the preset threshold; if the collected light value is lower than the preset threshold, the login account of the client is switched to the preset mode; and if the collected light value is not lower than the preset If the threshold is set, the login account is switched from the preset mode to the normal mode when the login account of the client has been switched to the preset mode by the user. In this embodiment, by reading and executing the machine executable instructions corresponding to the memory-stored recovery control logic of the memory, the processor is further caused to: call the preset motion sensing hardware to collect the The motion data of the terminal device; based on the motion data, the operation action of the user when using the terminal device is identified. In this embodiment, by reading and executing the machine executable instructions corresponding to the memory-stored recovery control logic of the memory, the processor is further caused to: determine whether the identified operation action is the first Default action; if yes, switch the client's login account from normal mode to preset mode. In this embodiment, by reading and executing the machine executable instructions corresponding to the memory-stored recovery control logic of the memory, the processor is further caused to: determine whether the identified operation action is the second The preset action; if yes, the login account is switched 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 flipping action with respect to the mounting surface of the light sensing hardware on the terminal device; the second preset action is relative The upward sensing 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. Other embodiments of the invention will be apparent to those skilled in the <RTIgt; The present invention is intended to cover any variations, uses, or adaptations of the present invention, which are in accordance with the general principles of the invention and include common general knowledge or common technical means in the art that are not disclosed in the present invention. . The specification and examples are to be regarded as illustrative only, and the true scope and spirit of the invention It is to be understood that the invention is not limited to the precise structures shown and described in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the invention is limited only by the scope of the appended claims. The foregoing description of the specific embodiments of the specification has been described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the scope of the claims may be performed in a different order than the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings are not necessarily in a particular order or in a sequential order to achieve the desired results. 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, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located in one Places, or they can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present specification. Those of ordinary skill in the art can understand and implement without any creative effort. The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer, and 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 e-mail transceiver device, and a game console. , a tablet, a wearable device, or a combination of any of these devices. Other embodiments of the present specification will be readily apparent to those skilled in the <RTIgt; The description is intended to cover any variations, uses, or adaptations of the present specification, which are in accordance with the general principles of the specification and include common general knowledge or common technical means in the art that are not disclosed in this specification. . The specification and examples are to be regarded as illustrative only, and the true scope and spirit of the specification It is to be understood that the invention is not limited to the details of the details and The scope of the present specification is limited only by the scope of the appended claims. The above description is only the preferred embodiment of the present specification, and is not intended to limit the specification. Any modifications, equivalent substitutions, improvements, etc., which are included in the present specification, should be included in the present specification. Within the scope of protection.

102、104、106‧‧‧步驟102, 104, 106 ‧ ‧ steps

302‧‧‧判斷模組302‧‧‧Judgement module

30‧‧‧帳戶管理裝置30‧‧‧ account management device

303‧‧‧切換模組303‧‧‧Switch Module

301‧‧‧採集模組301‧‧‧ Acquisition Module

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

Claims (11)

一種帳戶管理方法,應用於客戶端;其中,該客戶端所在的終端設備搭載了光線傳感硬體;該方法包括:   調用該光線傳感硬體採集光線值;   判斷採集到的光線值是否低於預設閾值;   如果採集到的光線值低於預設閾值,則將該客戶端的登錄帳戶切換至預設模式;以及,   如果採集到的光線值不低於該預設閾值,則在該客戶端的登錄帳戶已被用戶切換至預設模式時,將該登錄帳戶由該預設模式切換至正常模式。An account management method is applied to a client; wherein the terminal device where the client is located is equipped with a light sensing hardware; the method includes: calling the light sensing hardware to collect a light value; determining whether the collected light value is low At a preset threshold; if the collected ray value is lower than a preset threshold, the login account of the client is switched to the preset mode; and if the collected ray value is not lower than the preset threshold, the customer is at the preset threshold 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: calling a preset motion sensing hardware to collect motion data of the terminal device; and identifying, according to the motion data, an operation action of the user when using the terminal device. 根據請求項2所述的方法,該將該客戶端的登錄帳戶由正常模式切換至預設模式,包括:   判斷識別出的該操作動作是否為第一預設動作;   如果是,將該客戶端的登錄帳戶由正常模式切換至預設模式;   該將該登錄帳戶由該預設模式切換至正常模式,包括:   判斷識別出的該操作動作是否為第二預設動作;   如果是,將該登錄帳戶由該預設模式切換至正常模式。According to the method of claim 2, the switching of the login account of the client from the normal mode to the preset mode includes: determining whether the identified action is the first preset action; if yes, logging in the client The account is switched from the normal mode to the preset mode; the switching of the login account from the preset mode to the normal mode includes: determining whether the identified action action is the second preset action; if yes, the login account is 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 flipping action with respect to the mounting surface of the light sensing hardware on the terminal device; the second preset Acting as an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device. 根據請求項1或3所述的方法,該帳戶為支付帳戶;該預設模式為針對支付帳戶的帳戶保護模式。According to the method of 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 is applied to a client; wherein the terminal device where the client is located is equipped with a light sensing hardware; the device includes: an acquisition module, and the light sensing hardware is used to collect the light value; Determining whether the collected light value is lower than a preset threshold; switching the module, if the collected light value is lower than a preset threshold, switching 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, the login account is switched from the preset mode to the normal mode. 根據請求項6所述的裝置,該採集模組進一步用於:   調用預設的運動傳感硬體採集該終端設備的運動資料;   該裝置還包括:   識別模組,基於該運動資料識別用戶在使用該終端設備時的操作動作。According to the device of claim 6, the acquisition module is further configured to: invoke a preset motion sensing hardware to collect motion data of the terminal device; the device further includes: an identification module, and the user is identified based on the motion data The action when using the terminal device. 根據請求項7所述的裝置,該切換模組:   判斷該識別模組識別出的該操作動作是否為第一預設動作;   如果是,將該客戶端的登錄帳戶由正常模式切換至預設模式。   該切換模組進一步:   判斷該識別模組識別出的該操作動作是否為第二預設動作;   如果是,將該登錄帳戶由該預設模式切換至正常模式。According to the device of claim 7, the switching module: determining whether the operation action recognized by the identification module is a first preset action; if yes, switching the login account of the client from the normal mode to the preset mode . The switching module further: determining whether the operation action recognized by the recognition module is a second preset action; if yes, switching the login account from the preset mode to the normal mode. 根據請求項8所述的裝置,該終端設備為移動終端;   該第一預設動作包括相對於該光線傳感硬體在該終端設備上的安裝表面的向下翻動動作;該第二預設動作包括相對於該光線傳感硬體在該終端設備上的安裝表面的向上翻動動作。According to the device of claim 8, the terminal device is a mobile terminal; the first preset action includes a downward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device; the second preset The action includes an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device. 根據請求項6或8所述的裝置,該帳戶為支付帳戶;該預設模式為針對支付帳戶的帳戶保護模式。According to the device of 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 apparatus, comprising: a processor; a memory for storing machine executable instructions; wherein the processor is executed by reading and executing machine executable instructions corresponding to account management control logic stored in the memory The prompting: calling the light sensing hardware to collect the light value; determining whether the collected light value is lower than a preset threshold; if the collected light value is lower than a preset threshold, switching the login account of the client to the preset mode And if the collected light value is not lower than the preset threshold, the login account is switched from the preset mode to the normal mode when the login account of the client has been switched to the preset mode by the user.
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
??201710507057.4 2017-06-28
CN201710507057.4A CN107392606B (en) 2017-06-28 2017-06-28 Account management method and device
CN201710507057.4 2017-06-28

Publications (2)

Publication Number Publication Date
TW201905753A true TW201905753A (en) 2019-02-01
TWI735756B 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

Family Cites Families (11)

* 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
US9569625B2 (en) * 2013-06-11 2017-02-14 Google Inc. Wearable device multi-mode system
US10558334B2 (en) * 2014-03-31 2020-02-11 Htc Corporation Electronic device and method for messaging
KR102287160B1 (en) * 2014-07-31 2021-08-06 엘지전자 주식회사 The wearble device and control method thereof
CN104915832B (en) * 2015-06-25 2019-05-14 中国工商银行股份有限公司 Mobile payment, verification method and its device and system
TWI567677B (en) * 2015-11-11 2017-01-21 南臺科技大學 A Group Buying System and a Group Buying Method
US10181021B2 (en) * 2016-02-01 2019-01-15 Fitbit, Inc. Method and apparatus for off-body detection for wearable device
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

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3694170B1 (en) Method and device for withstanding denial-of-service attack
TWI468978B (en) Orientation aware authentication on mobile platforms
CN105894268B (en) Payment processing method and electronic equipment paying for same
WO2020019483A1 (en) Emulator identification method, identification device, and computer readable medium
CN111191224B (en) Countermeasure method and device for virtual machine detection and computer readable storage medium
TW201640393A (en) Method, device, and system for displaying user interface
CN110224870B (en) Interface monitoring method and device, computing equipment and storage medium
JP6616896B2 (en) Fingerprint recognition method and electronic device
WO2022222806A1 (en) Insurance verification method and apparatus for electronic device
TW201905753A (en) Account management method and device
CN111061550A (en) Task processing method, device, equipment and storage medium
WO2014173313A1 (en) Methods and systems for processing operation instructions of a transaction system
CN111818050A (en) Target access behavior detection method, system, device, equipment and storage medium
CN111079119B (en) Verification method, device, equipment and storage medium
US9417667B2 (en) Methods and devices for touchscreen eavesdropping prevention
US20190179695A1 (en) Coordinated panic flow
CN108132817B (en) Object management method and device
CN115329309A (en) Verification method, verification device, electronic equipment and storage medium
CN113467656B (en) Screen touch event notification method and vehicle machine
WO2019080738A1 (en) Game application program control method and device
CN104598030A (en) Automatic adjusting method and automatic adjusting device for control key of intelligent terminal and intelligent terminal
CN108959938B (en) Method, device, storage medium and equipment for detecting vulnerability exploitation
CN110417931B (en) Domain name resolution record acquisition method and device, computer equipment and storage medium
US11194904B2 (en) Security actions based on monitored computer and user physical activities
EP2801929B1 (en) Methods and devices for touchscreen eavesdropping prevention