WO2023151439A1 - Account login processing - Google Patents

Account login processing Download PDF

Info

Publication number
WO2023151439A1
WO2023151439A1 PCT/CN2023/071261 CN2023071261W WO2023151439A1 WO 2023151439 A1 WO2023151439 A1 WO 2023151439A1 CN 2023071261 W CN2023071261 W CN 2023071261W WO 2023151439 A1 WO2023151439 A1 WO 2023151439A1
Authority
WO
WIPO (PCT)
Prior art keywords
login
account
application
iot device
iot
Prior art date
Application number
PCT/CN2023/071261
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 WO2023151439A1 publication Critical patent/WO2023151439A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • G06F21/1078Logging; Metering

Definitions

  • This document relates to the technical field of data processing, and in particular to an account login processing method and device.
  • One or more embodiments of this specification provide an account login processing method, including: acquiring an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device. Based on the account login record and the device registration information, a login relationship check is performed on the IoT device. Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application. Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  • One or more embodiments of this specification provide an account login processing device, an information acquisition module, configured to acquire an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device .
  • the login relationship checking module is configured to check the login relationship of the IoT device based on the account login record and the device registration information.
  • the login message push module is configured to generate the login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application.
  • the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  • One or more embodiments of the present specification provide an account login processing device, including a processor and a memory configured to store computer-executable instructions.
  • the processor when the computer-executable instructions are executed, the processor: acquires an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device. Based on the account login record and the device registration information, a login relationship check is performed on the IoT device. Generate the login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application.
  • the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  • One or more embodiments of this specification provide a storage medium for storing computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: obtain an account login record generated by an IoT device for account login , and the device registration information obtained by performing device registration for the IoT device. Based on the account login record and the device registration information, a login relationship check is performed on the IoT device. Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application. Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  • Fig. 1 is a processing flowchart of an account login processing method provided by one or more embodiments of this specification
  • Fig. 2 is a processing flowchart of an account login processing method applied to IoT device scenarios provided by one or more embodiments of this specification;
  • Fig. 3 is a schematic diagram of an account login processing device provided by one or more embodiments of this specification.
  • Fig. 4 is a schematic structural diagram of an account login processing device provided by one or more embodiments of this specification.
  • an embodiment of an account login processing method provided in this specification provides IoT devices with a login method using the application account of the host application for account login, and the account login generated based on IoT device account login Record and register the device registration information of the IoT device, verify the login relationship of the IoT device to obtain the verification result and generate the corresponding login message, and provide the device user with an access channel to access the login message through the login sub-application in the host application , so that the device user can conveniently and quickly access the login status of the IoT device through the login sub-application, and also improve the device user's perception of the application account login, which helps to protect the account security and account privacy of the device user.
  • the account login processing method provided by this embodiment specifically includes step S102 to step S106 .
  • Step S102 acquiring an account login record generated by the IoT device for account login, and device registration information obtained by performing device registration for the IoT device.
  • the IoT (Internet of Things) devices include but are not limited to at least one of the following: car-machine terminals installed in vehicles, terminal devices connected to vehicles, smart speakers, unmanned vending machines, autonomous radios, interactive advertising screens, POS devices, And smart home appliances such as smart TVs and smart refrigerators.
  • the IoT device when the IoT device performs account login, it specifically uses the application account of the device user of the IoT device to perform account login.
  • the application account is obtained by the device user during the application access process.
  • the login sub-application accesses the login information of the IoT device, so this application is called the host application, that is, the application is the host application of the login sub-application.
  • the login sub-application refers to a sub-application used to provide the device user with a service of managing the IoT device for account login and pushing the login message of the IoT device, and the sub-application includes a program function module or an application loaded in the host application Components, or program function modules or application components loaded and installed by the host application, such as applets in the host application.
  • the sub-applications have the ability to independently provide self-closed-loop services, such as a small program running in the payment application for account login management of IoT devices and self-closed-loop capability for login message push.
  • the application account of the device user in the host application is used as the login basis for account login on the IoT device, and the account login of the device user's IoT device is realized through the application account of the host application, and the login sub-application of the host application is used to realize the login of the IoT device.
  • Access to the account login status of the device so as to realize the account login control of the IoT device of the device user by means of the application account and the login sub-application, so that the device user can perform more flexible and convenient login management of the IoT device through the host application.
  • the login control policy includes: the device type in the same time interval
  • the login status of the application account is mutually exclusive for the same IoT device, and the login status of the application account is not mutually exclusive for IoT devices of different device types within the same time interval.
  • the device type refers to the device type determined according to the device model. Specifically, IoT devices with the same device name and model are IoT devices of the same device type, and conversely, IoT devices with different device names or models are IoT devices of different device types. equipment.
  • the account login control of the IoT device is realized by switching logins during the account login process, Specifically, this embodiment provides an optional implementation manner in which the account login includes: querying whether the login device of the application account contains a mutually exclusive device that is mutually exclusive with the IoT device in a login state; if so, Cancel the login status of the mutually exclusive device for the application account, and perform the login process of the application account on the IoT device; if not, perform the login process of the application account on the IoT device.
  • the host application scans the code for the IoT device to log in to the account.
  • the account login is also Including: scanning the login identification code displayed by the IoT device or the configured entity identification code through the scanning component of the host application to log in and access; wherein, the account login record is based on the application account and the device of the IoT device A type and a device identifier are generated, and the device type and the device identifier are obtained after decoding the login identification code or decoding the identification code image of the entity identification code.
  • the login identification code for account login can be displayed on the display component of the IoT device, and the host application scans the login identification code to log in and access, for example, in the The login QR code is displayed on the screen, and the device user uses the host application to scan the login QR code to initiate login access; for IoT devices without display components, the host application can scan the identification code pasted on the outside of the IoT device for login access.
  • the account login record generated by the IoT device's account login is obtained.
  • the IoT device uses the application account of the device user in the host application for account login, while The application account management of the host application is managed by the application provider of the host application. Specifically, the application account association is performed through the account login system.
  • the IoT device is obtained for account management.
  • the process of logging into the generated account login record specifically includes obtaining the device login message of the IoT device synchronized by the account login system, and extracting the account login record carried by the device login message.
  • a sub-application pool is provided for IoT devices, and IoT devices can perform corresponding service access and processing by accessing sub-applications in the sub-application pool.
  • the prerequisite for accessing the sub-applications in the sub-application pool is that the device provider registers the IoT device.
  • the device registration includes: according to the information submitted by the device provider on the service platform The device type carried in the device registration request, associate each IoT device in the device list submitted by the device provider with the device type, and generate the device registration information of each IoT device; the device registration information includes the device identification Associated with the device type.
  • the service platform may be the executor who executes the account login processing method; it may also be connected to a server as the executor of the account login processing method, and register the device registration information of the IoT device with the server synchronously, or the server may Obtain the device registration information of the IoT device for device registration from the service platform.
  • the device provider includes the producer, seller and/or service operator of the IoT device.
  • the IoT device after device registration on the service platform obtains the access right to access the sub-applications in the sub-application pool accessed by the service platform.
  • the IoT device is installed with a device client and a service container, or the IoT device is installed with a device client configured with a service container; wherein, the IoT device implements the sub-application through the service container access.
  • the device client refers to a system program on which the operation of the IoT device itself depends.
  • the service container refers to the running framework or running engine that loads and runs sub-applications on the IoT device.
  • the service container reduces the occupation of the operating resources of the IoT device, so that when the operating resources of the IoT device are limited, at the same time, the IoT device reduces the occupation of the operating resources of the IoT device. It helps to improve the operating efficiency of IoT devices.
  • the service client is installed and configured by the device provider of the IoT device. After the installation and configuration is completed, the device client can communicate with the service container through an interface call after the IoT device is started. Specifically, the IoT device When starting, the device client calls the service container to establish a data connection with the service platform. Based on the established data connection, the service platform can send the service data or service messages of the device user generated by the application server of the sub-application to the service container. , and the service container returns the delivered service data or service message to the device client for display or processing.
  • Step S104 based on the account login record and the device registration information, check the login relationship of the IoT device.
  • the account login record generated by the above-mentioned IoT device based on the account login of the application account includes the association relationship between the device type and the device identifier. Created later, specifically based on the device type of the IoT device and the device identifier of the IoT device.
  • the login relationship check is performed for the IoT device, so as to verify the currently logged-in device information and the device information registered by the device provider for the IoT device, so as to This is to prevent the currently logged-in IoT device from being inconsistent with the IoT device registered by the device provider in advance (for example, before the device leaves the factory), thereby preventing the device user's application account from being illegally logged in.
  • performing login relationship verification on the IoT device includes: verifying that the account login record contains Whether the association relationship between the device type and the device identifier contained in the device registration information and the device type and the device identifier contained in the device registration information are consistent; The device information of the IoT device during the registration process is consistent, and the verification result is determined to be verified; if it is inconsistent, it indicates that the device information of the IoT device of the currently logged-in application account is the same as that of the IoT device in the device registration process of the previous device provider.
  • the device information does not match, and the device provider is the party that produces, sells or provides device services, the device information provided during the device registration process is valid, and there is no possibility of abnormality, and as the party that owns the IoT device, the device user’s Obviously, there is no motive to forge device information. Therefore, if the device information of the IoT device in the application account logged in before does not match the device information of the IoT device in the device registration process performed by the device provider, the possible reason can only be The application account of the device user is leaked, and other users illegally use the application account of the device user to log in to the account. In this case, the verification result is determined to be verification failure.
  • Step S106 generating a login message of the IoT device according to the verification result, and pushing the login message to the device user through the login sub-application.
  • the login sub-application refers to the sub-application used to provide the device user with the service of managing the IoT device for account login and pushing the login message of the IoT device.
  • the verification result On the basis of the verification result, generate the login message of the IoT device according to the obtained verification result, and push the login message to the device user through the login sub-application, so that the device user can timely perceive the IoT device login application account.
  • this step generates the login message of the IoT device according to the verification results, which are also divided into It is a login message corresponding to the two verification results of passing the verification and failing the verification.
  • the login message of the IoT device is generated according to the verification result, including : If the verification result is that the verification is passed, generate a login success message that the IoT device logs into the application account; if the verification result is that the verification fails, generate an exception for the IoT device to log in to the application account The login exception message for .
  • the device user is provided with an access interface for accessing the device login status of the application account through the login sub-application , to enhance the device user’s device login management and control of the application account.
  • the application is queried in the account login record containing the application account The login device in the login state of the account, and return the device list of the queried login device to the login sub-application.
  • the device user can also provide The implementation of remote device login management through the login sub-application is to perform more in-depth account login management and control through remote device login management.
  • the remote device login management is implemented in the following way: according to The login cancellation instruction of the target login device selected by the device user in the device list submitted by the login sub-application cancels the login status of the target login device for the application account.
  • Step S202 the device user scans the login identification code displayed by the IoT device through the code scanning component of the host application to log in and access.
  • Step S204 query whether the login device of the application account of the host application includes a mutually exclusive device that is mutually exclusive with the IoT device in the login state; if yes, perform steps S206 to S212; if not, call the account login system to register the application account on the IoT device The log-in process of , and execute step S208 to step S212.
  • Step S206 cancel the login status of the mutually exclusive device for the application account, and call the account login system to perform application account login processing on the IoT device A.
  • Step S208 obtaining the device login message of the IoT device synchronized by the account login system, and extracting the account login record carried in the device login message.
  • Step S210 obtaining the device registration information obtained by the device provider registering the IoT device on the service platform.
  • Step S212 verify whether the association relationship between the device type and the device identifier included in the account login record is consistent with the association relationship between the device type and the device identifier included in the device registration information; if yes, execute step S214; if yes, execute step S216.
  • Step S214 generating a successful login message of the IoT device logging into the application account, and pushing the successful login message of the IoT device to the device user through the login sub-application of the host application.
  • Step S216 generating an abnormal login message indicating that the account of the IoT device login application is abnormal, and pushing the abnormal login message of the IoT device to the device user through the login sub-application of the host application.
  • the host application installed on the device user's mobile terminal displays the message. Go to the login sub-application of the host application; after jumping to the login sub-application, the device user can query all the login devices of the application account through the login sub-application.
  • the device query request submitted by the device user through the login sub-application is detected , query the login device of the login status of the application account in the account login record containing the application account, and return the device list of the queried login device to the login sub-application; further, the device user can also log in to the login device in the device list Management, specifically according to the login cancel instruction of the target login device selected by the device user in the device list, cancel the login status of the target login device for the application account.
  • An example of an account login processing device provided in this specification is as follows: In the above-mentioned embodiment, an account login processing method is provided, and correspondingly, an account login processing device is also provided. Be explained.
  • FIG. 3 it shows a schematic diagram of an account login processing device provided in this embodiment.
  • the description is relatively simple. For relevant parts, please refer to the corresponding description of the method embodiment provided above.
  • the device embodiments described below are illustrative only.
  • This embodiment provides an account login processing device, which includes: an information acquisition module 302 configured to acquire an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device
  • the login relationship verification module 304 is configured to verify the login relationship for the IoT device based on the account login record and the device registration information
  • the login message push module 306 is configured to generate the The login message of the IoT device, and push the login message to the device user through the login sub-application; wherein, the device user accesses the login message through the host application installed on the user terminal, and according to the application account in the host application Log in to the account.
  • FIG. 4 is a schematic structural diagram of an account login processing device provided by one or more embodiments of this specification.
  • An account login processing device includes: as shown in FIG. 4 , the account login processing device may have relatively large differences due to different configurations or performances, and may include one or more than one processor 401 and memory 402 , one or more stored application programs or data may be stored in the memory 402 .
  • the storage 402 may be a short-term storage or a persistent storage.
  • the application program stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the account login processing device.
  • the processor 401 may be configured to communicate with the memory 402, and execute a series of computer-executable instructions in the memory 402 on the account login processing device.
  • the account login processing device may also include one or more power sources 403, one or more wired or wireless network interfaces 404, one or more input/output interfaces 405, one or more keyboards 406, and the like.
  • the account login processing device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules, and Each module may include a series of computer-executable instructions into an account login processing device, and configured to be executed by one or more processors.
  • the one or more programs include computer-executable instructions for performing the following: acquire an IoT device The account login record generated by account login, and the device registration information obtained by device registration for the IoT device; based on the account login record and the device registration information, the login relationship verification is performed for the IoT device; Generate a login message of the IoT device based on the verification result, and push the login message to the device user through the login sub-application; wherein, the device user accesses the login message through the host application installed on the user terminal, and according to the The application account of the application performs the account login.
  • An embodiment of a storage medium provided in this specification is as follows: corresponding to the account login processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.
  • the storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: obtaining an account login record generated by an IoT device for account login, and targeting the IoT device The device registration information obtained by device registration; based on the account login record and the device registration information, the login relationship verification of the IoT device is performed; the login message of the IoT device is generated according to the verification result, and the login information is passed through the login sub- The application pushes the login message to the device user; wherein the device user accesses the login message through a host application installed on the user terminal, and performs account login according to an application account in the host application.
  • the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvement in method flow).
  • improvements in many current method flows can be regarded as the direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules.
  • a Programmable Logic Device such as a Field Programmable Gate Array (FPGA)
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory.
  • controller in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.
  • a typical implementing device is a computer.
  • the computer may be, for example, 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 device, a game console, a tablet computer, a wearable device, or Combinations of any of these devices.
  • one or more embodiments of this specification may be provided as a method, system or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash random access memory
  • Computer-readable media including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information.
  • Information may be computer readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, A magnetic tape cartridge, disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • program modules may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • program modules may be located in both local and remote computer storage media including storage devices.

