Login method, electronic device, and storage medium

By establishing communication connections between devices and obtaining and filling login information, the problem of repeated input during login between devices is solved, the user experience is improved, and convenient login across devices is achieved.

WO2024234837A1PCT designated stage expired Publication Date: 2024-11-21ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/083612
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-18
Filing Date
2024-03-25
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

In the prior art, devices need to repeatedly enter their account number and password when logging in to the application, especially when logging in between different devices, the user experience is poor and the application lacking the QR code scanning function limits the scenario of fast login.

Method used

Through the first device, the target request is sent to the second device that establishes a communication connection with it, and the login information is obtained and filled, including an account number and a password, to realize cross-device login verification, without the need for the target application or the first device has a QR code scanning function, and No manual operation is required for users.

Benefits of technology

Improve user experience, eliminate scene restrictions, realize fast and convenient login between different devices, and simplify the login process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083612_21112024_PF_FP_ABST
    Figure CN2024083612_21112024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a login method, an electronic device, and a storage medium. The login method comprises: in response to a first operation, a first device sends a target request to a second device which establishes a communicational connection with the first device, the first operation being used for instructing to populate login information to the first device, and the target request being used for requesting to acquire the login information; after receiving the target request and when determining that the login information is stored, the second device sends the login information to the first device; and the first device receives the login information sent by the second device and populates the login information to the first device.
Need to check novelty before this filing date? Find Prior Art

Description

Login method, electronic device, and storage medium

[0001] This disclosure claims priority to Chinese patent application No. 202310566775.4, filed on May 18, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of communication technology, and in particular to a login method, electronic device, and storage medium. Background Art

[0003] Many devices currently require an account ID and password to log in to an app. This often requires users to repeatedly enter the same account ID and password on different devices when logging into the same app. Traditionally, this has been accomplished by using the app's own QR code scanning functionality.

[0004] Summary of the Invention

[0005] In one aspect, a login method is provided, applied to a first device. The login method includes: in response to a first operation, sending a target request to a second device that has established a communication connection with the first device; the first operation is used to instruct the first device to fill in login information; the login information includes: an account number and login password of a target application, or a login password of the first device; the target request is used to request the login information; receiving the login information sent by the second device; and verifying the login information.

[0006] In another aspect, a login method is provided for use with a second device. The login method includes: receiving a target request from a first device; the target request is for requesting login information; the login information includes an account number and login password for a target application, or the login password for the first device; and sending the login information to the first device.

[0007] In another aspect, an electronic device is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is configured to store a computer program; and the processor implements the login method of any of the above embodiments when executing the computer program.

[0008] In another aspect, a computer-readable storage medium is provided, wherein computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the login method described in any one of the above aspects is implemented.

[0009] On the other hand, a computer program product is provided, which includes computer program instructions, and when the computer program instructions are executed by a processor, the login method described in any one of the above aspects is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] To more clearly illustrate the technical solutions of the present disclosure, the following briefly introduces the drawings required for use in some embodiments of the present disclosure. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure, and those skilled in the art can also derive other drawings based on these drawings.

[0011] FIG1 is a schematic diagram of an implementation environment involved in a login method according to some embodiments of the present disclosure.

[0012] FIG2 is a schematic diagram of internal modules of a device according to some embodiments of the present disclosure.

[0013] FIG3 is a flowchart of a login method according to some embodiments of the present disclosure.

[0014] FIG4 is a schematic diagram of a login interface according to some embodiments of the present disclosure.

[0015] FIG5 is a schematic diagram of another login interface according to some embodiments of the present disclosure.

[0016] FIG6 is a schematic diagram of an interface switching according to some embodiments of the present disclosure.

[0017] FIG7 is a schematic diagram of an interface operation according to some embodiments of the present disclosure.

[0018] FIG8 is another schematic diagram of interface switching according to some embodiments of the present disclosure.

[0019] FIG9 is another schematic diagram of interface operation according to some embodiments of the present disclosure.

[0020] FIG10 is another schematic diagram of interface switching according to some embodiments of the present disclosure.

[0021] FIG11 is a schematic diagram of an account number and login password storage process according to some embodiments of the present disclosure.

[0022] FIG12 is a diagram of an interface display process according to some embodiments of the present disclosure.

[0023] FIG13 is a schematic diagram of an interface according to some embodiments of the present disclosure.

[0024] FIG14 is a schematic diagram of another interface operation according to some embodiments of the present disclosure.

