Login information processing method, device, electronic device and storage medium

By establishing a device communication connection between the PC and the mobile terminal, the login information is obtained and verified, and synchronized to the target terminal, which solves the problem of complex account login process and one-way login, realizes fast and simplified cross-terminal login, and improves efficiency and diversity of methods.

CN115134796BActive Publication Date: 2024-10-18NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210795816.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-07
Publication Date
2024-10-18
Estimated Expiration
2042-07-07

AI Technical Summary

Technical Problem

In the existing technology, the account login process between the PC and the mobile terminal is complicated and inefficient, and only supports one-way login, which limits the login method.

Method used

By establishing a device communication connection, the login information of the local and target terminals is obtained for validity verification and synchronized to the target terminal to realize cross-terminal account login, simplify the login process and improve efficiency.

Benefits of technology

It realizes fast account login between different terminals, reduces the need for users to repeatedly enter login information, enriches login methods, improves login efficiency and simplifies the process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115134796B_ABST
    Figure CN115134796B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a method, apparatus, electronic device and storage medium for processing login information, the method comprising: in response to a device connection instruction, establishing a device communication connection with a target terminal, and obtaining first login information stored in a target application object deployed locally, and obtaining second login information stored in the same target application object deployed on the target terminal through the device communication connection; performing validity verification based on the first login information and the second login information, screening out target login information for account login, and synchronizing the target login information to the target terminal; in response to a login instruction for the target application object, completing account login on the target application object based on the target login information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a login information processing method, a login information processing device, an electronic device and a computer-readable storage medium. Background Art

[0002] Nowadays, Internet technology has been integrated into people's daily life. Every day, people visit different types and various web pages. For an Internet user, he may learn the latest news information through news web pages, search for topics of interest through search engine web pages, exchange different views on specific issues with other Internet users through forum web pages, and purchase the goods he needs through shopping web pages. In addition, in addition to web pages, users can also meet their daily needs through corresponding applications. However, users often browse the corresponding content through web pages on the PC (Personal Computer). The web pages on the PC and the applications on the mobile terminal are independent of each other but related. Every time a user uses a web page or application corresponding to a device, he needs to log in. The only way to communicate account information between the PC and the mobile terminal is "scan code login", which results in the user needing to log in by opening the corresponding application in the mobile terminal to scan the corresponding QR code in the process of logging in to the corresponding account on the PC. The process is complicated and inefficient, and this method can only realize one-way login from the mobile terminal to the PC, which limits the login method of the account. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for processing login information to solve or partially solve the problems in the related art that the account login process is complicated and inefficient and the login method is single.

[0004] The embodiment of the present invention discloses a method for processing login information, including:

[0005] In response to the device connection instruction, establish a device communication connection with the target terminal, obtain first login information stored in a target application object deployed locally, and obtain second login information stored in the same target application object deployed in the target terminal through the device communication connection;

[0006] Performing validity verification on the first login information and the second login information, filtering out target login information for account login, and synchronizing the target login information to the target terminal;

[0007] In response to a login instruction for the target application object, account login is completed on the target application object based on the target login information.

[0008] Optionally, the device communication connection includes a Bluetooth communication connection, and the establishing of the device communication connection with the target terminal in response to the device connection instruction includes:

[0009] In response to a device connection instruction, search for a target terminal within a preset range and send a Bluetooth connection request to the target terminal so that, in the case of the first Bluetooth communication, the target terminal responds to the communication authorization instruction for the Bluetooth connection request and establishes a corresponding Bluetooth communication connection; in the case of non-first Bluetooth communication, responds to the Bluetooth connection request and establishes a corresponding Bluetooth communication connection.

[0010] Optionally, the acquiring first login information stored in a target application object deployed locally, and acquiring second login information stored in the same target application object deployed in a target terminal through the communication connection, includes:

[0011] Acquire first login information stored in a target application object deployed locally;

[0012] If this is the first Bluetooth communication with the target terminal, sending a login information verification request for the target application object to the target terminal via the Bluetooth communication connection, and receiving second login information stored in the same target application object sent by the target terminal in response to a verification response instruction for the login information verification request;

[0013] If it is not the first Bluetooth communication with the target terminal, the second login information stored in the same target application object and sent by the target terminal after the Bluetooth communication connection is established is received through the Bluetooth communication connection.