Abstract

Embodiments of the present description provide an account login processing method and apparatus. The account login processing method comprises: obtaining an account login log generated when an IoT device implements account login, and device registration information obtained when performing device registration for the IoT device; performing login relationship verification on the IoT device on the basis of the account login log and the device registration information; and generating a login message of the IoT device according to a verification result, and pushing the login message to a device user by means of a login sub-application, wherein the device user accesses the login message by means of a host application installed in a user terminal, and achieves account login according to an application account of the host application.

Description

账户登录处理Account login processing 技术领域technical field
本文件涉及数据处理技术领域,尤其涉及一种账户登录处理方法及装置。This document relates to the technical field of data processing, and in particular to an account login processing method and device.
背景技术Background technique
随着互联网技术发展和移动终端的普及,越来越多的服务开始向线上场景延伸,出现诸如能够搭载多个子应用的应用平台软件,避免了用户在移动终端上安装不同类型的应用程序,而是借助应用平台软件内搭载的子应用来实现服务的办理,同时,子应用也可以充分利用应用平台软件充足的用户流量,以此为子应用的服务提升提供助力。With the development of Internet technology and the popularity of mobile terminals, more and more services have begun to extend to online scenarios, such as application platform software that can carry multiple sub-applications, which prevents users from installing different types of applications on mobile terminals. Instead, the sub-application carried in the application platform software is used to realize the service management. At the same time, the sub-application can also make full use of the sufficient user traffic of the application platform software, so as to provide assistance for the service improvement of the sub-application.
发明内容Contents of the invention
本说明书一个或多个实施例提供了一种账户登录处理方法,包括:获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息。基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验。根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息。其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。One or more embodiments of this specification provide an account login processing method, including: acquiring an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device. Based on the account login record and the device registration information, a login relationship check is performed on the IoT device. Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application. Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
本说明书一个或多个实施例提供了一种账户登录处理装置,信息获取模块,被配置为获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息。登录关系校验模块,被配置为基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验。登录消息推送模块,被配置为根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息。其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。One or more embodiments of this specification provide an account login processing device, an information acquisition module, configured to acquire an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device . The login relationship checking module is configured to check the login relationship of the IoT device based on the account login record and the device registration information. The login message push module is configured to generate the login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application. Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
本说明书一个或多个实施例提供了一种账户登录处理设备,包括处理器以及被配置为存储计算机可执行指令的存储器。其中,所述计算机可执行指令在被执行时使所述处理器:获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息。基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验。根据校验结果生成所述IoT设备的登录消息,并通过登录子应 用向设备用户推送所述登录消息。其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。One or more embodiments of the present specification provide an account login processing device, including a processor and a memory configured to store computer-executable instructions. Wherein, when the computer-executable instructions are executed, the processor: acquires an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device. Based on the account login record and the device registration information, a login relationship check is performed on the IoT device. Generate the login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application. Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现以下流程:获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息。基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验。根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息。其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。One or more embodiments of this specification provide a storage medium for storing computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: obtain an account login record generated by an IoT device for account login , and the device registration information obtained by performing device registration for the IoT device. Based on the account login record and the device registration information, a login relationship check is performed on the IoT device. Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application. Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
附图说明Description of drawings
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图;In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, in the following description The accompanying drawings are only some embodiments recorded in this specification. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort;
图1为本说明书一个或多个实施例提供的一种账户登录处理方法处理流程图;Fig. 1 is a processing flowchart of an account login processing method provided by one or more embodiments of this specification;
图2为本说明书一个或多个实施例提供的一种应用于IoT设备场景的账户登录处理方法处理流程图;Fig. 2 is a processing flowchart of an account login processing method applied to IoT device scenarios provided by one or more embodiments of this specification;
图3为本说明书一个或多个实施例提供的一种账户登录处理装置示意图;Fig. 3 is a schematic diagram of an account login processing device provided by one or more embodiments of this specification;
图4为本说明书一个或多个实施例提供的一种账户登录处理设备的结构示意图。Fig. 4 is a schematic structural diagram of an account login processing device provided by one or more embodiments of this specification.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件的保护范围。In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will describe the technical solutions in one or more embodiments of this specification in conjunction with the drawings in one or more embodiments of this specification The technical solution is clearly and completely described, and obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this document.
本说明书提供的一种账户登录处理方法实施例:本申请提供的账户登录处理方法,向IoT设备提供采用宿主应用的应用账户进行账户登录的登录方式,并基于IoT设备进 行账户登录生成的账户登录记录以及IoT设备进行设备注册获得的设备注册信息,对IoT设备进行登录关系校验获得校验结果并生成相应登录消息,并向设备用户提供通过宿主应用内的登录子应用访问登录消息的访问渠道,使设备用户能够通过登录子应用方便快捷的访问IoT设备的登录状态,同时也提升了设备用户对应用账户登录的感知,有助于保护设备用户的账户安全和账户隐私。An embodiment of an account login processing method provided in this specification: the account login processing method provided in this application provides IoT devices with a login method using the application account of the host application for account login, and the account login generated based on IoT device account login Record and register the device registration information of the IoT device, verify the login relationship of the IoT device to obtain the verification result and generate the corresponding login message, and provide the device user with an access channel to access the login message through the login sub-application in the host application , so that the device user can conveniently and quickly access the login status of the IoT device through the login sub-application, and also improve the device user's perception of the application account login, which helps to protect the account security and account privacy of the device user.
参照图1,本实施例提供的账户登录处理方法,所述方法具体包括步骤S102至步骤S106。Referring to FIG. 1 , the account login processing method provided by this embodiment specifically includes step S102 to step S106 .
步骤S102,获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息。Step S102, acquiring an account login record generated by the IoT device for account login, and device registration information obtained by performing device registration for the IoT device.
所述IoT(Internet of Things)设备,包括不限于下述至少一项:车辆安装的车机终端,车辆外接的终端设备,智能音箱,无人售卖机,自主收音机,互动广告屏,POS设备,以及智能电视、智能冰箱等智能家电产品。The IoT (Internet of Things) devices include but are not limited to at least one of the following: car-machine terminals installed in vehicles, terminal devices connected to vehicles, smart speakers, unmanned vending machines, autonomous radios, interactive advertising screens, POS devices, And smart home appliances such as smart TVs and smart refrigerators.
本实施例中,IoT设备进行账户登录时,具体是利用IoT设备的设备用户的应用账户进行账户登录,该应用账户由设备用户在应用的访问过程中申请获得,后续设备用户通过该应用内的登录子应用访问IoT设备的登录消息,因此将该应用称之为宿主应用,即该应用为登录子应用的宿主应用。In this embodiment, when the IoT device performs account login, it specifically uses the application account of the device user of the IoT device to perform account login. The application account is obtained by the device user during the application access process. The login sub-application accesses the login information of the IoT device, so this application is called the host application, that is, the application is the host application of the login sub-application.
所述登录子应用,是指用于向设备用户提供对进行账户登录的IoT设备进行管理、推送IoT设备的登录消息服务的子应用,所述子应用包括搭载于宿主应用的程序功能模块或者应用组件,或者,由宿主应用加载安装的程序功能模块或者应用组件,比如宿主应用内的小程序。从服务的角度来讲,所述子应用具有独立提供自闭环服务的能力,比如运行在支付应用内的进行IoT设备的账户登录管理、登录消息推送的自闭环能力的小程序。The login sub-application refers to a sub-application used to provide the device user with a service of managing the IoT device for account login and pushing the login message of the IoT device, and the sub-application includes a program function module or an application loaded in the host application Components, or program function modules or application components loaded and installed by the host application, such as applets in the host application. From a service point of view, the sub-applications have the ability to independently provide self-closed-loop services, such as a small program running in the payment application for account login management of IoT devices and self-closed-loop capability for login message push.
本实施例以设备用户在宿主应用的应用账户作为在IoT设备进行账户登录的登录基础,通过宿主应用的应用账户实现设备用户的IoT设备的账户登录,并借助宿主应用的登录子应用实现对IoT设备的账户登录情况的访问,从而借助应用账户和登录子应用实现对设备用户的IoT设备的账户登录控制,使设备用户能够通过宿主应用对IoT设备进行更加灵活、便捷的登录管理。In this embodiment, the application account of the device user in the host application is used as the login basis for account login on the IoT device, and the account login of the device user's IoT device is realized through the application account of the host application, and the login sub-application of the host application is used to realize the login of the IoT device. Access to the account login status of the device, so as to realize the account login control of the IoT device of the device user by means of the application account and the login sub-application, so that the device user can perform more flexible and convenient login management of the IoT device through the host application.
实际应用中,由于设备用户的IoT设备可能为一个或者多个,因此可能会出现多个IoT设备同时登录同一应用账户的情形,针对于此,为保证账户登录安全,避免多个IoT 设备同时登录同一应用账户出现隐私数据泄露的问题,可选的,针对所述应用账户配置登录控制策略,通过登录控制策略对IoT设备的账户登录进行控制,所述登录控制策略包括:同一时间区间内设备类型相同的IoT设备针对所述应用账户的登录态互斥,而在同一时间区间内设备类型不同的IoT设备针对所述应用账户的登录态非互斥。所述设备类型是指根据设备型号确定的设备类型,具体的,设备名称和型号相同的IoT设备为相同设备类型的IoT设备,反之,设备名称或者型号不同的IoT设备则为不同设备类型的IoT设备。In practical applications, since the device user may have one or more IoT devices, multiple IoT devices may log in to the same application account at the same time. For this, in order to ensure account login security, avoid multiple IoT devices from logging in at the same time If there is a problem of privacy data leakage in the same application account, it is optional to configure a login control policy for the application account, and control the account login of the IoT device through the login control policy. The login control policy includes: the device type in the same time interval The login status of the application account is mutually exclusive for the same IoT device, and the login status of the application account is not mutually exclusive for IoT devices of different device types within the same time interval. The device type refers to the device type determined according to the device model. Specifically, IoT devices with the same device name and model are IoT devices of the same device type, and conversely, IoT devices with different device names or models are IoT devices of different device types. equipment.
在所述应用账户配置的所述登录控制策略的基础之上,为避免设备类型相同的多个IoT设备同时登录同一应用账户,在账户登录过程中通过登录切换实现对IoT设备的账户登录控制,具体的,本实施例提供一种可选实施方式中,所述账户登录,包括:查询所述应用账户的登录设备中是否包含与所述IoT设备存在登录态互斥的互斥设备;若是,取消所述互斥设备针对所述应用账户的登录态,并在所述IoT设备进行所述应用账户的登录处理;若否,则在所述IoT设备进行所述应用账户的登录处理即可。On the basis of the login control strategy configured by the application account, in order to prevent multiple IoT devices of the same device type from logging into the same application account at the same time, the account login control of the IoT device is realized by switching logins during the account login process, Specifically, this embodiment provides an optional implementation manner in which the account login includes: querying whether the login device of the application account contains a mutually exclusive device that is mutually exclusive with the IoT device in a login state; if so, Cancel the login status of the mutually exclusive device for the application account, and perform the login process of the application account on the IoT device; if not, perform the login process of the application account on the IoT device.
进一步,为提升IoT设备在进行账户登录过程中的便捷性和灵活性,在IoT设备以应用账户为基础进行账户登录的过程中,在上述查询所述应用账户的登录设备中是否包含与所述IoT设备存在登录态互斥的互斥设备之前,通过宿主应用针对IoT设备进行扫码的方式进行账户登录,具体的,本实施例提供的一种可选实施方式中,所述账户登录,还包括:通过所述宿主应用的扫码组件扫描所述IoT设备展示的登录标识码或者配置的实体标识码进行登录访问;其中,所述账户登录记录基于所述应用账户和所述IoT设备的设备类型与设备标识生成,所述设备类型和所述设备标识在对所述登录标识码进行解码后或者对所述实体标识码的标识码图像进行解码后获得。Further, in order to improve the convenience and flexibility of the account login process of the IoT device, in the process of the account login of the IoT device based on the application account, in the above query whether the login device of the application account includes the Before the IoT device has a mutually exclusive device in the login state, the host application scans the code for the IoT device to log in to the account. Specifically, in an optional implementation mode provided in this embodiment, the account login is also Including: scanning the login identification code displayed by the IoT device or the configured entity identification code through the scanning component of the host application to log in and access; wherein, the account login record is based on the application account and the device of the IoT device A type and a device identifier are generated, and the device type and the device identifier are obtained after decoding the login identification code or decoding the identification code image of the entity identification code.
实际应用中,对于配置有显示组件的IoT设备,可通过在IoT设备的显示组件显示用于进行账户登录的登录标识码,由宿主应用扫描该登录标识码进行登录访问,比如在车机终端的屏幕显示登录二维码,设备用户利用宿主应用扫描该登录二维码发起登录访问;对于未配置显示组件的IoT设备,可通过宿主应用扫描IoT设备外部粘贴的标识码进行登录访问。In practical applications, for an IoT device configured with a display component, the login identification code for account login can be displayed on the display component of the IoT device, and the host application scans the login identification code to log in and access, for example, in the The login QR code is displayed on the screen, and the device user uses the host application to scan the login QR code to initiate login access; for IoT devices without display components, the host application can scan the identification code pasted on the outside of the IoT device for login access.
具体实施时,在IoT设备基于应用账户进行账户登录处理之后,获取IoT设备进行账户登录生成的账户登录记录,本实施例中IoT设备进行账户登录使用的是设备用户在宿主应用的应用账户,而宿主应用的应用账户管理是由宿主应用的应用提供方进行管理,具体是通过账户登录系统进行应用账户关联,针对于此,本实施例提供的一种可选实施 方式中,获取IoT设备进行账户登录生成的账户登录记录的过程,具体包括获取账户登录系统同步的所述IoT设备的设备登录消息,并提取所述设备登录消息携带的所述账户登录记录。During specific implementation, after the IoT device performs account login processing based on the application account, the account login record generated by the IoT device's account login is obtained. In this embodiment, the IoT device uses the application account of the device user in the host application for account login, while The application account management of the host application is managed by the application provider of the host application. Specifically, the application account association is performed through the account login system. For this, in an optional implementation mode provided by this embodiment, the IoT device is obtained for account management. The process of logging into the generated account login record specifically includes obtaining the device login message of the IoT device synchronized by the account login system, and extracting the account login record carried by the device login message.
本实施例中,为提升IoT设备的服务多样性,丰富IoT设备的使用场景,面向IoT设备提供子应用池,IoT设备可通过访问子应用池中的子应用来进行相应的服务访问和处理,而访问子应用池中子应用的前提是设备提供方对IoT设备进行设备注册,本实施例提供的一种可选实施方式中,所述设备注册,包括:根据设备提供方在服务平台提交的设备注册请求携带的设备类型,将所述设备提供方提交的设备清单中各IoT设备关联至所述设备类型,并生成所述各IoT设备的设备注册信息;所述设备注册信息包含有设备标识与设备类型关联关系。所述服务平台可以是执行所述账户登录处理方法的执行主体;也可以与作为所述账户登录处理方法执行主体的服务器对接,向服务器同步进行设备注册IoT设备的设备注册信息,或者,由服务器从所述服务平台获取进行设备注册IoT设备的设备注册信息。所述设备提供方,包括IoT设备的生产方、销售方和/或IoT设备的服务运维方。In this embodiment, in order to improve the service diversity of IoT devices and enrich the use scenarios of IoT devices, a sub-application pool is provided for IoT devices, and IoT devices can perform corresponding service access and processing by accessing sub-applications in the sub-application pool. The prerequisite for accessing the sub-applications in the sub-application pool is that the device provider registers the IoT device. In an optional implementation mode provided in this embodiment, the device registration includes: according to the information submitted by the device provider on the service platform The device type carried in the device registration request, associate each IoT device in the device list submitted by the device provider with the device type, and generate the device registration information of each IoT device; the device registration information includes the device identification Associated with the device type. The service platform may be the executor who executes the account login processing method; it may also be connected to a server as the executor of the account login processing method, and register the device registration information of the IoT device with the server synchronously, or the server may Obtain the device registration information of the IoT device for device registration from the service platform. The device provider includes the producer, seller and/or service operator of the IoT device.
可选的,在所述服务平台进行设备注册后的IoT设备,获得访问所述服务平台接入的子应用池中的子应用的访问权限。Optionally, the IoT device after device registration on the service platform obtains the access right to access the sub-applications in the sub-application pool accessed by the service platform.
可选的,所述IoT设备安装有设备客户端和服务容器,或者,所述IoT设备安装有配置服务容器的设备客户端;其中,所述IoT设备通过所述服务容器进行所述子应用的访问。Optionally, the IoT device is installed with a device client and a service container, or the IoT device is installed with a device client configured with a service container; wherein, the IoT device implements the sub-application through the service container access.
其中,所述设备客户端,是指IoT设备自身运行所依赖的系统程序。所述服务容器,是指在IoT设备加载运行子应用的运行框架或者运行引擎,通过在IoT设备安装该服务容器或者在IoT设备安装的设备客户端配置该服务容器,能够使IoT设备实现对远程的子应用池中子应用的访问。所述服务容器作为一种轻量化的容器,降低了对IoT设备的运行资源的占用,从而在IoT设备的运行资源有限的情况下,同时,IoT设备降低对IoT设备的运行资源的占用,也有助于提升IoT设备自身的运行效率。Wherein, the device client refers to a system program on which the operation of the IoT device itself depends. The service container refers to the running framework or running engine that loads and runs sub-applications on the IoT device. By installing the service container on the IoT device or configuring the service container on the device client installed on the IoT device, the IoT device can implement remote Access to sub-applications in the sub-application pool. The service container, as a lightweight container, reduces the occupation of the operating resources of the IoT device, so that when the operating resources of the IoT device are limited, at the same time, the IoT device reduces the occupation of the operating resources of the IoT device. It helps to improve the operating efficiency of IoT devices.
实际应用中,所述服务客户端由IoT设备的设备提供方进行安装配置,在安装配置完成之后,IoT设备启动后设备客户端能够通过接口调用的方式与服务容器进行数据通信,具体在IoT设备启动时,设备客户端调用服务容器建立与服务平台的数据连接,基于建立的该数据连接,服务平台能够将子应用的应用服务方生成的该设备用户的服务数据或者服务消息下发至服务容器,并由服务容器将下发的服务数据或者服务消息回传至 设备客户端进行展示或者处理。In practical applications, the service client is installed and configured by the device provider of the IoT device. After the installation and configuration is completed, the device client can communicate with the service container through an interface call after the IoT device is started. Specifically, the IoT device When starting, the device client calls the service container to establish a data connection with the service platform. Based on the established data connection, the service platform can send the service data or service messages of the device user generated by the application server of the sub-application to the service container. , and the service container returns the delivered service data or service message to the device client for display or processing.
步骤S104,基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验。Step S104, based on the account login record and the device registration information, check the login relationship of the IoT device.
上述IoT设备基于所述应用账户进行账户登录生成的所述账户登录记录中,包含有设备类型与设备标识关联关系,该设备类型与设备管理关系在所述IoT设备针对所述应用账户进行账户登录后创建,具体是基于所述IoT设备的设备类型与所述IoT设备的设备标识创建。The account login record generated by the above-mentioned IoT device based on the account login of the application account includes the association relationship between the device type and the device identifier. Created later, specifically based on the device type of the IoT device and the device identifier of the IoT device.
具体实施时,在基于所述账户登录记录和所述设备注册信息针对所述IoT设备进行登录关系校验的过程中,从所述账户登录记录包含的设备类型与设备标识关联关系以及所述设备注册信息包含的设备类型与设备标识关系出发,针对所述IoT设备进行登录关系检验,以此将当前登录的设备信息与设备提供方针对所述IoT设备进行设备注册的设备信息进行校验,以此来避免当前登录的IoT设备与设备提供方预先(比如设备出厂前)进行设备注册的IoT设备不一致,从而来避免设备用户的应用账户被非法登录。During specific implementation, during the process of verifying the login relationship of the IoT device based on the account login record and the device registration information, the device type and device identifier association relationship contained in the account login record and the device Based on the relationship between the device type and the device identifier contained in the registration information, the login relationship check is performed for the IoT device, so as to verify the currently logged-in device information and the device information registered by the device provider for the IoT device, so as to This is to prevent the currently logged-in IoT device from being inconsistent with the IoT device registered by the device provider in advance (for example, before the device leaves the factory), thereby preventing the device user's application account from being illegally logged in.
具体的,本实施例提供的一种可选实施方式中,基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验,包括:校验所述账户登录记录包含的设备类型与设备标识关联关系和所述设备注册信息包含的设备类型与设备标识关联关系是否一致;若一致,表明当前登录的所述应用账户的IoT设备的设备信息与之前设备提供方进行设备注册过程中IoT设备的设备信息相吻合,确定校验结果为校验通过;若不一致,则表明当前登录的所述应用账户的IoT设备的设备信息与之前设备提供方进行设备注册过程中IoT设备的设备信息不吻合,而设备提供方作为生产、销售或者提供设备服务的一方,在设备注册过程中提供的设备信息是有效的,不可能存在异常,并且作为拥有IoT设备的一方,设备用户的显然也没有动机伪造设备信息,因此,在前登录的所述应用账户的IoT设备的设备信息与之前设备提供方进行设备注册过程中IoT设备的设备信息不吻合的情况下,可能的原因只能是设备用户的应用账户泄露,其他用户非法利用设备用户的应用账户进行账户登录,在这种情况下,确定校验结果为校验未通过。Specifically, in an optional implementation manner provided by this embodiment, based on the account login record and the device registration information, performing login relationship verification on the IoT device includes: verifying that the account login record contains Whether the association relationship between the device type and the device identifier contained in the device registration information and the device type and the device identifier contained in the device registration information are consistent; The device information of the IoT device during the registration process is consistent, and the verification result is determined to be verified; if it is inconsistent, it indicates that the device information of the IoT device of the currently logged-in application account is the same as that of the IoT device in the device registration process of the previous device provider. The device information does not match, and the device provider is the party that produces, sells or provides device services, the device information provided during the device registration process is valid, and there is no possibility of abnormality, and as the party that owns the IoT device, the device user’s Obviously, there is no motive to forge device information. Therefore, if the device information of the IoT device in the application account logged in before does not match the device information of the IoT device in the device registration process performed by the device provider, the possible reason can only be The application account of the device user is leaked, and other users illegally use the application account of the device user to log in to the account. In this case, the verification result is determined to be verification failure.
步骤S106,根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息。Step S106, generating a login message of the IoT device according to the verification result, and pushing the login message to the device user through the login sub-application.
如上所述,所述登录子应用是指用于向设备用户提供对进行账户登录的IoT设备进行管理、推送IoT设备的登录消息服务的子应用,本步骤在根据上述进行登录关系校验 获得校验结果的基础上,根据获得的校验结果生成所述IoT设备的登录消息,并通过所述登录子应用向设备用户推送所述登录消息,以使设备用户能够及时感知IoT设备登录应用账户的情况,为设备用户及时进行账户登录控制和管理提供了实现可能。As mentioned above, the login sub-application refers to the sub-application used to provide the device user with the service of managing the IoT device for account login and pushing the login message of the IoT device. On the basis of the verification result, generate the login message of the IoT device according to the obtained verification result, and push the login message to the device user through the login sub-application, so that the device user can timely perceive the IoT device login application account This provides the possibility for device users to perform account login control and management in a timely manner.
具体的,在上述步骤进行登录关系校验之后获得的校验结果分为校验通过和校验未通过两种的基础上,本步骤根据校验结果生成所述IoT设备的登录消息,同样分为与校验通过和校验未通过两种校验结果相应的登录消息,具体的,本实施例提供的一种可选实施方式中,根据校验结果生成所述IoT设备的登录消息,包括:若所述校验结果为校验通过,生成所述IoT设备登录所述应用账户的登录成功消息;若所述校验结果为校验未通过,生成所述IoT设备登录所述应用账户异常的登录异常消息。Specifically, on the basis that the verification results obtained after the verification of the login relationship in the above steps are divided into two types: the verification passed and the verification failed, this step generates the login message of the IoT device according to the verification results, which are also divided into It is a login message corresponding to the two verification results of passing the verification and failing the verification. Specifically, in an optional implementation manner provided in this embodiment, the login message of the IoT device is generated according to the verification result, including : If the verification result is that the verification is passed, generate a login success message that the IoT device logs into the application account; if the verification result is that the verification fails, generate an exception for the IoT device to log in to the application account The login exception message for .
具体实施时,为提升设备用户对应用账户的设备登录情况的感知程度,本实施例提供的一种可选实施方式中,通过登录子应用向设备用户提供访问应用账户的设备登录情况的访问接口,来增强设备用户对应用账户的设备登录管控,具体的,若检测到所述设备用户通过所述登录子应用提交的设备查询请求,在包含所述应用账户的账户登录记录中查询所述应用账户的登录态的登录设备,并向所述登录子应用返回查询到的登录设备的设备列表。During specific implementation, in order to improve the device user's awareness of the device login status of the application account, in an optional implementation mode provided by this embodiment, the device user is provided with an access interface for accessing the device login status of the application account through the login sub-application , to enhance the device user’s device login management and control of the application account. Specifically, if the device query request submitted by the device user through the login sub-application is detected, the application is queried in the account login record containing the application account The login device in the login state of the account, and return the device list of the queried login device to the login sub-application.
基于此,在设备用户能够通过宿主应用的登录子应用访问应用账户的设备登录情况的前提下,为进一步增强设备用户对登录所述应用账户的IoT设备的账户登录管控,还可向设备用户提供通过登录子应用远程进行设备登录管理的实现方式,通过远程设备登录管理进行更加深度的账户登录管控,本实施例提供的一种可选实施方式中,采用如下方式实现远程设备登录管理:根据所述登录子应用提交的所述设备用户在所述设备列表中选择的目标登录设备的登录取消指令,取消所述目标登录设备针对所述应用账户的登录态。Based on this, on the premise that the device user can access the device login status of the application account through the login sub-application of the host application, in order to further enhance the device user's account login management and control of the IoT device that logs into the application account, the device user can also provide The implementation of remote device login management through the login sub-application is to perform more in-depth account login management and control through remote device login management. In an optional implementation mode provided in this embodiment, the remote device login management is implemented in the following way: according to The login cancellation instruction of the target login device selected by the device user in the device list submitted by the login sub-application cancels the login status of the target login device for the application account.
下述以本实施例提供的一种账户登录处理方法在IoT设备场景的应用为例,对本实施例提供的账户登录处理方法进行进一步说明,参见图2,应用于IoT设备场景的账户登录处理方法,具体包括下述步骤。The following uses an account login processing method provided in this embodiment in an IoT device scenario as an example to further explain the account login processing method provided in this embodiment. See Figure 2 for an account login processing method applied to an IoT device scenario. , including the following steps.
步骤S202,设备用户通过宿主应用的扫码组件扫描IoT设备展示的登录标识码进行登录访问。Step S202, the device user scans the login identification code displayed by the IoT device through the code scanning component of the host application to log in and access.
步骤S204,查询宿主应用的应用账户的登录设备中是否包含与IoT设备存在登录态互斥的互斥设备;若是,执行步骤S206至步骤S212;若否,调用账户登录系统在IoT 设备进行应用账户的登录处理,并执行步骤S208至步骤S212。Step S204, query whether the login device of the application account of the host application includes a mutually exclusive device that is mutually exclusive with the IoT device in the login state; if yes, perform steps S206 to S212; if not, call the account login system to register the application account on the IoT device The log-in process of , and execute step S208 to step S212.
步骤S206,取消互斥设备的针对应用账户的登录态,并调用账户登录系统在IoT设备A进行应用账户的登录处理。Step S206, cancel the login status of the mutually exclusive device for the application account, and call the account login system to perform application account login processing on the IoT device A.
步骤S208,获取账户登录系统同步的IoT设备的设备登录消息,并提取设备登录消息携带的账户登录记录。Step S208, obtaining the device login message of the IoT device synchronized by the account login system, and extracting the account login record carried in the device login message.
步骤S210,获取设备提供方在服务平台针对IoT设备进行设备注册获得的设备注册信息。Step S210, obtaining the device registration information obtained by the device provider registering the IoT device on the service platform.
步骤S212,校验账户登录记录包含的设备类型与设备标识关联关系与设备注册信息包含的设备类型与设备标识关联关系是否一致;若是,执行步骤S214;若是,执行步骤S216。Step S212, verify whether the association relationship between the device type and the device identifier included in the account login record is consistent with the association relationship between the device type and the device identifier included in the device registration information; if yes, execute step S214; if yes, execute step S216.
步骤S214,生成IoT设备登录所述应用账户的登录成功消息,并通过宿主应用的登录子应用向设备用户推送IoT设备的登录成功消息。Step S214, generating a successful login message of the IoT device logging into the application account, and pushing the successful login message of the IoT device to the device user through the login sub-application of the host application.
步骤S216,生成IoT设备登录应用账户异常的登录异常消息,并通过宿主应用的登录子应用向设备用户推送IoT设备的登录异常消息。Step S216, generating an abnormal login message indicating that the account of the IoT device login application is abnormal, and pushing the abnormal login message of the IoT device to the device user through the login sub-application of the host application.
IoT设备的登录成功消息或者登录异常消息被推送至IoT设备之后,在设备用户的移动终端安装的宿主应用进行消息展示,若进行消息展示的登录成功消息或者登录异常消息被设备用户触发,则跳转至宿主应用的登录子应用;在跳转至登录子应用之后,设备用户可通过登录子应用查询应用账户的所有登录设备,相应的,若检测到设备用户通过登录子应用提交的设备查询请求,在包含应用账户的账户登录记录中查询应用账户的登录态的登录设备,并向登录子应用返回查询到的登录设备的设备列表;进一步,设备用户还可对设备列表中的登录设备进行登录管理,具体根据设备用户在设备列表中选择的目标登录设备的登录取消指令,取消目标登录设备针对应用账户的登录态。After the successful login message or abnormal login message of the IoT device is pushed to the IoT device, the host application installed on the device user's mobile terminal displays the message. Go to the login sub-application of the host application; after jumping to the login sub-application, the device user can query all the login devices of the application account through the login sub-application. Correspondingly, if the device query request submitted by the device user through the login sub-application is detected , query the login device of the login status of the application account in the account login record containing the application account, and return the device list of the queried login device to the login sub-application; further, the device user can also log in to the login device in the device list Management, specifically according to the login cancel instruction of the target login device selected by the device user in the device list, cancel the login status of the target login device for the application account.
本说明书提供的一种账户登录处理装置实施例如下:在上述的实施例中,提供了一种账户登录处理方法,与之相对应的,还提供了一种账户登录处理装置,下面结合附图进行说明。An example of an account login processing device provided in this specification is as follows: In the above-mentioned embodiment, an account login processing method is provided, and correspondingly, an account login processing device is also provided. Be explained.
参照图3,其示出了本实施例提供的一种账户登录处理装置示意图。Referring to FIG. 3 , it shows a schematic diagram of an account login processing device provided in this embodiment.
由于装置实施例对应于方法实施例,所以描述得比较简单,相关的部分请参见上述提供的方法实施例的对应说明即可。下述描述的装置实施例仅仅是示意性的。Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are illustrative only.
本实施例提供一种账户登录处理装置,所述装置包括:信息获取模块302,被配置为获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;登录关系校验模块304,被配置为基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;登录消息推送模块306,被配置为根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。This embodiment provides an account login processing device, which includes: an information acquisition module 302 configured to acquire an account login record generated by an IoT device for account login, and device registration information obtained by performing device registration for the IoT device The login relationship verification module 304 is configured to verify the login relationship for the IoT device based on the account login record and the device registration information; the login message push module 306 is configured to generate the The login message of the IoT device, and push the login message to the device user through the login sub-application; wherein, the device user accesses the login message through the host application installed on the user terminal, and according to the application account in the host application Log in to the account.
本说明书提供的一种账户登录处理设备实施例如下:对应上述描述的一种账户登录处理方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种账户登录处理设备,该账户登录处理设备用于执行上述提供的账户登录处理方法,图4为本说明书一个或多个实施例提供的一种账户登录处理设备的结构示意图。An example of an account login processing device provided in this specification is as follows: Corresponding to the account login processing method described above, based on the same technical concept, one or more embodiments of this specification also provide an account login processing device. The login processing device is configured to execute the account login processing method provided above, and FIG. 4 is a schematic structural diagram of an account login processing device provided by one or more embodiments of this specification.
本实施例提供的一种账户登录处理设备,包括:如图4所示,账户登录处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器401和存储器402,存储器402中可以存储有一个或一个以上存储应用程序或数据。其中,存储器402可以是短暂存储或持久存储。存储在存储器402的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括账户登录处理设备中的一系列计算机可执行指令。更进一步地,处理器401可以设置为与存储器402通信,在账户登录处理设备上执行存储器402中的一系列计算机可执行指令。账户登录处理设备还可以包括一个或一个以上电源403,一个或一个以上有线或无线网络接口404,一个或一个以上输入/输出接口405,一个或一个以上键盘406等。An account login processing device provided in this embodiment includes: as shown in FIG. 4 , the account login processing device may have relatively large differences due to different configurations or performances, and may include one or more than one processor 401 and memory 402 , one or more stored application programs or data may be stored in the memory 402 . Wherein, the storage 402 may be a short-term storage or a persistent storage. The application program stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the account login processing device. Furthermore, the processor 401 may be configured to communicate with the memory 402, and execute a series of computer-executable instructions in the memory 402 on the account login processing device. The account login processing device may also include one or more power sources 403, one or more wired or wireless network interfaces 404, one or more input/output interfaces 405, one or more keyboards 406, and the like.
在一个具体的实施例中,账户登录处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对账户登录处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。In a specific embodiment, the account login processing device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules, and Each module may include a series of computer-executable instructions into an account login processing device, and configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: acquire an IoT device The account login record generated by account login, and the device registration information obtained by device registration for the IoT device; based on the account login record and the device registration information, the login relationship verification is performed for the IoT device; Generate a login message of the IoT device based on the verification result, and push the login message to the device user through the login sub-application; wherein, the device user accesses the login message through the host application installed on the user terminal, and according to the The application account of the application performs the account login.
本说明书提供的一种存储介质实施例如下:对应上述描述的一种账户登录处理方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种存储介质。An embodiment of a storage medium provided in this specification is as follows: corresponding to the account login processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.
本实施例提供的存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现以下流程:获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。The storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: obtaining an account login record generated by an IoT device for account login, and targeting the IoT device The device registration information obtained by device registration; based on the account login record and the device registration information, the login relationship verification of the IoT device is performed; the login message of the IoT device is generated according to the verification result, and the login information is passed through the login sub- The application pushes the login message to the device user; wherein the device user accesses the login message through a host application installed on the user terminal, and performs account login according to an application account in the host application.
需要说明的是,本说明书中关于存储介质的实施例与本说明书中关于账户登录处理方法的实施例基于同一发明构思,因此该实施例的具体实施可以参见前述对应方法的实施,重复之处不再赘述。It should be noted that the embodiment of the storage medium in this specification and the embodiment of the account login processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding method above. Let me repeat.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.
在20世纪30年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL (Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1930s, the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvement in method flow). However, with the development of technology, the improvement of many current method flows can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose logic function is determined by programming the device by the user. It is programmed by the designer to "integrate" a digital system on a PLD, instead of asking a chip manufacturer to design and make a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this kind of programming is mostly realized by "logic compiler (logic compiler)" software, which is similar to the software compiler used when program development and writing, but before compiling The original code of the computer must also be written in a specific programming language, which is called a hardware description language (Hardware Description Language, HDL), and there is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., are currently the most commonly used The most popular are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little logical programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit for realizing the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that, in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer. Specifically, the computer may be, for example, 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 device, a game console, a tablet computer, a wearable device, or Combinations of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above devices, functions are divided into various units and described separately. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in one or more software and/or hardware.
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of this specification may be provided as a method, system or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的 流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The description is described with reference to flowchart and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, A magnetic tape cartridge, disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包 含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书的一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiment.
以上所述仅为本文件的实施例而已,并不用于限制本文件。对于本领域技术人员来说,本文件可以有各种更改和变化。凡在本文件的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本文件的权利要求范围之内。The above description is only an embodiment of this document, and is not intended to limit this document. Various modifications and changes to this document will occur to those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this document shall be included within the scope of the claims of this document.

