Login state synchronization method and device, equipment and storage medium
By setting up a trusted device group in the LAN and using the verification mechanism of the intermediate device and the target device, the login status synchronization between different devices is achieved, which solves the problem of low user login efficiency and ensures the security of user information.
Patent Information
- Application Number
- CN202310254693.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-10
AI Technical Summary
It is difficult to synchronize login status between different devices with existing technology, resulting in low user login efficiency.
By setting up a trusted device group in the LAN, the first device obtains the user account information and sends the login request to the intermediate device. The intermediate device determines the target device in the login status, the target device verifies the login request, and the intermediate device then performs login verification.
It achieves login status synchronization between different devices, improves user login efficiency, and ensures the security of user information.
Smart Images

Figure CN118631480A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to a login status synchronization method, device, equipment and storage medium. Background Art
[0002] Currently, by binding user account information with devices, quick login on the same device can be achieved. However, with the continuous development of network technology, the same user account may have the function of logging in simultaneously on multiple devices.
[0003] Therefore, how to solve the problem of synchronizing login status between different devices to improve user login efficiency is a technical problem that urgently needs to be solved. Summary of the invention
[0004] In order to solve the above technical problems, an embodiment of the present disclosure provides a login status synchronization method.
[0005] In a first aspect, the present disclosure provides a login status synchronization method, the method comprising:
[0006] In response to a login trigger operation, the first device obtains first user account information from a first local area network; wherein the first device is in a network connection state with the first local area network, a trusted device group including the first device is configured in the first local area network, and devices in the trusted device group have access rights to the first user account information;
[0007] The first device will send a login request based on the first user account information to an intermediate device; wherein the intermediate device is used to determine a device that is logged in based on the first user account information and is currently logged in as a target device, and send the login request to the target device, the target device is used to receive a response operation to the login request, and the response operation is used to perform login verification on the first device.
[0008] In an optional implementation manner, the first device sends a login request based on the first user account information to an intermediate device, including:
[0009] The first device sends a login request based on the first user account information to a target network device in the first local area network; wherein the target network device is used to determine a device in the first local area network that has logged in based on the first user account information and is currently in a logged-in state as a target device.
[0010] In an optional implementation manner, the first device sends a login request based on the first user account information to an intermediate device, including:
[0011] The first device sends a login request based on the first user account information to a target login server; wherein the target login server is used to determine a device that is logged in based on the first user account information and is currently in a logged-in state as a target device.
[0012] In an optional implementation manner, before the first device sends the login request based on the first user account information to the intermediate device, the method further includes:
[0013] The first device displays the first user account information on a login page.
[0014] In a second aspect, the present disclosure provides a login status synchronization method, the method comprising:
[0015] In response to a login information acquisition request from a first device, determining whether the first device is in a network connection state of a first local area network;
[0016] When it is determined that the first device is in a network connection state with the first local area network, determining a trusted device group to which the first device belongs from the first local area network, and sending first user account information having access rights to devices in the trusted device group to the first device;
[0017] After receiving a login request based on the first user account information from the first device, a device that is logged in based on the first user account information and is currently logged in in the first local area network is determined as a target device, and the login request is sent to the target device; wherein the target device is used to receive a response operation to the login request and return a response message corresponding to the response operation;
[0018] Based on the response message corresponding to the response operation, login verification is performed on the first device.
[0019] In an optional implementation, the method is applied to a target network device or a target login server in the first local area network.
[0020] In a third aspect, the present disclosure provides a login status synchronization system, the system comprising a first local area network configured with at least one trusted device group, a first device, and an intermediate device, the first device belonging to the first trusted device group, and the devices in the first trusted device group having access rights to the first user account information;
[0021] The first device is configured to obtain the first user account information from the first local area network in response to a login trigger operation, and send a login request based on the first user account information to the intermediate device; wherein the first device is in a network connection state with the first local area network;
[0022] The intermediate device is used to determine the device that is logged in based on the first user account information and is currently logged in as the target device, send the login request to the target device, and perform login verification on the first device based on the response operation to the login request received by the target device.
[0023] In a fourth aspect, the present disclosure provides a login status synchronization device, the device is applied to a first device, and the device includes:
[0024] A first acquisition module is configured to acquire first user account information from a first local area network in response to a login trigger operation; wherein the first device is in a network connection state with the first local area network, a trusted device group including the first device is configured in the first local area network, and devices in the trusted device group have access rights to the first user account information;
[0025] A first sending module is used to send a login request based on the first user account information to an intermediate device; wherein the intermediate device is used to determine a device that is logged in based on the first user account information and is currently logged in as a target device, and send the login request to the target device, the target device is used to receive a response operation to the login request, and the response operation is used to perform login verification on the first device.
[0026] In a fifth aspect, the present disclosure provides a login status synchronization device, the device comprising:
[0027] A first determination module, configured to determine, in response to a login information acquisition request from a first device, whether the first device is in a network connection state with a first local area network;
[0028] a second determining module, configured to, upon determining that the first device is in a network connection state with the first local area network, determine from within the first local area network a trusted device group to which the first device belongs, and send to the first device the first user account information to which the devices within the trusted device group have access rights;
[0029] a third determining module, configured to, after receiving a login request based on the first user account information from the first device, determine a device in the first local area network that is logged in based on the first user account information and is currently in a logged-in state as a target device, and send the login request to the target device; wherein the target device is configured to receive a response operation to the login request and return a response message corresponding to the response operation;
[0030] A verification module is used to perform login verification on the first device based on a response message corresponding to the response operation.
[0031] In a sixth aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.
[0032] In a seventh aspect, the present disclosure provides a login status synchronization device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0033] In an eighth aspect, the present disclosure provides a computer program product, wherein the computer program product comprises a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.
[0034] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:
[0035] The embodiment of the present disclosure provides a login status synchronization method. When receiving a login trigger operation, the first device can obtain the first user account information with access rights to the trusted device group in which it is located from the first local area network. Then, a login request based on the first user account information is sent to the intermediate device, and the intermediate device determines the target device that is logged in based on the first user account information and is currently in the login state, and sends the login request to the target device. After the target device feeds back the received response operation to the login request to the intermediate device, the intermediate device performs login verification on the first device based on the response operation. It can be seen that the embodiment of the present disclosure uses a trusted local area network to set access rights for the first user account information, and performs login verification on the first device through a target device that is logged in based on the same user account and is currently in the login state, thereby realizing login status synchronization between different devices. Compared with the traditional login method, the embodiment of the present disclosure can improve user login efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 A structural diagram of a login status synchronization system provided by an embodiment of the present disclosure;
[0039] Figure 2 A flowchart of a login status synchronization method provided by an embodiment of the present disclosure;
[0040] Figure 3 A flowchart of another login status synchronization method provided by an embodiment of the present disclosure;
[0041] Figure 4 A schematic diagram of the structure of a login status synchronization device provided by an embodiment of the present disclosure;
[0042] Figure 5 A schematic diagram of the structure of another login status synchronization device provided by an embodiment of the present disclosure;
[0043] Figure 6 A structural diagram of a login status synchronization device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0046] With the continuous development of network technology, the same user account may have the functional requirement of logging in simultaneously on multiple devices. Therefore, how to achieve synchronization of login status between different devices is a technical problem that urgently needs to be solved.
[0047] To this end, the embodiment of the present disclosure provides a login status synchronization method. In response to a login trigger operation, the first device, when in a network connection state of the first local area network, can obtain the first user account information of the trusted device group in which it is located and has access rights from the first local area network. Then, a login request based on the first user account information is sent to an intermediate device, and the intermediate device determines the target device that is logged in based on the first user account information and is currently in a logged-in state, and sends the login request to the target device. After the target device receives a response operation to the login request, the intermediate device can perform login verification on the first device based on the response operation.
[0048] It can be seen that the embodiment of the present disclosure utilizes a trusted local area network to set access permissions for the first user account information, and performs login verification on the first device through a target device that is logged in based on the same user account and is currently logged in, thereby achieving login status synchronization between different devices. Compared with traditional login methods, the embodiment of the present disclosure can improve user login efficiency.
[0049] For ease of understanding, the present disclosure provides a login status synchronization system. Figure 1 , is a structural diagram of a login status synchronization system provided in an embodiment of the present disclosure, wherein the system 100 includes a first local area network 101 configured with at least one trusted device group, a first device 102 and an intermediate device 103, the first device 102 belongs to a first trusted device group 104, and the devices in the first trusted device group have access rights to the first user account information.
[0050] The first local area network 101 refers to a private network with a unique identifier, such as WiFi, Bluetooth, etc. Specifically, after authorization by the user, the first local area network can be uniquely identified by information such as user usage patterns, IP addresses, basic network information, hardware device numbers, network geographic locations, and network user patterns.
[0051] In addition, the first LAN is a trusted LAN, which can be identified by network connection time, network geographical location, etc. Users of devices connected to the first LAN can bind user information to the first LAN in order to authorize other users to access the user information.
[0052] In an optional implementation, blockchain technology can be used to bind user information to the first local area network so as to authorize other users to access the user information.
[0053] In an optional implementation, the first local area network 101 may be composed of multiple trusted sub-networks, different trusted sub-networks may contain different devices, and devices in different trusted sub-networks may belong to the same trusted device group.
[0054] In another optional implementation, the first local area network 101 may include multiple devices, and the same device may belong to different trusted device groups, and the devices in the same trusted device group have access rights to the same user information. Figure 1 As shown, the devices in the first trusted device group 104 share the access rights to the corresponding first user account information. In addition, in the case of separate authorization, the authorized device can also have access rights to the user's private information. The disclosed embodiment can achieve login status synchronization between the devices in the first trusted device group 104.
[0055] Specifically, the first device 102 is used to respond to a login trigger operation, obtain the first user account information from the first local area network while being in a network connection state with the first local area network, and send a login request based on the first user account information to the intermediate device.
[0056] After the first device joins the first local area network, it determines the trusted device group to which it belongs, and obtains the first user account information to which the devices in the trusted device group have access rights from the first local area network, wherein the first user account information includes publicly available user information, such as user account nickname, avatar, etc.
[0057] After the first device obtains the first user account information through the first local area network, the first user account information is displayed on the login page. After the user triggers a login request based on the first user account information on the first device, the first device sends the login request to the intermediate device.
[0058] The intermediate device may belong to the first local area network, and may specifically be a target network device in the first local area network, such as a router, etc. In addition, the intermediate device may also be a server, etc., to which the first device requests to log in.
[0059] The intermediate device 103 is used to determine the device that is logged in based on the first user account information and is currently logged in as the target device, send the login request to the target device, and perform login verification on the first device based on the response operation to the login request received by the target device.
[0060] In the embodiment of the present disclosure, after receiving the login request, the intermediate device determines the device that is logged in based on the first user account information and is currently logged in as the target device. In an optional implementation, one or more devices that are logged in based on the first user account information and are currently logged in can be determined as the target device.
[0061] In another optional implementation, one or more devices that are logged in based on the first user account information and are currently logged in can be first determined as target devices for the first stage. When no response message is received from the target device for the first stage within a period of time, one or more devices that are logged in based on the first user account information and are currently logged in can be re-determined as target devices for the second stage to receive response messages for login requests. If no response message is received from the target device within a preset time period, a login verification failure can be returned to the first device, indicating that it can complete the login by the traditional method of entering an account and password.
[0062] In the embodiment of the present disclosure, since the target device is a device that completes login in a trusted manner based on the first user account information, the target device is a trusted device. To this end, the embodiment of the present disclosure realizes login status synchronization between different devices by performing login verification on the login request of the first device on the trusted device, thereby improving user login efficiency.
[0063] In addition, the embodiment of the present disclosure utilizes a trusted local area network to configure a trusted device group, pre-stores user information in the local area network, and sets up a trusted device group with its access rights, which can achieve login status synchronization between different devices while ensuring user information security.
[0064] Based on this, the embodiment of the present disclosure also provides a login status synchronization method, referring to Figure 2 , is a flow chart of a login status synchronization method provided by an embodiment of the present disclosure, the method comprising:
[0065] S201: In response to a login trigger operation, a first device obtains first user account information from a first local area network.
[0066] The first device is in a network connection state with the first local area network, a trusted device group including the first device is configured in the first local area network, and devices in the trusted device group have access rights to the first user account information.
[0067] The login status synchronization method provided in the embodiment of the present disclosure is applied to a first device, and the first device may be a device that has joined any one or more trusted device groups in the first local area network, for example, any type of smart device such as a smart phone, a smart appliance, a computer, etc.
[0068] In actual applications, after the first device joins the first local area network, the first user account information is obtained based on the user data access rights of the devices in the trusted device group to which the first device belongs. The first user account information may be, for example, publicly available user information such as a user account nickname and avatar.
[0069] S202: The first device sends a login request based on the first user account information to an intermediate device.
[0070] Among them, the intermediate device is used to determine the device that is logged in based on the first user account information and is currently in a logged-in state as a target device, and send the login request to the target device, and the target device is used to receive a response operation to the login request, and the response operation is used to perform login verification on the first device.
[0071] In the disclosed embodiment, after acquiring the first user account information, the first device displays the first user account information on the login page, and the user can trigger a login request on the login page based on the first user account information. After receiving the login request, the first device sends the login request to the intermediate device. The intermediate device can be a target network device in the first local area network, such as a router, or a target login server.
[0072] After receiving the login request, the intermediate device determines the device that is logged in based on the first user account information and is currently logged in as the target device, and sends the login request to the target device, where the target device can be one or more devices. The disclosed embodiment implements a quick login method and improves user login efficiency by using a trusted logged-in device to confirm whether it agrees to the first device to log in based on the first user account information.
[0073] In an optional implementation, assuming that the target device is a target network device in the first local area network, the target network device is used to determine a device in the first local area network that is logged in based on the first user account information and is currently logged in as the target device.
[0074] In another optional implementation, assuming that the target device is a target login server, the target login server is used to determine a device that is logged in based on the first user account information and is currently logged in as a target device, that is, the target login server can determine a remote online device that is logged in based on the first user account information as a target device.
[0075] After receiving the login request, the target device displays a login request confirmation page for the user of the target device. The login request confirmation page is used to receive the user's response operation on whether to agree to the login request. After receiving the response operation, the intermediate device sends a response message corresponding to the response operation to the intermediate device, and the intermediate device performs login verification on the first device based on the response message. Specifically, if the user of the target device triggers the "agree to login" operation, the intermediate device determines that the first device has passed the login verification based on the "agree to login" response message; if the user of the target device triggers the "disagree to login" operation, the intermediate device determines that the first device has not passed the login verification based on the "disagree to login" response message, indicating that the first device has failed to log in based on the first user's account information. At this time, the intermediate device can return a "login failed" prompt message to the first device.
[0076] In actual applications, after the login status synchronization between different devices is realized based on the above login status synchronization method, the synchronization of other user information between different devices can be realized later, such as chat history information, email information, etc.
[0077] In the login status synchronization method provided by the embodiment of the present disclosure, in response to a login trigger operation, the first device, while being in a network connection state with the first local area network, can obtain the first user account information with access rights to the trusted device group in which it is located from the first local area network. Then, a login request based on the first user account information is sent to the intermediate device, and the intermediate device determines the target device that is logged in based on the first user account information and is currently in a logged-in state, and sends the login request to the target device. After the target device receives a response operation to the login request, the intermediate device can perform login verification on the first device based on the response operation. It can be seen that the embodiment of the present disclosure uses a trusted local area network to set access rights for the first user account information, and performs login verification on the first device through a target device that is logged in based on the same user account and is currently in a logged-in state, thereby achieving login status synchronization between different devices. Compared with the traditional login method, the embodiment of the present disclosure can improve user login efficiency.
[0078] Based on the above embodiments, the present disclosure also provides a login status synchronization method, referring to Figure 3 , is a flow chart of another login status synchronization method provided by an embodiment of the present disclosure, the method comprising:
[0079] S301: In response to a login information acquisition request from a first device, determine whether the first device is in a network connection state of a first local area network.
[0080] S302: When it is determined that the first device is in a network connection state with a first local area network, determine the trusted device group to which the first device belongs from the first local area network, and send first user account information with access rights to devices in the trusted device group to the first device.
[0081] The devices in the trusted device group have access rights to the first user account information.
[0082] The disclosed embodiment provides a login status synchronization method applied to an intermediate device, such as a target network device or a target login server in a first local area network. The target network device may be a router, for example, and the target login server is a server requested to be logged in by the first device.
[0083] Since different devices connected to the first LAN may be in different trusted device groups, after monitoring the first device joining the first LAN, the first device can be matched to a trusted device group including itself from the trusted device groups configured in the first LAN.
[0084] Different trusted device groups have access rights for different user information. Therefore, after determining a trusted device group for the first device, the first user account information that has access rights to devices in the trusted device group is sent to the first device so as to be displayed on the login page of the first device.
[0085] S303: After receiving the login request based on the first user account information from the first device, a device in the first local area network that is logged in based on the first user account information and is currently logged in is determined as a target device, and the login request is sent to the target device. The target device is used to receive a response operation to the login request and return a response message corresponding to the response operation.
[0086] The first device may trigger a login request based on the first user account information. After receiving the login request, the first device may determine a device that is in the first local area network and is currently logged in based on the first user account information as a target device, and forward the login request to the target device so that the user of the target device triggers a response operation for the login request. The response operation may be a "login approval" response operation for the login request, or a "login disapproval" response operation for the login request.
[0087] S304: Performing login verification on the first device based on the response message corresponding to the response operation.
[0088] In the disclosed embodiment, after receiving a response message corresponding to a response operation from the target device, a login verification is performed on the first device based on the response message. Specifically, if the user of the target device triggers an "agree to login" operation, then based on the "agree to login" response message, it is determined that the first device has passed the login verification; if the user of the target device triggers an "agree to login" operation, then based on the "agree to login" response message, it is determined that the first device has not passed the login verification, indicating that the first device has failed to log in based on the first user's account information. At this time, a prompt message of "login failed" can be returned to the first device.
[0089] The disclosed embodiment utilizes a trusted local area network to set access permissions for the first user account information, and performs login verification on the first device through a target device that is logged in based on the same user account and is currently logged in, thereby achieving login status synchronization between different devices. Compared with traditional login methods, the disclosed embodiment can improve user login efficiency.
[0090] Based on the above method embodiment, the present disclosure also provides a login status synchronization device, referring to Figure 4 , is a structural diagram of a login status synchronization device provided by an embodiment of the present disclosure, the device comprising:
[0091] A first acquisition module 401 is configured to acquire first user account information from a first local area network in response to a login trigger operation; wherein the first device is in a network connection state with the first local area network, a trusted device group including the first device is configured in the first local area network, and devices in the trusted device group have access rights to the first user account information;
[0092] The first sending module 402 is used to send a login request based on the first user account information to an intermediate device; wherein the intermediate device is used to determine a device that is logged in based on the first user account information and is currently logged in as a target device, and send the login request to the target device, and the target device is used to receive a response operation to the login request, and the response operation is used to perform login verification on the first device.
[0093] In an optional implementation manner, the first sending module is specifically configured to:
[0094] A login request based on the first user account information is sent to a target network device in the first local area network; wherein the target network device is used to determine a device in the first local area network that is logged in based on the first user account information and is currently in a logged-in state as a target device.
[0095] In an optional implementation manner, the first sending module includes:
[0096] A login request based on the first user account information is sent to a target login server; wherein the target login server is used to determine a device that is logged in based on the first user account information and is currently in a logged-in state as a target device.
[0097] In an optional implementation manner, the method further includes:
[0098] A display module is used to display the first user account information on the login page.
[0099] In the login status synchronization device provided by the embodiment of the present disclosure, in response to the login trigger operation, when the first device is in a network connection state with the first local area network, the first user account information with access rights to the trusted device group in which it is located can be obtained from the first local area network. Then, a login request based on the first user account information is sent to the intermediate device, and the intermediate device determines the target device that is logged in based on the first user account information and is currently in the login state, and sends the login request to the target device. After the target device receives the response operation to the login request, the intermediate device can perform login verification on the first device based on the response operation. It can be seen that the embodiment of the present disclosure uses a trusted local area network to set access rights for the first user account information, and performs login verification on the first device through the target device that is logged in based on the same user account and is currently in the login state, thereby realizing login status synchronization between different devices. Compared with the traditional login method, the embodiment of the present disclosure can improve user login efficiency.
[0100] Based on the above embodiments, the present disclosure also provides a login status synchronization device, referring to Figure 5 , is a structural diagram of another login status synchronization device provided by an embodiment of the present disclosure, the device comprising:
[0101] A first determination module 501, configured to determine, in response to a login information acquisition request from a first device, whether the first device is in a network connection state with a first local area network;
[0102] A second determining module 502 is configured to, upon determining that the first device is in a network connection state with the first local area network, determine a trusted device group to which the first device belongs from within the first local area network, and send first user account information having access rights to devices within the trusted device group to the first device;
[0103] The third determination module 503 is used to, after receiving the login request based on the first user account information from the first device, determine a device that is logged in based on the first user account information and is currently logged in in the first local area network as a target device, and send the login request to the target device; wherein the target device is used to receive a response operation to the login request and return a response message corresponding to the response operation;
[0104] The verification module 504 is used to perform login verification on the first device based on the response message corresponding to the response operation.
[0105] In an optional implementation, the apparatus is applied to a target network device or a target login server in the first local area network.
[0106] The disclosed embodiment utilizes a trusted local area network to set access permissions for the first user account information, and performs login verification on the first device through a target device that is logged in based on the same user account and is currently logged in, thereby achieving login status synchronization between different devices. Compared with traditional login methods, the disclosed embodiment can improve user login efficiency.
[0107] In addition to the above-mentioned method and apparatus, the embodiments of the present disclosure further provide a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device implements the login status synchronization method described in the embodiments of the present disclosure.
[0108] The embodiment of the present disclosure further provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the login status synchronization method described in the embodiment of the present disclosure is implemented.
[0109] In addition, the present disclosure also provides a login status synchronization device, see Figure 6 As shown, it may include:
[0110] Processor 601, memory 602, input device 603 and output device 604. The number of processors 601 in the login status synchronization device can be one or more. Figure 6 In some embodiments of the present disclosure, the processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means, wherein: Figure 6 The example of connecting through bus is taken in the following.
[0111] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing of the login status synchronization device by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc. In addition, the memory 602 may include a high-speed random access memory, and may 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. The input device 603 may be used to receive input digital or character information, and to generate signal input related to user settings and function control of the login status synchronization device.
[0112] Specifically in this embodiment, the processor 601 will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 will run the applications stored in the memory 602, thereby realizing the various functions of the above-mentioned login status synchronization device.
[0113] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0114] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A login status synchronization method, characterized in that: The method comprises: In response to a login trigger operation, the first device obtains first user account information from a first local area network; wherein the first device is in a network connection state with the first local area network, a trusted device group including the first device is configured in the first local area network, and devices in the trusted device group have access rights to the first user account information; The first device sends a login request based on the first user account information to an intermediate device; wherein the intermediate device is used to determine a device that is logged in based on the first user account information and is currently logged in as a target device, and send the login request to the target device, the target device is used to receive a response operation to the login request, and the response operation is used to perform login verification on the first device.
2. The method according to claim 1, characterized in that The first device sends a login request based on the first user account information to an intermediate device, including: The first device sends a login request based on the first user account information to a target network device in the first local area network; wherein the target network device is used to determine a device in the first local area network that has logged in based on the first user account information and is currently in a logged-in state as a target device.
3. The method according to claim 1, characterized in that: The first device sends a login request based on the first user account information to an intermediate device, including: The first device sends a login request based on the first user account information to a target login server; wherein the target login server is used to determine a device that is logged in based on the first user account information and is currently in a logged-in state as a target device.
4. The method according to claim 1, characterized in that Before the first device sends the login request based on the first user account information to the intermediate device, the method further includes: The first device displays the first user account information on a login page.
5. A login status synchronization method, characterized in that: The method comprises: In response to a login information acquisition request from a first device, determining whether the first device is in a network connection state of a first local area network; When it is determined that the first device is in a network connection state with the first local area network, determining a trusted device group to which the first device belongs from the first local area network, and sending first user account information having access rights to devices in the trusted device group to the first device; After receiving a login request based on the first user account information from the first device, a device that is logged in based on the first user account information and is currently logged in in the first local area network is determined as a target device, and the login request is sent to the target device; wherein the target device is used to receive a response operation to the login request and return a response message corresponding to the response operation; Based on the response message corresponding to the response operation, login verification is performed on the first device.
6. The method according to claim 5, characterized in that The method is applied to a target network device or a target login server in the first local area network.
7. A login status synchronization system, characterized in that: The system includes a first local area network configured with at least one trusted device group, a first device and an intermediate device, the first device belongs to the first trusted device group, and the devices in the first trusted device group have access rights to the first user account information; The first device is configured to obtain the first user account information from the first local area network in response to a login trigger operation, and send a login request based on the first user account information to the intermediate device; wherein the first device is in a network connection state with the first local area network; The intermediate device is used to determine the device that is logged in based on the first user account information and is currently logged in as the target device, send the login request to the target device, and perform login verification on the first device based on the response operation to the login request received by the target device.
8. A login status synchronization device, characterized in that: The device is applied to a first device, and includes: A first acquisition module is configured to acquire first user account information from a first local area network in response to a login trigger operation; wherein the first device is in a network connection state with the first local area network, a trusted device group including the first device is configured in the first local area network, and devices in the trusted device group have access rights to the first user account information; A first sending module is used to send a login request based on the first user account information to an intermediate device; wherein the intermediate device is used to determine a device that is logged in based on the first user account information and is currently logged in as a target device, and send the login request to the target device, the target device is used to receive a response operation to the login request, and the response operation is used to perform login verification on the first device.
9. A login status synchronization device, characterized in that: The device comprises: A first determination module, configured to determine, in response to a login information acquisition request from a first device, whether the first device is in a network connection state with a first local area network; a second determining module, configured to, upon determining that the first device is in a network connection state with the first local area network, determine from within the first local area network a trusted device group to which the first device belongs, and send to the first device the first user account information to which the devices within the trusted device group have access rights; a third determining module, configured to, after receiving a login request based on the first user account information from the first device, determine a device in the first local area network that is logged in based on the first user account information and is currently in a logged-in state as a target device, and send the login request to the target device; wherein the target device is configured to receive a response operation to the login request and return a response message corresponding to the response operation; A verification module is used to perform login verification on the first device based on a response message corresponding to the response operation.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 6.
11. A login status synchronization device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