[0025] FIG15 is another schematic diagram of an interface according to some embodiments of the present disclosure.

[0026] FIG16 is another schematic diagram of an interface according to some embodiments of the present disclosure.

[0027] FIG17 is a schematic diagram of another interface operation according to some embodiments of the present disclosure.

[0028] FIG18 is a flowchart of another login method according to some embodiments of the present disclosure.

[0029] FIG19 is a schematic structural diagram of an electronic device according to some embodiments of the present disclosure.

[0030] FIG20 is a schematic structural diagram of another electronic device according to some embodiments of the present disclosure.

[0031] FIG21 is a schematic structural diagram of another electronic device according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0032] To help those skilled in the art better understand the technical solutions of the embodiments of the present disclosure, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the drawings in the present disclosure. Obviously, the embodiments described are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0033] It should be noted that in this disclosure, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this disclosure as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0034] In the following, the terms "first," "second," etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the quantity of the technical features indicated. Therefore, a feature specified as "first," "second," etc. may explicitly or implicitly include one or more of the features.

[0035] In the description of this disclosure, unless otherwise specified, " / " means "or." For example, A / B can mean A or B. "And / or" herein is merely a description of an association relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: only A, only B, and both A and B. Furthermore, "at least one" means one or more, and "a plurality" means two or more.

[0036] Traditionally, most applications rely on the QR code scanning functionality provided by the application itself to enable logging into the same application using the same account number and password on different devices. This method requires the application itself to have a QR code scanning function to quickly log in from other devices. If some applications do not have a QR code scanning function, users must manually enter their account number and password. Therefore, this method has certain usage scenarios and reduces the user experience.

[0037] Based on this, an embodiment of the present disclosure proposes a login method. In this login method, the first device can obtain the login information of the second device across devices (including the account number and login password of the target application, or the login password of the first device) to complete the login verification. Specifically, the first device sends a target request to obtain login information to the second device with which a communication connection is established. After receiving the request, the second device sends the login information to the first device; the first device fills in the login information on the first device based on the login information. It can be understood that in this method, the first device can actively obtain the login information from the second device with which a communication connection is established. There is no need for the target application or the first device to have a QR code scanning function, nor does it require manual operation by the user. Therefore, this method is not restricted by the scenario and improves the user experience.

[0038] The implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0039] 1 , which shows a schematic diagram of an implementation environment involved in a login method provided by an embodiment of the present disclosure. The implementation environment may include: a first device 110 and a second device 120 .

[0040] The first device 110 can call a data filling function service. The first device 110 can obtain the login information of the application or webpage stored in the second device 120 to complete the login information filling.

[0041] For example, the first device 110 may include devices such as a mobile phone, a television, a tablet computer, a desktop, a laptop, a notebook computer, and a netbook.

[0042] The second device 120 has a service that provides a data filling function and can store login information of an application or web page. The second device 120 can establish a communication connection with the first device 110 and send the login information to the first device 110 upon receiving a request from the first device 110.

[0043] Illustratively, the second device 120 includes devices such as: a mobile phone, a television, a tablet computer, a desktop, a laptop, a notebook computer, and a netbook.

[0044] The first device 110 and the second device 120 can communicate with each other via Bluetooth, wireless fidelity (WiFi), or near field communication (NFC).

[0045] In some embodiments, the first device 110 may include a caller 111 of a service for data filling function, and the second device 120 may include a provider 121 of a service for data filling function. Please refer to Figure 2, which shows an internal module diagram of the caller 111 of the service for data filling function of the first device 110 and the provider 121 of the service for data filling function of the second device 120 in one of the above-mentioned implementations. The caller 111 of the service for data filling function of the first device 110 may include: a login detection module, a service discovery module, and a message communication module; the provider 121 of the service for data filling function of the second device 120 may include: a login detection module, a key management module, a service publishing module, and a message communication module.

[0046] The login detection module can be used to detect whether a login verification event has been triggered, such as logging into the target application or the first device, or whether login information input has been completed. When the login interface is detected, a prompt is triggered to indicate whether to use the data filling function. When the login information input device is detected to be completed, a prompt is triggered to indicate whether the login information needs to be saved, and the login information is collected and stored.

[0047] The service discovery module can call the Bluetooth / WiFi module to scan the broadcast information sent by the device providing the data filling function, so as to find out whether there is a device providing the data filling function near the device.

[0048] The message communication module can be used for sending and receiving messages when communicating between devices.

[0049] The key management module can be used to store login information for applications, web pages or devices.

