WO2022012659A1 - 登录方法、装置和电子设备 - Google Patents
登录方法、装置和电子设备 Download PDFInfo
- Publication number
- WO2022012659A1 WO2022012659A1 PCT/CN2021/106731 CN2021106731W WO2022012659A1 WO 2022012659 A1 WO2022012659 A1 WO 2022012659A1 CN 2021106731 W CN2021106731 W CN 2021106731W WO 2022012659 A1 WO2022012659 A1 WO 2022012659A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- electronic device
- login
- account
- target application
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/41—User authentication where a single sign-on provides access to a plurality of computers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
Definitions
- the present application belongs to the technical field of electronic equipment, and specifically relates to a login method, device and electronic equipment.
- the computer when a user uses a computer, for the sake of information security, the computer will lock the screen without using the computer temporarily, or set an automatic screen lock for a certain period of time until the user needs to use the computer again. , which requires the user to enter a password for authentication. Or, when the user logs in for the first time on some websites on the computer side, he or she needs to enter the account name and password.
- the inventor found that there are at least the following problems in the prior art: for information security, whether it is for identity verification or logging in to some websites, the user needs to manually input the password, which is cumbersome to operate.
- the purpose of the embodiments of the present application is to provide a login method, device and electronic device, which can solve the problem that the user is required to manually input a password when performing identity verification or logging in to a website, and the operation is cumbersome.
- an embodiment of the present application provides a login method, including:
- the first electronic device When the first electronic device is connected to the second electronic device, the first electronic device sends first information to the second electronic device, where the first information includes login authentication information;
- a login process is performed at the first electronic device.
- an embodiment of the present application provides a login method, including:
- the second electronic device When detecting that the first electronic device satisfies the preset condition, the second electronic device sends second information to the first electronic device, where the second information includes at least one of authentication success information and account login information;
- the preset conditions include: the first electronic device is in a locked screen state, the first electronic device opens a preset interface of a target application, or receives first information sent by the first electronic device, the first electronic device A message includes login authentication information.
- an embodiment of the present application provides a login device, including:
- a first sending module configured to send first information to the second electronic device when the first electronic device is connected to the second electronic device, where the first information includes login authentication information;
- a first receiving module configured to receive second information sent by the second electronic device in response to the first information, where the second information includes at least one of authentication success information and account login information;
- a login module configured to perform a login process in the first electronic device according to the second information.
- an embodiment of the present application provides a login device, including:
- the second sending module is used for the second electronic device to send second information to the first electronic device when it detects that the first electronic device satisfies the preset condition, where the second information includes authentication success information and account login at least one of the information;
- the preset conditions include: the first electronic device is in a locked screen state, the first electronic device opens a preset interface of a target application, or receives first information sent by the first electronic device, the first electronic device A message includes login authentication information.
- an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor, when executed, implements the steps of the method as described in the first aspect or the second aspect.
- an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the implementation is as described in the first aspect or the second aspect steps of the method.
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the first aspect or the method described in the second aspect.
- the first electronic device can automatically log in according to the second information sent by the second electronic device, without the need to manually enter a password , which solves the problem of cumbersome operations when users authenticate or log in to a website.
- Fig. 1 is one of the schematic flow charts of the login method of the embodiment of the present application.
- FIG 3 is one of the schematic diagrams of the modules of the login device according to the embodiment of the present invention.
- FIG. 4 is a second schematic diagram of a module of a login device according to an embodiment of the present invention.
- FIG. 6 is a second structural block diagram of an electronic device according to an embodiment of the present invention.
- first”, “second” and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein.
- the objects distinguished by “first”, “second”, etc. are usually one type, and the number of objects is not limited.
- the first object may be one or more than one.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- the first electronic device receives a first input from the user to the first electronic device, where the first input is an input that triggers login; the first electronic device responds to the first input and sends a request to the user
- the second electronic device connected to the first electronic device sends login request information; the second electronic device sends login information corresponding to the login request information to the first electronic device; the first electronic device performs automatic login processing according to the login information .
- the login method of the embodiment of the present application enables the first electronic device to automatically log in according to the second information sent by the second electronic device through information interaction between the first electronic device and the second electronic device, without the need for manual input.
- password which solves the problem of cumbersome operations when users authenticate or log in to a website.
- an embodiment of the present application provides a login method, which is applied to a first electronic device.
- the first electronic device may be a computer, for example, a notebook computer, a palmtop computer, etc.
- the login method includes:
- Step 101 In the case where the first electronic device is connected to the second electronic device, the first electronic device sends first information to the second electronic device, where the first information includes login authentication information.
- the first electronic device establishes a communication connection with the second electronic device
- the second electronic device may be a mobile terminal, such as a mobile phone.
- cooperation can be performed between the first electronic device (computer) and the second electronic device (mobile phone).
- the first electronic device when the distance between the first electronic device and the second electronic device is less than a preset threshold, the first electronic device establishes a communication connection with the second electronic device.
- the first electronic device and the second electronic device may be connected through a peer-to-peer P2P network, or through a local area network, or through a USB.
- the above login authentication information may be the identity authentication request information when the first electronic device needs to be unlocked, or may be the login request information of the target account of the first electronic device to log in to the target application program.
- Step 102 Receive second information sent by the second electronic device in response to the first information, where the second information includes at least one of authentication success information and account login information.
- the first electronic device is instructed to perform automatic login through at least one of the above authentication success information and account login information.
- the account login information may include an account name and a password corresponding to the account name.
- Step 103 Execute a login process on the first electronic device according to the second information.
- the first electronic device performs an automatic login process on the first electronic device according to the second information, for example, the first electronic device is automatically unlocked to enter a logged-in state or logged into an account corresponding to an application program.
- the login method of the embodiment of the present application enables the first electronic device to automatically log in according to the second information sent by the second electronic device through information interaction between the first electronic device and the second electronic device, without the need for manual input.
- password which solves the problem of cumbersome operations when users authenticate or log in to a website.
- the first electronic device sends the first information to the second electronic device, including:
- the first electronic device receives a first input
- the first information is sent to the second electronic device.
- the above-mentioned first input is an input that triggers login.
- the first input may specifically be an input that triggers the login of a target account, and the target account may be a login account corresponding to a computer user, or a login account corresponding to a target application.
- the first electronic device is triggered to send the first information to the second electronic device through the first input, rather than the first electronic device is connected to the second electronic device to send the first information, which can help save the consumption of the first electronic device Electricity.
- the first input is an input to a lock screen interface of the first electronic device
- performing a login process on the first electronic device includes:
- the first electronic device is automatically unlocked to enter the login state.
- the first electronic device when the first electronic device is in a screen-locked state, the user clicks on the above-mentioned screen-locking interface, and a login interface is displayed at this time, triggering the first electronic device to send the first information to the second electronic device.
- the first electronic device receives the above-mentioned first input, it first determines whether there is a cooperative connection with the second electronic device, and if there is a cooperative connection with the second electronic device (ie, establishes a cooperative connection with the second electronic device) , the first information is sent to the second electronic device, and the second electronic device sends the second information to the first electronic device.
- the login authentication information is an identity authentication request, which means that the first electronic device needs an identity to log in at this time.
- the first electronic device after receiving at least one of the identity authentication success information and the account login information, the first electronic device automatically fills in the account login information and performs automatic login, or directly performs automatic login according to the identity authentication success information (that is, skips filling in the password). the process of).
- the first information is sent to the second electronic device in the locked screen state, so as to realize the non-sensing login in the locked screen state.
- the user does not need to manually enter the password to log in to the computer, but through the information transmission between the mobile phone and the computer, the non-inductive identity authentication is realized on the computer side.
- the first input is an input for opening a preset interface of the target application
- the login authentication information includes website information corresponding to the preset interface
- the first electronic device when it is detected that the first electronic device displays the preset interface of the target application, the first electronic device is triggered to send the first information to the second electronic device, so that the first electronic device can automatically log in to the target of the target application account.
- the target application is not logged in with the target account.
- the first electronic device logs in to the target application in the guest mode, and opens the preset interface of the target application. At this time, the first electronic device is triggered to send the first information to the second electronic device, so that the first electronic device can automatically Log in to the target account of the target application.
- the first electronic device logs in to the target application with the first account, and opens the preset interface of the target application, which can also trigger the first electronic device to send the first information to the second electronic device, so that the first electronic device can automatically log in The second account for the application.
- the second account is an account different from the first account, that is, account switching is automatically realized.
- the above-mentioned target application is an application that the second electronic device allows automatic login in the first electronic device, and the second electronic device has already logged in an account on the target application, and the application
- the account information of the shopping application in the mobile phone can be logged in the corresponding website of the computer, or the account information of the video playback application in the mobile phone can be logged in the corresponding website of the computer. Log in.
- the above-mentioned target applications can be shopping applications, instant chat applications, video playing applications, and the like.
- the above-mentioned preset interface may be any interface of the target application.
- the account login information includes account login information of the target application
- performing a login process on the first electronic device includes:
- the computer sends the website information corresponding to the shopping application to the mobile terminal.
- the mobile terminal parses the website information, and if it is found that there is an application corresponding to the website information in the mobile phone, the mobile terminal sends the relevant account information to the computer terminal to realize the non-sensing login of the target application account on the computer terminal.
- the computer side can automatically fill in the account information and log in.
- the purpose of this is to achieve a senseless login on some websites.
- the login method of the embodiment of the present application enables the first electronic device to automatically log in according to the second information sent by the second electronic device through information interaction between the first electronic device and the second electronic device, without the need for manual input.
- password which solves the problem of cumbersome operations when users authenticate or log in to a website.
- an embodiment of the present application further provides a login method, which applies a second electronic device, and the second electronic device may specifically be a mobile phone, and the method includes:
- Step 201 The second electronic device sends second information to the first electronic device when detecting that the first electronic device satisfies the preset condition, the second information includes at least one of authentication success information and account login information. an item;
- the preset conditions include: the first electronic device is in a locked screen state, the first electronic device opens a preset interface of a target application, or receives first information sent by the first electronic device, the first electronic device A message includes login authentication information.
- the first electronic device and the second electronic device establish a communication connection, and after the communication connection is established, the first electronic device (computer) and the second electronic device (mobile phone) can cooperate.
- This collaboration means that under the condition of establishing a connection between the mobile phone and the computer, the user is allowed to use the computer to control the applications on the mobile phone screen, and can also directly transfer files between the computer and the mobile phone by touching and dragging, so that the computer and the mobile phone can be directly transferred. Phones really connect.
- the first electronic device when the distance between the first electronic device and the second electronic device is less than a preset threshold, the first electronic device establishes a communication connection with the second electronic device.
- the first electronic device and the second electronic device may be connected through a peer-to-peer P2P network, or through a local area network, or through a USB.
- the second electronic device when the second electronic device detects that the first electronic device is in a screen-off state, it sends second information to the first electronic device, so that the first electronic device performs automatic login according to the second information.
- the second electronic device receives the above-mentioned first information in the locked screen state, it first displays the unlocking prompt information; and then receives the unlocking input input by the user according to the unlocking prompt information, and sends the second information to the first electronic device.
- the second electronic device when detecting that the first electronic device satisfies the preset condition, the second electronic device sends second information to the first electronic device, so that the first electronic device performs automatic login processing according to the second information, There is no need to manually enter the password, thus solving the problem of cumbersome operations when the user authenticates or logs in to the website.
- the target application is not logged in with the target account.
- the second electronic device is triggered to send the second information to the first electronic device, so that the first electronic device can The device automatically logs in to the target account of the target application.
- the second electronic device can also be triggered to send second information to the first electronic device, the second information including Account login information corresponding to the second account, so that the first electronic device can automatically log in to the second account of the application.
- the second account is an account different from the first account, that is, account switching is automatically realized.
- the login authentication information includes website information corresponding to the preset interface of the target application
- the sending the second information to the first electronic device includes:
- second information is sent to the first electronic device, where the second information includes account login information of the target application.
- the above-mentioned target application is an application that the second electronic device allows to perform automatic login in the first electronic device, and the second electronic device has logged in an account on the target application, and the The account can be logged in the webpage, for example, the account information of the shopping application in the mobile phone can be logged in the corresponding website of the computer, or the account information of the video playing application in the mobile phone can be logged in the corresponding website of the computer.
- the above-mentioned target applications can be shopping applications, instant chat applications, video playing applications, and the like.
- the computer sends the website information corresponding to the shopping application to the mobile terminal.
- the mobile terminal parses the website information, and if it is found that there is an application corresponding to the website information in the mobile phone, the mobile terminal sends the relevant account information to the computer terminal to realize the non-sensing login of the target application account on the computer terminal.
- the second electronic device when the second electronic device detects that the first electronic device satisfies the preset condition, the second electronic device sends second information to the first electronic device, so that the first electronic device
- the information is automatically logged in, and there is no need to manually enter the password, which solves the problem of cumbersome operations when the user authenticates or logs in to the website.
- the execution subject may be a login device, or a control module in the login device for executing the login method.
- the log-in device provided by the embodiment of the present application is described by taking the log-in device executing the log-in method as an example.
- an embodiment of the present application further provides a login apparatus 300, including:
- a first sending module 301 configured to send first information to the second electronic device when the first electronic device is connected to the second electronic device, where the first information includes login authentication information;
- a first receiving module 302 configured to receive second information sent by the second electronic device in response to the first information, where the second information includes at least one of authentication success information and account login information;
- the login module 303 is configured to perform a login process on the first electronic device according to the second information.
- the first sending module includes:
- a first receiving submodule for receiving a first input
- a first sending submodule configured to send the first information to the second electronic device in response to the first input.
- the first input is an input to a screen lock interface of the first electronic device
- the login module is configured to automatically unlock the first electronic device to enter the login state according to the second information.
- the first input is an input for opening a preset interface of the target application
- the login authentication information includes website information corresponding to the preset interface
- the target application is not logged in with the target account.
- the account login information includes account login information of the target application
- the login module is configured to log in to the account corresponding to the account login information.
- the login device of the embodiment of the present application enables the first electronic device to automatically log in according to the second information sent by the second electronic device through information interaction between the first electronic device and the second electronic device, without the need for manual input.
- password which solves the problem of cumbersome operations when users authenticate or log in to a website.
- the login device provided in the embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
- an embodiment of the present application further provides a login apparatus 400, including:
- the second sending module 401 is used for the second electronic device to send second information to the first electronic device when detecting that the first electronic device satisfies the preset condition, where the second information includes authentication success information and account number at least one of the login information;
- the preset conditions include: the first electronic device is in a locked screen state, the first electronic device opens a preset interface of a target application, or receives first information sent by the first electronic device, the first electronic device A message includes login authentication information.
- the target application is not logged in with the target account.
- the login authentication information includes website information corresponding to the preset interface of the target application
- the second sending module is configured to send second information to the first electronic device in the presence of a target application corresponding to the website information, where the second information includes the account login of the target application information.
- the login device of the embodiment of the present application when detecting that the first electronic device satisfies the preset condition, sends second information to the first electronic device, so that the first electronic device automatically logs in according to the second information process, without the need to manually enter the password, thus solving the problem of cumbersome operations when users authenticate or log in to the website.
- the login device provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 2 , and to avoid repetition, details are not described here.
- the login device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- the login device in this embodiment of the present application may be a device with an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- an embodiment of the present application further provides an electronic device 500, including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501,
- an electronic device 500 including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501,
- the program or instruction is executed by the processor 501, each process of the above login method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc. part.
- the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 6 does not constitute a limitation to the electronic device.
- the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- a radio frequency unit 601 configured to send first information to the second electronic device from the first electronic device when the first electronic device is connected to the second electronic device, where the first information includes login authentication information; receiving The second electronic device sends second information in response to the first information, where the second information includes at least one of authentication success information and account login information;
- the processor 610 is configured to perform a login process on the first electronic device according to the second information.
- the first electronic device can automatically log in according to the second information sent by the second electronic device, without the need for manual input. password, which solves the problem of cumbersome operations when users authenticate or log in to a website.
- the radio frequency unit 601 is configured to receive a first input; in response to the first input, send the first information to the second electronic device.
- the first input is an input to a lock screen interface of the first electronic device
- the processor 610 is configured to automatically unlock the first electronic device to enter a login state according to the second information.
- the first input is an input for opening a preset interface of the target application
- the login authentication information includes website information corresponding to the preset interface
- the target application is not logged in with the target account.
- the account login information includes account login information of the target application
- the processor 610 is configured to log in to the account corresponding to the account login information.
- the first electronic device can automatically log in according to the second information sent by the second electronic device, without the need for manual input. password, which solves the problem of cumbersome operations when users authenticate or log in to a website.
- the processor 610 is configured to send second information to the first electronic device when it is detected that the first electronic device satisfies the preset condition, where the second information includes at least one of authentication success information and account login information item;
- the preset conditions include: the first electronic device is in a locked screen state, the first electronic device opens a preset interface of a target application, or receives first information sent by the first electronic device, the first electronic device A message includes login authentication information.
- the target application is not logged in with the target account.
- the login authentication information includes website information corresponding to the preset interface of the target application
- the processor 610 is configured to send second information to the first electronic device when there is a target application corresponding to the website information, where the second information includes account login information of the target application.
- the second electronic device when the second electronic device detects that the first electronic device satisfies the preset condition, the second electronic device sends second information to the first electronic device, so that the first electronic device
- the information is automatically logged in, and there is no need to manually enter the password, which solves the problem of cumbersome operations when users authenticate or log in to the website.
- the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 607 includes a touch panel 6071 and other input devices 6072 .
- the touch panel 6071 is also called a touch screen.
- the touch panel 6071 may include two parts, a touch detection device and a touch controller.
- Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
- Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
- the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
- the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
- a program or an instruction is stored on the readable storage medium.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the above login method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
- ASIC Application Specific Integrated Circuits
- DSP Digital Signal Processing
- DSP Device digital signal processing equipment
- PLD Programmable Logic Device
- Field-Programmable Gate Array Field-Programmable Gate Array
- FPGA Field-Programmable Gate Array
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
本申请公开了一种登录方法、装置和电子设备,属于电子设备技术领域。其登录方法包括:在第一电子设备与第二电子设备连接的情况下,所述第一电子设备发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;根据所述第二信息,在所述第一电子设备执行登录处理。
Description
相关申请的交叉引用
本申请主张在2020年7月17日在中国提交的中国专利申请号No.202010692235.7的优先权,其全部内容通过引用包含于此。
本申请属于电子设备技术领域,具体涉及一种登录方法、装置和电子设备。
相关技术中,用户在使用电脑的时候,为了信息安全,会在暂时不使用电脑的情况下对电脑进行锁屏操作,或者是设定一定时间的自动锁屏,等到用户需要再次使用电脑的时候,需要用户输入密码进行身份认证。或者,当用户在电脑端的一些网站上第一次登陆时,需要输入账号名和密码。在实现本申请过程中,发明人发现现有技术中至少存在如下问题:为了信息安全,无论是为了身份验证还是登录一些网站,都需要用户手动输入密码,操作繁琐。
发明内容
本申请实施例的目的是提供一种登录方法、装置和电子设备,能够解决在进行身份验证或者登录网站时,需要用户手动输入密码,操作繁琐的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种登录方法,包括:
在第一电子设备与第二电子设备连接的情况下,所述第一电子设备发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;
接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
根据所述第二信息,在所述第一电子设备执行登录处理。
第二方面,本申请实施例提供了一种登录方法,包括:
第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
第三方面,本申请实施例提供了一种登录装置,包括:
第一发送模块,用于在第一电子设备与第二电子设备连接的情况下,发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;
第一接收模块,用于接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
登录模块,用于根据所述第二信息,在所述第一电子设备执行登录处理。
第四方面,本申请实施例提供了一种登录装置,包括:
第二发送模块,用于第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令, 实现如第一方面或第二方面所述的方法。
在本申请实施例中,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
图1是本申请实施例的登录方法的流程示意图之一;
图2是本申请实施例的登录方法的流程示意图之二;
图3是本发明实施例的登录装置的模块示意图之一;
图4是本发明实施例的登录装置的模块示意图之二;
图5是本发明实施例的电子设备的结构框图之一;
图6是本发明实施例的电子设备的结构框图之二。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的登录方法进行详细地说明。
本申请实施例的登录方法,第一电子设备接收用户对第一电子设备的第 一输入,所述第一输入为触发登录的输入;第一电子设备响应于所述第一输入,向与所述第一电子设备连接的第二电子设备发送登录请求信息;第二电子设备向第一电子设备发送与所述登录请求信息对应的登录信息;第一电子设备根据所述登录信息进行自动登录处理。
本申请实施例的登录方法,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
如图1所示,本申请实施例提供了一种登录方法,应用于第一电子设备,该第一电子设备可以具体为电脑,例如,笔记本电脑、掌上电脑等,该登录方法包括:
步骤101:在第一电子设备与第二电子设备连接的情况下,所述第一电子设备发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息。
在本步骤中,第一电子设备与第二电子设备建立通信连接,该第二电子设备可以是移动终端,如手机。建立通信连接之后,第一电子设备(电脑)和第二电子设备(手机)之间可以进行协作。该协作是指在手机与电脑建立连接的条件下,允许用户用电脑去控制手机屏幕上的应用,还能在电脑和手机端直接通过触控、拖动来完成文件的传输,以使电脑和手机真正联动起来。
可选的,在第一电子设备和第二电子设备之间的距离小于预设阈值的情况下,第一电子设备与第二电子设备建立通信连接。第一电子设备和第二电子设备的连接方式可以是通过对等P2P网络连接,或者通过局域网连接,或者通过USB方式连接。
其中,上述登录认证信息可以是第一电子设备自身需要解锁时的身份认证请求信息,也可以是第一电子设备要登录目标应用程序的目标账号的登录请求信息。
步骤102:接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项。
这里,通过上述认证成功信息和账号登录信息中的至少一项来指示第一电子设备执行自动登录。该账号登录信息可以包括账号名和该账号名对应的 密码。
步骤103:根据所述第二信息,在所述第一电子设备执行登录处理。
这里,第一电子设备根据第二信息,在第一电子设备执行自动登录处理,例如,第一电子设备自动解锁进入登录状态或者登录一个应用程序对应的账号。
本申请实施例的登录方法,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
可选的,所述第一电子设备发送第一信息至所述第二电子设备,包括:
所述第一电子设备接收第一输入;
响应于所述第一输入,发送所述第一信息至所述第二电子设备。
本步骤中,上述第一输入为触发登录的输入。该第一输入可以具体是触发登录目标账号的输入,该目标账号可以是电脑用户对应的登录账号,或者,目标应用程序对应的登录账号。
这里,通过第一输入来触发第一电子设备发送第一信息至第二电子设备,而不是第一电子设备与第二电子设备连接便发送第一信息,能够有利于节省第一电子设备的耗电。
可选的,所述第一输入为对所述第一电子设备的锁屏界面的输入;
根据所述第二信息,在所述第一电子设备执行登录处理,包括:
根据所述第二信息,自动解锁所述第一电子设备进入登录状态。
例如,在第一电子设备处于锁屏状态的情况下,用户点击上述锁屏界面,此时显示登录界面,触发第一电子设备向第二电子设备发送第一信息。另外,第一电子设备接收到上述第一输入后,首先判断是否有与第二电子设备进行协作的连接,如果有与第二电子设备进行协作的连接(即与第二电子设备建立协作连接),则向第二电子设备发送第一信息,第二电子设备向第一电子设备发送第二信息。
可选的,所述登录认证信息为身份认证请求,即表示此时第一电子设备需要进行身份才能进行登录。这里,第一电子设备接收到身份认证成功信息 和账号登录信息中的至少一项之后,自动填写账号登录信息后进行自动登录,或者,根据身份认证成功信息直接进行自动登录(即跳过填写密码的过程)。
这里,在锁屏状态下向第二电子设备发送第一信息,以实现锁屏状态下的无感登录。这样,在手机与电脑协作的前提下,用户不需要手动输入密码来登录电脑,而是通过手机与电脑之间的信息传输,在电脑端实现无感身份认证。
可选的,所述第一输入为开启目标应用程序的预设界面的输入,所述登录认证信息包括所述预设界面对应的网址信息。
这里,在检测到第一电子设备显示目标应用程序的预设界面的情况下,触发第一电子设备向第二电子设备发送第一信息,以便于第一电子设备自动登录该目标应用程序的目标账号。
可选的,所述目标应用程序未以目标账号登录。
例如,第一电子设备以游客模式登录目标应用程序,并开启目标应用程序的预设界面,此时,则触发第一电子设备向第二电子设备发送第一信息,以便于第一电子设备自动登录该目标应用程序的目标账号。
或者,第一电子设备以第一账号登录目标应用程序,并开启目标应用程序的预设界面,也可以触发第一电子设备向第二电子设备发送第一信息,以便于第一电子设备自动登录该应用程序的第二账号。第二账号为与第一账号不同的账号,即自动实现账号切换。
另外,需要说明的是,上述目标应用程序为第二电子设备允许在第一电子设备中进行自动登录的应用程序,且第二电子设备中已在目标应用程序上登录了账号,并且该应用程序中的账号可以在网页中进行登录,如手机中的购物应用程序的账号信息可以在电脑相应的网站上进行登录,或者,手机中的视频播放应用程序的账号信息可以在电脑相应的网站上进行登录。上述目标应用程序可以为购物应用程序、即时聊天应用程序和视频播放应用程序等。上述预设界面可以是目标应用程序的任意界面。
可选的,所述账号登录信息包括所述目标应用程序的账号登录信息;
根据所述第二信息,在所述第一电子设备执行登录处理,包括:
登录与所述账号登录信息对应的账号。
例如,用户在电脑端的浏览器中打开了某个网页,如购物应用程序的网页,并且发现该购物应用程序未进行登录,则电脑端向手机端发送该购物应用程序对应的网址信息。手机端对该网址信息进行解析,如果发现手机中存在与该网址信息对应的应用程序,则手机端向电脑端发送相关的账号信息,以实现电脑端目标应用程序账号的无感登录。
这样,在手机与电脑协作的前提下,如果用户已经在手机上登录了某个应用程序的账户,则用户在电脑端打开对应的网站的时候,可以实现电脑端自动填入账户信息并进行登录的目的,从而实现在一些网站上的无感登录。
本申请实施例的登录方法,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
如图2所示,本申请实施例还提供了一种登录方法,应用第二电子设备,该第二电子设备可具体为手机,该方法包括:
步骤201:第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
在本步骤之前,第一电子设备与第二电子设备建立通信连接,建立通信连接之后,第一电子设备(电脑)和第二电子设备(手机)之间可以进行协作。该协作是指在手机与电脑建立连接的条件下,允许用户用电脑去控制手机屏幕上的应用,还能在电脑和手机端直接通过触控、拖动来完成文件的传输,以使电脑和手机真正联动起来。
可选的,在第一电子设备和第二电子设备之间的距离小于预设阈值的情况下,第一电子设备与第二电子设备建立通信连接。第一电子设备和第二电子设备的连接方式可以是通过对等P2P网络连接,或者通过局域网连接,或者通过USB方式连接。
例如,第二电子设备检测到第一电子设备处于熄屏状态的情况下,向所述第一电子设备发送第二信息,以使第一电子设备根据该第二信息执行自动登录。
另外,上述第一信息已在应用第一电子设备的登录方法中进行详细说明,此处不再赘述。当第二电子设备在锁屏状态下收到上述第一信息时,先显示解锁提示信息;再接收用户根据所述解锁提示信息输入的解锁输入后,向第一电子设备发送第二信息。
这里,第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,以使第一电子设备根据所述第二信息进行自动登录处理,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
可选的,所述目标应用程序未以目标账号登录。
例如,检测到第一电子设备以游客模式登录目标应用程序,并开启目标应用程序的预设界面,此时,则触发第二电子设备向第一电子设备发送第二信息,以便于第一电子设备自动登录该目标应用程序的目标账号。
或者,检测到第一电子设备以第一账号登录目标应用程序,并开启目标应用程序的预设界面,也可以触发第二电子设备向第一电子设备发送第二信息,所述第二信息包括第二账号对应的账号登录信息,以便于第一电子设备自动登录该应用程序的第二账号。第二账号为与第一账号不同的账号,即自动实现账号切换。
可选的,所述登录认证信息包括目标应用程序的预设界面对应的网址信息;
所述向所述第一电子设备发送第二信息,包括:
在存在与所述网址信息对应的目标应用程序的情况下,向所述第一电子设备发送第二信息,所述第二信息包括所述目标应用程序的账号登录信息。
在本步骤中,上述目标应用程序为第二电子设备允许在第一电子设备中进行自动登录的应用程序,且第二电子设备中已在目标应用程序上登录了账号,并且该应用程序中的账号可以在网页中进行登录,如手机中的购物应用程序的账号信息可以在电脑相应的网站上进行登录,或者,手机中的视频播 放应用程序的账号信息可以在电脑相应的网站上进行登录。上述目标应用程序可以为购物应用程序、即时聊天应用程序和视频播放应用程序等。
例如,用户在电脑端的浏览器中打开了某个网页,如购物应用程序的网页,并且发现该购物应用程序未进行登录,则电脑端向手机端发送该购物应用程序对应的网址信息。手机端对该网址信息进行解析,如果发现手机中存在与该网址信息对应的应用程序,则手机端向电脑端发送相关的账号信息,以实现电脑端目标应用程序账号的无感登录。
本申请实施例的登录方法,第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,以使第一电子设备根据所述第二信息进行自动登录处理,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
需要说明的是,本申请实施例提供的登录方法,执行主体可以为登录装置,或者该登录装置中用于执行登录方法的控制模块。本申请实施例中以登录装置执行登录方法为例,说明本申请实施例提供的登录装置。
如图3所示,本申请实施例还提供了一种登录装置300,包括:
第一发送模块301,用于在第一电子设备与第二电子设备连接的情况下,发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;
第一接收模块302,用于接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
登录模块303,用于根据所述第二信息,在所述第一电子设备执行登录处理。
本申请实施例的登录装置,所述第一发送模块包括:
第一接收子模块,用于接收第一输入;
第一发送子模块,用于响应于所述第一输入,发送所述第一信息至所述第二电子设备。
本申请实施例的登录装置,所述第一输入为对所述第一电子设备的锁屏界面的输入;
所述登录模块用于根据所述第二信息,自动解锁所述第一电子设备进入 登录状态。
本申请实施例的登录装置,所述第一输入为开启目标应用程序的预设界面的输入,所述登录认证信息包括所述预设界面对应的网址信息。
本申请实施例的登录装置,所述目标应用程序未以目标账号登录。
本申请实施例的登录装置,所述账号登录信息包括所述目标应用程序的账号登录信息;
所述登录模块用于登录与所述账号登录信息对应的账号。
本申请实施例的登录装置,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
本申请实施例提供的登录装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
如图4所示,本申请实施例还提供了一种登录装置400,包括:
第二发送模块401,用于第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
本申请实施例的登录装置,所述目标应用程序未以目标账号登录。
本申请实施例的登录装置,所述登录认证信息包括目标应用程序的预设界面对应的网址信息;
所述第二发送模块用于在存在与所述网址信息对应的目标应用程序的情况下,向所述第一电子设备发送第二信息,所述第二信息包括所述目标应用程序的账号登录信息。
本申请实施例的登录装置,在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,以使第一电子设备根据所述第二信息进行自动登录处理,而无需再手动输入密码,从而解决了用户进行身份验 证或者登录网站时操作繁琐的问题。
本申请实施例提供的登录装置能够实现图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。
本申请实施例中的登录装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的登录装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
可选的,如图5所示,本申请实施例还提供一种电子设备500,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述登录方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,在第一种可选的实现方式中:
射频单元601,用于在第一电子设备与第二电子设备连接的情况下,所述第一电子设备发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
处理器610,用于根据所述第二信息,在所述第一电子设备执行登录处理。
本申请实施例的电子设备,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
可选的,射频单元601,用于接收第一输入;响应于所述第一输入,发送所述第一信息至所述第二电子设备。
可选的,所述第一输入为对所述第一电子设备的锁屏界面的输入;
处理器610,用于根据所述第二信息,自动解锁所述第一电子设备进入登录状态。
可选的,所述第一输入为开启目标应用程序的预设界面的输入,所述登录认证信息包括所述预设界面对应的网址信息。
可选的,所述目标应用程序未以目标账号登录。
可选的,所述账号登录信息包括所述目标应用程序的账号登录信息;
处理器610,用于登录与所述账号登录信息对应的账号。
本申请实施例的电子设备,通过第一电子设备和第二电子设备之间进行信息的交互,使得第一电子设备能够根据第二电子设备发送的第二信息进行自动登录,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
在第二种可选的实现方式中:
处理器610,用于在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;
其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
可选的,所述目标应用程序未以目标账号登录。
可选的,所述登录认证信息包括目标应用程序的预设界面对应的网址信息;
处理器610,用于在存在与所述网址信息对应的目标应用程序的情况下,向所述第一电子设备发送第二信息,所述第二信息包括所述目标应用程序的账号登录信息。
本申请实施例的电子设备,第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,以使第一电子设备根据所述第二信息进行自动登录处理,而无需再手动输入密码,从而解决了用户进行身份验证或者登录网站时操作繁琐的问题。
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述登录方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述登录方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
可以理解的是,本公开描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (23)
- 一种登录方法,包括:在第一电子设备与第二电子设备连接的情况下,所述第一电子设备发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;根据所述第二信息,在所述第一电子设备执行登录处理。
- 根据权利要求1所述的登录方法,其中,所述第一电子设备发送第一信息至所述第二电子设备,包括:所述第一电子设备接收第一输入;响应于所述第一输入,发送所述第一信息至所述第二电子设备。
- 根据权利要求2所述的登录方法,其中,所述第一输入为对所述第一电子设备的锁屏界面的输入;根据所述第二信息,在所述第一电子设备执行登录处理,包括:根据所述第二信息,自动解锁所述第一电子设备进入登录状态。
- 根据权利要求2所述的登录方法,其中,所述第一输入为开启目标应用程序的预设界面的输入,所述登录认证信息包括所述预设界面对应的网址信息。
- 根据权利要求4所述的登录方法,其中,所述目标应用程序未以目标账号登录。
- 根据权利要求4所述的登录方法,其中,所述账号登录信息包括所述目标应用程序的账号登录信息;根据所述第二信息,在所述第一电子设备执行登录处理,包括:登录与所述账号登录信息对应的账号。
- 一种登录方法,包括:第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
- 根据权利要求7所述的登录方法,其中,所述目标应用程序未以目标账号登录。
- 根据权利要求7所述的登录方法,其中,所述登录认证信息包括目标应用程序的预设界面对应的网址信息;所述向所述第一电子设备发送第二信息,包括:在存在与所述网址信息对应的目标应用程序的情况下,向所述第一电子设备发送第二信息,所述第二信息包括所述目标应用程序的账号登录信息。
- 一种登录装置,包括:第一发送模块,用于在第一电子设备与第二电子设备连接的情况下,发送第一信息至所述第二电子设备,所述第一信息包括登录认证信息;第一接收模块,用于接收所述第二电子设备响应于所述第一信息发送的第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;登录模块,用于根据所述第二信息,在所述第一电子设备执行登录处理。
- 根据权利要求10所述的登录装置,其中,所述第一发送模块包括:第一接收子模块,用于接收第一输入;第一发送子模块,用于响应于所述第一输入,发送所述第一信息至所述第二电子设备。
- 根据权利要求11所述的登录装置,其中,所述第一输入为对所述第一电子设备的锁屏界面的输入;所述登录模块用于根据所述第二信息,自动解锁所述第一电子设备进入登录状态。
- 根据权利要求11所述的登录装置,其中,所述第一输入为开启目标应用程序的预设界面的输入,所述登录认证信息包括所述预设界面对应的网址信息。
- 根据权利要求13所述的登录装置,其中,所述目标应用程序未以目标账号登录。
- 根据权利要求13所述的登录装置,其中,所述账号登录信息包括所述目标应用程序的账号登录信息;所述登录模块用于登录与所述账号登录信息对应的账号。
- 一种登录装置,包括:第二发送模块,用于第二电子设备在检测到第一电子设备满足预设条件的情况下,向所述第一电子设备发送第二信息,所述第二信息包括认证成功信息和账号登录信息中的至少一项;其中,所述预设条件包括:所述第一电子设备处于锁屏状态、所述第一电子设备开启目标应用程序的预设界面或接收到第一电子设备发送的第一信息,所述第一信息包括登录认证信息。
- 根据权利要求16所述的登录装置,其中,所述目标应用程序未以目标账号登录。
- 根据权利要求16所述的登录装置,其中,所述登录认证信息包括目标应用程序的预设界面对应的网址信息;所述第二发送模块用于在存在与所述网址信息对应的目标应用程序的情况下,向所述第一电子设备发送第二信息,所述第二信息包括所述目标应用程序的账号登录信息。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6任一项所述的登录方法的步骤或者实现如权利要求7至9任一项所述的登录方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6任一项所述的登录方法的步骤或者实现如权利要求7至9任一项所述的登录方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至6任一项所述的登录方法或权利要求7至9任一项所述的登录方法。
- 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现 如权利要求1至6任一项所述的登录方法的步骤或者实现如权利要求7至9任一项所述的登录方法的步骤。
- 一种电子设备,所述电子设备被配置成用于执行实现如权利要求1至6任一项所述的登录方法或者执行如权利要求7至9任一项所述的登录方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010692235.7A CN111859357A (zh) | 2020-07-17 | 2020-07-17 | 登录方法、装置和电子设备 |
| CN202010692235.7 | 2020-07-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022012659A1 true WO2022012659A1 (zh) | 2022-01-20 |
Family
ID=73001083
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/106731 Ceased WO2022012659A1 (zh) | 2020-07-17 | 2021-07-16 | 登录方法、装置和电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111859357A (zh) |
| WO (1) | WO2022012659A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114697962A (zh) * | 2022-03-28 | 2022-07-01 | 联想(北京)有限公司 | 一种数据处理方法及电子设备 |
| CN115189891A (zh) * | 2022-07-07 | 2022-10-14 | Oppo广东移动通信有限公司 | 应用程序登录方法、装置、终端及计算机可读存储介质 |
| CN115225649A (zh) * | 2022-07-19 | 2022-10-21 | 维沃移动通信有限公司 | 数据同步方法、装置和电子设备 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111859357A (zh) * | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | 登录方法、装置和电子设备 |
| CN112417421B (zh) * | 2020-11-26 | 2024-07-26 | 维沃移动通信有限公司 | 扫描方法、装置、电子设备和可读存储介质 |
| CN114845297B (zh) * | 2021-01-14 | 2024-06-04 | 华为技术有限公司 | 应用程序访问方法、电子设备及存储介质 |
| CN113726943A (zh) * | 2021-08-31 | 2021-11-30 | 维沃移动通信有限公司 | 控制方法及电子设备 |
| CN114861154B (zh) * | 2022-07-04 | 2023-04-11 | 荣耀终端有限公司 | 一种协同登录方法 |
| CN117527275A (zh) * | 2022-07-28 | 2024-02-06 | 华为技术有限公司 | 应用登录方法、电子设备及系统 |
| CN116582329A (zh) * | 2023-05-18 | 2023-08-11 | 中兴通讯股份有限公司 | 一种登录方法、电子设备及存储介质 |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103873593A (zh) * | 2014-04-02 | 2014-06-18 | 北京奇艺世纪科技有限公司 | 一种网站登录方法及系统 |
| CN104158883A (zh) * | 2014-08-20 | 2014-11-19 | 乐视网信息技术(北京)股份有限公司 | 跨终端设备进行用户登陆的方法、装置、设备及系统 |
| CN104468124A (zh) * | 2014-12-22 | 2015-03-25 | 联想(北京)有限公司 | 基于ssl的认证方法及电子设备 |
| US20150143493A1 (en) * | 2013-11-21 | 2015-05-21 | Qnap Systems, Inc. | Electronic device and login method thereof |
| CN105574400A (zh) * | 2014-11-10 | 2016-05-11 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
| CN107480508A (zh) * | 2017-08-18 | 2017-12-15 | 珠海市魅族科技有限公司 | 一种登录应用的方法及终端、计算机装置及可读存储介质 |
| CN111447208A (zh) * | 2020-03-24 | 2020-07-24 | 维沃移动通信有限公司 | 信息共享方法及电子设备 |
| CN111756696A (zh) * | 2020-05-26 | 2020-10-09 | 维沃移动通信有限公司 | 应用程序的登录方法、第一电子设备和第二电子设备 |
| CN111859357A (zh) * | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | 登录方法、装置和电子设备 |
| CN111966991A (zh) * | 2019-05-20 | 2020-11-20 | 北京小米移动软件有限公司 | 设备解锁方法、装置、设备及存储介质 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108984231A (zh) * | 2018-07-25 | 2018-12-11 | 维沃移动通信有限公司 | 一种应用程序账号的登录方法及移动终端 |
-
2020
- 2020-07-17 CN CN202010692235.7A patent/CN111859357A/zh active Pending
-
2021
- 2021-07-16 WO PCT/CN2021/106731 patent/WO2022012659A1/zh not_active Ceased
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150143493A1 (en) * | 2013-11-21 | 2015-05-21 | Qnap Systems, Inc. | Electronic device and login method thereof |
| CN103873593A (zh) * | 2014-04-02 | 2014-06-18 | 北京奇艺世纪科技有限公司 | 一种网站登录方法及系统 |
| CN104158883A (zh) * | 2014-08-20 | 2014-11-19 | 乐视网信息技术(北京)股份有限公司 | 跨终端设备进行用户登陆的方法、装置、设备及系统 |
| CN105574400A (zh) * | 2014-11-10 | 2016-05-11 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
| CN104468124A (zh) * | 2014-12-22 | 2015-03-25 | 联想(北京)有限公司 | 基于ssl的认证方法及电子设备 |
| CN107480508A (zh) * | 2017-08-18 | 2017-12-15 | 珠海市魅族科技有限公司 | 一种登录应用的方法及终端、计算机装置及可读存储介质 |
| CN111966991A (zh) * | 2019-05-20 | 2020-11-20 | 北京小米移动软件有限公司 | 设备解锁方法、装置、设备及存储介质 |
| CN111447208A (zh) * | 2020-03-24 | 2020-07-24 | 维沃移动通信有限公司 | 信息共享方法及电子设备 |
| CN111756696A (zh) * | 2020-05-26 | 2020-10-09 | 维沃移动通信有限公司 | 应用程序的登录方法、第一电子设备和第二电子设备 |
| CN111859357A (zh) * | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | 登录方法、装置和电子设备 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114697962A (zh) * | 2022-03-28 | 2022-07-01 | 联想(北京)有限公司 | 一种数据处理方法及电子设备 |
| CN114697962B (zh) * | 2022-03-28 | 2024-07-23 | 联想(北京)有限公司 | 一种数据处理方法及电子设备 |
| CN115189891A (zh) * | 2022-07-07 | 2022-10-14 | Oppo广东移动通信有限公司 | 应用程序登录方法、装置、终端及计算机可读存储介质 |
| CN115225649A (zh) * | 2022-07-19 | 2022-10-21 | 维沃移动通信有限公司 | 数据同步方法、装置和电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111859357A (zh) | 2020-10-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2022012659A1 (zh) | 登录方法、装置和电子设备 | |
| EP3854049B1 (en) | Nonce handler for single sign on authentication in reverse proxy solutions | |
| EP3622427B1 (en) | Securely authenticating a bot user | |
| US10491685B2 (en) | Session transfer between resources | |
| CN102802071B (zh) | 智能电视、移动终端、多屏互动系统及无线通信方法 | |
| US20190236300A1 (en) | Service processing method and apparatus, data sharing system, and storage medium | |
| US8924573B2 (en) | Secure capability negotiation between a client and server | |
| CN107276888A (zh) | 数据共享方法和装置、服务器、移动终端以及存储介质 | |
| CN106412909A (zh) | 一种设备连接的方法及装置 | |
| CN111865961B (zh) | 数据处理方法、装置和电子设备 | |
| CN107742067A (zh) | 一种身份验证方法、装置和系统 | |
| WO2023025054A1 (zh) | 远程协助方法、装置、电子设备及介质 | |
| CN112380552A (zh) | 一种数据处理方法、装置、存储介质及计算机设备 | |
| WO2023030265A1 (zh) | 控制方法及电子设备 | |
| CN108270757A (zh) | 一种用户账户切换方法、装置、客户端以及系统 | |
| WO2017054585A1 (zh) | 网络接入方法、装置及系统 | |
| US20180218134A1 (en) | Determining computer ownership | |
| WO2015014173A1 (zh) | 离线自动锁定业务的方法、装置及系统 | |
| CN106656985A (zh) | 一种备份账号登录方法、装置及系统 | |
| CN111565382A (zh) | 传输方法和电子设备 | |
| CN104168261B (zh) | 动态密码登录方法和装置 | |
| CN107592289B (zh) | 密码设置方法及装置 | |
| CN112788603A (zh) | 验证码转发方法、装置、设备及介质 | |
| CN115580434A (zh) | 一种登录认证方法及装置 | |
| WO2022199615A1 (zh) | 信息显示方法、装置和电子设备 |
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: 21841641 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21841641 Country of ref document: EP Kind code of ref document: A1 |