CN115186249A - Management method and system for multi-device simultaneous login, electronic device and storage medium - Google Patents

Management method and system for multi-device simultaneous login, electronic device and storage medium Download PDF

Info

Publication number
CN115186249A
CN115186249A CN202211108509.9A CN202211108509A CN115186249A CN 115186249 A CN115186249 A CN 115186249A CN 202211108509 A CN202211108509 A CN 202211108509A CN 115186249 A CN115186249 A CN 115186249A
Authority
CN
China
Prior art keywords
logged
equipment
target application
login
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211108509.9A
Other languages
Chinese (zh)
Inventor
王松茂
商帆
孙成新
王金明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Feihu Information Technology Tianjin Co Ltd
Original Assignee
Feihu Information Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Feihu Information Technology Tianjin Co Ltd filed Critical Feihu Information Technology Tianjin Co Ltd
Priority to CN202211108509.9A priority Critical patent/CN115186249A/en
Publication of CN115186249A publication Critical patent/CN115186249A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/41User authentication where a single sign-on provides access to a plurality of computers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • G06F21/1078Logging; Metering

Abstract

The application provides a management method, a system, electronic equipment and a storage medium for simultaneously logging in multiple devices, wherein when a new device is detected to log in a target application, the number of logged-in devices corresponding to an account number logged in by the new device is acquired; judging whether the number of the logged devices is larger than or equal to a preset login number threshold of the account; if the number of the logged-in devices is larger than or equal to a preset login number threshold of the account, determining a device activity value corresponding to each logged-in device according to the operation number of each preset operation related to the target application on the logged-in device for each logged-in device; the preset operations are determined by using historical operation information corresponding to the applications; determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment; and controlling the logout device to log out of the target application and controlling the new device to log in the target application. The invention can improve the login experience of the user.

Description