[0050] The service publishing module can call the Bluetooth / WiFi module to send broadcast information to provide data filling function services to the outside world.

[0051] FIG. 2 only shows the objects served by the calling end 111 of the service of the data filling function of the first device 110 and the providing end 121 of the service of the data filling function of the second device 120, and the embodiment of the present disclosure does not limit this.

[0052] In an exemplary embodiment, the first device 110 may include a first display screen 130 or be connected to the first display screen 130. The second device 120 may include a second display screen 140 or be connected to the second display screen 140.

[0053] The first display screen 130 can be used to display the interface or page of the first device 110, such as the login interface of the first device 110, the interface prompting whether to use the data filling function (for example, the first interface), the interface of the received broadcast information of the second device 120 (for example, the second interface), etc.

[0054] The second display screen 140 can be used to display an interface or page of the second device 120, such as an interface (for example, a third interface) prompting whether to agree to grant the login information requested by the first device 110.

[0055] In an exemplary embodiment, the first device 110 may further include a first input module 150, or be connected to the first input module 150. The second device may further include a second input module 160, or be connected to the second input module 160. The first input module 150 may be integrated with the first display screen 130, and the second input module 160 may be integrated with the second display screen 140. For example, the first display screen or the second display screen may be a touch screen display. Alternatively, the first input module 150 may be independently provided with the first display screen 130, and the second input module 160 may be independently provided with the second display screen 140. The first input module 150 and the second input module 160 may each include devices such as a keyboard, a mouse, a touch screen or a remote control, a microphone, or the like.

[0056] The first input module 150 is used for the first device 110 to receive a user operation, such as a first operation indicating the use of a data filling function, and to receive a second operation for establishing a communication connection with the second device 120 .

[0057] The second input module 160 is used for the second device 120 to receive a user operation, such as agreeing to grant the third operation of the login information requested by the first device 110.

[0058] The embodiment of the present disclosure does not limit the connection method or setting method between the first display screen 130, the first input module 150 and the first device 110, and does not limit the connection method or setting method between the second display screen 140, the second input module 160 and the second device 120.

[0059] In an exemplary application scenario, the first device 110 is a television, the first display screen 130 is a display screen integrated on the television, the first input module 150 is a remote control, the second device 120 is a mobile phone, the second display screen 140 is a display screen integrated on the mobile phone, and the second input module 160 is integrated on the mobile phone display screen, forming a touch screen with the mobile phone display screen. The target application is a video player. When the user needs to log in to the video player on the television, the user determines to use the data filling function on the video player login interface. At this time, the television receives the broadcast information sent by the mobile phone, and the mobile phone logo is displayed on the TV display screen. The user chooses to establish a communication connection between the television and the mobile phone. After the communication connection is established, the television sends a request to the mobile phone to obtain the login information of the video player. The user confirms on the mobile phone that the television is granted the required video player login information. At this time, the mobile phone sends the video player login information to the television. After receiving the login information of the video player, the television completes the login information filling.

[0060] The following describes the login method provided by the embodiment of the present disclosure:

[0061] Please refer to Figure 3, which is a flowchart of a login method provided by an embodiment of the present disclosure. As shown in Figure 3, the method may include S101-S111.

[0062] S101: The first device displays a login interface.

[0063] In some embodiments, the login interface is an interface for logging into a target application. The target application can be a client application (APP) or a web APP (web APP). For example, as shown in FIG4 , the target application is a video player, and the login interface is an interface for logging into the video player. In this case, the login interface includes a fill-in area for an account number and a fill-in area for a login password.

[0064] In some embodiments, the login interface is an interface for logging into the first device. For example, as shown in FIG5 , the first device is a tablet computer, and the login interface is a login password interface for logging into the tablet computer. In this case, the login interface includes a fill-in area for the login password.

[0065] S102: The first device displays a first interface.

[0066] The first interface is used to prompt whether to use the data filling function.

[0067] In some embodiments, after detecting the login interface, the first device automatically displays the first interface to prompt the user whether to use the data filling function to fill in the account number and login password of the target application, or the login password of the first device.

[0068] In one example, as shown in Figure 6, a schematic diagram of switching from the login interface to the first interface is shown. Figure 6 uses the login interface as an example to illustrate the target application login interface. The first interface may include a prompt indicating whether to use the data filling function. If the function is used, select "Confirm" in the first interface, and if the function is not used, select "Cancel" in the first interface.

