WO2019001427A1 - Account management method and device - Google Patents

Account management method and device Download PDF

Info

Publication number
WO2019001427A1
WO2019001427A1 PCT/CN2018/092898 CN2018092898W WO2019001427A1 WO 2019001427 A1 WO2019001427 A1 WO 2019001427A1 CN 2018092898 W CN2018092898 W CN 2018092898W WO 2019001427 A1 WO2019001427 A1 WO 2019001427A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
account
mode
action
client
Prior art date
Application number
PCT/CN2018/092898
Other languages
French (fr)
Chinese (zh)
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 WO2019001427A1 publication Critical patent/WO2019001427A1/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

Definitions

  • the present 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.
  • 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
  • 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 proposes an account management method, which is applied to a client, and the method includes:
  • the login account of the client is switched to the preset mode.
  • 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.
  • the present specification also provides an account management apparatus, which is applied to a client, and the apparatus includes:
  • the collecting module calls the light sensing hardware preset on the terminal device where the client is located to collect the light value
  • the determining module determines whether the collected light value is lower than a preset threshold
  • Switching module if the collected light value is lower than a preset threshold, switching the login account of the client to a preset mode; and if the collected light value is not lower than the preset threshold, then 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.
  • 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 where the user is located 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 a normal mode to a preset mode; and, if the collected If the ray 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, thereby implementing the The size of the light value can be quickly switched to the account mode of the client's login account, which can prevent the user from performing complicated manual configuration when the mode is switched.
  • FIG. 1 is a flow chart showing an account management method according to an embodiment of the present specification
  • FIG. 2 is a hardware structural diagram of an electronic device carrying the account management apparatus according to an embodiment of the present disclosure
  • FIG. 3 is a logic block diagram of an account management apparatus according to an embodiment of the present disclosure.
  • the present specification aims to propose an interactive manner for mode switching of a user's login account on the client.
  • 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 is low At a preset threshold, the login account of the client may be switched from the normal mode to the preset mode; and if the collected ray value is not lower than the preset threshold, the login account of the client has been switched by the user.
  • the preset mode is changed, 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 collected light value, which can be avoided. Users perform complex manual configuration when they need to switch modes to the login account.
  • FIG. 1 is an account management method according to an embodiment of the present disclosure, which is applied to a client, and the method performs the following steps:
  • Step 102 invoking the light sensing hardware to collect a light value
  • Step 104 Determine whether the collected light value is lower than a preset threshold
  • Step 106 If the collected light value is lower than a preset threshold, switch the login account of the client to a preset mode; and if the collected light value is not lower than the preset threshold, then 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.
  • the above login account refers to a 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-mentioned 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 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.
  • 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 may be temporarily made.
  • the account's funds transfer function is limited.
  • 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-mentioned logged-in user is switched in any two account modes by executing the execution logic shown in steps 102-106.
  • the APP application may be pre-installed on the user's mobile terminal and equipped with light sensing hardware.
  • the light sensing hardware may be a light sensor.
  • a calling interface corresponding to the light sensing hardware may be provided in advance in an operating system of the mobile terminal. For example, the developer can develop a separate API call interface in advance 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 real time or periodically in the background to collect the light value in the environment where the user is located, and collect the collected light value with a preset threshold. A comparison is made 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.
  • the APP application can immediately switch the user's login account to the preset mode;
  • 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 currently switched To the preset mode, the APP application can immediately restore the mode of the login account, and switch the mode of the login account 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.
  • the above-mentioned login account is a payment account
  • the APP application is an example of a payment APP application.
  • the preset mode may specifically be an account protection mode for a user's payment account.
  • the payment APP application determines that the light value collected by the light sensing hardware carried in the mobile terminal is less than a preset threshold, the payment account that the user has successfully logged in can be immediately switched from the current mode. To the account protection mode, the payment transfer function of the payment account is temporarily restricted.
  • the payment APP application may further check whether the login account of the user has been 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 for the payment account is released.
  • the account mode of the login account may be specifically 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.
  • 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 may be switched to the account protection mode in the background based on the information carried in the notification message.
  • the APP application can use the change of 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.
  • 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
  • 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; because the user reverses the terminal device through a "reverse button” action, the light transmission carried by the terminal device
  • the sense 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.
  • 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.
  • 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 user's login account is completed. If you switch quickly, you may get a misoperation.
  • 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.
  • 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.
  • a preset threshold 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.
  • the mobile terminal can be equipped with 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.
  • 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.
  • a call interface corresponding to the motion sensing hardware may also be provided in advance.
  • the motion sensing hardware may be synchronously invoked through the calling interface, and the mobile terminal may be collected in real time or periodically during the process of using the mobile terminal.
  • the motion data (such as the angle of rotation and speed, etc.) is then used to identify the operational actions performed by the user in the process of using the mobile terminal based on the collected motion data.
  • the APP application may collect motion data of the mobile terminal when the user performs various predefined standard actions for the mobile terminal in advance in the background, and perform the collected motion data as the motion data sample. recording.
  • the collected motion data may be matched with the pre-recorded motion data samples corresponding to various standard actions to determine the user. An action performed on the mobile terminal.
  • 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 an operation action performed by the user on the mobile terminal to cause a change in the collected light value.
  • 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.
  • 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 Is an upward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device.
  • the first preset action may be when the user uses the smart phone, and the screen of the smart phone is located.
  • the downward flipping of the surface ie, the "reverse" of the smartphone's screen, flipping the light sensor to the side where the light cannot be detected.
  • the second preset action may be a flipping action of the surface of the screen of the smart phone when the user uses the smart phone (ie, the action of flipping the screen of the smart phone from the “reverse button” state to the screen facing upward).
  • the APP application may further determine whether the identified operation action is the first preset action
  • the APP application can immediately switch the user's login account from the current mode to the above preset mode.
  • the APP application may not switch the account mode of the login account.
  • the APP application may further determine the identified operation action. Whether it is the above second preset action.
  • the APP application can immediately switch the user's login account from the above preset mode to the normal mode.
  • 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.
  • the above-mentioned login account is a payment account
  • the APP application is a payment APP application
  • 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.
  • the first preset action may be an action of “reversing” the screen of the smart phone
  • the second preset action may be to The "reverse” state flips to the action of the screen facing up.
  • the "reverse button” action can be performed on the screen of the smartphone; on the one hand, the payment APP application can call the light sensing hardware in the background. Collecting the light value and determining whether the collected light value is lower than a preset threshold; on the other hand, the payment APP application can synchronously invoke the motion sensing hardware, collect the motion data of the mobile terminal, and identify the user based on the collected motion data.
  • the action of flipping the "back button" state to the screen upward may be performed on the screen of the smartphone;
  • 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 invoke the motion sensing hardware to collect the mobile.
  • the motion data of the terminal and based on the collected motion data, identify an operation action of the user when using the mobile terminal, and determine whether the identified operation action is the second preset action; if the payment APP application determines the collected When the ray value is greater than or equal to the preset threshold, and the identified 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 funds transfer to the payment account is released. Out of the limitations of the function.
  • 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.
  • 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; ;
  • the corresponding server may be further queried whether the current login account is simultaneously logged in on multiple terminals; if yes, the APP application at this time
  • the account mode corresponding to the login account may be switched 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.
  • 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.
  • 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.
  • 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.
  • the above technical solution of the present specification is 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. 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.
  • 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 may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • 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.
  • FIG. 2 a hardware structure diagram of an electronic device in which the account management apparatus of the present specification is located, except for the processor, the memory, the network interface, and the nonvolatile memory shown in FIG. 2.
  • 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.
  • the account management apparatus 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 acquiring 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
  • the switching module 303 is configured to switch the login account of the client to a preset mode if the collected light value is lower than a preset threshold; 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.
  • the collecting module 301 is further configured to:
  • the device 30 further includes:
  • An identification module 304 (not shown in FIG. 3) identifies an operation action of the user when using the terminal device based on the motion data.
  • the switching module 303 the switching module 303:
  • the login account of the client is switched from the normal mode to the preset mode.
  • the switching module 303 further:
  • the login account is switched from the preset mode to the normal mode.
  • the terminal device is a mobile terminal;
  • the first preset action includes a downward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device;
  • the action includes an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device.
  • the account is a payment account; and the preset mode is an account protection mode for a payment account.
  • 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 separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it 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 application. 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 may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • the present application 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 interconnected by an internal bus.
  • the device may also include an external interface to enable communication with other devices or components.
  • the processor by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery, the processor is caused to:
  • the login account of the client is switched to the preset mode.
  • 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.
  • the processor is also caused to: by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery:
  • An operation action of the user when using the terminal device is identified based on the motion data.
  • the processor is also caused to: by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery:
  • the login account of the client is switched from the normal mode to the preset mode.
  • the processor is also caused to: by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery:
  • the login account is switched from the preset mode to the normal mode.
  • the terminal device is a mobile terminal;
  • the first preset action is a downward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device;
  • the action is an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device.
  • the account is a payment account; and the preset mode is an account protection mode for a payment account.
  • 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 separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it 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, apparatus, module or unit set forth 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 may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.