[0014] Optionally, performing validity verification on the first login information and the second login information to filter out target login information for account login includes:

[0015] A first timestamp corresponding to the first login information and a second timestamp corresponding to the second login information are obtained, and the login information with the later timestamp is used as the target login information for account login.

[0016] Optionally, synchronizing the target login information to the target terminal includes:

[0017] If the target login information is the first login information, synchronizing the first login information to the target terminal and updating the timestamp corresponding to the first login information;

[0018] If the target login information is the second login information, the locally stored first login information is updated to the second login information, and the timestamp corresponding to the second login information is updated.

[0019] Optionally, in response to a login instruction for the target application object, completing account login on the target application object based on the target login information includes:

[0020] In response to a login instruction for the target application object, account login is completed on the local target application object based on the target login information, and the target login information is sent to the target terminal so that the target terminal silently completes the account login on the same target application object.

[0021] Optionally, in response to a login instruction for the target application object, completing account login on the target application object based on the target login information includes:

[0022] In response to a login instruction for the target application object, performing account login on the target application object according to the target login information;

[0023] If the target login information cannot be logged in, in response to the information input operation for the target application object, obtain the valid login information corresponding to the information input operation, complete the account login on the target application object based on the valid login information, and synchronize the valid login information to the target terminal.

[0024] The embodiment of the present invention further discloses a login information processing device, including:

[0025] a login information acquisition module, configured to establish a device communication connection with a target terminal in response to a device connection instruction, and to acquire first login information stored in a target application object deployed locally, and to acquire second login information stored in the same target application object deployed in the target terminal through the device communication connection;

[0026] A login information synchronization module, used to perform validity verification according to the first login information and the second login information, filter out target login information for account login, and synchronize the target login information to the target terminal;

[0027] An account login module is used to complete account login on the target application object based on the target login information in response to a login instruction for the target application object.

[0028] Optionally, the device communication connection includes a Bluetooth communication connection, and the login information acquisition module is specifically used to:

[0029] In response to a device connection instruction, search for a target terminal within a preset range and send a Bluetooth connection request to the target terminal so that, in the case of the first Bluetooth communication, the target terminal responds to the communication authorization instruction for the Bluetooth connection request and establishes a corresponding Bluetooth communication connection; in the case of non-first Bluetooth communication, responds to the Bluetooth connection request and establishes a corresponding Bluetooth communication connection.

[0030] Optionally, the login information acquisition module is specifically used to:

[0031] Acquire first login information stored in a target application object deployed locally;

[0032] If this is the first Bluetooth communication with the target terminal, sending a login information verification request for the target application object to the target terminal via the Bluetooth communication connection, and receiving second login information stored in the same target application object sent by the target terminal in response to a verification response instruction for the login information verification request;

[0033] If it is not the first Bluetooth communication with the target terminal, the second login information stored in the same target application object and sent by the target terminal after the Bluetooth communication connection is established is received through the Bluetooth communication connection.

[0034] Optionally, the login information synchronization module is specifically used to:

[0035] A first timestamp corresponding to the first login information and a second timestamp corresponding to the second login information are obtained, and the login information with the later timestamp is used as the target login information for account login.

[0036] Optionally, the login information synchronization module is specifically used to:

[0037] If the target login information is the first login information, synchronizing the first login information to the target terminal and updating the timestamp corresponding to the first login information;

[0038] If the target login information is the second login information, the locally stored first login information is updated to the second login information, and the timestamp corresponding to the second login information is updated.

[0039] Optionally, the account login module is specifically used for:

[0040] In response to a login instruction for the target application object, account login is completed on the local target application object based on the target login information, and the target login information is sent to the target terminal so that the target terminal silently completes the account login on the same target application object.

[0041] Optionally, the account login module is specifically used for:

[0042] In response to a login instruction for the target application object, performing account login on the target application object according to the target login information;

[0043] If the target login information cannot be logged in, in response to the information input operation for the target application object, obtain the valid login information corresponding to the information input operation, complete the account login on the target application object based on the valid login information, and synchronize the valid login information to the target terminal.

[0044] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0045] The memory is used to store computer programs;

[0046] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0047] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0048] The embodiments of the present invention include the following advantages:

[0049] In an embodiment of the present invention, it can be applied to a user terminal, and by responding to a device connection instruction, a device communication connection is established with a target terminal, and first login information stored in a target application object deployed locally is obtained, and second login information stored in the same target application object deployed in the target terminal is obtained through a communication connection. Then, validity verification can be performed based on the first login information and the second login information, target login information for account login can be screened out, and the target login information can be synchronized to the target terminal. By triggering the establishment of a device communication connection, mutual verification can be performed on the login information stored in the same target application object between different terminals based on the device communication connection, so as to reduce the user from repeatedly entering login information between different devices. At the same time, in response to a login instruction for the target application object, account login can be completed on the target application object based on the target login information. Based on the verified login information, the terminal can quickly realize account login, simplifying the account login process and improving the efficiency of account login. Moreover, the login method may not be limited to the type of user terminal. When the corresponding login condition is triggered, account login can be realized based on the verified login information, enriching the account login method. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a flowchart of a method for processing login information provided in an embodiment of the present invention;

[0051] Figure 2 is a structural block diagram of a login information processing device provided in an embodiment of the present invention;

[0052] Figure 3 It is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0054] As an example, for the same application object, it may include different forms such as web pages, applications, and applets. Users can log in to the same account on different application objects to synchronize user data, etc. Among them, the web page on the PC side and the application on the mobile terminal are independent of each other but are related. Every time a user uses a web page or application corresponding to a device, he needs to log in. The communication method of account information between the PC side and the mobile terminal requires "scan code login" (or login through verification code), which results in the user needing to log in to the corresponding account on the PC side by opening the corresponding application on the mobile terminal and scanning the corresponding QR code. The process is complicated and inefficient. In addition, since this method requires the mobile terminal to scan the code to log in, it can only realize one-way login from the mobile terminal to the PC side, which limits the login method of the account.

[0055] In this regard, one of the core inventions of the present invention is that for PC and mobile terminals, when a Bluetooth communication connection is triggered, the login information of the same application object deployed between the PC and the mobile terminal can be synchronized, so that the application object in the PC or mobile terminal can be quickly logged in based on the synchronized login information, simplifying the operation process of user login. Specifically, when the device communication connection is triggered between two different terminals, the two terminals can verify the validity of the login information of the same application object, and screen out the login information that is valid and can be logged in, so that by triggering the establishment of a device communication connection, the login information stored in the same target application object can be mutually verified between different terminals based on the device communication connection, so as to reduce the user from repeatedly entering login information between different devices, and based on the verified login information, the terminal can quickly realize account login, for the PC, the user does not need to perform scan code login or verification code login; for the mobile terminal, the user does not need to perform the corresponding login operation, which greatly simplifies the account login process and improves the efficiency of account login, and the login method is not limited to the type of user terminal. When the corresponding login conditions are triggered, the account login can be realized based on the verified login information, enriching the account login method.

[0056] In order to help those skilled in the art better understand the technical solutions of the embodiments of the present invention, some technical terms involved in the embodiments of the present invention are explained below:

[0057] Application objects can be product objects that provide corresponding services, etc. The same product object can include different product forms such as web pages, applications, and mini-programs. Web pages, applications, and mini-programs can exist simultaneously in the same terminal. During use, the terminal can detect local applications with the authorization of the user and give priority to the application. Users can use product objects in different product forms in different terminals, for example, using web pages or mini-programs in terminal ①, and using applications in terminal ②, etc. For web pages, it can be a page opened in a browser; for applications, it can be a software program installed in the terminal through the corresponding installation package; for mini-programs, it can be an application that can be used without installation, so users can log in to the same account on different product forms to achieve data synchronization, etc.

[0058] It should be noted that the embodiments of the present invention can be applied to local terminals, which may be mobile terminals, tablet computers, PCs, etc. Users can use web pages, applets, applications, etc. of the same product object in the local terminals. Specifically, the embodiments of the present invention take the local terminal as a mobile terminal and the target terminal as a PC as an example for illustrative explanation. At the same time, the mobile terminal has a corresponding application installed, and the PC has a web page of the same product object to achieve login information synchronization and account login between the application in the mobile terminal and the web page in the PC. The present invention does not limit this.

[0059] Reference Figure 1 , shows a flowchart of a method for processing login information provided in an embodiment of the present invention, which may specifically include the following steps:

[0060] Step 101, in response to a device connection instruction, establishing a device communication connection with a target terminal, and obtaining first login information stored in a target application object deployed locally, and obtaining second login information stored in the same target application object deployed in the target terminal through the device communication connection;