[0069] S103: The first device receives a first operation.

[0070] The first operation is an operation on the first interface, and the first operation is used to instruct to fill in the login information into the first device.

[0071] In one example, as shown in FIG7 , the first interface, when the display screen of the first interface is a touch screen, can be a first operation by directly clicking “Confirm” on the touch screen to use the data filling function. Of course, when the display screen displaying the first interface is a normal display screen, the first operation can also be an operation by clicking “Confirm” displayed on the display screen using an input module such as a remote control, keyboard, or mouse to use the data filling function.

[0072] S104: In response to the first operation, the first device sends a target request to the second device that has established a communication connection with the first device.

[0073] The first device and the second device may establish a connection via near field communication technology, such as Bluetooth, WIFI, or NFC communication.

[0074] In one scenario, before executing S101 , the first device has established a communication connection with the second device. Then, after receiving the first operation, the first device directly sends a target request to the second device with which the communication connection has been established.

[0075] In another scenario, after the first device receives the first operation, the first device has not yet established a communication connection with the second device. At this time, the first device needs to first establish a communication connection with the second device and then send a target request to the second device.

[0076] A method for establishing a communication connection between a first device and a second device is provided below.

[0077] If the first device communicates with the second device via Bluetooth or WIFI, the method for establishing a communication connection between the first device and the second device may include S104a-S104d.

[0078] S104a: The first device receives multiple broadcast information sent by multiple devices.

[0079] The plurality of devices may include the second device.

[0080] The broadcast information is used to indicate that the device sending the broadcast information has a service that provides a data filling function.

[0081] In an exemplary embodiment, the broadcast information may include: an identifier of the service of the data filling function, for example, an identity document (ID) of the service, a service name; in addition, the broadcast information may also include an identifier of the device sending the broadcast information, such as the ID of the device sending the broadcast information, the name of the device; in addition, the broadcast information may also include: an identifier enabled by the server.

[0082] The ID of the above service is unique and is the unique identifier used when calling the service or establishing a connection with the service. The service name can be used to distinguish the functions of different services. The ID of the device sending broadcast information is unique and is the unique identifier used when establishing communication with the device. The name of the device can be used to distinguish different devices, such as "TV". The service activation identifier indicates that the service has been turned on.

[0083] In an example, the broadcast information sent by the second device includes: service ID "187f8000-0000-1000-ceb5748151000", service name "AutoFillService", ID of the device sending the broadcast information "af00a8af", device name "second device", and service enabled flag "true".

[0084] S104b: The first device displays the second interface.

[0085] The second interface includes identifications of multiple devices, such as device names and device IDs.

[0086] In one example, as shown in Figure 8, which illustrates a schematic diagram of switching from a first interface to a second interface, the second interface includes "Device 1 (af00a8af)", "Device 2 (de00e4ad)", and "Device 3 (b80105xc)". To select device 1, device 2, or device 3 displayed in the second interface as the second device, simply click the device name. If the displayed device is not the device you want to connect to, click "No, Thanks".

[0087] S104c: The first device receives a second operation of selecting a second device on the second interface.

[0088] In one example, as shown in Figure 9, when the display screen of the second interface is a touch screen, the second operation can be directly clicking "Device 1, Device 2, or Device 3" on the touch screen to select the second device. Of course, when the display screen displaying the second interface is a normal display screen, the second operation can also be clicking "Device 1, Device 2, or Device 3" displayed on the display screen using an input module such as a remote control, keyboard, or mouse to use the data fill function. Figure 9 uses the example of selecting "Device 3" as the second operation for illustration.

[0089] S104d: The first device establishes a communication connection with the second device in response to the second operation.

[0090] Another method for establishing a communication connection between a first device and a second device is proposed below. If the first device and the second device communicate via NFC, the method for establishing a communication connection between the first device and the second device may include S104A-S104B.

[0091] S104A: The first device displays a prompt interface.

[0092] The prompt interface is used to indicate that a communication connection is established by touching.

[0093] In some embodiments, if NFC is enabled on the first device, the first device automatically switches to the prompt interface after displaying the first interface.

[0094] In one example, as shown in Figure 10, a schematic diagram of switching from the first interface to the prompt interface is shown. Figure 10 includes a prompt: "Use the server that provides the data filling function to touch the NFC area." If you confirm to use this function, select "Confirm" on the prompt interface; if you do not want to use this function, select "Cancel" on the prompt interface.

[0095] S104B: The first device establishes a communication connection with the second device under a touch operation.