Management method and system for simultaneously logging in multiple devices, electronic device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, an electronic device, and a storage medium for managing simultaneous login of multiple devices.
Background
With the rapid development of computer technology, currently, each large client application supports multi-device login for user login, and when a new device logs in, if the current online device exceeds a limit value by verification, the user is prompted to leave the old device first or kick out the earliest logged-in device when logging in the new device.
However, this approach may kick out the device that the user logs in first but is also using most frequently, resulting in a poor user's login experience.
Disclosure of Invention
The invention provides a management method, a management system, electronic equipment and a storage medium for simultaneously logging in multiple devices, and aims to improve the login experience of a user.
The first aspect of the present invention discloses a management method for multiple devices to log in simultaneously, wherein the method comprises:
when detecting that a new device logs in a target application, acquiring the number of logged-in devices corresponding to an account number logged in by the new device;
judging whether the number of the logged-in devices is larger than or equal to a preset login number threshold of the account;
if the number of the logged-in devices is larger than or equal to a preset login number threshold of the account, determining, for each logged-in device, a device activity value corresponding to the logged-in device according to the operation number of each preset operation related to the target application on the logged-in device; the preset operations are determined by using historical operation information corresponding to the applications;
determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment;
and controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application.
Optionally, before controlling the logout device to log out of the target application and controlling the new device to log in the target application, the method further includes:
acquiring login information of the new equipment;
judging whether the new equipment has login authority or not according to the login information of the new equipment;
wherein the controlling the logout device to log out of the target application and the new device to log in the target application comprises:
and if the new equipment has the login authority, controlling the logout equipment to log out of the target application, and controlling the new equipment to log in the target application.
Optionally, if the number of logged-in devices is greater than or equal to a preset login number threshold of the account, determining, for each logged-in device, a device activity value corresponding to the logged-in device according to an operation number of each preset operation related to the target application on the logged-in device, where the determining includes:
if the number of the logged-in devices is larger than or equal to a preset login number threshold of the account, counting the operation number of each preset operation related to the target application on the logged-in device through a preset user activity detection device for each logged-in device, and determining a device activity value corresponding to the logged-in device according to the operation number of each preset operation.
Optionally, the determining, according to the device activity value of each logged-in device, a logout device from each logged-in device includes:
sequencing the logged devices from high to low according to the device activity values of the logged devices to obtain a logged device sequence;
and determining the logged-in equipment arranged at the tail in the logged-in equipment sequence as logout equipment.
A second aspect of the present invention discloses a management system for simultaneous login of multiple devices, where the system includes:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring the number of logged devices corresponding to an account number logged by a new device when the new device is detected to log in a target application;
the first judging unit is used for judging whether the number of the logged devices is greater than or equal to a preset login number threshold of the account;
a device active value determining unit, configured to determine, for each logged device, a device active value corresponding to the logged device according to an operation number of each preset operation related to the target application on the logged device, if the number of the logged devices is greater than or equal to a preset login number threshold of the account; the preset operations are determined by using historical operation information corresponding to the applications;
the log-off device determining unit is used for determining log-off devices from the logged-on devices according to the device activity values of the logged-on devices;
and the control unit is used for controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application.
Optionally, the system further includes:
a second obtaining unit, configured to obtain login information of the new device;
the second judgment unit is used for judging whether the new equipment has the login authority or not according to the login information of the new equipment;
the control unit is further configured to control the logout device to log out of the target application and control the new device to log in the target application if the new device has the login authority.
Optionally, the device activity value determining unit includes:
and the device activity value determining subunit is configured to, if the number of the logged devices is greater than or equal to a preset login number threshold of the account, count, for each logged device, the number of operations of each preset operation related to the target application on the logged device by using a preset user activity detection device, and determine a device activity value corresponding to the logged device according to the number of operations of each preset operation.
Optionally, the logoff device determining unit includes:
the sorting unit is used for sorting the logged devices from high to low according to the device activity values of the logged devices to obtain a logged device sequence;
and the logout device determining subunit is configured to determine, as a logout device, the logged-in device ranked at the end in the logged-in device sequence.
A third aspect of the present invention discloses an electronic apparatus comprising: the system comprises a processor and a memory, wherein the processor and the memory are connected through a communication bus; the processor is used for calling and executing the program stored in the memory; the memory is used for storing a program for implementing the management method for simultaneous login of multiple devices as disclosed in the first aspect of the present invention.
A fourth aspect of the present invention discloses a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the management method for simultaneous login of multiple devices as disclosed in the first aspect of the present invention.
The invention provides a management method, a management system, electronic equipment and a storage medium for simultaneous login of multiple devices, which can determine multiple preset operations by using historical operation information corresponding to each application. When detecting that the new equipment logs in the target application, acquiring the number of logged-in equipment corresponding to the account number logged in by the new equipment; determining a device active value corresponding to the logged-in device according to the operation quantity of each preset operation related to the target application on the logged-in device for each logged-in device under the condition that the logged-in device quantity is determined to be larger than or equal to a preset login quantity threshold of an account; determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment; and controlling the logout equipment to log out of the account and controlling the new equipment to log in the account. According to the technical means provided by the invention, the logout equipment can be determined from all logged-in equipment by counting the operation quantity of each preset operation of the target application on each logged-in equipment according to the equipment activity value of each logged-in equipment, so that the equipment which is logged in by the user at the earliest time but is used most frequently can be prevented from being kicked out, and the poor logging experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a management method for simultaneous login of multiple devices according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another management method for simultaneous login of multiple devices according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a management system for simultaneous login of multiple devices according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "including" and variations thereof as used herein is intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure are exemplary rather than limiting, and that those skilled in the art will understand that "one or more" unless the context clearly dictates otherwise.
Referring to fig. 1, a schematic flow diagram of a management method for multiple devices to log in simultaneously according to an embodiment of the present invention is shown, where the management method for multiple devices to log in simultaneously specifically includes the following steps:
s101: and when the fact that the new equipment logs in the target application is detected, the number of logged-in equipment corresponding to the account number of the new equipment is obtained.
In the specific process of executing step S101, whether a new device logs in the target application currently may be detected in real time, and when it is detected that the new device logs in the target application, the number of simultaneously online logged devices corresponding to the account used when the new device logs in the target application may be obtained.
It should be noted that the number of devices already logged in is the number of devices that have currently logged in to the target application.
It should be noted that the online at the same time means that the same account maintains a logged-in state on different devices at the same time.
S102: judging whether the number of the logged-in devices is larger than or equal to a preset login number threshold of the account; if the number of the logged devices is not larger than or equal to the preset login number threshold of the account, executing step S103; if the number of logged-in devices is greater than or equal to the preset login number threshold of the account, step S104 is executed.
In the process of specifically executing step S102, a preset login number threshold corresponding to the account is preset, and after the number of logged-in devices corresponding to the account used by the new device for logging in to the target device is obtained, it may be further determined whether the number of logged-in devices is greater than or equal to the preset login number threshold corresponding to the account; if the number of registered devices is not greater than or equal to the preset threshold of registration number corresponding to the account, step S103 is executed. If the number of logged-in devices is greater than or equal to the preset login number threshold corresponding to the account, step S104 is executed.
It should be noted that the preset threshold of the number of entries may be 3, 5, etc. The method can be set according to practical application, and the embodiment of the application is not limited.
S103: the new device is allowed to log into the target application.
In the specific process of step S103, if the number of logged-in devices is not greater than or equal to the preset login number threshold corresponding to the account, that is, it is determined that the number of logged-in devices is smaller than the preset login number threshold corresponding to the account, the new device is allowed to log in the target application.
S104: and for each logged-in device, determining a device activity value corresponding to the logged-in device according to the operation quantity of each preset operation related to the target application on the logged-in device.
In the embodiment of the application, historical operation information of applications on each device can be acquired, the acquired historical operation information can be analyzed, and a plurality of preset operations can be determined.
It should be noted that the multiple preset operations may be a return operation for returning to the corresponding application from the background, a click operation for clicking "my tab" in the corresponding application, and a home page entry operation for entering a home page in the corresponding application. Each preset operation may be set according to actual application, and the embodiment of the present application is not limited.
In the embodiment of the application, a user activity detection device is preset. When a user uses a corresponding application to perform a return operation of the application, a home page entering operation or a click operation of clicking a 'my tab' in the corresponding application, the activity value of the equipment is accumulated through a preset user activity detection device.
In the process of specifically executing step S104, when it is determined that the number of logged-in devices is greater than or equal to the preset login number threshold corresponding to the account, for each logged-in device, the operation number of each preset operation related to the target application on the logged-in device may be counted by using a preset user activity detection apparatus, and a device activity value corresponding to the logged-in device is determined according to the operation number of each preset operation.
S105: and determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment.
In the process of specifically executing step S105, after the device activity value of each logged device is determined, the logged devices may be sorted from high to low according to the device activity values of the logged devices, so as to obtain a logged device sequence; and determining the logged-in equipment arranged at the tail in the logged-in equipment sequence as the logout equipment.
If there are a plurality of registered devices ranked at the end, one registered device may be randomly selected as a logoff device from among the plurality of registered devices.
S106: and controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application.
In the specific process of executing step S106, after the logout device is determined, the logout device may be controlled to log out of the target application, and the new device is controlled to log in the target application through the corresponding account.
The invention provides a management method for simultaneous login of multiple devices, which can determine multiple preset operations by utilizing historical operation information corresponding to each application. When detecting that the new equipment logs in the target application, acquiring the number of logged-in equipment corresponding to the account number logged in by the new equipment; determining a device active value corresponding to the logged-in device according to the operation quantity of each preset operation related to the target application on the logged-in device for each logged-in device under the condition that the number of the logged-in devices is determined to be larger than or equal to a preset login number threshold of an account; determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment; and controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application. The technical means provided by the invention can determine the logout equipment from all logged-in equipment by counting the operation quantity of each preset operation aiming at the target application on each logged-in equipment according to the equipment activity value of each logged-in equipment, so that the equipment which is logged in by the user at the earliest time and is used most frequently can be prevented from being kicked out, and the login experience of the user is poor.
On the basis of the management method for multi-device simultaneous login provided in the foregoing embodiment of the present invention, in order to ensure the security of a new device that logs in, login information of the new device may be checked, so that an embodiment of the present invention provides another management method for multi-device simultaneous login, as shown in fig. 2, the management method for multi-device simultaneous login specifically includes the following steps:
s201: and when the fact that the new equipment logs in the target application is detected, the number of logged-in equipment corresponding to the account number of the new equipment is obtained.
In the process of specifically executing step S201, the specific execution process and implementation principle of step S201 are the same as the specific execution process and implementation principle of step S101 disclosed in fig. 1, and reference may be made to corresponding parts in fig. 1, which are not described herein again.
S202: judging whether the number of the logged devices is larger than or equal to a preset login number threshold of the account; if the number of the logged devices is larger than or equal to the preset login number threshold of the account, executing step S203; if the number of logged devices is not greater than or equal to the preset login number threshold of the account, step S208 is executed.
In the process of specifically executing step S202, the specific execution process and implementation principle of step S202 are the same as those of step S102 disclosed in fig. 1, and reference may be made to corresponding parts in fig. 1, which are not described herein again.
S203: and for each logged-in device, determining a device activity value corresponding to the logged-in device according to the operation quantity of each preset operation related to the target application on the logged-in device.
In the process of specifically executing step S203, the specific execution process and implementation principle of step S203 are the same as those of step S104 disclosed in fig. 1, and reference may be made to corresponding parts in fig. 1, which is not described herein again.
S204: and determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment.
In the process of specifically executing step S204, the specific execution process and implementation principle of step S204 are the same as the specific execution process and implementation principle of step S105 disclosed in fig. 1, and reference may be made to corresponding parts in fig. 1, which is not described herein again.
S205: and acquiring login information of the new equipment.
S206: judging whether the new equipment has login authority or not according to the login information of the new equipment; if the new device has the login authority, step S207 is executed.
In the specific process of executing step S206, after the logout device is determined, before the logout device is controlled to log out of the target device and the new device is controlled to log in the target application, login information of the new device may be obtained, a target account password may be determined according to an account in the login information of the new device, and whether the target account password is consistent with the account password in the login information may be determined; and if the target account password is consistent with the account password in the login information, determining that the new equipment has the login authority, controlling the logout equipment to quit the target application, and controlling the new equipment to login the target application.
If the target account password is inconsistent with the account password in the login information, determining that the new device does not have the login authority, and not allowing the new device to login the target application.
S207: and controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application.
S208: and acquiring login information of the new equipment.
S209: judging whether the new equipment has login authority or not according to the login information of the new equipment; if the new device has the login authority, step S210 is executed.
In the process of specifically executing step S209, under the condition that it is determined that the number of logged-in devices is not greater than or equal to the preset login number threshold of the account, before controlling the new device to log in the target application, login information of the new device may be obtained, and then a target account password may be determined according to an account in the login information of the new device, and whether the target account password is consistent with an account password in the login information is determined; and if the target account password is consistent with the account password in the login information, determining that the new equipment has login authority, and controlling the new equipment to login the target application.
If the target account password is inconsistent with the account password in the login information, determining that the new device does not have the login authority, and not allowing the new device to login the target application.
S210: the new device is allowed to log into the target application.
In the embodiment of the application, in order to ensure the security of the new device to be logged in, before the new device is controlled to log in the target application, whether the new device has the login authority or not can be judged according to the login information of the new device, and the new device is allowed to log in the target application under the condition that the new device is determined to have the login authority, otherwise, the new device is not allowed to log in the target application.
Based on the management method for simultaneously logging in multiple devices disclosed by the embodiment of the invention, the embodiment of the invention also correspondingly discloses a management system for simultaneously logging in multiple devices, and as shown in fig. 3, the management system for simultaneously logging in multiple devices comprises:
a first obtaining unit 31, configured to obtain, when it is detected that a new device logs in a target application, a number of logged-in devices corresponding to an account in which the new device logs in;
a first judging unit 32, configured to judge whether the number of logged-in devices is greater than or equal to a preset login number threshold of the account;
the device active value determining unit 33 is configured to determine, for each logged-in device, a device active value corresponding to the logged-in device according to the operation number of each preset operation related to the target application on the logged-in device, if the number of the logged-in devices is greater than or equal to a preset login number threshold of the account; the method comprises the steps that each preset operation is determined by using historical operation information corresponding to each application;
a logout device determining unit 34, configured to determine a logout device from the logged devices according to the device activity values of the logged devices;
and the control unit 35 is configured to control the logout device to log out of the target application, and control the new device to log in the target application.
The specific principle and the execution process of each unit in the management system for multiple device simultaneous login disclosed in the embodiment of the present invention are the same as those of the management method for multiple device simultaneous login disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the management method for multiple device simultaneous login disclosed in the embodiment of the present invention, which are not described herein again.
The invention provides a management system for logging in multiple devices simultaneously, which can determine multiple preset operations by using historical operation information corresponding to each application. When detecting that the new equipment logs in the target application, acquiring the number of logged-in equipment corresponding to the account number logged in by the new equipment; determining a device active value corresponding to the logged-in device according to the operation quantity of each preset operation related to the target application on the logged-in device for each logged-in device under the condition that the number of the logged-in devices is determined to be larger than or equal to a preset login number threshold of an account; determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment; and controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application. According to the technical means provided by the invention, the logout equipment can be determined from all logged-in equipment by counting the operation quantity of each preset operation of the target application on each logged-in equipment according to the equipment activity value of each logged-in equipment, so that the equipment which is logged in by the user at the earliest time but is used most frequently can be prevented from being kicked out, and the poor logging experience of the user is improved.
Optionally, an embodiment of the present application provides a management system for logging in multiple devices simultaneously, further including:
the second acquisition unit is used for acquiring the login information of the new equipment;
the second judgment unit is used for judging whether the new equipment has the login authority or not according to the login information of the new equipment;
the control unit is further used for controlling the logout device to log out of the target application and controlling the new device to log in the target application if the new device has the login authority.
Optionally, the device activity value determining unit includes:
and the device activity value determining subunit is configured to, if the number of the logged devices is greater than or equal to a preset login number threshold of the account, count, for each logged device, the number of operations of each preset operation related to the target application on the logged device by using a preset user activity detection device, and determine, according to the number of operations of each preset operation, a device activity value corresponding to the logged device.
Optionally, the logoff device determining unit includes:
the sorting unit is used for sorting the logged devices from high to low according to the device activity values of the logged devices to obtain a logged device sequence;
and the logout device determining subunit is used for determining the logged-in device arranged at the tail in the logged-in device sequence as the logout device.
An embodiment of the present application provides an electronic device, as shown in fig. 4, the electronic device includes a processor 401 and a memory 402, where the memory 402 is used to store program codes and data for managing multiple devices that log in simultaneously, and the processor 401 is used to call program instructions in the memory to execute steps shown in the management method for implementing multiple devices that log in simultaneously in the foregoing embodiments.
The embodiment of the application provides a storage medium, the storage medium comprises a storage program, and when the program runs, a device on which the storage medium is located is controlled to execute the management method for simultaneously logging in multiple devices shown in the above embodiment.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A management method for multi-device simultaneous login is characterized by comprising the following steps:
when detecting that a new device logs in a target application, acquiring the number of logged devices corresponding to an account number logged in by the new device;
judging whether the number of the logged-in devices is larger than or equal to a preset login number threshold of the account;
if the number of the logged-in devices is larger than or equal to a preset login number threshold of the account, determining, for each logged-in device, a device activity value corresponding to the logged-in device according to the operation number of each preset operation related to the target application on the logged-in device; the preset operations are determined by using historical operation information corresponding to the applications;
determining logout equipment from the logged-in equipment according to the equipment activity value of the logged-in equipment;
and controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application.
2. The method according to claim 1, wherein before the controlling the logout device to log out of the target application and controlling the new device to log in the target application, the method further comprises:
acquiring login information of the new equipment;
judging whether the new equipment has login authority or not according to the login information of the new equipment;
wherein the controlling the logout device to log out of the target application and the new device to log in the target application comprises:
and if the new equipment has the login authority, controlling the logout equipment to log out of the target application and controlling the new equipment to log in the target application.
3. The method according to claim 1, wherein if the number of logged-in devices is greater than or equal to a preset login number threshold of the account, for each logged-in device, determining a device activity value corresponding to the logged-in device according to an operation number of each preset operation related to the target application on the logged-in device, includes:
if the number of the logged-in devices is larger than or equal to a preset login number threshold of the account, counting the operation number of each preset operation related to the target application on the logged-in device through a preset user activity detection device for each logged-in device, and determining a device activity value corresponding to the logged-in device according to the operation number of each preset operation.
4. The method according to claim 1, wherein the determining a logoff device from each logged device according to the device activity value of each logged device comprises:
sequencing the logged devices from high to low according to the device activity values of the logged devices to obtain a logged device sequence;
and determining the logged-in equipment at the tail in the logged-in equipment sequence as logged-out equipment.
5. A system for managing simultaneous login of multiple devices, the system comprising:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring the number of logged devices corresponding to an account number logged by a new device when the new device is detected to log in a target application;
the first judgment unit is used for judging whether the number of the logged devices is greater than or equal to a preset login number threshold of the account;
a device active value determining unit, configured to determine, for each logged device, a device active value corresponding to the logged device according to an operation number of each preset operation related to the target application on the logged device, if the number of the logged devices is greater than or equal to a preset login number threshold of the account; the preset operations are determined by using historical operation information corresponding to the applications;
the logout equipment determining unit is used for determining logout equipment from the logged equipment according to the equipment active value of the logged equipment;
and the control unit is used for controlling the logout device to log out of the target application and controlling the new device to log in the target application.
6. The system of claim 5, further comprising:
a second obtaining unit, configured to obtain login information of the new device;
the second judgment unit is used for judging whether the new equipment has the login authority or not according to the login information of the new equipment;
the control unit is further configured to control the logout device to log out of the target application and control the new device to log in the target application if the new device has the login authority.
7. The system according to claim 5, wherein the device activity value determining unit comprises:
and the device activity value determining subunit is configured to, if the number of the logged devices is greater than or equal to a preset login number threshold of the account, count, for each logged device, the number of operations of each preset operation related to the target application on the logged device by using a preset user activity detection device, and determine a device activity value corresponding to the logged device according to the number of operations of each preset operation.
8. The system of claim 5, wherein the logoff device determination unit comprises:
the sorting unit is used for sorting the logged devices from high to low according to the device activity values of the logged devices to obtain a logged device sequence;
and the logout device determining subunit is configured to determine, as a logout device, the logged-in device ranked at the end in the logged-in device sequence.
9. An electronic device, comprising: the system comprises a processor and a memory, wherein the processor and the memory are connected through a communication bus; the processor is used for calling and executing the program stored in the memory; the memory for storing a program for implementing the management method of simultaneous multi-device login according to any one of claims 1 to 4.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method for managing simultaneous login of multiple devices according to any one of claims 1 to 4.
CN202211108509.9A 2022-09-13 2022-09-13 Management method and system for multi-device simultaneous login, electronic device and storage medium Pending CN115186249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211108509.9A CN115186249A (en) 2022-09-13 2022-09-13 Management method and system for multi-device simultaneous login, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211108509.9A CN115186249A (en) 2022-09-13 2022-09-13 Management method and system for multi-device simultaneous login, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115186249A true CN115186249A (en) 2022-10-14