Abstract

Disclosed is an account management method, comprising: calling a light sensing hardware 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, switching a login account of the client to a preset mode; and if the collected light value is not lower than the preset threshold, switching, when the login account of the client is switched to the preset mode by a user, the login account from the preset mode to a normal mode.

Description

账户管理方法及装置Account management method and device 技术领域Technical field
本说明书涉及计算机应用领域,尤其涉及一种账户管理方法及装置。The present specification relates to the field of computer applications, and in particular, to an account management method and apparatus.
背景技术Background technique
账户保护模式,是指当用户在客户端上的登录账户存在异常时,及时的对该登录账户进行安全防护,对与该登录账户相关的一些特定的用户权限进行限制的业务模式。在实际应用中,通过将用户在客户端上的登录账户,切换至账户保护模式,通常可以提升用户的登录账户的安全性;例如,以用户的支付账户为例,当用户的支付账户存在异常时(比如被盗号),将用户的支付账户及时切换至账户保护模式,可以临时限制该支付账户的资金转出,从而可以在用户的支付账户存在盗用风险时,起到保护用户的资金的目的。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 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 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. .
发明内容Summary of the invention
本说明书提出一种账户管理方法,应用于客户端,所述方法包括:The present specification proposes an account management method, which is applied to a client, and the method includes:
调用所述客户端所在的终端设备上预设的光线传感硬件采集光线值;Calling the light sensing hardware preset on the terminal device where the client is located 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, 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 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.
本说明书还提出一种账户管理装置,应用于客户端,所述装置包括:The present specification also provides an account management apparatus, which is applied to a client, and the apparatus includes:
采集模块,调用所述客户端所在的终端设备上预设的光线传感硬件采集光线值;The collecting module calls the light sensing hardware preset on the terminal device where the client is located to collect the light value;
判断模块,判断采集到的光线值是否低于预设阈值;The determining module determines whether the collected light value is lower than a preset threshold;
切换模块,如果采集到的光线值低于预设阈值,则将所述客户端的登录账户切换至预设模式;以及,如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。Switching module, if the collected light value is lower than a preset threshold, switching the login account of the client to a preset mode; and if the collected light value is not lower than the preset threshold, then 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 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 where the user is located 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 a normal mode to a preset mode; and, if the collected If the ray 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, thereby implementing the The size of the light value can be quickly switched to the account mode of the client's login account, which can prevent the user from performing complicated manual configuration when the mode is switched.
附图说明DRAWINGS
图1是本说明书一实施例示出的一种账户管理方法的流程图;1 is a flow chart showing an account management method according to an embodiment of the present specification;
图2是本说明书一实施例提供的承载所述一种账户管理装置的电子设备所涉及的硬件结构图;2 is a hardware structural diagram of an electronic device carrying the account management apparatus according to an embodiment of the present disclosure;
图3是本说明书一实施例提供的一种账户管理装置的的逻辑框图。FIG. 3 is a logic block diagram of an account management apparatus according to an embodiment of the present disclosure.
具体实施方式Detailed ways
本说明书旨在提出一种针对用户在客户端上的登录账户快捷的进行模式切换的交互方式。The present specification aims to propose an interactive manner for mode switching of 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 is low At a preset threshold, the login account of the client may be switched from the normal mode to the preset mode; and if the collected ray value is not lower than the preset threshold, the login account of the client has been switched by the user. When the preset mode is changed, 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 collected light value, which can be avoided. Users perform complex manual configuration when they need to switch modes to the login account.
下面通过具体实施例并结合具体的应用场景进行详细描述。The following is a detailed description through specific embodiments and specific application scenarios.
请参考图1,图1是本说明书一实施例提供的一种账户管理方法,应用于客户端,所述方法执行以下步骤:Please refer to FIG. 1. FIG. 1 is an account management method according to an embodiment of the present disclosure, which is applied to a client, and the method performs the following steps:
步骤102,调用所述光线传感硬件采集光线值; Step 102, invoking the light sensing hardware to collect a light value;
步骤104,判断采集到的光线值是否低于预设阈值;Step 104: Determine whether the collected light value is lower than a preset threshold;
步骤106,如果采集到的光线值低于预设阈值,则将所述客户端的登录账户切换至预设模式;以及,如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。Step 106: If the collected light value is lower than a preset threshold, switch the login account of the client to a preset mode; and if the collected light value is not lower than the preset threshold, then 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.
上述登录账户,是指用户登录上述客户端时,所使用的用户账户;例如,在示出的一种实施方式中,上述登录账户可以是用户登录支付客户端所使用的支付账户。The above login account refers to a 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.
上述客户端,可以是指用户的终端设备上安装的可以面向用户提供各种在线服务的客户端软件;其中,上述终端设备,可以是移动终端(比如智能手机),也可以是PC终端;等同的,上述客户端可以是基于移动终端的APP应用,也可以是基于PC终端的web应用。The above-mentioned 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 may be temporarily made. The account's funds transfer function is limited.
其中,需要说明的是,在实际应用中,上述预设模式所对应的模式类型,在本说明书中不进行特别限定,可以基于用户实际的需求进行定义;即在本 说明书中,上述客户端可以通过执行步骤102-106中示出的执行逻辑,将上述登录用户在任意两种账户模式下进行切换。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-mentioned logged-in user is switched in any two account modes by executing the execution logic shown in steps 102-106.
以下以上述终端设备为移动终端,以及上述客户端为安装在移动终端上的APP应用为例,对本说明书的技术方案进行详细说明。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.
在本实施例中,用户的移动终端上,可以预先安装上述APP应用,并搭载光线传感硬件。其中,上述光线传感硬件,具体可以是光线传感器;同时,为了方便上述APP对上述光线传感硬件进行调用,在移动终端的操作系统中还可以预先提供对应于该光线传感硬件的调用接口;比如,开发者可以预先在操作系统的源代码中,面向移动终端所搭载的光线传感硬件,开发独立的API调用接口。In this embodiment, the APP application may be pre-installed on the user's mobile terminal and equipped with light sensing hardware. The light sensing hardware may be a light sensor. Meanwhile, in order to facilitate the calling of the light sensing hardware by the APP, a calling interface corresponding to the light sensing hardware may be provided in advance in an operating system of the mobile terminal. For example, the developer can develop a separate API call interface in advance in the source code of the operating system for the light sensing hardware carried by the mobile terminal.
而上述APP应用,可以通过上述调用接口,在后台实时的或者周期性的发起对光线传感硬件的调用,来采集用户所处环境下的光线值,并将采集到的光线值与预设阈值进行比较,来判断采集到的光线值是否低于预设阈值。The APP application may use the above-mentioned calling interface to initiate a call to the light sensing hardware in real time or periodically in the background to collect the light value in the environment where the user is located, and collect the collected light value with a preset threshold. A comparison is made to determine whether the collected light value is below a preset threshold.
其中,上述预设阈值,在本说明书中也不进行特别限定,在实际应用中,可以根据实际的需求进行统一配置,或者通过在上述APP应用中提供相应的用户选项,由用户自主的进行自定义配置;例如,在实现时,上述预设阈值,可以设置为0,或者与0接近的一个较小的阈值。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.
一方面,如果判断出检测到的光线值小于上述预设阈值,此时上述APP应用可以立即将用户的登录账户,切换至预设模式;On the one hand, if it is determined that the detected ray value is less than the preset threshold, the APP application can immediately switch the user's login account to the preset mode;
另一方面,如果判断出检测到的光线值不小于上述预设阈值,此时上述APP应用可以进一步检查用户的登录账户当前是否已经被切换至预设模式;如果用户的登录账户当前已经被切换至预设模式,此时上述APP应用可以立即对该登录账户的模式进行恢复,将该登录账户的模式由预设模式切换至正常模式。当然,如果用户的登录账户当前未被切换为预设模式,此时上述APP应用可以不进行任何处理。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 currently switched To the preset mode, the APP application can immediately restore the mode of the login account, and switch the mode of the login account 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.
例如,以上述登录账户为支付账户,上述APP应用为支付APP应用为例,在这种情况下,上述预设模式具体可以是针对用户的支付账户的账户保 护模式。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.
一方面,如果上述支付APP应用判断出通过调用移动终端搭载的光线传感硬件采集到的光线值小于预设阈值,此时可以立即将用户当前已经成功登录的该支付账户,由当前的模式切换至账户保护模式,对该支付账户的资金转出功能进行临时的限制。On the one hand, if the payment APP application determines that the light value collected by the light sensing hardware carried in the mobile terminal is less than a preset threshold, the payment account that the user has successfully logged in can be immediately switched from the current mode. To the account protection mode, the payment transfer function of the payment account is temporarily restricted.
另一方面,如果上述支付APP应用判断出通过调用移动终端搭载的光线传感硬件采集到的光线值不小于预设阈值,此时上述APP应用可以进一步检查用户的登录账户当前是否已经被切换至账户保护模式;如果用户的登录账户当前已经被切换至账户保护模式,此时上述APP应用可以立即对该登录账户的账户模式进行恢复,将该登录账户的模式由账户保护模式切换至正常模式,将针对该支付账户的资金转出功能的限制解除。On the other hand, if the payment APP application determines that the light value collected by 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 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 for the payment account is released.
其中,需要说明的是,上述APP应用在对上述登录账户的账户模式进行切换时,具体可以通过与对应的服务端进行交互来完成;当上述APP应用需要对上述登录账户进行模式切换时,可以向对应的服务端发送一个模式切换的通知消息,并在该通知消息携带需要切换的目标模式的相关信息,由服务端基于该模式切换的通知消息,在后台完成上述登录账户的模式切换。It should be noted that, when the application of the APP is switched, the account mode of the login account may be specifically 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.
例如,以将用户的支付账户切换至账户保护模式为例,上述APP应用可以向对应的服务端发送一个将该支付账户切换至账户保护模式的通知消息;而服务端在收到该通知消息后,可以基于该通知消息中携带的信息,在后台将上述支付账户切换为账户保护模式。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 may be switched to the account protection mode in the background based on the information carried in the notification message.
可见,通过这种方式,使得上述APP应用可以将采集到的光线值的变化,作为对用户的登录账户进行账户模式切换的触发条件,基于采集到的光线值的大小,对用户在登录APP应用时所使用的登录账户的账户模式,进行快捷的切换,进而可以避免用户在需要对登录账户进行模式切换时进行复杂的手动配置。It can be seen that, in this manner, the APP application can use the change of 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 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; because the user reverses the terminal device through a "reverse button" action, the light transmission carried by the terminal device The sense 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.
在本实施例中,由于上述APP应用所采集到的光线值的变化,可能是由于用户在使用移动终端的过程中,通过对移动终端刻意的执行了相应的动作导致的,也可能是由于用户所处环境的光线自然变化导致的;因此,在实际应用中,如果上述APP应用仅仅将采集到的光线值的变化,作为账户模式切换的触发条件,来完成针对用户的登录账户的账户模式的快捷切换,则可能会出现误操作的情况。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 user's login account is completed. If you switch quickly, you may get a misoperation.
例如,如果携带移动终端进入了一个光线较弱的目标场所中后,此时用户所处的环境的光线通常会发生变化;在这种情况下,如果该目标场所所处环境中的光线值低于预设阈值,满足了账户模式切换的触发条件,那么上述APP应用就有可能在用户没有对登录账户进行模式切换的需求时,错误的将该登录账户切换至预设模式。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 After the preset threshold value satisfies 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.
为了解决上述问题,可以在以上描述的通过判断采集到的光线值是否低于预设阈值的基础上,在上述APP应用中进一步引入针对用户的动作识别机制,使得上述APP应用在对用户的登录账户进行模式切换时,不仅仅需要参考采集到的光线值的大小是否小于上述预设阈值的判断结果,而且还需要进一步判断光线值的变化,是否是由于用户刻意的针对移动终端执行了某种动 作而导致的,从而可以最大程度的降低误操作的可能。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 be equipped with 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.
类似的,在上述移动终端的操作系统中,也可以预先提供供对应于该运动传感硬件的调用接口。上述APP应用调用上述光线传感硬件采集光线值的过程中,也可以通过该调用接口来同步调用上述运动传感硬件,实时的或者周期性的采集用户在使用移动终端的过程中,该移动终端的运动数据(比如转动的角度以及速度,等等),然后基于采集到的运动数据,来识别用户在使用该移动终端的过程中所执行的操作动作。Similarly, in the operating system of the mobile terminal, a call 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 mobile terminal may be collected in real time or periodically during the process of using the mobile terminal. The motion data (such as the angle of rotation and speed, etc.) is then used to identify the operational actions performed by the user in the process of using the mobile terminal based on the collected motion data.
其中,基于采集到的移动终端的运动数据,来识别用户在使用移动终端的过程中所执行的操作动作的具体过程,在本说明书中不再进行详述,本领域技术人员在将本说明书中的技术方案付诸实现时,可以参考相关技术中的记载;The specific process of identifying the operation actions 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 When the technical solution is implemented, reference can be made to the description in the related art;
例如,在一种实现方式中,上述APP应用可以提前在后台采集用户在针对移动终端执行各种预定义的标准动作时,移动终端的运动数据,并将采集到的运动数据作为运动数据样本进行记录。当需要识别用户在使用移动终端的过程中,针对移动终端执行的操作动作时,可以将采集到的运动数据,与预先记录的对应于各种标准动作的运动数据样本进行匹配,来确定出用户针对移动终端执行的操作动作。For example, in an implementation manner, the APP application may collect motion data of the mobile terminal when the user performs various predefined standard actions for the mobile terminal in advance in the background, and perform the collected motion data as the motion data sample. recording. 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 the user. An action performed on the mobile terminal.
在本实施例中,当上述APP应用判断出采集到的光线值低于预设阈值,或者判断出采集到的光线值不低于预设阈值时,此时上述APP应用可以进一步判断识别出的用户针对移动终端所执行的操作动作是否为预设动作;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 an operation action performed by the user on the mobile terminal to cause a change in the collected light value. 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 Is an upward flipping action with respect to a 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 at a camera above the screen of the smart phone, the first preset action may be when the user uses the smart phone, and the screen of the smart phone is located. The downward flipping of the surface (ie, the "reverse" of the smartphone's screen, flipping the light sensor to the side where the light cannot be detected). The second preset action may be a flipping action of the surface of the screen of the smart phone when the user uses the smart phone (ie, the action of flipping the screen of the smart phone from the “reverse button” state to the screen facing upward).
一方面,如果上述APP应用判断出采集到的光线值低于预设阈值,此时上述APP应用可以进一步判断出识别出的操作动作是否为上述第一预设动作;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;
如果识别出的操作动作为上述第一预设动作,此时表明采集到的光线值的降低,可能是由用户针对移动终端执行上述第一预设动作所导致的,在这种情况下,上述APP应用可以立即将用户的登录账户由当前模式切换至上述预设模式。If the identified operation action is the first preset action, indicating 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 can immediately switch the user's login account from the current mode to the above preset mode.
当然,如果识别出的操作动作不是上述第一预设动作,此时采集到的光线值的降低,很可能是由于用户所处环境的光线值的自然变化而导致的,在这种情况下,用户很可能并不具有对登录账户进行模式切换的需求,因此上述APP应用可以不对上述登陆账户的账户模式进行切换。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.
另一方面,如果上述APP应用判断出采集到的光线值不低于预设阈值,并且用户的登录账户当前已被切换至预设模式,此时上述APP应用可以进一步判断出识别出的操作动作是否为上述第二预设动作。On the other hand, if the APP application determines that the collected ray value is not lower than the preset threshold, and the user's login account 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.
如果识别出的操作动作为上述第二预设动作,此时表明采集到的光线值的上升,可能是由用户针对移动终端执行上述第二预设动作所导致的,在这种情况下,上述APP应用可以立即将用户的登录账户由上述预设模式切换至正常模式。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.
当然,如果识别出的操作动作不是上述第二预设动作,此时采集到的光线值的上升,也很可能是由于用户所处环境的光线值的自然变化而导致的,在这种情况下,用户很可能并不具有对登录账户进行模式切换的需求,因此上述APP应用也可以不对上述登陆账户的账户模式进行切换。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.
例如,以上述登录账户为支付账户,上述APP应用为支付APP应用,上述移动终端为智能手机为例;在这种情况下,上述预设模式具体可以是针对用户的支付账户的账户保护模式。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 at the camera above the screen of the smart phone, the first preset action may be an action of “reversing” the screen of the smart phone, and the second preset action may be to The "reverse" state flips to the action of the screen facing up.
在一种场景下,如果用户需要快捷的将支付账户切换至账户保护模式,此时可以针对智能手机的屏幕执行“反扣”动作;一方面,上述支付APP应用可以在后台调用光线传感硬件采集光线值,并判断采集到的光线值是否低于预设阈值;另一方面,上述支付APP应用可以同步调用运动传感硬件,采集移动终端的运动数据,并基于采集到的运动数据识别用户在使用该移动终端时的操作动作,以及判断识别出的操作动作是否为上述第一预设动作;如果上述支付APP应用判断出采集到的光线值低于预设阈值,并且识别出的操作动作为上述第一预设动作时,此时可以立即将用户的支付账户切换至账户保护模式,对该支付账户的资金转出功能进行限制。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 smartphone; on the one hand, the payment APP application can call the light sensing hardware in the background. Collecting the light value and determining whether the collected light value is lower than a preset threshold; on the other hand, the payment APP application can synchronously invoke the motion sensing hardware, collect the motion data of the mobile terminal, and identify the user based on the collected motion data. The operation action when the mobile terminal is used, and 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 operation action In the above-mentioned 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.
在另一种场景下,如果用户需要快捷的将支付账户由账户保护模式回复到正常模式,此时可以针对智能手机的屏幕执行由“反扣”状态翻转到屏幕朝上的动作;一方面,上述支付APP应用仍然可以在后台调用光线传感硬件采集光线值,并判断采集到的光线值是否大于或者等于预设阈值;另一方面, 上述支付APP应用可以同步调用运动传感硬件,采集移动终端的运动数据,并基于采集到的运动数据识别用户在使用该移动终端时的操作动作,以及判断识别出的操作动作是否为上述第二预设动作;如果上述支付APP应用判断出采集到的光线值大于或者等于预设阈值,并且识别出的操作动作为上述第二预设动作时,此时可以立即将用户的支付账户由账户保护模式切换至正常模式,解除对该支付账户的资金转出功能的限制。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 "back button" state to the screen upward may be performed on the screen of the smartphone; 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 invoke the motion sensing hardware to collect the mobile. The motion data of the terminal, and based on the collected motion data, identify an operation action of the user when using the mobile terminal, and determine whether the identified operation action is the second preset action; if the payment APP application determines the collected When the ray value is greater than or equal to the preset threshold, and the identified 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 funds transfer to the payment account is released. Out of the limitations of the function.
可见,通过在以上描述的判断采集到的光线值是否低于预设阈值的基础上,在上述APP应用中进一步引入针对用户的动作识别机制,可以确保对登录账户的账户模式切换,是由用户主动发起的,因此可以规避由于用户所处环境中光线的自然变化而造成的误操作。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.
另外,需要说明的是,由于在实际应用中,用户的登录账户,通常可以在多个终端上同时进行登录;例如,同时在移动终端上的APP应用,以及PC终端上的web客户端同时登录;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; ;
因此,在这种情况下,上述APP应用在针对用户的登录账户进行切换时,可以进一步向对应的服务端查询当前的登录账户是否同时在多个终端上登录;如果是,此时上述APP应用可以仅将该登录账户对应的账户模式在移动终端上切换为预设模式,而不对该登录账户对应的账户模式在其它的登录终端上的账户模式进行切换。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 APP application at this time The account mode corresponding to the login account may be switched 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.
例如,以将用户的支付账户在移动终端上切换至账户保护模式为例,上述APP应用可以向对应的服务端发送一个将该支付账户在移动终端上切换至账户保护模式的通知消息;而服务端在收到该通知消息后,可以基于该通知消息中携带的信息,在后台将上述支付账户在移动终端上切换为账户保护模式,限制该支付账户的资金转出功能。当切换完成后,任何人通过移动终端登录该支付账户后,都无法取得将该支付账户中的资金转出的权限。For example, to switch 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.
当然,如果当前的登录账户仅在移动终端上登录,那么上述APP应用可以直接将该登录账户对应的账户模式切换为账户保护模式即可,不再赘述。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.
需要补充说明的是,以上以上述终端设备为移动终端,以及上述客户端 为安装在移动终端上的APP应用为例,对本说明书的技术方案进行了详细说明。需要强调的是,在实际应用中,上述终端设备也可以是PC终端,而上述客户端也可以是安装在PC终端上的web客户端,其具体的实施过程在本说明书中不再赘述,本领域技术人员在将本说明书的技术方案付诸实现时,可以参考以上实施例中描述的实施过程。It should be noted that the above technical solution of the present specification is 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. 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.
本说明书的账户管理装置的实施例可以应用在电子设备上。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图2所示,为本说明书的账户管理装置所在电子设备的一种硬件结构图,除了图2所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的电子设备通常根据该电子设备的实际功能,还可以包括其他硬件,对此不再赘述。Embodiments of the account management apparatus of the present specification can be applied to an electronic device. The device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software. 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. From a hardware level, as shown in FIG. 2, a hardware structure diagram of an electronic device in which the account management apparatus of the present specification is located, except for the processor, the memory, the network interface, and the nonvolatile memory shown in FIG. 2. In addition, 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.
图3是本说明书一示例性实施例示出的一种账户管理装置的框图。FIG. 3 is a block diagram of an account management apparatus shown in an exemplary embodiment of the present specification.
请参考图3,所述账户管理装置30可以应用在前述图2所示的电子设备中,包括有:采集模块301、判断模块302、切换模块303和标记模块。Referring to FIG. 3, the account management apparatus 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.
其中,采集模块301,调用所述光线传感硬件采集光线值;The acquiring module 301 calls the light sensing hardware to collect the light value.
判断模块302,判断采集到的光线值是否低于预设阈值;The determining module 302 determines whether the collected light value is lower than a preset threshold;
切换模块303,如果采集到的光线值低于预设阈值,则将所述客户端的登录账户切换至预设模式;以及,如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。The switching module 303 is configured to switch the login account of the client to a preset mode if the collected light value is lower than a preset threshold; 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.
在本实施例中,所述采集模块301进一步用于:In this embodiment, the collecting module 301 is further configured to:
调用预设的运动传感硬件采集所述终端设备的运动数据;Calling preset motion sensing hardware to collect motion data of the terminal device;
所述装置30还包括:The device 30 further includes:
识别模块304(图3中未示出),基于所述运动数据识别用户在使用所述终端设备时的操作动作。An identification module 304 (not shown in FIG. 3) identifies an operation action of the user when using the terminal device based on the motion data.
在本实施例中,所述切换模块303:In this embodiment, the switching module 303:
判断所述识别模块304识别出的所述操作动作是否为第一预设动作;Determining whether the operation action recognized by the identification module 304 is a first preset action;
如果是,将所述客户端的登录账户由正常模式切换至预设模式。If yes, the login account of the client is switched from the normal mode to the preset mode.
所述切换模块303进一步:The switching module 303 further:
判断所述识别模块识别304出的所述操作动作是否为第二预设动作;Determining whether the operation function of the identification module identification 304 is a second preset action;
如果是,将所述登录账户由所述预设模式切换至正常模式。If so, 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 includes a downward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device; The action includes an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device.
在本实施例中,所述账户为支付账户;所述预设模式为针对支付账户的账户保护模式。In this embodiment, the account is a payment account; and the preset mode is an account protection mode for a 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 separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it 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 application. 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 may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control. A combination of a tablet, a tablet, a wearable device, or any of these devices.
与上述方法实施例相对应,本申请还提供了一种账户管理设备的实施例。该账户管理设备包括:处理器以及用于存储机器可执行指令的存储器;其中,处理器和存储器通常通过内部总线相互连接。在其他可能的实现方式中,所述设备还可能包括外部接口,以能够与其他设备或者部件进行通信。Corresponding to the above method embodiment, the present application 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 interconnected 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 the present embodiment, by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery, the processor is caused to:
调用所述光线传感硬件采集光线值;Calling the light sensing hardware to collect light values;
判断采集到的光线值是否低于预设阈值;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 is switched to the preset mode; and,
如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。If the collected ray 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.
在本实施例中,通过读取并执行所述存储器存储的与数据库损坏的恢复的控制逻辑对应的机器可执行指令,所述处理器还被促使:In the present embodiment, the processor is also caused to: by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery:
调用预设的运动传感硬件采集所述终端设备的运动数据;Calling preset motion sensing hardware to collect motion data of the terminal device;
基于所述运动数据识别用户在使用所述终端设备时的操作动作。An operation action of the user when using the terminal device is identified based on the motion data.
在本实施例中,通过读取并执行所述存储器存储的与数据库损坏的恢复的控制逻辑对应的机器可执行指令,所述处理器还被促使:In the present embodiment, the processor is also caused to: by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery:
判断识别出的所述操作动作是否为第一预设动作;Determining whether the identified operation action is a first preset action;
如果是,将所述客户端的登录账户由正常模式切换至预设模式。If yes, the login account of the client is switched from the normal mode to the preset mode.
在本实施例中,通过读取并执行所述存储器存储的与数据库损坏的恢复的控制逻辑对应的机器可执行指令,所述处理器还被促使:In the present embodiment, the processor is also caused to: by reading and executing the machine executable instructions of the memory stored control logic associated with database corruption recovery:
判断识别出的所述操作动作是否为第二预设动作;Determining whether the identified operation action is a second preset action;
如果是,将所述登录账户由所述预设模式切换至正常模式。If so, 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 a mounting surface of the light sensing hardware on the terminal device; The action is an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device.
在本实施例中,所述账户为支付账户;所述预设模式为针对支付账户的账户保护模式。In this embodiment, the account is a payment account; and the preset mode is an account protection mode for a payment account.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will be readily apparent to those skilled in the <RTIgt; The application is intended to cover any variations, uses, or adaptations of the application, which are in accordance with the general principles of the application and include common general knowledge or common technical means in the art that are not disclosed herein. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the invention is not limited to the details of the details and The scope of the present application is limited only by the accompanying claims.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing description of the specific embodiments of the specification has been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than the embodiments and still achieve the desired results. In addition, the processes depicted in the figures 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 separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it 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, apparatus, module or unit set forth 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 may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control. A combination of a tablet, a tablet, a wearable device, or 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,
应当理解的是,本说明书并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本说明书的范围仅由所附的权利要求来限制。It is to be understood that the invention is not limited to the details of the details and The scope of the present description is limited only by the accompanying claims.
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above description is only the preferred embodiment of the present specification, and is not intended to limit the description. 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.

Claims (11)

  1. 一种账户管理方法,应用于客户端;其中,所述客户端所在的终端设备搭载了光线传感硬件;所述方法包括:An account management method is 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;
    判断采集到的光线值是否低于预设阈值;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 is switched to the preset mode; and,
    如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。If the collected ray 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.
  2. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    调用预设的运动传感硬件采集所述终端设备的运动数据;Calling preset motion sensing hardware to collect motion data of the terminal device;
    基于所述运动数据识别用户在使用所述终端设备时的操作动作。An operation action of the user when using the terminal device is identified based on the motion data.
  3. 根据权利要求2所述的方法,所述将所述客户端的登录账户由正常模式切换至预设模式,包括:The method according to claim 2, wherein the switching the login account of the client from the normal mode to the preset mode comprises:
    判断识别出的所述操作动作是否为第一预设动作;Determining whether the identified operation action is a first preset action;
    如果是,将所述客户端的登录账户由正常模式切换至预设模式;If yes, the login account of the client is switched from the normal mode to the preset mode;
    所述将所述登录账户由所述预设模式切换至正常模式,包括:The switching the login account from the preset mode to the normal mode includes:
    判断识别出的所述操作动作是否为第二预设动作;Determining whether the identified operation action is a second preset action;
    如果是,将所述登录账户由所述预设模式切换至正常模式。If so, the login account is switched from the preset mode to the normal mode.
  4. 根据权利要求3所述的方法,所述终端设备为移动终端;所述第一预设动作为相对于所述光线传感硬件在所述终端设备上的安装表面的向下翻动动作;所述第二预设动作为相对于所述光线传感硬件在所述终端设备上的安装表面的向上翻动动作。The method according to claim 3, wherein the terminal device is a mobile terminal; the first preset action is a downward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device; The second preset action is an upward flipping action with respect to the mounting surface of the light sensing hardware on the terminal device.
  5. 根据权利要求1或3所述的方法,所述账户为支付账户;所述预设模式为针对支付账户的账户保护模式。The method according to claim 1 or 3, wherein the account is a payment account; and the preset mode is an account protection mode for a payment account.
  6. 一种账户管理装置,应用于客户端;其中,所述客户端所在的终端设备搭载了光线传感硬件;所述装置包括:An account management device is applied to a client; wherein the terminal device where the client is located is equipped with light sensing hardware; the device includes:
    采集模块,调用所述光线传感硬件采集光线值;The acquisition module calls the light sensing hardware to collect the light value;
    判断模块,判断采集到的光线值是否低于预设阈值;The determining module determines whether the collected light value is lower than a preset threshold;
    切换模块,如果采集到的光线值低于预设阈值,则将所述客户端的登录账户切换至预设模式;以及,如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。Switching module, if the collected light value is lower than a preset threshold, switching the login account of the client to a preset mode; and if the collected light value is not lower than the preset threshold, then 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.
  7. 根据权利要求6所述的装置,所述采集模块进一步用于:The apparatus according to claim 6, wherein the acquisition module is further configured to:
    调用预设的运动传感硬件采集所述终端设备的运动数据;Calling preset motion sensing hardware to collect motion data of the terminal device;
    所述装置还包括:The device also includes:
    识别模块,基于所述运动数据识别用户在使用所述终端设备时的操作动作。An identification module that identifies an operation action of the user when using the terminal device based on the motion data.
  8. 根据权利要求7所述的装置,,所述切换模块:The apparatus according to claim 7, wherein the switching module:
    判断所述识别模块识别出的所述操作动作是否为第一预设动作;Determining whether the operation action recognized by the identification module is a first preset action;
    如果是,将所述客户端的登录账户由正常模式切换至预设模式。If yes, the login account of the client is switched from the normal mode to the preset mode.
    所述切换模块进一步:The switching module further:
    判断所述识别模块识别出的所述操作动作是否为第二预设动作;Determining whether the operation action recognized by the identification module is a second preset action;
    如果是,将所述登录账户由所述预设模式切换至正常模式。If so, the login account is switched from the preset mode to the normal mode.
  9. 根据权利要求8所述的装置,所述终端设备为移动终端;所述第一预设动作包括相对于所述光线传感硬件在所述终端设备上的安装表面的向下翻动动作;所述第二预设动作包括相对于所述光线传感硬件在所述终端设备上的安装表面的向上翻动动作。The device according to claim 8, wherein the terminal device is a mobile terminal; the first preset action comprises a downward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device; The second preset action includes an upward flipping action with respect to a mounting surface of the light sensing hardware on the terminal device.
  10. 根据权利要求6或8所述的装置,所述账户为支付账户;所述预设模式为针对支付账户的账户保护模式。The apparatus according to claim 6 or 8, wherein the account is a payment account; and the preset mode is an account protection mode for a payment account.
  11. 一种账户管理装置,包括:An account management device comprising:
    处理器;processor;
    用于存储机器可执行指令的存储器;a memory for storing machine executable instructions;
    其中,通过读取并执行所述存储器存储的与账户管理的控制逻辑对应的机器可执行指令,所述处理器被促使:Wherein, by reading and executing the machine executable instructions stored in the memory corresponding to the account management control logic, the processor is caused to:
    调用所述光线传感硬件采集光线值;Calling the light sensing hardware to collect light values;
    判断采集到的光线值是否低于预设阈值;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 is switched to the preset mode; and,
    如果采集到的光线值不低于所述预设阈值,则在所述客户端的登录账户已被用户切换至预设模式时,将所述登录账户由所述预设模式切换至正常模式。If the collected ray 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.
PCT/CN2018/092898 2017-06-28 2018-06-26 Account management method and device WO2019001427A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2019001427A1 true WO2019001427A1 (en) 2019-01-03

Family

ID=60334106

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/092898 WO2019001427A1 (en) 2017-06-28 2018-06-26 Account management method and device

Country Status (3)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165493A (en) * 2020-09-30 2021-01-01 惠州市善居电子商务有限公司 Identity login switching method and device, computer equipment and storage medium

Families Citing this family (1)

* 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

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
US20160154952A1 (en) * 2016-02-01 2016-06-02 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
CN107392606A (en) * 2017-06-28 2017-11-24 阿里巴巴集团控股有限公司 Account management method and device

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
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
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
CN106874746B (en) * 2017-01-13 2020-01-17 北京安云世纪科技有限公司 Application program calling method and device and mobile terminal

Patent 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
US20160154952A1 (en) * 2016-02-01 2016-06-02 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
CN107392606A (en) * 2017-06-28 2017-11-24 阿里巴巴集团控股有限公司 Account management method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165493A (en) * 2020-09-30 2021-01-01 惠州市善居电子商务有限公司 Identity login switching method and device, computer equipment and storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3694170B1 (en) Method and device for withstanding denial-of-service attack
CN105519038B (en) User input data protection method and system
TWI468978B (en) Orientation aware authentication on mobile platforms
WO2016029761A1 (en) Secure intelligent terminal device and information processing method
WO2020019483A1 (en) Emulator identification method, identification device, and computer readable medium
KR102118294B1 (en) Method and apparatus for detecting wireless network type, and electronic device
US20200220967A1 (en) Method and device for waking up voice recognition function in mobile terminal, and computer readable storage medium
JP6616896B2 (en) Fingerprint recognition method and electronic device
WO2019119408A1 (en) Manageability engine and automatic firmware validation
CN111143873A (en) Private data processing method and device and terminal equipment
KR102203130B1 (en) Method for controlling an use of sim card and an electronic device thereof
WO2022222806A1 (en) Insurance verification method and apparatus for electronic device
JP2022153473A (en) Method and system for improved data control and access
WO2019001427A1 (en) Account management method and device
CN112711955A (en) NFC information transmission method, NFC information transmission device and NFC terminal
CN113467656B (en) Screen touch event notification method and vehicle machine
US20190179695A1 (en) Coordinated panic flow
US11947709B2 (en) Electronic device for controlling access to device resource and operation method thereof
US11194904B2 (en) Security actions based on monitored computer and user physical activities
US11809550B2 (en) Electronic device and control method therefor
US9690934B1 (en) Systems and methods for protecting computing devices from imposter accessibility services
US20190139046A1 (en) Detecting malware by monitoring client-side memory stacks
US20240015156A1 (en) Electronic device for controlling access to device resource and operation method thereof
US11307921B2 (en) Coordinated panic flow
CN117112289B (en) Memory error correction method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18825464

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18825464

Country of ref document: EP

Kind code of ref document: A1