[0096] Based on the prompt of the prompt interface, the user touches the NCF area of ​​the first device and the NCF area of ​​the second device to complete the establishment of the communication connection.

[0097] Bluetooth, Wi-Fi, or Near Field Communication (NFC) communication methods are all communication methods within a certain distance threshold. These methods are commonly used in traditional technologies and can quickly establish a communication connection between a first device and a second device. Of course, the communication method between the first device and the second device is not limited to this, and the embodiments of the present disclosure do not limit this.

[0098] In some embodiments, the first device stores an identifier of the second device, and the first device sends information for establishing a communication connection to the second device via Ethernet, thereby establishing a communication connection.

[0099] The target request is used to request login information.

[0100] When the login interface is an interface for logging into the target application, the login information includes the account number and login password of the target application; when the login interface is an interface for logging into the first device, the login information includes the login password of the first device.

[0101] In the case where the login interface is an interface for logging into the target application, the target request includes an identifier of the sending device, such as the name of the first device, and / or the ID of the first device; an identifier of the target application, such as the name of the target application, and / or the package name of the target application.

[0102] The package name of the target application is unique and is a unique identifier used when establishing a connection with the application. The name of the target application can be used to distinguish different applications.

[0103] In one example, the first device is a TV, and the target application is a video player. In this case, the target request includes: [Name of the sending device] TV A, [ID of the sending device] ID of TV A, [Name of the target application] video player, [Package name of the target application] com.youku.phone.

[0104] The ID of the sending device is used to represent the device identification and is unique. The package name of the target application is used to represent the target application and is unique.

[0105] In the case where the login interface is an interface for logging into the first device, the target request includes an identifier of the sending device, such as the name of the first device, the ID of the first device; a requested function name, and a package name of the requested function.

[0106] The package name is the ID of the requested function. It is unique and is the unique identifier used when establishing a connection with the requested function. The requested function name can be used to distinguish different request names.

[0107] In one example, the first device is a tablet computer. In this case, the target request includes: [Name of the sending device] Tablet computer A, [ID of the sending device] ID of the tablet computer, [Name of the requested function] Power on and log in, [Package name of the requested function] com.android.systemui.

[0108] In some embodiments, the method may further include S105: after receiving the target request, the second device confirms whether the login information to be obtained by the target request is stored.

[0109] If it is confirmed that the login information requested by the target is stored, then S106 is executed;

[0110] If it is confirmed that the login information requested by the target is not stored, S108 is executed.

[0111] A method for storing login information in a second device is proposed below, wherein the login information includes an account number and a login password of a target application. As shown in FIG11 , the method includes S105 a - S105 c.

[0112] S105a: In response to the operation of opening the interface for logging into the target application, the second device opens a login interface.

[0113] S105b: The second device receives the login information, fills in the login information on the login interface, and logs in to the target application.

[0114] S105c: The second device confirms whether to store the login information.

[0115] If an instruction to store the login information is received, the login information is stored;

[0116] If an instruction to not store the login information is received, the login information is not stored.

[0117] For example, as shown in Table 1, Table 1 shows the identifiers "name of target application" and "package name of target application" of the target application stored in the second device, and the "account number" and "login password" of the target application.

[0118] Table 1

[0119] In one example, please refer to FIG. 12 , which shows a process diagram of the above S105 a - S105 c displayed on the interface of the second device.

[0120] Another method for storing login information on a second device is proposed below, wherein, when the login information includes a login password of a first device, the second device receives and stores the first device ID, the first device name, and the login password entered by the user.

[0121] For example, as shown in Table 2, Table 2 shows the device identification "device ID" and "device name" stored in the second device, the device's "login password", and the "function" corresponding to the "login password".

[0122] Table 2

[0123] If the second device has stored the login information in advance, the first device can directly obtain the login information from the stored data when obtaining the login information from the second device, thereby improving the efficiency of the execution of the method disclosed herein.

[0124] S106: The second device displays the third interface.

[0125] The third interface is used to prompt whether to agree to grant the first device login information.

[0126] In one example, as shown in Figure 13, which shows a schematic diagram of the third interface, the third interface displays "[First device] requests to log in to [target application / first device]. Do you agree to grant [target application / first device] the account number and login password?" If you agree, click "Confirm" on the third interface; if you disagree, click "Cancel" on the third interface.

[0127] S107: The second device receives a third operation on the third interface.

[0128] The third operation is used to agree to grant the first device login information.

