CN115688069B - System login request response method, device and equipment - Google Patents

System login request response method, device and equipment Download PDF

Info

Publication number
CN115688069B
CN115688069B CN202211375969.8A CN202211375969A CN115688069B CN 115688069 B CN115688069 B CN 115688069B CN 202211375969 A CN202211375969 A CN 202211375969A CN 115688069 B CN115688069 B CN 115688069B
Authority
CN
China
Prior art keywords
user
registration information
historical
registration
current version
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.)
Active
Application number
CN202211375969.8A
Other languages
Chinese (zh)
Other versions
CN115688069A (en
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.)
Jiangxi Isuzu Motors Co Ltd
Original Assignee
Jiangxi Isuzu Motors 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 Jiangxi Isuzu Motors Co Ltd filed Critical Jiangxi Isuzu Motors Co Ltd
Priority to CN202211375969.8A priority Critical patent/CN115688069B/en
Publication of CN115688069A publication Critical patent/CN115688069A/en
Application granted granted Critical
Publication of CN115688069B publication Critical patent/CN115688069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a system login request response method, a device and equipment, wherein the method comprises the following steps: when a login request of a new login user in a current version system is received, judging whether historical registration data of the current version system is stored locally; if the user identification information is stored, acquiring the user identification information input in the login request, and converting the user identification information into a corresponding user identification character string; matching the user identification character string with the history registration data, and judging whether the newly logged-in user is a history user or not according to a matching result; if the user is a historical user, acquiring registration information of a newly registered user from historical registration data, and updating the registration information in a registry of the current version system; responding to a login request of a new login user in the current version system. The invention can automatically and rapidly complete the registration information conversion of the front and rear system versions, and can effectively avoid the continuous accumulation of invalid registration information along with the upgrading of the versions.

Description