Claims (15)

  1. 一种账户登录处理方法,包括:A method for processing account login, comprising:
    获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;Obtain the account login record generated by the account login of the IoT device, and the device registration information obtained by device registration for the IoT device;
    基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;Based on the account login record and the device registration information, perform login relationship verification for the IoT device;
    根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application;
    其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  2. 根据权利要求1所述的账户登录处理方法,The account login processing method according to claim 1,
    所述应用账户配置有登录控制策略;The application account is configured with a login control policy;
    所述登录控制策略包括:同一时间区间内设备类型相同的IoT设备针对所述应用账户的登录态互斥。The login control strategy includes: IoT devices of the same device type in the same time interval are mutually exclusive of the login states of the application account.
  3. 根据权利要求2所述的账户登录处理方法,所述账户登录,包括:The account login processing method according to claim 2, said account login comprising:
    查询所述应用账户的登录设备中是否包含与所述IoT设备存在登录态互斥的互斥设备;Query whether the login device of the application account includes a mutually exclusive device that is mutually exclusive with the IoT device in the login state;
    若是,取消所述互斥设备针对所述应用账户的登录态,并在所述IoT设备进行所述应用账户的登录处理。If so, cancel the login state of the mutually exclusive device for the application account, and perform login processing of the application account on the IoT device.
  4. 根据权利要求3所述的账户登录处理方法,所述账户登录,还包括:The account login processing method according to claim 3, said account login further comprising:
    通过所述宿主应用的扫码组件扫描所述IoT设备展示的登录标识码或者配置的实体标识码进行登录访问;Scan the login identification code displayed by the IoT device or the configured entity identification code through the code scanning component of the host application to perform login access;
    其中,所述账户登录记录基于所述应用账户和所述IoT设备的设备类型和设备标识生成,所述设备类型和所述设备标识在对所述登录标识码进行解码后或者对所述实体标识码的标识码图像进行解码后获得。Wherein, the account login record is generated based on the application account and the device type and device ID of the IoT device, and the device type and the device ID decode the login ID code or identify the entity The identification code image of the code is obtained after decoding.
  5. 根据权利要求1所述的账户登录处理方法,还包括:The account login processing method according to claim 1, further comprising:
    若检测到所述设备用户通过所述登录子应用提交的设备查询请求,在包含所述应用账户的账户登录记录中查询所述应用账户的登录态的登录设备;If the device query request submitted by the device user through the login sub-application is detected, query the login device of the login state of the application account in the account login record containing the application account;
    向所述登录子应用返回查询到的登录设备的设备列表。The device list of the queried login devices is returned to the login sub-application.
  6. 根据权利要求5所述的账户登录处理方法,还包括:The account login processing method according to claim 5, further comprising:
    根据所述登录子应用提交的所述设备用户在所述设备列表中选择的目标登录设备的登录取消指令,取消所述目标登录设备针对所述应用账户的登录态。According to the login cancellation instruction of the target login device selected by the device user in the device list submitted by the login sub-application, the login state of the target login device for the application account is cancelled.
  7. 根据权利要求1所述的账户登录处理方法,所述基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验,包括:According to the account login processing method according to claim 1, said checking the login relationship of the IoT device based on the account login record and the device registration information includes:
    校验所述账户登录记录包含的设备类型与设备标识关联关系和所述设备注册信息包含的设备类型与设备标识关联关系是否一致;Verifying whether the association between the device type and the device identifier included in the account login record is consistent with the association between the device type and the device identifier included in the device registration information;
    若一致,确定校验结果为校验通过;If they are consistent, it is determined that the verification result is passed;
    若不一致,确定校验结果为校验未通过。If they are inconsistent, it is determined that the verification result is that the verification fails.
  8. 根据权利要求7所述的账户登录处理方法,所述根据校验结果生成所述IoT设备的登录消息,包括:According to the account login processing method according to claim 7, said generating the login message of the IoT device according to the verification result comprises:
    若所述校验结果为校验通过,生成所述IoT设备登录所述应用账户的登录成功消息;If the verification result is that the verification is passed, generate a login success message for the IoT device to log into the application account;
    若所述校验结果为校验未通过,生成所述IoT设备登录所述应用账户异常的登录异常消息。If the verification result is that the verification fails, generate an abnormal login message indicating that the IoT device is abnormally logged into the application account.
  9. 根据权利要求1所述的账户登录处理方法,所述设备注册,包括:According to the account login processing method according to claim 1, said device registration includes:
    根据设备提供方在服务平台提交的设备注册请求携带的设备类型,将所述设备提供方提交的设备清单中各IoT设备关联至所述设备类型,并生成所述各IoT设备的设备注册信息。According to the device type carried in the device registration request submitted by the device provider on the service platform, associate each IoT device in the device list submitted by the device provider with the device type, and generate device registration information for each IoT device.
  10. 根据权利要求9所述的账户登录处理方法,在所述服务平台进行设备注册后的IoT设备,获得访问所述服务平台接入的子应用池中的子应用的访问权限。According to the account login processing method according to claim 9, the IoT device after device registration on the service platform obtains the access right to access the sub-applications in the sub-application pool accessed by the service platform.
  11. 根据权利要求10所述的账户登录处理方法,所述IoT设备安装有设备客户端和服务容器,或者,所述IoT设备安装有配置服务容器的设备客户端;According to the account login processing method according to claim 10, the IoT device is installed with a device client and a service container, or, the IoT device is installed with a device client configured with a service container;
    其中,所述IoT设备通过所述服务容器进行所述子应用的访问。Wherein, the IoT device accesses the sub-application through the service container.
  12. 根据权利要求1所述的账户登录处理方法,所述获取IoT设备进行账户登录生成的账户登录记录,包括:According to the account login processing method according to claim 1, the acquisition of the account login record generated by the IoT device for account login includes:
    获取账户登录系统同步的所述IoT设备的设备登录消息,并提取所述设备登录消息携带的所述账户登录记录。Obtaining the device login message of the IoT device synchronized by the account login system, and extracting the account login record carried in the device login message.
  13. 一种账户登录处理装置,包括:An account login processing device, comprising:
    信息获取模块,被配置为获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;The information acquisition module is configured to acquire the account login record generated by the account login of the IoT device, and the device registration information obtained by device registration for the IoT device;
    登录关系校验模块,被配置为基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;The login relationship verification module is configured to perform login relationship verification for the IoT device based on the account login record and the device registration information;
    登录消息推送模块,被配置为根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;The login message push module is configured to generate the login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application;
    其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  14. 一种账户登录处理设备,包括:An account login processing device, comprising:
    处理器;以及,被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:a processor; and, a memory configured to store computer-executable instructions that, when executed, cause the processor to:
    获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;Obtain the account login record generated by the account login of the IoT device, and the device registration information obtained by device registration for the IoT device;
    基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;Based on the account login record and the device registration information, perform login relationship verification for the IoT device;
    根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application;
    其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
  15. 一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现以下流程:A storage medium for storing computer-executable instructions that, when executed by a processor, implement the following processes:
    获取IoT设备进行账户登录生成的账户登录记录,以及针对所述IoT设备进行设备注册获得的设备注册信息;Obtain the account login record generated by the account login of the IoT device, and the device registration information obtained by device registration for the IoT device;
    基于所述账户登录记录和所述设备注册信息,针对所述IoT设备进行登录关系校验;Based on the account login record and the device registration information, perform login relationship verification for the IoT device;
    根据校验结果生成所述IoT设备的登录消息,并通过登录子应用向设备用户推送所述登录消息;Generate a login message of the IoT device according to the verification result, and push the login message to the device user through the login sub-application;
    其中,所述设备用户通过用户终端安装的宿主应用访问所述登录消息,且根据在所述宿主应用的应用账户进行所述账户登录。Wherein, the device user accesses the login message through a host application installed on the user terminal, and performs the account login according to an application account in the host application.