Family

ID=83524221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211108509.9A Pending CN115186249A (en) 2022-09-13 2022-09-13 Management method and system for multi-device simultaneous login, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115186249A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208388A (en) * 2023-02-08 2023-06-02 江西数字网联信息安全技术有限公司 Method, device, medium and equipment for logging in multiple devices by same account

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080034411A1 (en) * 2006-08-03 2008-02-07 Fujitsu Limited Login administration method and server
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server
US9912676B1 (en) * 2017-06-30 2018-03-06 Study Social, Inc. Account sharing prevention and detection in online education
CN108053214A (en) * 2017-12-12 2018-05-18 阿里巴巴集团控股有限公司 A kind of recognition methods of wash sale and device
CN108833453A (en) * 2017-04-26 2018-11-16 腾讯科技(深圳)有限公司 A kind of method and apparatus determined using account
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN112417439A (en) * 2019-08-21 2021-02-26 北京达佳互联信息技术有限公司 Account detection method, device, server and storage medium
CN113591068A (en) * 2021-08-03 2021-11-02 北京奇艺世纪科技有限公司 Online login equipment management method and device and electronic equipment
CN114139135A (en) * 2022-02-08 2022-03-04 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium
CN115001747A (en) * 2022-04-29 2022-09-02 北京奇艺世纪科技有限公司 Device control method, device, electronic device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080034411A1 (en) * 2006-08-03 2008-02-07 Fujitsu Limited Login administration method and server
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server
CN108833453A (en) * 2017-04-26 2018-11-16 腾讯科技(深圳)有限公司 A kind of method and apparatus determined using account
US9912676B1 (en) * 2017-06-30 2018-03-06 Study Social, Inc. Account sharing prevention and detection in online education
CN108053214A (en) * 2017-12-12 2018-05-18 阿里巴巴集团控股有限公司 A kind of recognition methods of wash sale and device
CN112417439A (en) * 2019-08-21 2021-02-26 北京达佳互联信息技术有限公司 Account detection method, device, server and storage medium
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN113591068A (en) * 2021-08-03 2021-11-02 北京奇艺世纪科技有限公司 Online login equipment management method and device and electronic equipment
CN114139135A (en) * 2022-02-08 2022-03-04 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium
CN115001747A (en) * 2022-04-29 2022-09-02 北京奇艺世纪科技有限公司 Device control method, device, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208388A (en) * 2023-02-08 2023-06-02 江西数字网联信息安全技术有限公司 Method, device, medium and equipment for logging in multiple devices by same account