System login request response method, device and equipment
Technical Field
The present invention relates to the field of system management technologies, and in particular, to a method, an apparatus, and a device for responding to a system login request.
Background
At present, many enterprises can use an employee management system to manage basic information, performance, department information, research and development information and the like of employees, so that the defects that the labor intensity is high, omission is easy, information cannot be synchronously updated in real time and the like in the conventional mode of managing a special form are overcome.
It is well known that with the upgrading of system function requirements, or the increase of system access, or in order to address system-existing bugs, it is often necessary to upgrade staff management systems. However, for some upgrades with smaller changes, the registration information of the original version still applies to the current version, but for some upgrades with larger changes, for example, registration information items are added or modified, such as department information is added, the registration information of the original version after the upgrade cannot apply to the current version, and at this time, a system upgrade personnel is required to manually convert the registration information of the original version into the registration information of the current version, which has the following defects:
1) The method is time-consuming and labor-consuming, either a system upgrade person is required to manually input the registration information of the original version into the registration table of the current version, or a program is required to be programmed to realize the information association between the registration table of the original version and the registration table of the current version, and then the registration tables of the current version are mapped one by one, so that the workload is huge for a plurality of enterprises of staff, and the current system upgrade person often skips the link, namely, the conversion of the registration information of two versions is not performed, so that a user needs to re-register when logging in the current version system;
2) Because it is unclear to the system upgrade personnel which registration information is not required to be converted to a new version, for example, registration information of the off-staff, so that all registration information of all persons in the previous version can be converted in a full disc, invalid registration information is accumulated continuously along with the upgrade of the version, and finally, the running speed of the system is influenced, and meanwhile, the management of a company is also not facilitated.
Disclosure of Invention
Based on this, the present invention aims to provide a system login request response method, device and equipment, so as to solve at least one technical problem in the background art.
According to the embodiment of the invention, a system login request response method comprises the following steps:
when a login request of a new login user in a current version system is received, judging whether historical registration data of the current version system is locally stored or not, wherein the historical registration data comprise registration information of a plurality of historical users, and the registration information of the historical users is converted into a one-dimensional array structure for storage according to a preset format before the current version system is upgraded;
if the user identification information is stored, acquiring the user identification information input in the login request, and converting the user identification information into a corresponding user identification character string according to the one-dimensional array structure;
Matching the user identification character string with the history registration data, and judging whether the newly registered user is a history user according to a matching result;
if the user is a historical user, acquiring the registration information of the newly registered user from the historical registration data, and updating the registration information in a registry of the current version system;
and responding to the login request of the new login user in the current version system according to the updated registration information of the registry of the current version system.
In addition, the system login request response method according to the above embodiment of the present invention may further have the following additional technical features:
further, the one-dimensional array structure comprises a cut-off symbol, a start symbol and a plurality of information identification bits positioned between the cut-off symbol and the start symbol, wherein a character string of the information identification bits is used for identifying at least one registration information of the historical user;
the registration information of the plurality of historical users is orderly arranged to form the historical registration data of the current version system.
Further, the step of matching the user identification string with the history registration data and judging whether the newly registered user is a history user according to a matching result includes:
Intercepting registration information of the historical users one by one from historical registration data of the current version system by taking a cut-off symbol and a start symbol as head-tail interceptors;
matching the user identification character string with the intercepted character string of the information identification bit of the registration information of each historical user; and if the matching is successful, judging the newly logged-in user as a historical user.
Further, the step of acquiring the registration information of the newly registered user from the historical registration data and updating the newly registered user in the registry of the current version system includes:
intercepting a character string of each information identification bit of registration information corresponding to the newly registered user from the historical registration data;
inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user;
and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
Further, after the step of correspondingly entering the user registration information of the newly registered user into the registry of the current version system, the method further includes:
Replacing the stop symbol and the start symbol of the registration information corresponding to the new login user with the corresponding locking symbol;
then, the step of intercepting the registration information of the historical user from the historical registration data of the current version system by taking the cut-off symbol and the start symbol as the head-to-tail interceptor comprises the following steps:
and intercepting the registration information of the historical user from the historical registration data of the current version system by taking the cut-off symbol and the start symbol as head-tail interceptors, and skipping intercepting the registration information of the historical user with the cut-off symbol and the start symbol as locking symbols.
Further, the initial symbols of the registration information of each history user are different, the history registration data correspondingly form a history registration abstract, and the history registration abstract comprises key identification character strings of each history user and the initial symbols of the registration information;
the step of matching the user identification character string with the history registration data and judging whether the newly registered user is a history user according to a matching result comprises the following steps:
searching the user identification character string in the history registration abstract, and judging the newly logged-in user as a history user if a target key identification character string consistent with the user identification character string is searched.
Further, the step of acquiring the registration information of the newly registered user from the historical registration data and updating the registration information in the registry of the current version system includes:
determining a target initiator corresponding to the target key identification character string from the historical registration abstract;
intercepting character strings of each information identification bit of registration information corresponding to the newly logged-in user from the historical registration data by taking a target initiator and a cut-off as head-to-tail interceptors;
inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user;
and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
Further, the method further comprises the following steps:
randomly acquiring a number from a number library according to each registration information of the historical user to obtain a number corresponding to each registration information of the historical user;
randomly determining a target number from numbers corresponding to each registration information of the historical user, and determining a corresponding number processing mode according to the target number;
Processing the number corresponding to each registration information of the historical user in a number processing mode corresponding to the target number, and taking the processing result as a corner mark value;
and taking the corner mark value as a subscript of a preset character to generate a locking symbol corresponding to the historical user.
According to an embodiment of the invention, a system login request response device comprises:
the login judging module is used for judging whether historical registration data of the current version system are stored locally or not when a login request of a new login user in the current version system is received, wherein the historical registration data comprise registration information of a plurality of historical users, and the registration information of the historical users is converted into a one-dimensional array structure to be stored according to a preset format before the current version system is upgraded;
the information processing module is used for acquiring user identification information input in the login request when judging that the history registration data of the current version system is locally stored, and converting the user identification information into a corresponding user identification character string according to the one-dimensional array structure;
the matching judgment module is used for matching the user identification character string with the history registration data and judging whether the newly registered user is a history user or not according to a matching result;
The registration updating module is used for acquiring registration information of the new login user from the history registration data and updating the registration information in a registry of the current version system when the new login user is judged to be the history user;
and the login response module is used for responding to the login request of the new login user in the current version system according to the updated registration information of the registry of the current version system.
The present invention also proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the system login request response method described above.
The invention also provides a system login request response device which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the system login request response method when executing the program.
Compared with the prior art: the registration information of the history user is converted into a one-dimensional array structure according to a preset format before the current version system is upgraded and stored, after the current version system is upgraded, when a login request of a new login user in the current version system is received, whether the new login user is the history user or not is judged based on a matching result of the user identification information input in the login request and the one-dimensional array structure of the registration information of the history user, if the new login user is the history user, the registration information of the new login user is obtained from the history registration data and updated in a registry of the current version system, so that the conversion of the registration information of the previous version and the later version is automatically completed, the workload of system upgrading personnel is greatly simplified, and the user is ensured not to need to register again when the user logs in the current version system. More importantly, the method only triggers the conversion of the historical registration information of the employee into the current version registry when the employee logs in the current version system, so that invalid historical registration information such as the off-staff is not brought into the new version, the invalid registration information is prevented from being accumulated continuously along with the upgrading of the version, and the method is beneficial to company management.
Drawings
FIG. 1 is a flowchart of a system login request response method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a one-dimensional array structure according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system login request responding device according to a fourth embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system login request responding device in a fifth embodiment of the present invention.
The following detailed description will further illustrate the invention with reference to the above-described drawings.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, a system login request response method according to a first embodiment of the present invention is shown, and the method specifically includes steps S01-S05.
And step S01, when a login request of a new login user in a current version system is received, judging whether historical registration data of the current version system is locally stored, wherein the historical registration data comprise registration information of a plurality of historical users, and the registration information of the historical users is converted into a one-dimensional array structure for storage according to a preset format before the current version system is upgraded.
When it is judged that the history registration data of the current version system is locally stored, executing step S02; when judging that the historical registration data of the current version system is not stored locally, prompting a newly-logged-in user to perform system registration if the current version system belongs to the first version or the historical registration data is lost.
The historical registration data of the current version system can be the registration data of a previous version of the system. In a specific implementation, the historical registration data of the current version system may be named as a composite of the system name and the version number, for example, named as an internal employee management system V1.0, and if the current version system is the version V2.0 of the internal employee management system, the version V1.0 is the last version of the version V2.0, then a file named as the internal employee management system V1.0 may be searched locally, so as to determine whether the historical registration data of the current version system is stored locally. The historical registration data comprises registration information of a plurality of historical users, the registration information is related information recorded when the historical users register to use the system at first, and can also comprise related information which requests the users to record in the middle of the process of using the system, and the registration information can comprise, but is not limited to, basic information, performance, department information, research and development information, account passwords and the like.
It should be noted that the purpose of the present invention is to convert the previous version of registration data into the current version of registration data. Specifically, before the current version system is upgraded, that is, when an upgrade command is received, the system will automatically convert the registration data of the previous version into a one-dimensional array structure according to a preset format for storage, and after the system is successfully upgraded, when a new login user logs in the upgraded current version system, the system will automatically extract the historical registration information of the new login user from the registration data of the one-dimensional array structure of the previous version, and correspondingly convert the historical registration information into the registration information of the current version.
The one-dimensional array structure is an array which is composed of numbers and is arranged in a simple ordering structure and has a single structure, and specifically, each piece of registration information of the historical user can be encoded based on a binary encoding mode, and each piece of registration information of the historical user after being encoded is ordered according to a preset sequence, so that the registration information in the one-dimensional array structure form of the historical user is finally obtained. The purpose of converting the registration data into a one-dimensional array structure is to improve the data compatibility because the one-dimensional array structure is a simple array and no complex data structure exists, adapt to the requirements of various types and versions, ensure the subsequent normal conversion of the whole registration data into the registration data of the current version, and realize the conversion of the registration information of the user when the user logs in the current version system.
Step S02, user identification information input in the login request is obtained, and the user identification information is converted into a corresponding user identification character string according to the one-dimensional array structure.
It should be noted that, one of the purposes of the present invention is to ensure that after version upgrade, the history user can still log in directly by account number and password without re-registration. Therefore, for the historical user, only the account number and the password are required to be input in the login interface of the current version system, the login request contains the user identification information, the user identification information is preferably the account number, then the user identification information is converted into the corresponding user identification character string according to the one-dimensional array structure, for example, if the one-dimensional array structure adopts binary coding, the account number is binary coded to form the user identification character string.
And step S03, matching the user identification character string with the history registration data, and judging whether the newly registered user is a history user according to a matching result.
If the matching of the user identification string and the history registration data is successful, the account representing the newly registered user is registered before, and then the newly registered user is determined to be the history user, step S04-step S05 is executed, if the matching of the user identification string and the history registration data is unsuccessful, the account representing the newly registered user is not registered before, at this time, either the account is input erroneously or is not registered before, and at this time, the newly registered user may be prompted to perform system registration.
Step S04, obtaining the registration information of the newly registered user from the historical registration data and updating the registration information in the registry of the current version system.
Specifically, the location (i.e. the location of successful matching) of the registration information of the newly logged-in user in the historical registration data can be determined by using the user identification character string, then the registration information of the newly logged-in user is intercepted from the historical registration data, and is subjected to one-dimensional array structure inverse conversion, so that the historical registration information of the newly logged-in user is obtained, and then the registration information is logged into the registry of the current version system. Each registration information item is correspondingly arranged in the registration table of the current version system, each registration information item is correspondingly input into the corresponding registration information item, and the user can be prompted to input after the newly added registration information items are successfully logged into the system.
And step S05, responding to the login request of the new login user in the current version system according to the updated registration information of the registry of the current version system.
After the registration information of the registry of the current version system is updated, the system can acquire the account number and the password of the new login user from the registry of the current version system, then verify the account number and the password input in the user login request, allow the login of the system if the verification is successful, and prompt the password error if the verification is unsuccessful.
Further, in some optional embodiments, before step S01, the system login request response method may further include:
when receiving a login request of any target user in a current version system, judging whether the target user is a new login user, and if so, executing a step S01; if the target user is not the new login user, the registration information of the target user is converted when the target user is logged in, and the registration request is responded directly according to the registration information of the registry of the current version system.
In the implementation, the account in the login request can be matched in the registry of the current version system, if the matching is successful, the target user is judged to be not a new login user, and if the matching is unsuccessful, the target user is judged to be the new login user.
In summary, in the system login request response method in the above embodiment of the present invention, by converting the registration information of the new login user into a one-dimensional array structure according to a preset format before upgrading the current version system, after upgrading, when receiving the login request of the new login user in the current version system, based on the matching result of the user identification information input in the login request and the one-dimensional array structure of the registration information of the history user, determining whether the new login user is the history user, if the new login user is the history user, acquiring the registration information of the new login user from the history registration data, and updating the registration information in the registry of the current version system, thereby automatically completing the conversion of the registration information of the previous version and the next version, greatly simplifying the workload of system upgrading personnel, and ensuring that the user does not need to re-register when logging in the current version system. More importantly, the method only triggers the conversion of the historical registration information of the employee into the current version registry when the employee logs in the current version system, so that invalid historical registration information such as the off-staff is not brought into the new version, the invalid registration information is prevented from being accumulated continuously along with the upgrading of the version, and the method is beneficial to company management.
Example two
The second embodiment of the present invention also provides a system login request response method, which is different from the system login request response method in the first embodiment in that:
as shown in fig. 2, in this embodiment, the one-dimensional array structure specifically includes a stop symbol, a start symbol, and a plurality of information identification bits located between the stop symbol and the start symbol, where a character string of the information identification bits is used to identify at least one registration information of the history user, and may be obtained based on, for example, binary code conversion. The registration information of a plurality of historical users is orderly arranged to form the historical registration data of the current version system. Specifically, the registration information of several historical users may be ranked end to end, or may be ranked row by row or column by column.
Wherein, a plurality of information identification bits are regularly arranged, for example, sequentially arranged from beginning to end: account numbers, passwords, gender, departments, performance, academia, etc., one information identification bit can identify one or more pieces of information, so that the information can be conveniently converted into a registry of a current version.
Then, the step of matching the user identification character string with the history registration data and judging whether the newly registered user is a history user according to a matching result specifically includes:
Intercepting registration information of the historical users one by one from historical registration data of the current version system by taking a cut-off symbol and a start symbol as head-tail interceptors;
matching the user identification character string with the intercepted character string of the information identification bit of the registration information of each historical user; and if the matching is successful, judging the newly logged-in user as a historical user.
According to the embodiment, by adopting the one-dimensional array structure with the special structure, the registration information of each historical user can be intercepted from the whole historical registration data, then the user identification character string is matched with the character string of the information identification bit of the intercepted registration information of each historical user, if the matching is successful, the newly-logged-in user is judged to be the historical user, and the response waiting time of the historical user for logging in the current version system for the first time is further shortened.
Correspondingly, the step of acquiring the registration information of the newly registered user from the historical registration data and updating the newly registered user in the registry of the current version system specifically comprises the following steps:
intercepting a character string of each information identification bit of registration information corresponding to the newly registered user from the historical registration data;
Inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user;
and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
Further, in some preferred cases of this embodiment, after the step of correspondingly entering the user registration information of the newly registered user into the registry of the current version system, the method may further include:
replacing the stop symbol and the start symbol of the registration information corresponding to the new login user with the corresponding locking symbol;
then, the step of intercepting the registration information of the historical user from the historical registration data of the current version system by taking the cut-off symbol and the start symbol as the head-to-tail interceptor comprises the following steps:
and intercepting the registration information of the historical user from the historical registration data of the current version system by taking the cut-off symbol and the start symbol as head-tail interceptors, and skipping intercepting the registration information of the historical user with the cut-off symbol and the start symbol as locking symbols.
That is, by replacing the cut-off and start-up symbols of the history registration information that has been successfully converted with the corresponding lock-up symbols, the history registration information will not be intercepted again later under the action of the lock-up symbols, but will be skipped directly, for example, when the history registration information of the third party is successfully converted into the registry of the current version system, the cut-off symbols and start-up symbols of the history registration information of the third party will be replaced with the corresponding lock-up symbols in the history registration data of the current version system, and when the history registration information conversion is performed by other subsequent people, the history registration information of the third party will be skipped directly, so that the repeated identification of the history registration information that has been successfully converted is avoided, and the benefit of shorter response waiting time for logging into the current version system later is achieved.
Example III
The third embodiment of the present invention also provides a system login request response method, which is different from the system login request response method in the second embodiment in that:
the registration information of each history user has different initial sign and same final sign, for example, the initial sign is& 1 -& 100 The start symbol and stop symbol of registration information corresponding to 100 history users respectively are #, for example. The history registration data correspondingly forms a history registration abstract, and the history registration abstract comprises key identification character strings of each history user and a starter of registration information. That is, in this embodiment, registration information of different historical users is distinguished by using different initiator, and then the initiator is associated with a key identification string of the historical user to form a historical registration summary corresponding to the historical registration data, where the historical registration summary only includes the initiator and the key identification string corresponding to the initiator, and the key identification string is, for example, an account string.
The step of matching the user identification character string with the history registration data and judging whether the newly registered user is a history user according to a matching result comprises the following steps:
Searching the user identification character string in the history registration abstract, and judging the newly logged-in user as a history user if a target key identification character string consistent with the user identification character string is searched.
That is, the method of determining whether the newly logged-in user is a history user is different from the second embodiment, specifically, the method searches the user identification string in the history registration abstract, and if the target key identification string consistent with the user identification string is found, the newly logged-in user is determined to be a history user.
In addition, correspondingly, the step of acquiring the registration information of the newly registered user from the historical registration data and updating the registration table of the current version system comprises the following steps:
determining a target initiator corresponding to the target key identification character string from the historical registration abstract;
intercepting character strings of each information identification bit of registration information corresponding to the newly logged-in user from the historical registration data by taking a target initiator and a cut-off as head-to-tail interceptors;
Inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user;
and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
That is, the manner of acquiring registration information of a newly registered user from the registration data in this embodiment is also completely different from that of the second embodiment, specifically, since the target key identification string matching the user identification string has been found in the history registration digest in this embodiment, the target initiator corresponding to the target key identification string can be determined in the history registration digest, thereby finding the initiator of registration information of a newly registered user, for example, as& 20 Thus can be used for& 20 And # is a head-tail interceptor, and the registration information of the new login user is directly positioned and intercepted, so that the conversion of the history registration information of the new login user is rapidly completed, and finally, the login request of the new login user is rapidly responded, and compared with the technical scheme of the second embodiment, the response time (namely the time waiting for login) of the login request of the new login user is shortened by nearly 8 times.
Further, in some optional cases of this embodiment, the system login request response may further include:
randomly acquiring a number from a number library according to each registration information of the historical user to obtain a number corresponding to each registration information of the historical user;
randomly determining a target number from numbers corresponding to each registration information of the historical user, and determining a corresponding number processing mode according to the target number;
processing the number corresponding to each registration information of the historical user in a number processing mode corresponding to the target number, and taking the processing result as a corner mark value;
and taking the corner mark value as a subscript of a preset character to generate a locking symbol corresponding to the historical user.
In a specific implementation, the number base may be preset, and a number of numbers, for example, numbers 1-100, are stored in the number base. Then, the numbers in the number library are divided into intervals, for example, the numbers 1-10 are an interval, the numbers 1-20 are an interval, and the like, and a corresponding number processing mode is allocated to each number interval, so that the number interval where each selected target number is located can be determined later according to the selected target number, and then the corresponding number processing mode is determined, wherein the number processing modes include, but are not limited to, accumulation, average, alternate addition and subtraction, and the like, and the alternate addition and subtraction refers to sequentially performing addition and subtraction alternate processing on the numbers, for example, adding the first number to the second number, subtracting the third number from the third number, adding the third number to the fourth number, and the like.
That is, before the current version system is upgraded, when the registration information of the history user is converted into a one-dimensional array structure to be stored, a number is randomly obtained from a preset number library for each registration information of the history user, so as to obtain a number corresponding to each registration information of the history user, then a number corresponding to one of the registration information (such as a name) is randomly determined as a target to determine a number processing mode corresponding to the history user, then all the numbers are processed based on the determined number processing mode, and the processing result is used as a lower corner mark value of a preset character, the preset character can be, but is not limited to F, G, T, for example, the average value of the numbers corresponding to each registration information of the history user a is 11.5, then the initiator of the registration information of the history user a is F 11.5 . Wherein all historical users generate unique initiators in the manner described above.
Therefore, in the method, the initiator of the registration information of different historical users is dynamically generated by adopting the fixed number library and matching multiple random processing strategies, so that the uniqueness of the initiator of the registration information of different historical users can be well ensured, new numbers do not need to be frequently supplemented into the number library, and the system can stably run for a long time after program setting and is not easy to fail.
It should be noted that, the above embodiments and the features thereof may be combined arbitrarily without conflict, and the new technical solution obtained by combining the above embodiments still falls within the protection scope of the present invention.
Example IV
In another aspect, referring to fig. 3, a system login request response device according to a fourth embodiment of the present invention is shown, where the system login request response device includes:
the login judging module 11 is configured to judge whether historical registration data of a current version system is locally stored when a login request of a new login user in the current version system is received, where the historical registration data includes registration information of a plurality of historical users, and the registration information of the historical users is converted into a one-dimensional array structure according to a preset format and stored before the current version system is upgraded;
the information processing module 12 is configured to obtain user identification information input in the login request when it is determined that the history registration data of the current version system is locally stored, and convert the user identification information into a corresponding user identification character string according to the one-dimensional array structure;
The matching judging module 13 is configured to match the user identification string with the history registration data, and judge whether the newly registered user is a history user according to a matching result;
a registration update module 14, configured to obtain, when it is determined that the newly registered user is a history user, registration information of the newly registered user from the history registration data, and update the registration information in a registry of the current version system;
and the login response module 15 is configured to respond to a login request of the new login user in the current version system according to the updated registration information of the registry of the current version system.
Further, in some optional embodiments of the present invention, the one-dimensional array structure includes a stop symbol, a start symbol, and a plurality of information identification bits located between the stop symbol and the start symbol, wherein a string of the information identification bits is used to identify at least one registration information of the history user;
the registration information of the plurality of historical users is orderly arranged to form the historical registration data of the current version system.
Further, in some optional embodiments of the present invention, the matching judgment module 13 is further configured to intercept registration information of the historical user from the historical registration data of the current version system one by using a cut-off symbol and a start symbol as end-to-end interceptors; matching the user identification character string with the intercepted character string of the information identification bit of the registration information of each historical user; and if the matching is successful, judging the newly logged-in user as a historical user.
Further, in some optional embodiments of the present invention, the registration update module 14 is further configured to intercept, from the historical registration data, a character string of each information identification bit of the registration information corresponding to the newly registered user; inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user; and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
Further, in some optional embodiments of the present invention, the system login request responding device further includes:
and the locking processing module is used for replacing the stop symbol and the start symbol of the registration information corresponding to the new login user with the corresponding locking symbol.
The matching judgment module 13 is further configured to intercept the registration information of the history user from the history registration data of the current version system by using the cut-off symbol and the start symbol as the end-to-end interceptor, and skip the interception of the registration information of the history user in which the cut-off symbol and the start symbol are the locking symbol.
Further, in some optional embodiments of the present invention, the initial symbols of the registration information of each history user are different, and the history registration data correspondingly form a history registration summary, where the history registration summary includes key identifier strings of each history user and the initial symbols of the registration information;
The matching judgment module 13 is further configured to search the user identification string in the history registration summary, and if a target key identification string consistent with the user identification string is searched, determine that the newly logged-in user is a history user.
Further, in some optional embodiments of the present invention, the registration update module 14 is further configured to determine a target initiator corresponding to the target key identifier string from the historical registration digest; intercepting character strings of each information identification bit of registration information corresponding to the newly logged-in user from the historical registration data by taking a target initiator and a cut-off as head-to-tail interceptors; inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user; and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
Further, in some optional embodiments of the present invention, the system login request responding apparatus further includes:
the locking symbol generation module is used for respectively randomly acquiring a number from a number library aiming at each piece of registration information of the historical user to obtain a number corresponding to each piece of registration information of the historical user; randomly determining a target number from numbers corresponding to each registration information of the historical user, and determining a corresponding number processing mode according to the target number; processing the number corresponding to each registration information of the historical user in a number processing mode corresponding to the target number, and taking the processing result as a corner mark value; and taking the corner mark value as a subscript of a preset character to generate a locking symbol corresponding to the historical user.
The functions or operation steps implemented when the above modules and units are executed are substantially the same as those in the above method embodiments, and are not described herein again.
Example five
In another aspect, referring to fig. 4, a system login request response device according to a fifth embodiment of the present invention includes a memory 20, a processor 10, and a computer program 30 stored in the memory and capable of running on the processor, where the processor 10 implements the system login request response method described above when executing the computer program 30.
The system login request response device may specifically be a cloud server or an in-enterprise server, and the processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chip, for running program codes or processing data stored in the memory 20, for example, executing an access restriction program, etc.
The memory 20 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of the system login request responding device, such as a hard disk of the system login request responding device. The memory 20 may also be an external storage device of the system login request response device in other embodiments, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like. Further, the memory 20 may also include both an internal storage unit and an external storage device of the system login request response device. The memory 20 may be used not only for storing application software installed in the system login request responding device and various types of data, but also for temporarily storing data that has been output or is to be output.
It is noted that the structure shown in fig. 4 does not constitute a limitation of the system login request responding device, and in other embodiments, the system login request responding device may comprise fewer or more components than shown, or may combine certain components, or may be a different arrangement of components.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the system login request response method as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable storage medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. A system login request response method, the method comprising:
When a login request of a new login user in a current version system is received, judging whether historical registration data of the current version system is locally stored or not, wherein the historical registration data comprise registration information of a plurality of historical users, and the registration information of the historical users is converted into a one-dimensional array structure for storage according to a preset format before the current version system is upgraded;
if the user identification information is stored, acquiring the user identification information input in the login request, and converting the user identification information into a corresponding user identification character string according to the one-dimensional array structure;
matching the user identification character string with the history registration data, and judging whether the newly registered user is a history user according to a matching result;
if the user is a historical user, acquiring the registration information of the newly registered user from the historical registration data, and updating the registration information in a registry of the current version system;
and responding to the login request of the new login user in the current version system according to the updated registration information of the registry of the current version system.
2. The system login request response method according to claim 1, wherein the one-dimensional array structure includes a cut-off symbol, a start symbol, and a plurality of information identification bits located between the cut-off symbol and the start symbol, and a character string of the information identification bits is used for identifying at least one registration information of the history user;
The registration information of the plurality of historical users is orderly arranged to form the historical registration data of the current version system.
3. The system login request response method according to claim 2, wherein the step of matching the user identification character string with the history registration data and judging whether the newly logged-in user is a history user according to a matching result comprises:
intercepting registration information of the historical users one by one from historical registration data of the current version system by taking a cut-off symbol and a start symbol as head-tail interceptors;
matching the user identification character string with the intercepted character string of the information identification bit of the registration information of each historical user; and if the matching is successful, judging the newly logged-in user as a historical user.
4. The system login request responding method according to claim 3, wherein the step of acquiring the registration information of the newly registered user from among the history registration data and updating the newly registered user in the registry of the current version system comprises:
intercepting a character string of each information identification bit of registration information corresponding to the newly registered user from the historical registration data;
Inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user;
and acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
5. The system login request response method according to claim 4, wherein after the step of correspondingly entering the user registration information of the newly registered user into the registry of the current version system, further comprising:
replacing the stop symbol and the start symbol of the registration information corresponding to the new login user with the corresponding locking symbol;
then, the step of intercepting the registration information of the historical user from the historical registration data of the current version system by taking the cut-off symbol and the start symbol as the head-to-tail interceptor comprises the following steps:
and intercepting the registration information of the historical user from the historical registration data of the current version system by taking the cut-off symbol and the start symbol as head-tail interceptors, and skipping intercepting the registration information of the historical user with the cut-off symbol and the start symbol as locking symbols.
6. The system login request response method according to claim 2, wherein the initial symbols of the registration information of each history user are different, the history registration data correspondingly form a history registration summary, and the history registration summary includes key identification character strings of each history user and the initial symbols of the registration information;
The step of matching the user identification character string with the history registration data and judging whether the newly registered user is a history user according to a matching result comprises the following steps:
searching the user identification character string in the history registration abstract, and judging the newly logged-in user as a history user if a target key identification character string consistent with the user identification character string is searched.
7. The system login request response method according to claim 6, wherein the step of acquiring registration information of the newly registered user from among the history registration data and updating in a registry of the current version system comprises:
determining a target initiator corresponding to the target key identification character string from the historical registration abstract;
intercepting character strings of each information identification bit of registration information corresponding to the newly logged-in user from the historical registration data by taking a target initiator and a cut-off as head-to-tail interceptors;
inversely transforming the intercepted character string of each information identification bit into corresponding user registration information according to the one-dimensional array structure to obtain the user registration information of the newly logged-in user;
And acquiring a registry of the current version system, and correspondingly inputting the user registration information of the newly-logged-in user into the registry of the current version system.
8. The system login request response method according to claim 6, further comprising:
randomly acquiring a number from a number library according to each registration information of the historical user to obtain a number corresponding to each registration information of the historical user;
randomly determining a target number from numbers corresponding to each registration information of the historical user, and determining a corresponding number processing mode according to the target number;
processing the number corresponding to each registration information of the historical user in a number processing mode corresponding to the target number, and taking the processing result as a corner mark value;
and taking the corner mark value as a subscript of a preset character to generate a locking symbol corresponding to the historical user.
9. A system login request response device, the device comprising:
the login judging module is used for judging whether historical registration data of the current version system are stored locally or not when a login request of a new login user in the current version system is received, wherein the historical registration data comprise registration information of a plurality of historical users, and the registration information of the historical users is converted into a one-dimensional array structure to be stored according to a preset format before the current version system is upgraded;
The information processing module is used for acquiring user identification information input in the login request when judging that the history registration data of the current version system is locally stored, and converting the user identification information into a corresponding user identification character string according to the one-dimensional array structure;
the matching judgment module is used for matching the user identification character string with the history registration data and judging whether the newly registered user is a history user or not according to a matching result;
the registration updating module is used for acquiring registration information of the new login user from the history registration data and updating the registration information in a registry of the current version system when the new login user is judged to be the history user;
and the login response module is used for responding to the login request of the new login user in the current version system according to the updated registration information of the registry of the current version system.
10. A system login request response device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the system login request response method according to any one of claims 1-7 when executing the program.
CN202211375969.8A 2022-11-04 2022-11-04 System login request response method, device and equipment Active CN115688069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211375969.8A CN115688069B (en) 2022-11-04 2022-11-04 System login request response method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211375969.8A CN115688069B (en) 2022-11-04 2022-11-04 System login request response method, device and equipment