[0061] For the local terminal and the target terminal, they can be terminals supporting Bluetooth communication or terminals supporting other short-range communication connections (for example, NFC (Near Field Communication), infrared communication connection, radio frequency tag communication connection, etc.). In the embodiment of the present invention, Bluetooth communication is used as an example for illustrative description.

[0062] In an embodiment of the present invention, the local terminal can respond to a device connection instruction to trigger the establishment of a Bluetooth communication connection with the target terminal, and then obtain the first login information stored in the target application object deployed locally, and obtain the second login information stored in the same target application object deployed in the target terminal through the Bluetooth communication connection, so as to verify and synchronize the login information and log in to the account based on the login information stored by both.

[0063] In a specific implementation, the local terminal can respond to a device connection instruction, turn on the Bluetooth function, and detect Bluetooth devices within a preset range. When a corresponding target terminal exists, a Bluetooth connection request can be sent to the target terminal so that the target terminal, in the case of the first Bluetooth communication, responds to the communication authorization instruction for the Bluetooth connection request and establishes a corresponding Bluetooth communication connection; in the case of non-first Bluetooth communication, responds to the Bluetooth connection request and establishes a corresponding Bluetooth communication connection. Then the local terminal can obtain the first login information stored in the target application object deployed locally. If it is the first Bluetooth communication with the target terminal, a login information verification request for the target application object is sent to the target terminal via the Bluetooth communication connection, and the second login information stored in the same target application object is received and sent by the target terminal in response to the verification response instruction for the login information verification request; if it is not the first Bluetooth communication with the target terminal, the second login information stored in the same target application object is received and sent by the target terminal after the Bluetooth communication connection is established through the Bluetooth communication connection, so as to verify the login information. In this way, when the establishment of the Bluetooth connection is triggered, the login information stored in the same target application object can be mutually verified between different terminals based on the Bluetooth communication connection, so as to reduce the user's repeated input of login information between different devices.

[0064] Among them, for the verification process of login information, it can be performed without feeling when the Bluetooth function of the local terminal is turned on and the relevant device is detected, so as to improve the convenience of login information synchronization. At the same time, in order to ensure the security of login information, if the target terminal that establishes a Bluetooth communication connection with the local terminal has not established a Bluetooth connection before, the local terminal can first send a Bluetooth connection request to the target terminal, and when the Bluetooth connection request is responded, establish a corresponding Bluetooth communication connection to achieve synchronization of login information; if the target terminal has previously established a Bluetooth communication connection with the local terminal, the login information can be directly communicated through the current Bluetooth communication connection to achieve synchronization of login information. Furthermore, in order to improve the security of login information, the preset range can be set to a smaller fixed value, such as 0.5m, etc., to strictly require that the two devices for synchronizing login information belong to the same user, to avoid leakage of login information and leakage of user privacy information.

[0065] In addition, it may also be required to input corresponding verification information on the target terminal to perform security verification on the terminal, and then establish a Bluetooth communication connection after the verification is successful, which is not limited in the present invention.

[0066] It should be noted that the embodiment of the present invention is illustratively described by taking the local terminal obtaining the login information of the target terminal as an example. It can be understood that the target terminal can also obtain the first login information sent by the local terminal to achieve synchronization of login information, etc.

[0067] Step 102, performing validity verification according to the first login information and the second login information, screening out target login information for account login, and synchronizing the target login information to the target terminal;

[0068] In the process of synchronizing the login information, for any terminal on which the Bluetooth communication connection is established, the validity check can be performed based on the first login information and the second login information to screen out the target login information for account login, and synchronize the target login information to the other terminal. Specifically, taking the local terminal as an example, it can obtain the first timestamp corresponding to the first login information and the second timestamp corresponding to the second login information, then compare the timestamps corresponding to the two, and use the login information with the later timestamp as the target login information for account login. If the target login information is the first login information, the first login information is synchronized to the target terminal, and the timestamp corresponding to the first login information is updated. After receiving the first login information sent by the local terminal, the target terminal can update the locally stored second login information to the first login information and update the timestamp at the same time; if the target login information is the second login information, the locally stored first login information is updated to the second login information, and the timestamp corresponding to the second login information is updated. The target terminal can synchronously update the timestamp of the second login information, so that by triggering the establishment of a Bluetooth connection, the login information stored in the same target application object can be mutually verified between different terminals based on the Bluetooth communication connection, so as to reduce the user from repeatedly entering login information between different devices.