[0129] In one example, as shown in FIG14 , FIG14 illustrates that, when the display screen of the third interface is a touch screen, the second operation may be directly clicking “Confirm” on the touch screen to agree to grant the login information of the first device. Of course, when the display screen displaying the third interface is a normal display screen, the third operation may also be clicking “Confirm” displayed on the display screen via an input module such as a remote control, keyboard, or mouse to agree to grant the login information of the first device.

[0130] After S107 is completed, the second device executes S108 in response to the third operation.

[0131] S108: The second device displays a fourth interface.

[0132] The fourth interface is used to prompt the first device to request to fill in login information.

[0133] In one example, when the login information includes the account number and login password of the target application, as shown in Figure 15, Figure 15 shows a schematic diagram of a fourth interface, and the fourth interface shown in Figure 15 displays "

First device

First device

[0134] S109: The second device receives the login information input on the fourth interface.

[0135] In one example, as shown in FIG17 , when the display screen of the fourth interface is a touch screen, login information can be directly entered in the login information fill-in area on the touch screen. Of course, when the display screen displaying the second interface is a normal display screen, login information can also be entered in the login information fill-in area using an input module such as a remote control, keyboard, or mouse. FIG17 illustrates an example in which the login information fill-in area includes a fill-in area for the target application's account number and a fill-in area for the login password.

[0136] S110: The second device sends login information to the first device.

[0137] In some embodiments, when the login interface is an interface for logging into the target application, the second device sends login information to the first device, which also includes: the identification of the sending device, such as the ID of the second device, the name of the second device; the identification of the target application, such as the name of the target application, the package name of the target application.

[0138] In one example, the second device is a mobile phone and the target application is a video player. At this time, the second device sends to the first device: [Name of sending device] Mobile phone B, [ID of sending device] ID of mobile phone B, [Name of target application] Video player, [Package name of target application] com.youku.phone, Account number: xxx, Login password: xxx.

[0139] In some embodiments, when the login interface is the interface for logging into the first device, the second device sends login information to the first device, which also includes: the identification of the sending device, the name of the second device, such as the ID of the second device; the requested function name, and the package name of the requested function.

[0140] In one example, the second device is a mobile phone, and the second device sends to the first device: [Name of sending device] mobile phone B, [ID of sending device] ID of mobile phone B, [Name of requested function] power on and login, [Package name of requested function] com.android.systemui.

[0141] S111: The first device receives the login information sent by the second device and fills it into the first device.

[0142] The above steps S101-S111 can all be completed based on the interface. Through the interface, each step of the operation process can be intuitively seen, which facilitates human-computer interactive input / output and enhances the user experience. Of course, completing the login method of the embodiment of the present disclosure through the interface is only one possible implementation method. In some embodiments, instructions can also be completed through voice input / output. The embodiment of the present disclosure does not limit the specific method used for input / output instructions.

[0143] Please refer to Figure 18, which is a flowchart of another login method provided by an embodiment of the present disclosure. As shown in Figure 18, the method may include S201-S204.

[0144] S201: A first device receives a first operation.

[0145] The first operation is used to instruct to fill in the login information into the first device.

[0146] S202: In response to a first operation, the first device sends a target request to a second device that has established a communication connection with the first device.

[0147] The target request is used to request login information.

[0148] S203: After receiving the target request sent by the first device for establishing a communication connection, the second device determines whether login information is stored.

[0149] S204: When determining that the login information is stored, the second device sends the login information to the first device.

[0150] For details of the above S201-S204, please refer to the relevant descriptions in S101-S111.

[0151] In a login method proposed in an embodiment of the present disclosure, a first device can obtain login information saved by a second device (including the account number and login password of the target application, or the login password of the first device) across devices to complete the filling of the login information. It is understandable that in this method, the first device can actively establish a communication connection with the second device and obtain the login information from the second device. This does not require the target application or the first device to have a QR code scanning function, nor does it require manual operation by the user. Therefore, this method is not restricted by the scenario and improves the user experience.

[0152] It is understandable that, in order to implement the above functions, the first device and the second device include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments of the present disclosure, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.

[0153] The embodiment of the present disclosure can divide the functional modules of the first device or the second device according to the above-mentioned method embodiment. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one functional module. The above-mentioned integrated module can be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiment of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.