Publications (2)

Publication Number Publication Date
CN115688069A CN115688069A (en) 2023-02-03
CN115688069B true CN115688069B (en) 2023-06-30

Family

ID=85048949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211375969.8A Active CN115688069B (en) 2022-11-04 2022-11-04 System login request response method, device and equipment

Country Status (1)

Country Link
CN (1) CN115688069B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237693A (en) * 2021-12-20 2022-03-25 中国平安财产保险股份有限公司 Gray scale publishing method, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8521430B2 (en) * 2007-12-28 2013-08-27 Navteq B.V. Managing differences between geographic database versions
CN104378330B (en) * 2013-08-13 2019-02-12 北京奇虎科技有限公司 A kind of method of Account Registration and corresponding device and server
CN104468811B (en) * 2014-12-17 2017-12-15 华为技术有限公司 Upgrade method and device
US10015236B2 (en) * 2015-01-30 2018-07-03 Ricoh Company, Ltd. Cloud application activation and update service
CN108551443B (en) * 2018-03-30 2021-07-23 平安科技(深圳)有限公司 Application login method and device, terminal equipment and storage medium
CN115130138B (en) * 2022-08-30 2022-12-27 江西五十铃汽车有限公司 Data security protection method, system, storage medium and equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237693A (en) * 2021-12-20 2022-03-25 中国平安财产保险股份有限公司 Gray scale publishing method, equipment and storage medium