Similar Documents

Publication Publication Date Title
EP3544250B1 (en) Method and device for detecting dos/ddos attack, server, and storage medium
CN105577608B (en) Network attack behavior detection method and device
CN110417778B (en) Access request processing method and device
CN108183950B (en) Method and device for establishing connection of network equipment
CN109698809B (en) Method and device for identifying abnormal login of account
WO2021218341A1 (en) Webpage analog input detection method and apparatus, computer device, and storage medium
CN112422554B (en) Method, device, equipment and storage medium for detecting abnormal traffic external connection
CN115186249A (en) Management method and system for multi-device simultaneous login, electronic device and storage medium
CN105847277A (en) Service account share management method and system used for third party application
CN107426136B (en) Network attack identification method and device
CN110959158A (en) Information processing apparatus, information processing method, and information processing program
CN104967603B (en) Using account number safety verification method and device
CN104426881A (en) Method and device for detecting malicious behavior
CN109547427A (en) Black list user's recognition methods, device, computer equipment and storage medium
CN106730847B (en) Game plug-in detection method and device
CN111556068B (en) Flow characteristic identification-based distributed denial service monitoring and prevention and control method
CN111953635B (en) Interface request processing method and computer-readable storage medium
CN110442466A (en) Prevent request repeated accesses method, apparatus, computer equipment and storage medium
CN105988835B (en) Software upgrading method and terminal
CN106161127B (en) Class of subscriber detection method and device
CN109379324B (en) Website access method and device, readable storage medium and computer equipment
CN114153553A (en) High-availability control method and system for virtual machine and related components
CN113810486B (en) Internet of things platform docking method and device, electronic equipment and storage medium
CN112565162A (en) Method and device for detecting account stealing behavior
CN111930995B (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221014