[0069] In one example, assuming that the first timestamp corresponding to the first login information stored in the target application object in the local terminal is 15:45:20 on June 7, 2022, and the second timestamp corresponding to the second login information is 15:45:20 on June 6, 2022, then the first login information can be used as the target login information, synchronized between the local terminal and the target terminal, and the timestamp is updated to the timestamp corresponding to the current time point at the same time. The synchronization process of the target terminal is the same and will not be repeated here.

[0070] Step 103: In response to a login instruction for the target application object, complete account login on the target application object based on the target login information.

[0071] When the user terminal completes the synchronization of login information, the user can subsequently quickly log in to the account based on the synchronized login information, without the user having to perform the corresponding login information input operation. Specifically, taking the local terminal as an example, the local terminal can respond to the login instruction for the target application object and complete the account login on the target application object based on the currently stored target login information, so that based on the verified login information, the terminal can quickly log in to the account, simplifying the account login process and improving the efficiency of account login.

[0072] Among them, for the login instructions, it may include instructions for account login in the application, instructions for account login in the web page, and instructions for account login in the mini-program, etc. The terminal can respond to the login instructions for the target application object, complete the account login on the local target application object based on the target login information, and send the target login information to the target terminal, so that the target terminal can silently complete the account login on the same target application object. When a terminal triggers the synchronization of login information, on the one hand, the terminal that triggers the synchronization can perform account login after the synchronization is completed, and on the other hand, the other terminal can also realize silent login, thereby realizing the same login information for account login on different terminals.

[0073] In addition, during the account login process, the terminal can respond to the login instruction for the target application object, and perform account login on the target application object according to the target login information. If the target login information cannot be logged in, it indicates that there is an abnormality in the current login information (such as incorrect account input, incorrect password, etc.), and the user needs to manually enter the correct login information. The local terminal can respond to the information input operation for the target application object, obtain the valid login information corresponding to the information input operation, and complete the account login on the target application object based on the valid login information, and synchronize the valid login information to the target terminal, thereby synchronizing the login information to the corresponding terminal, so that another terminal can perform account login based on the valid login information during the subsequent login process, reducing the user input of the corresponding login operations and improving the efficiency of account login.

[0074] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that those skilled in the art can also make settings according to actual needs under the guidance of the ideas of the embodiments of the present invention, and the present invention is not limited to this.

[0075] In an embodiment of the present invention, it can be applied to a user terminal, and by responding to a device connection instruction, a device communication connection is established with a target terminal, and first login information stored in a target application object deployed locally is obtained, and second login information stored in the same target application object deployed in the target terminal is obtained through a communication connection. Then, validity verification can be performed based on the first login information and the second login information, target login information for account login can be screened out, and the target login information can be synchronized to the target terminal. By triggering the establishment of a device communication connection, mutual verification can be performed on the login information stored in the same target application object between different terminals based on the device communication connection, so as to reduce the user from repeatedly entering login information between different devices. At the same time, in response to a login instruction for the target application object, account login can be completed on the target application object based on the target login information. Based on the verified login information, the terminal can quickly realize account login, simplifying the account login process and improving the efficiency of account login. Moreover, the login method may not be limited to the type of user terminal. When the corresponding login condition is triggered, account login can be realized based on the verified login information, enriching the account login method.

[0076] In order to help those skilled in the art better understand the technical solution of the embodiment of the present invention, an example is given below for illustrative explanation:

[0077] When a Bluetooth communication connection is established between a mobile terminal and a PC and Bluetooth communication authorization has been performed in advance, both the mobile terminal and the PC can automatically obtain the login information stored in the same application object in the other end, verify the login information based on the timestamp, and then store the latest login information that is valid for login for backup. When the Bluetooth connection is triggered, the login information stored in the same target application object can be mutually verified between different terminals based on the Bluetooth communication connection, so as to reduce the user's repeated input of login information between different devices.

[0078] When a user starts an application or opens a web page on a mobile terminal or PC, the terminal can automatically retrieve the login information that is valid and can be logged in after the current login information is verified to log in to the account. Based on the verified login information, the terminal can quickly realize account login, simplify the account login process, and improve the efficiency of account login. In addition, the login method is not limited to the type of user terminal. When the corresponding login conditions are triggered, account login can be realized based on the verified login information, enriching the account login methods.