PCT/CN2023/071261 2022-02-11 2023-01-09 Account login processing WO2023151439A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210129227.0 2022-02-11
CN202210129227.0A CN114547569A (en) 2022-02-11 2022-02-11 Account login processing method and device

Publications (1)

Publication Number Publication Date
WO2023151439A1 true WO2023151439A1 (en) 2023-08-17

Family

ID=81672667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/071261 WO2023151439A1 (en) 2022-02-11 2023-01-09 Account login processing

Country Status (2)

Country Link
CN (1) CN114547569A (en)
WO (1) WO2023151439A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114547569A (en) * 2022-02-11 2022-05-27 支付宝(杭州)信息技术有限公司 Account login processing method and device
CN116436707B (en) * 2023-06-14 2023-08-25 北京创新乐知网络技术有限公司 Login method, device, medium and computer equipment based on applet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523134A (en) * 2011-12-08 2012-06-27 中兴通讯股份有限公司 Method for detecting abnormal exit of client terminal and website server
CN107404488A (en) * 2017-08-07 2017-11-28 上海斐讯数据通信技术有限公司 A kind of same application multi-terminal equipment mutual exclusion method and device
CN110300117A (en) * 2019-07-05 2019-10-01 杭州博联智能科技股份有限公司 Authentication method, equipment and the medium of IOT equipment and user's binding
CN111651746A (en) * 2020-06-01 2020-09-11 支付宝(杭州)信息技术有限公司 Login data processing method, device, equipment and system
CN111651734A (en) * 2020-05-27 2020-09-11 支付宝(杭州)信息技术有限公司 Installation management method, device, equipment and system for applet
CN114547569A (en) * 2022-02-11 2022-05-27 支付宝(杭州)信息技术有限公司 Account login processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523134A (en) * 2011-12-08 2012-06-27 中兴通讯股份有限公司 Method for detecting abnormal exit of client terminal and website server
CN107404488A (en) * 2017-08-07 2017-11-28 上海斐讯数据通信技术有限公司 A kind of same application multi-terminal equipment mutual exclusion method and device
CN110300117A (en) * 2019-07-05 2019-10-01 杭州博联智能科技股份有限公司 Authentication method, equipment and the medium of IOT equipment and user's binding
CN111651734A (en) * 2020-05-27 2020-09-11 支付宝(杭州)信息技术有限公司 Installation management method, device, equipment and system for applet
CN111651746A (en) * 2020-06-01 2020-09-11 支付宝(杭州)信息技术有限公司 Login data processing method, device, equipment and system
CN114547569A (en) * 2022-02-11 2022-05-27 支付宝(杭州)信息技术有限公司 Account login processing method and device