[0154] Figure 19 is a structural diagram of an electronic device provided by an embodiment of the present disclosure, such as the first device shown in Figure 1. The electronic device 200 can execute the login method provided by the above method embodiment. As shown in Figure 19, the electronic device 200 includes: a sending unit 201, which sends a target request to the second device that establishes a communication connection with the first device in response to a first operation; the first operation is used to instruct to fill the login information into the first device; the login information includes: the account number and login password of the target application, or the login password of the first device; the target request is used to request to obtain the login information; the receiving unit 202 receives the login information sent by the second device and fills it into the first device. For example, as shown in Figure 3, the sending unit 201 is used for S104 in the method embodiment, and the receiving unit 202 is used for S111 in the method embodiment.

[0155] In some embodiments, the electronic device 200 further includes a display unit 203 configured to display a first interface, before sending a target request to a second device that has established a communication connection with the first device in response to the first operation, wherein the first interface prompts whether to use the data filling function; the receiving unit 202 is further configured to receive a first operation confirming the use of the data filling function with respect to the first interface. For example, as shown in FIG3 , the display unit 203 is used in S102 of the method embodiment.

[0156] In some embodiments, before displaying the first interface, the display unit 203 is further configured to display a login interface; where the login interface is a target application login interface, the login information includes the target application account number and login password; where the login interface is a first device login interface, the login information includes the first device login password. For example, as shown in FIG3 , the display unit 203 is used in S101 of the method embodiment.

[0157] In some embodiments, the electronic device 200 further includes a connection unit 204 configured to, before sending the target request to the second device that has established a communication connection with the first device, receive multiple broadcast messages sent by multiple devices in response to a first operation and display a second interface; wherein the multiple devices include the second device; the broadcast messages indicate that the device sending the broadcast messages has a service that provides a data filling function; the second interface includes identifiers of the multiple devices; receive a second operation of selecting the second device on the second interface; and establish a communication connection with the second device in response to the second operation. For example, the connection unit 204 is used in S104a-S104d of the method embodiment.

[0158] In some embodiments, the communication connection between the first device and the second device is established through near field communication technology.

[0159] Figure 20 is a schematic structural diagram of another electronic device provided by an embodiment of the present disclosure, such as the second device shown in Figure 1. The electronic device 300 can execute the login method provided by the above method embodiment. As shown in Figure 20, the electronic device 300 includes: a receiving unit 301, which is used to receive a target request sent by a first device for establishing a communication connection; the target request is used to request to obtain login information; the login information includes: the account number and login password of the target application, or the login password of the first device; a sending unit 302, which is used to send the login information to the first device when it is determined that the login information is stored. For example, as shown in Figure 3, the receiving unit 301 is used in S105 in the method embodiment, and the sending unit 302 is used in S110 in the method embodiment.

[0160] In some embodiments, the sending unit 302 is further configured to send broadcast information before establishing a communication connection with the first device; the broadcast information is used to indicate that the device sending the broadcast information has a service that provides data filling functionality; the electronic device 300 further includes a connecting unit 303, configured to establish a communication connection with the first device after receiving a request to establish a communication connection from the first device. For example, as shown in FIG3 , the sending unit 302 is used in S105 of the method embodiment, and the sending unit 302 is used in S110 of the method embodiment.

[0161] In some embodiments, electronic device 300 further includes a display unit 304 configured to display a third interface before sending login information to the first device; the third interface is configured to prompt whether to grant the first device login information; the receiving unit 301 is further configured to receive a third operation on the third interface; the third operation is configured to grant the first device login information; and the sending unit 302 is configured to send the login information to the first device in response to the third operation. For example, as shown in FIG3 , display unit 304 is configured to be used in S106 of the method embodiment, receiving unit 301 is configured to be used in S107 of the method embodiment, and sending unit 302 is configured to be used in S110 of the method embodiment.

[0162] In some embodiments, the display unit 304 is further configured to display a fourth interface if it is determined that no login information is stored; the fourth interface is configured to prompt the first device to enter login information; the receiving unit 301 is further configured to receive login information entered on the fourth interface; and the sending unit 302 is further configured to send the login information to the first device. For example, as shown in FIG3 , the display unit 304 is configured to be used in step S108 of the method embodiment, and the receiving unit 301 is configured to be used in step S109 of the method embodiment.

[0163] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiments of the present disclosure provide another structure of the electronic device involved in the above-mentioned embodiments, such as the first device or the second device in Figure 1. As shown in Figure 21, the electronic device 400 includes: a memory 401, a processor 402, a communication interface 403, and a bus 404. In some embodiments, the electronic device may also include a display screen and an input module as shown in Figure 1.

