Login state synchronization method and device, equipment and storage medium
A login status and function-like technology, which is applied in the computer field, can solve the problems of complex access to login status, inability to synchronize login status, etc., and achieve the effect of reducing complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 This is a flowchart of a method for synchronizing a login state provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation of synchronizing the login state of a page. The method can be executed by a device for synchronizing the login state. It is composed of hardware and / or software, and can generally be integrated in a device with a login state synchronization function, which can be an electronic device such as a server or a server cluster. like figure 1 As shown, the method specifically includes the following steps:
[0024] Step 110, define a synchronization class function.
[0025] Among them, the synchronization class function inherits the system base class function. The synchronization class function can be defined as DYLoginProxy class, and the system base class function can be defined as MZBaseManager. In this embodiment, the DYLoginProxy class inherits from the MZBaseManager class. MZBaseManager is a base cla...
Embodiment 2
[0060] figure 2 It is a schematic structural diagram of a login state synchronization device provided by the second embodiment of the present invention. like figure 2 As shown, the device includes:
[0061] The synchronization class function definition module 210 is used to define the synchronization class function; the synchronization class function inherits the system base class function;
[0062] The registration judgment module 220 is used to call the initialization function in the synchronization class function, and judge whether the synchronization class function is registered in the event bus;
[0063] The login status monitoring module 230 is configured to call the monitoring function to monitor the login status of the page when the synchronization class function is registered in the event bus;
[0064] The login state information broadcasting module 240 is configured to call a broadcast function to broadcast the login state information when the login state inform...
Embodiment 3
[0085] image 3 This is a schematic structural diagram of a computer device according to Embodiment 3 of the present invention. image 3 A block diagram of a computer device 312 suitable for use in implementing embodiments of the present invention is shown. image 3 The computer device 312 shown is only an example, and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention. Device 312 is typically a logged-in state synchronization-enabled computing device.
[0086] like image 3 As shown, computer device 312 takes the form of a general-purpose computing device. Components of computer device 312 may include, but are not limited to, one or more processors 316, storage 328, and a bus 318 connecting various system components including storage 328 and processor 316.
[0087] The bus 318 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