Also Published As

Publication number Publication date
CN114547569A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
WO2023151439A1 (en) Account login processing
CN107426169B (en) Service processing method and device based on permission
US10162952B2 (en) Security model for network information service
KR20190067194A (en) Methods, devices, and servers for account login
TWI761745B (en) User verification method and device based on bank card quick payment contract
WO2021208743A1 (en) Account binding for application program
KR20190069574A (en) Wireless network type detection method and apparatus, and electronic device
CN108564363B (en) Transaction processing method, server, client and system
CN108550033B (en) Method and device for displaying unique identifier of digital object
US20180083940A1 (en) System to resolve multiple identity crisis in indentity-as-a-service application environment
US11151551B2 (en) Systems and methods related to executing transactions in a hybrid cloud environment
CN115544585A (en) Method, equipment, device and storage medium for dynamically configuring secure memory
CN111651467A (en) Block chain link point interface issuing and calling method and device
WO2023151440A1 (en) Program update processing
WO2023216872A1 (en) Event processing method and apparatus applied to iot device
CN113296740A (en) Service object processing method, device, equipment and machine readable medium
CN111753270A (en) Application program login verification method, device, equipment and storage medium
CN107483534B (en) Service processing method and device
CN112100610B (en) Processing method, device and equipment for login and user login related services
CN113572827B (en) Registration processing method and device
CN114546843A (en) Program debugging processing method and device
CN114500635A (en) Service processing method and device
CN114546639A (en) Service call processing method and device
CN114500300B (en) Service registration processing method and device
CN114546524B (en) Application authority processing method and device

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: 23752219

Country of ref document: EP

Kind code of ref document: A1