[0079] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0080] Reference Figure 2 , shows a structural block diagram of a login information processing device provided in an embodiment of the present invention, which may specifically include the following modules:

[0081] The login information acquisition module 201 is used to establish a device communication connection with a target terminal in response to a device connection instruction, and to acquire first login information stored in a target application object deployed locally, and to acquire second login information stored in the same target application object deployed in the target terminal through the device communication connection;

[0082] A login information synchronization module 202, configured to perform validity verification based on the first login information and the second login information, filter out target login information for account login, and synchronize the target login information to the target terminal;

[0083] The account login module 203 is used to complete the account login on the target application object based on the target login information in response to the login instruction for the target application object.

[0084] In an optional embodiment, the device communication connection includes a Bluetooth communication connection, and the login information acquisition module 201 is specifically used to:

[0085] In response to a device connection instruction, search for a target terminal within a preset range and send a Bluetooth connection request to the target terminal so that, in the case of the first Bluetooth communication, the target terminal responds to the communication authorization instruction for the Bluetooth connection request and establishes a corresponding Bluetooth communication connection; in the case of non-first Bluetooth communication, responds to the Bluetooth connection request and establishes a corresponding Bluetooth communication connection.

[0086] In an optional embodiment, the login information acquisition module 201 is specifically used to:

[0087] Acquire first login information stored in a target application object deployed locally;

[0088] If this is the first Bluetooth communication with the target terminal, sending a login information verification request for the target application object to the target terminal via the Bluetooth communication connection, and receiving second login information stored in the same target application object sent by the target terminal in response to a verification response instruction for the login information verification request;

[0089] If it is not the first Bluetooth communication with the target terminal, the second login information stored in the same target application object and sent by the target terminal after the Bluetooth communication connection is established is received through the Bluetooth communication connection.

[0090] In an optional embodiment, the login information synchronization module 202 is specifically used to:

[0091] A first timestamp corresponding to the first login information and a second timestamp corresponding to the second login information are obtained, and the login information with the later timestamp is used as the target login information for account login.

[0092] In an optional embodiment, the login information synchronization module 202 is specifically used to:

[0093] If the target login information is the first login information, synchronizing the first login information to the target terminal and updating the timestamp corresponding to the first login information;

[0094] If the target login information is the second login information, the locally stored first login information is updated to the second login information, and the timestamp corresponding to the second login information is updated.

[0095] In an optional embodiment, the account login module 203 is specifically used to:

[0096] In response to a login instruction for the target application object, account login is completed on the local target application object based on the target login information, and the target login information is sent to the target terminal so that the target terminal silently completes the account login on the same target application object.

[0097] In an optional embodiment, the account login module 203 is specifically used to:

[0098] In response to a login instruction for the target application object, performing account login on the target application object according to the target login information;

[0099] If the target login information cannot be logged in, in response to the information input operation for the target application object, obtain the valid login information corresponding to the information input operation, complete the account login on the target application object based on the valid login information, and synchronize the valid login information to the target terminal.

[0100] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0101] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned login information processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0102] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned login information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0103] Figure 3 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0104] The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and a power supply 311. Those skilled in the art will appreciate that Figure 3 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0105] It should be understood that in the embodiment of the present invention, the radio frequency unit 301 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 310 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 301 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.

[0106] The electronic device provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0107] The audio output unit 303 can convert the audio data received by the RF unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output it as sound. Moreover, the audio output unit 303 can also provide audio output related to a specific function performed by the electronic device 300 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, etc.

[0108] The input unit 304 is used to receive audio or video signals. The input unit 304 may include a graphics processor (GPU) 3041 and a microphone 3042, and the graphics processor 3041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 306. The image frame processed by the graphics processor 3041 can be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302. The microphone 3042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 301 in the case of a telephone call mode.

[0109] The electronic device 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 3061 and / or the backlight when the electronic device 300 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 305 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0110] The display unit 306 is used to display information input by the user or information provided to the user. The display unit 306 may include a display panel 3061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0111] The user input unit 307 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 3071 or near the touch panel 3071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 3071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 310, receives the command sent by the processor 310 and executes it. In addition, the touch panel 3071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 3071, the user input unit 307 may also include other input devices 3072. Specifically, other input devices 3072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.