Also Published As

Publication number Publication date
CN115688069A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
US10205730B2 (en) Access control for database
CN110705235B (en) Information input method and device for business handling, storage medium and electronic equipment
CN106599111B (en) Data management method and storage system
CN111382123B (en) File storage method, device, equipment and storage medium
CN109933645B (en) Information query method, device, computer equipment and storage medium
CN108011892B (en) Database security management method based on security management server
CN110555072A (en) Data access method, device, equipment and medium
CN108388606B (en) Method for checking base table field names in Sql sentences and computer equipment
CN115237444A (en) Concurrent control method, device and equipment based on version number and storage medium
US6917953B2 (en) System and method for verifying database security across multiple platforms
CN112579307A (en) Physical lock resource allocation detection method and device and electronic equipment
CN116431520A (en) Test scene determination method, device, electronic equipment and storage medium
CN110837635A (en) Method, device, equipment and storage medium for equipment verification
US20180089233A1 (en) Method and System for Deduplicating Data
CN115688069B (en) System login request response method, device and equipment
CN106529281A (en) Executable file processing method and device
CN111081258B (en) Voiceprint model management method, system, storage medium and device
KR101588375B1 (en) Method and system for managing database
CN112596956A (en) File system management method, device and related components
CN107247904B (en) Safety baseline item synchronization method and device
CN105550022B (en) A kind for the treatment of method and apparatus of business datum
CN111221556B (en) Remote upgrade RSU mirror image method and system
US20160196331A1 (en) Reconstitution order of entity evaluations
US20090077133A1 (en) System and method for efficient rule updates in policy based data management
CN111680483A (en) Document template updating method and device, electronic equipment and medium

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
GR01 Patent grant
GR01 Patent grant