CN114048441A - Control method and device for login user, storage medium and terminal equipment - Google Patents
Control method and device for login user, storage medium and terminal equipment Download PDFInfo
- Publication number
- CN114048441A CN114048441A CN202111248501.8A CN202111248501A CN114048441A CN 114048441 A CN114048441 A CN 114048441A CN 202111248501 A CN202111248501 A CN 202111248501A CN 114048441 A CN114048441 A CN 114048441A
- Authority
- CN
- China
- Prior art keywords
- login
- current time
- terminal equipment
- users
- time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000012795 verification Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 230000003111 delayed effect Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 230000001276 controlling effect Effects 0.000 description 3
- 230000000875 corresponding effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/107—License processing; Key processing
- G06F21/1078—Logging; Metering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a control method and device for a login user, terminal equipment and a storage medium, and relates to the field of office automation. The method comprises the following steps: receiving a login request message from terminal equipment; if the current time is located in one of a plurality of preset time intervals, taking the time interval in which the current time is located as a target time interval; determining the maximum simultaneous online number associated with the target time interval; if the number of the users in the login state at the current time is larger than or equal to the maximum simultaneous online number, a login rejection message is sent to the terminal equipment.
Description
Technical Field
The present application relates to the field of office automation, and in particular, to a method, a system, an apparatus, a storage medium, and a terminal device for controlling a login user.
Background
The current server supports simultaneous login of a plurality of users, only a limited number of users can simultaneously login due to the limitation of the computing capacity of the server, and in addition, the server supports multitask processing, so the computing capacity of the server may be dynamically changed, and if the number of the users logged in exceeds a certain number, the server cannot timely respond to the service requests of the users.
Disclosure of Invention
The application provides a control method, a related device and a storage medium for logging in a user, and solves the problem of how to ensure the reliability of a service when the computing capacity of a server dynamically changes.
In a first aspect, the present application provides a control method for a login user, including:
receiving a login request message from terminal equipment;
if the current time is located in one of a plurality of preset time intervals, taking the time interval in which the current time is located as a target time interval;
determining a maximum number of simultaneous online connections associated with the target time interval;
and if the number of the users in the login state at the current time is greater than or equal to the maximum simultaneous online number, sending a login rejection message to the terminal equipment.
In a second aspect, the present application provides a control device for logging in a user, including:
a receiving and sending unit, which is used for receiving the login request message from the terminal equipment;
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for taking a time interval in which the current time is positioned as a target time interval if the current time is positioned in one of a plurality of preset time intervals;
the determining unit is further configured to determine a maximum number of simultaneous online events associated with the target time interval;
and the control unit is used for sending a login rejection message to the terminal equipment if the number of the users in the login state at the current time is greater than or equal to the maximum simultaneous online number.
In another aspect, the present application provides an apparatus, which can implement the control method for a logged-in user in the first aspect. The above-described method may be implemented by software, hardware, or by executing corresponding software by hardware.
In one possible implementation manner, the structure of the apparatus includes a processor, a memory; the processor is configured to support the device to execute corresponding functions in the control method of the login user. The memory is used for coupling with the processor, which holds the necessary programs (instructions) and/or data for the device. Optionally, the apparatus may further include a communication interface for supporting communication between the apparatus and other network elements.
In another possible implementation manner, the apparatus may include a unit module for performing corresponding actions in the above method.
In yet another possible implementation, the wireless communication device includes a processor and a transceiver, the processor is coupled to the transceiver, and the processor is configured to execute a computer program or instructions to control the transceiver to receive and transmit information; the processor is further configured to implement the above-described method when the processor executes the computer program or instructions. The transceiver may be a transceiver, a transceiver circuit, or an input/output interface.
Yet another aspect of the present application provides an apparatus, comprising: a memory and a processor; wherein the memory stores a set of program codes, and the processor is configured to call the program codes stored in the memory and execute the method of the aspects.
The application further provides a terminal device comprising the above apparatus. Terminal devices include, but are not limited to, cell phones, computers, tablets, personal computers, servers or workstations, etc.
Yet another aspect of the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
According to the embodiment, the users who perform login operation at the current time are controlled according to the maximum simultaneous online number configured in the preset time intervals, and the scheme of controlling the number of the users who log in at the current time according to the time can flexibly adjust the number of login users in busy time intervals and idle time intervals, prevent the server from being attacked maliciously, consume computing capacity due to the fact that login operation is performed ceaselessly, and guarantee safe and stable operation of the server.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a diagram of a network architecture provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of a control method for logging in a user according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a configuration interface provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a control device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance. It will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Fig. 1 shows an exemplary system architecture of a control method of a login user or a control apparatus of a login user that can be applied to the present application.
As shown in fig. 1, the system architecture may include: a terminal device 101 and a server 102. The terminal device 101 and the server 102 may communicate with each other via a network, which is used as a medium for providing communication links between the above-mentioned respective units. The network may include various types of wired or wireless communication links, such as: the wired communication link includes an optical fiber, a twisted pair wire, or a coaxial cable, and the WIreless communication link includes a bluetooth communication link, a WIreless-FIdelity (Wi-Fi) communication link, or a microwave communication link, etc.
The terminal apparatus 101 and the server 102 may be hardware or software. When the terminal device 101 and the server 102 are hardware, they may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the terminal device 101 and the server 102 are software, they may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, and are not limited in this respect.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks, and servers may be used, as desired for implementation.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 2, fig. 2 is a schematic flowchart of a control method for logging in a user according to an embodiment of the present application, where the method includes:
s201, receiving a login request message from the terminal equipment.
When the terminal equipment needs to log in the server, the terminal equipment displays a login interface, the login interface comprises a login frame and a login button, a user inputs user information (a user name and a password) in the login frame, then the terminal equipment sends a login request message to the server after clicking the login button, the login request message carries the input user information, and the server receives the login request message from the terminal equipment.
S202, if the current time is in one of a plurality of preset time intervals, taking the time interval in which the current time is as a target time interval.
The server prestores or is preconfigured with a plurality of time intervals, the time intervals are not mutually overlapped, and the time interval is a time period and comprises a start time and an end time. The server acquires the current time, and the server can acquire the current time according to the timestamp carried in the login request message or acquire the current time at a time server deployed in the network, and judge whether the current time is located in any one of a plurality of preset time intervals.
For example: the server presets 3 time intervals which are respectively time interval 1, time interval 2 and time interval 3, wherein the starting time of the time interval 1 is 0:00, and the ending time is 6: 00; the start time of time interval 2 is 6:00, the end time is 8:00, the start time of time interval 3 is 8:00, and the end time is 22: 00. Assuming that the current time obtained by the server is 8:30, the current time is located in time interval 3. Assuming that the current time obtained by the server is 22:10, the current time is not located in any of the 3 time intervals.
S203, determining the maximum simultaneous online number related to the target time interval.
Wherein the server pre-stores or pre-configures a mapping relationship between the plurality of time intervals and the maximum simultaneous online number in S202. In the mapping relation, the maximum simultaneous online number and the computing power of the server in a time interval are in positive correlation, and the computing power comprises CPU occupancy rate, free memory, network bandwidth and the like.
And S204, if the number of the users in the login state at the current time is greater than or equal to the maximum simultaneous online number, sending a login rejection message to the terminal equipment.
The server counts the number of users in the login state at the current time, if the data is greater than or equal to the maximum simultaneous online number acquired in step S203, the server indicates that the server cannot provide service for the terminal device, the server sends a login rejection message to the terminal device, the login rejection message carries a login failure reason, and the users can log in a delayed manner according to the login failure reason.
In one or more possible embodiments, before receiving the login request message from the terminal device, the method further includes:
setting a plurality of time intervals, and configuring the maximum simultaneous online number for each time interval; different time intervals are associated with different maximum simultaneous online numbers.
The server can configure the maximum simultaneous online number of the multiple time intervals through the configuration interface, the maximum simultaneous online number is related to the calculation capacity of the server in the time intervals, the maximum simultaneous online number related to the time intervals is related to the calculation capacity of the server in the time intervals, the maximum simultaneous online number is larger when the calculation capacity is larger, and the maximum simultaneous online number is smaller when the calculation capacity is smaller. The user may add or delete time intervals through a configuration interface of the server.
For example, referring to the user interface shown in fig. 3, the user configures 4 time intervals, namely time interval 1, time interval 2, time interval 3, and time interval 4, through the configuration interface, where the starting time of time interval 1 is 0: 00-6: 00, the starting time of the time interval 2 is 6: 00-8: 00, the starting time of the time interval 3 is 8: 00-18: 00, the starting time of the time interval 4 is 18: 00-22: 00, the maximum simultaneous online number associated with the time interval 1 is 100, the maximum simultaneous online number associated with the time interval 2 is 200, the maximum simultaneous online number associated with the time interval 3 is 300, and the maximum simultaneous online number associated with the time interval 4 is 100. Further, the configuration interface also comprises a newly added button and a deleted button, when the user clicks the newly added button, the user can set a new time interval and configure the maximum simultaneous online number according to the computing capacity in the time interval; when a user selects any configured time interval, clicking a delete button can delete the selected time interval and the maximum simultaneous online number associated with the time interval.
In one or more possible embodiments, the method further comprises:
and if the number of the users in the login state at the current time is less than the maximum simultaneous online number, verifying account information carried in the login request message, and after the verification is passed, sending a login success message to the terminal equipment.
The login request message carries account information, the account information comprises a user name and a password, when the server judges that the number of users in the login state at the current time is smaller than the maximum simultaneous online number associated with the target time interval determined in the step S202, whether the account information is correct or not is continuously verified, if yes, a login success message is sent to the terminal device, and therefore the terminal device can successfully log in the server to use the service provided by the server.
In one or more possible embodiments, the method further comprises:
if the current time does not fall into any one of the preset multiple time intervals, continuously judging whether the number of the users in the login state at the current time is larger than or equal to a preset user number threshold value or not;
if so, sending a login rejection message to the terminal equipment; or
If not, the account information carried in the login request message is verified, and after the verification is passed, a login success message is sent to the terminal equipment.
The server prestores or preconfigures a user number threshold, and if the current time does not fall into any one of a plurality of preset time intervals, the judgment is performed based on the user number threshold, and the judgment process can refer to a process of the maximum simultaneous online number, which is not described herein again.
Further, the login rejection request message carries a delay time, the delay time is randomly generated by the server, and the delay time is used for indicating the terminal device to perform the delayed login
The method comprises the steps that a server randomly generates a delay length when judging that the number of users in a login state at the current time is larger than or equal to the inquired maximum simultaneous online number, sends login rejection information carrying the delay length to a terminal device, the terminal device receives the login rejection information and analyzes the login rejection information to obtain the delay length, and after waiting for the delay length, the server sends login request information again.
In one or more possible embodiments, the sending a login rejection message to the terminal device if the number of users in the login state at the current time is greater than or equal to the maximum number of simultaneous online users includes:
if the number of the users in the login state at the current time is larger than or equal to the maximum number of the simultaneous online users, analyzing the priority carried in the login request message, and if the priority is the preset lowest priority, sending a login rejection message to the terminal equipment.
The server prestores or preconfigures a plurality of priorities, each user is configured with a priority, the login request message carries the priorities of the users, and the plurality of priorities comprise the lowest priority and the highest priority.
Further, the method further comprises:
if the priority is the preset highest priority, selecting a target user from the users in the login state at the current time, forcibly downloading the target user, verifying the account information carried in the login request message after the target user is forcibly downloaded, and sending a login success message to the terminal equipment after the verification is passed; the target user is a user whose duration of the continuous data transmission quantity smaller than the transmission quantity threshold is smaller than the duration threshold and is a preset service type.
The transmission quantity threshold value is close to 0, the duration threshold value can be determined according to time requirements, the method and the device can forcibly off line a user who does not perform data transmission for a long time, service improvement for the user with the highest priority and the preset service type is guaranteed, the reliability of the service of the user is improved, the service type of the user comprises a voice call service, a text transmission task and a picture transmission task, and the preset task is the voice call task.
The implementation of the embodiment of the application has the following beneficial effects: the scheme of controlling the number of users logging in at the current time according to the time can flexibly adjust the number of logging users in busy time and idle time, prevent the server from being attacked maliciously, consume computing capacity due to ceaseless login operation and ensure safe and stable operation of the server.
Fig. 2 above details the control method of the logged-in user. Correspondingly, the structure of the control device in the embodiment of the application is schematically shown.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a control device 4 according to an embodiment of the present application, where the control device 4 may include: a transceiving unit 401, a determination unit 402 and a control unit 403.
A transceiver unit 401, configured to receive a login request message from a terminal device;
a determining unit 402, configured to, if a current time is located in one of a plurality of preset time intervals, use the time interval in which the current time is located as a target time interval;
the determining unit 402 is further configured to determine a maximum number of simultaneous online lines associated with the target time interval;
a control unit 403, configured to send a login rejection message to the terminal device if the number of users in the login state at the current time is greater than or equal to the maximum number of simultaneous online users.
In one or more possible embodiments, the method further comprises:
the setting unit is used for setting a plurality of time intervals and configuring the maximum simultaneous online number for each time interval, and different time intervals are associated with different maximum simultaneous online numbers.
In one or more possible embodiments, the control unit 403 is further configured to:
and if the number of the users in the login state at the current time is less than the maximum simultaneous online number, verifying account information carried in the login request message, and after the verification is passed, sending a login success message to the terminal equipment.
In one or more possible embodiments, the control unit 403 is further configured to:
if the current time does not fall into any one of the preset multiple time intervals, continuously judging whether the number of the users in the login state at the current time is larger than or equal to a preset user number threshold value or not;
if so, sending a login rejection message to the terminal equipment; or
If not, the account information carried in the login request message is verified, and after the verification is passed, a login success message is sent to the terminal equipment.
In one or more possible embodiments, the login request denial message carries a delay time, where the delay time is randomly generated by a server, and the delay time is used to instruct the terminal device to perform a delayed login.
In one or more possible embodiments, the sending a login rejection message to the terminal device if the number of users in the login state at the current time is greater than or equal to the maximum number of simultaneous online users includes:
if the number of the users in the login state at the current time is larger than or equal to the maximum number of the simultaneous online users, analyzing the priority carried in the login request message, and if the priority is the preset lowest priority, sending a login rejection message to the terminal equipment.
In one or more possible embodiments, the control unit 403 is further configured to:
if the priority is the preset highest priority, selecting a target user from the users in the login state at the current time, forcibly downloading the target user, verifying the account information carried in the login request message after the target user is forcibly downloaded, and sending a login success message to the terminal equipment after the verification is passed; the target user is a user whose duration of the continuous data transmission quantity smaller than the transmission quantity threshold is smaller than the duration threshold and is a preset service type.
The embodiment of the present application and the embodiment of the method in fig. 2 are based on the same concept, and the technical effects brought by the embodiment are also the same, and the specific process may refer to the description of the embodiment of the method in fig. 2, and will not be described again here.
The device 4 may be a terminal device, and the device 4 may also be a field-programmable gate array (FPGA), an application-specific integrated chip (asic), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit, a Micro Controller Unit (MCU), or a Programmable Logic Device (PLD) or other integrated chips.
Please refer to fig. 5, which provides a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 5, the terminal device includes the terminal device 101 in fig. 1, and the terminal device 500 may include: at least one processor 501, at least one network interface 504, a user interface 503, memory 505, at least one communication bus 502.
Wherein a communication bus 502 is used to enable connective communication between these components.
Optionally, the user interface 503 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 503 may also include a standard wired interface and a wireless interface.
The network interface 504 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
The Memory 505 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable medium. The memory 505 may be used to store instructions, programs, code sets, or instruction sets. The memory 505 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 505 may alternatively be at least one memory device located remotely from the processor 501. As shown in fig. 5, the memory 505, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application program.
In the terminal device 500 shown in fig. 5, the user interface 503 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and processor 501 may be configured to invoke an application stored in memory 505 and to perform the method embodiment of fig. 2 in particular.
The concept of this embodiment is the same as that of the embodiment of the method in fig. 2, and the technical effects brought by the embodiment are also the same, and the specific process can refer to the description of the embodiment in fig. 2, and will not be described again here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.
Claims (10)
1. A control method for logging in a user is characterized by comprising the following steps:
receiving a login request message from terminal equipment;
if the current time is located in one of a plurality of preset time intervals, taking the time interval in which the current time is located as a target time interval;
determining a maximum number of simultaneous online connections associated with the target time interval;
and if the number of the users in the login state at the current time is greater than or equal to the maximum simultaneous online number, sending a login rejection message to the terminal equipment.
2. The method of claim 1, wherein before receiving the login request message from the terminal device, the method further comprises:
setting a plurality of time intervals, and configuring the maximum simultaneous online number for each time interval, wherein different time intervals are associated with different maximum simultaneous online numbers.
3. The method of claim 1 or 2, further comprising:
and if the number of the users in the login state at the current time is less than the maximum simultaneous online number, verifying account information carried in the login request message, and after the verification is passed, sending a login success message to the terminal equipment.
4. The method of claim 3, further comprising:
if the current time does not fall into any one of the preset multiple time intervals, continuously judging whether the number of the users in the login state at the current time is larger than or equal to a preset user number threshold value or not;
if so, sending a login rejection message to the terminal equipment; or
If not, the account information carried in the login request message is verified, and after the verification is passed, a login success message is sent to the terminal equipment.
5. The method according to claim 1, 2 or 4, wherein the login request rejection message carries a delay time, the delay time is randomly generated by a server, and the delay time is used for instructing the terminal device to perform delayed login.
6. The method of claim 5, wherein sending a login rejection message to the terminal device if the number of users in the login state at the current time is greater than or equal to the maximum number of simultaneous online users comprises:
if the number of the users in the login state at the current time is larger than or equal to the maximum number of the simultaneous online users, analyzing the priority carried in the login request message, and if the priority is the preset lowest priority, sending a login rejection message to the terminal equipment.
7. The method of claim 6, further comprising:
if the priority is the preset highest priority, selecting a target user from the users in the login state at the current time, forcibly downloading the target user, verifying the account information carried in the login request message after the target user is forcibly downloaded, and sending a login success message to the terminal equipment after the verification is passed; the target user is a user whose duration of the continuous data transmission quantity smaller than the transmission quantity threshold is smaller than the duration threshold and is a preset service type.
8. A control device for a login user, comprising:
a receiving and sending unit, which is used for receiving the login request message from the terminal equipment;
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for taking a time interval in which the current time is positioned as a target time interval if the current time is positioned in one of a plurality of preset time intervals;
the determining unit is further configured to determine a maximum number of simultaneous online events associated with the target time interval;
and the control unit is used for sending a login rejection message to the terminal equipment if the number of the users in the login state at the current time is greater than or equal to the maximum simultaneous online number.
9. A terminal device comprising a processor and a memory, wherein the memory is configured to store a computer program comprising program instructions, and wherein the processor is configured to invoke the program instructions to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111248501.8A CN114048441A (en) | 2021-10-26 | 2021-10-26 | Control method and device for login user, storage medium and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111248501.8A CN114048441A (en) | 2021-10-26 | 2021-10-26 | Control method and device for login user, storage medium and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114048441A true CN114048441A (en) | 2022-02-15 |
Family
ID=80205835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111248501.8A Pending CN114048441A (en) | 2021-10-26 | 2021-10-26 | Control method and device for login user, storage medium and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114048441A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115001747A (en) * | 2022-04-29 | 2022-09-02 | 北京奇艺世纪科技有限公司 | Device control method, device, electronic device and storage medium |
CN115065512A (en) * | 2022-05-31 | 2022-09-16 | 北京奇艺世纪科技有限公司 | Account login method, system, device, electronic equipment and storage medium |
-
2021
- 2021-10-26 CN CN202111248501.8A patent/CN114048441A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115001747A (en) * | 2022-04-29 | 2022-09-02 | 北京奇艺世纪科技有限公司 | Device control method, device, electronic device and storage medium |
CN115001747B (en) * | 2022-04-29 | 2024-03-01 | 北京奇艺世纪科技有限公司 | Equipment control method, device, electronic equipment and storage medium |
CN115065512A (en) * | 2022-05-31 | 2022-09-16 | 北京奇艺世纪科技有限公司 | Account login method, system, device, electronic equipment and storage medium |
CN115065512B (en) * | 2022-05-31 | 2024-03-15 | 北京奇艺世纪科技有限公司 | Account login method, system, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7112919B2 (en) | Smart device task processing method and device | |
CN110365752B (en) | Service data processing method and device, electronic equipment and storage medium | |
CN109474688B (en) | Method, device, equipment and medium for sending instant communication network request message | |
WO2021237433A1 (en) | Message pushing method and apparatus, and electronic device and computer-readable medium | |
CN114048441A (en) | Control method and device for login user, storage medium and terminal equipment | |
CN112989325A (en) | Service calling method and device, storage medium and electronic equipment | |
CN108712320B (en) | Message pushing method and device | |
CN112346751B (en) | Application program installation method and device, electronic equipment and storage medium | |
CN104010001A (en) | Method and system for carrying out connection communication on same networking requests in mobile terminal | |
CN112104679B (en) | Method, apparatus, device and medium for processing hypertext transfer protocol request | |
CN113617020B (en) | Game control method, game control device, storage medium, server and terminal | |
CN110995780A (en) | API calling method and device, storage medium and electronic equipment | |
CN112860431A (en) | Connection method, system, equipment and storage medium of micro service node | |
CN111782366A (en) | Distributed task scheduling method and device | |
CN114745338B (en) | Flow control method, device, storage medium and server | |
CN114286293B (en) | Message push management method, device, system, computer equipment and storage medium | |
CN116173495A (en) | Game progress distribution control method and device, electronic equipment and storage medium | |
CN113096659B (en) | Router control method, device, equipment and storage medium | |
CN115410580A (en) | Voice recognition method, device, equipment and medium for command scheduling system | |
CN107729136B (en) | Processing priority configuration method and device based on FPGA | |
CN115865974A (en) | Edge device, cloud device, edge computing system and method, and storage medium | |
CN114064395A (en) | Method and device for monitoring health degree of integrated interface, storage medium and electronic equipment | |
CN114065184A (en) | Account management method and device, storage medium and server | |
CN111479137B (en) | Method and device for providing line address, server and storage medium | |
CN115190124B (en) | Message transmission method and device based on distributed industrial control system, storage medium and scheduling server |
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 |