[0112] Furthermore, the touch panel 3071 may be overlaid on the display panel 3061. When the touch panel 3071 detects a touch operation on or near it, it is transmitted to the processor 310 to determine the type of touch event. Then, the processor 310 provides corresponding visual output on the display panel 3061 according to the type of touch event. Figure 3 In the figure, the touch panel 3071 and the display panel 3061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0113] The interface unit 308 is an interface for connecting an external device to the electronic device 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 300 or may be used to transmit data between the electronic device 300 and an external device.

[0114] The memory 309 can be used to store software programs and various data. The memory 309 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 309 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0115] The processor 310 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 309 and calling data stored in the memory 309, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 310.

[0116] The electronic device 300 may also include a power supply 311 (such as a battery) for supplying power to each component. Preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0117] In addition, the electronic device 300 includes some functional modules not shown, which will not be described in detail here.

[0118] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0120] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0121] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software 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 invention.

[0122] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0123] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0124] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0126] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0127] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for processing login information, characterized in that: include: In response to the device connection instruction, establish a device communication connection with the target terminal, obtain first login information stored in a target application object deployed locally, and obtain second login information stored in the same target application object deployed in the target terminal through the device communication connection; Obtaining a first timestamp corresponding to the first login information and a second timestamp corresponding to the second login information, using the login information with a later timestamp as target login information for account login, and synchronizing the target login information to the target terminal; In response to a login instruction for the target application object, account login is completed on the target application object based on the target login information.

2. The method according to claim 1, characterized in that The device communication connection includes a Bluetooth communication connection, and the establishing of the device communication connection with the target terminal in response to the device connection instruction includes: In response to a device connection instruction, search for a target terminal within a preset range and send a Bluetooth connection request to the target terminal so that, in the case of the first Bluetooth communication, the target terminal responds to the communication authorization instruction for the Bluetooth connection request and establishes a corresponding Bluetooth communication connection; in the case of non-first Bluetooth communication, responds to the Bluetooth connection request and establishes a corresponding Bluetooth communication connection.

3. The method according to claim 2, characterized in that The acquiring of first login information stored in a target application object deployed locally, and acquiring, through the communication connection, second login information stored in the same target application object deployed in a target terminal, include: Acquire first login information stored in a target application object deployed locally; If this is the first Bluetooth communication with the target terminal, sending a login information verification request for the target application object to the target terminal via the Bluetooth communication connection, and receiving second login information stored in the same target application object sent by the target terminal in response to a verification response instruction for the login information verification request; If it is not the first Bluetooth communication with the target terminal, the second login information stored in the same target application object and sent by the target terminal after the Bluetooth communication connection is established is received through the Bluetooth communication connection.

4. The method according to claim 1, characterized in that: The step of synchronizing the target login information to the target terminal includes: If the target login information is the first login information, synchronizing the first login information to the target terminal and updating the timestamp corresponding to the first login information; If the target login information is the second login information, the locally stored first login information is updated to the second login information, and the timestamp corresponding to the second login information is updated.

5. The method according to claim 1, characterized in that The step of completing account login on the target application object based on the target login information in response to the login instruction for the target application object includes: In response to a login instruction for the target application object, account login is completed on the local target application object based on the target login information, and the target login information is sent to the target terminal so that the target terminal silently completes the account login on the same target application object.

6. The method according to claim 1, characterized in that The step of completing account login on the target application object based on the target login information in response to the login instruction for the target application object includes: In response to a login instruction for the target application object, performing account login on the target application object according to the target login information; If the target login information cannot be logged in, in response to the information input operation for the target application object, obtain the valid login information corresponding to the information input operation, complete the account login on the target application object based on the valid login information, and synchronize the valid login information to the target terminal.

7. A login information processing device, characterized in that: include: A login information acquisition module, configured to establish a device communication connection with a target terminal in response to a device connection instruction, and to acquire first login information stored in a target application object deployed locally, and to acquire second login information stored in the same target application object deployed in the target terminal through the communication connection; A login information synchronization module, used to obtain a first timestamp corresponding to the first login information and a second timestamp corresponding to the second login information, use the login information with a later timestamp as target login information for account login, and synchronize the target login information to the target terminal; An account login module is used to complete account login on the target application object based on the target login information in response to a login instruction for the target application object.

8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 6 when executing the program stored in the memory.

9. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Account synchronization method, medium and server

    CN112543431A