[0164] The memory 401 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0165] Processor 402 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. Processor 402 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Processor 402 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. Processor 402 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0166] The communication interface 403 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, or wireless local area network (WLAN).

[0167] In some embodiments, the memory 401 may exist independently of the processor 402 and may be connected to the processor 402 via a bus 404 for storing instructions or program codes. When the processor 402 calls and executes the instructions or program codes stored in the memory 401, the login method provided in the embodiments of the present disclosure can be implemented.

[0168] In some embodiments, the memory 401 may also be integrated with the processor 402 .

[0169] Bus 404 can be an Extended Industry Standard Architecture (EISA) bus, etc. Bus 404 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG21 shows only one thick solid line, but this does not mean that there is only one bus or only one type of bus.

[0170] Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), which stores computer program instructions. When the computer program instructions are executed on a computer, the computer executes the login method described in any of the above embodiments.

[0171] For example, the computer-readable storage media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.). The various computer-readable storage media described in the present disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0172] An embodiment of the present disclosure provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is enabled to execute the login method described in any one of the above embodiments.

[0173] The above is only a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or replacements within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A login method, applied to a first device, wherein: The method comprises: In response to a first operation, a target request is sent to a second device that establishes a communication connection with the first device; the first operation is used to instruct to fill login information into the first device; the login information includes: an account number and a login password of a target application, or a login password of the first device; the target request is used to request to obtain the login information; Receive the login information sent by the second device and fill the login information into the first device.

2. The method according to claim 1, wherein: Before sending the target request to the second device that establishes a communication connection with the first device in response to the first operation, the method further includes: Displaying a first interface, wherein the first interface is used to prompt whether to use the data filling function; The first operation of determining to use the data filling function for the first interface is received.

3. The method according to claim 2, wherein: Before displaying the first interface, the method further includes: Display a login interface; wherein, when the login interface is an interface for logging into the target application, the login information includes the account number and login password of the target application; when the login interface is an interface for logging into the first device, the login information includes the login password of the first device.

4. The method according to any one of claims 1 to 3, wherein: Before sending the target request to the second device that establishes a communication connection with the first device, the method further includes: In response to the first operation, a plurality of broadcast information sent by a plurality of devices is received, and a second interface is displayed; wherein the plurality of devices include the second device; the broadcast information is used to indicate that the device sending the broadcast information has a service that provides a data filling function; and the second interface includes the identifications of the plurality of devices; Receiving a second operation of selecting the second device on the second interface; In response to the second operation, a communication connection is established with the second device.

5. The method according to any one of claims 1 to 3, wherein: A communication connection is established between the first device and the second device via near field communication technology.

6. A login method, applied to a second device, wherein: The method comprises: Receiving a target request sent by a first device for establishing a communication connection; the target request is used to request to obtain login information; the login information includes: an account number and a login password of a target application, or a login password of the first device; In a case where it is determined that the login information is stored, the login information is sent to the first device.

7. The method according to claim 6, wherein: Before receiving the target request sent by the first device, the method further includes: Sending broadcast information; the broadcast information is used to indicate that the device sending the broadcast information has a service that provides a data filling function; After receiving the request for establishing a communication connection sent by the first device, a communication connection is established with the first device.

8. The method according to claim 6, wherein: Before sending the login information to the first device, the method further includes: Displaying a third interface; the third interface is used to prompt whether to agree to grant the login information to the first device; receiving a third operation on the third interface; the third operation is used to agree to grant the login information to the first device; The sending the login information to the first device includes: In response to the third operation, the login information is sent to the first device.

9. The method according to claim 6, further comprising: If it is determined that the login information is not stored, displaying a fourth interface; The fourth interface is used to prompt the first device to request to fill in the login information; Receiving the login information inputted on the fourth interface; The login information is sent to the first device.

10. An electronic device, comprising a memory and a processor; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code comprising computer instructions; wherein, When the processor executes the computer instructions, the electronic device executes the login method according to any one of claims 1-9.

11. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions; wherein, when the computer instructions are executed on an electronic device, the electronic device executes the login method according to any one of claims 1-9.

Citation Information

Patent Citations

  • Login method and device and electronic equipment

    CN111859357A

  • Account sharing login method and device, system, electronic equipment and storage medium

    CN112883366A

  • Account login method and electronic equipment

    CN115080941A

  • Login method, electronic equipment and storage medium

    CN116582329A

  • Website login method, communication system and electronic device

    WO2022151974A1