CN111881443A - Multi-user authentication method and system based on AI training management platform - Google Patents
Multi-user authentication method and system based on AI training management platform Download PDFInfo
- Publication number
- CN111881443A CN111881443A CN202010547379.3A CN202010547379A CN111881443A CN 111881443 A CN111881443 A CN 111881443A CN 202010547379 A CN202010547379 A CN 202010547379A CN 111881443 A CN111881443 A CN 111881443A
- Authority
- CN
- China
- Prior art keywords
- user authentication
- user
- user data
- mapping
- management platform
- 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.)
- Withdrawn
Links
- 238000012549 training Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000013507 mapping Methods 0.000 claims abstract description 50
- 238000004590 computer program Methods 0.000 claims description 12
- 238000011161 development Methods 0.000 abstract description 12
- 238000012423 maintenance Methods 0.000 abstract description 6
- 238000013473 artificial intelligence Methods 0.000 description 28
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 210000001503 joint Anatomy 0.000 description 3
- 238000003032 molecular docking Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 238000012827 research and development Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing 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/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a multi-user authentication method and a system based on an AI training management platform, which optimizes and improves a connection sub-module and an authentication sub-module, establishes a user authentication system connection mode and a user authentication mode in a unified way, adds a mapping sub-module, maps user attributes under different user authentication systems, ensures that user data structures are unified, achieves unified use and management of user data, solves the problems that multiple authentication component versions are generated when a multi-user authentication system is connected under the traditional service and the pain points when developers face the user authentication development of multiple user authentication systems, greatly reduces the development workload, improves the development efficiency of developers, saves the time cost, simplifies the connection mode, reduces the later maintenance cost, and enhances the usability and universality of the user authentication components, the method has efficient and stable support for the mainstream user authentication system.
Description
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a multi-user authentication method and a multi-user authentication system based on an AI training management platform.
Background
With the continuous and deep application of artificial intelligence technology in the fields of mobile internet, internet of things, unmanned driving and the like, the scale of the relevant industry of artificial intelligence continuously increases at a high speed, and more enterprises and scientific research institutions increase the scientific research investment on the artificial intelligence technology. How to improve the resource utilization efficiency of algorithm researchers in enterprise institutions is also a goal pursued by all AI training management platforms at present.
The user management module is a necessary component in the AI training management platform, and when the AI training management platform improves the research and development efficiency of algorithm researchers in enterprise institutions, the user management module performs management operations such as user maintenance and authentication, and the normal use of users is guaranteed. At present, the mainstream user authentication systems include openLDAP, Windows AD, NIS, and the like. The traditional user authentication management is also developed based on the above mainstream user authentication system. Because the AI training management platform provides services and support for various diversified enterprises and scientific research institutions, the faced user groups, user management modes and docked user authentication systems are different. In the face of complex and variable users and different user authentication systems, each user authentication system to be docked needs to be designed and developed with pertinence, so that different authentication component versions are generated due to docking of different user authentication systems.
The development of multiple versions can lead the research and development investment of developers to be multiplied, the deployment and configuration of implementers are complicated, the later maintenance cost is greatly increased, and the potential risk is increased accordingly. How to optimize the authentication component of the docking user authentication system, improve the universality and the usability of the authentication component, solve the unified management of the docking multi-user authentication system, and become a research and development problem to be solved urgently in the user management module of the AI training management platform at present.
Disclosure of Invention
The invention aims to provide a multi-user authentication method and a multi-user authentication system based on an AI (Artificial intelligence) training management platform, which aim to solve the problems of large development amount and low efficiency caused by the butt joint of a multi-user authentication system in the prior art, simplify a butt joint mode, reduce development workload and reduce later maintenance cost.
In order to achieve the technical purpose, the invention provides a multi-user authentication method based on an AI training management platform, which comprises the following operations:
establishing connection with a user authentication system, inputting user data to be authenticated, and executing different remote commands to inquire the user data according to different types of the user authentication systems;
mapping the inquired user data through different user authentication system attribute mapping relations to generate uniform mapping attributes, and outputting the mapped user data;
analyzing the mapped user data, acquiring the password type and the ciphertext of the password information, encrypting the password information in the user data to be authenticated according to the password type, comparing the analyzed ciphertext with the encrypted ciphertext, and outputting whether the authentication is successful or not according to the comparison result.
Preferably, the user authentication system is any one of openLDAP, Windows AD, and NIS.
Preferably, the fields of the mapping relationship of the different user authentication system attributes include: domain name, group ID, username ID, password, and userlame directory.
The invention also provides a multi-user authentication system based on the AI training management platform, and the method comprises the following operations:
the connection sub-module is used for establishing connection with the user authentication system, inputting user data to be authenticated, and executing different remote commands to inquire the user data according to different types of the user authentication system;
the mapping submodule is used for mapping the inquired user data through the attribute mapping relation of different user authentication systems to generate a uniform mapping attribute and outputting the mapped user data;
and the authentication submodule is used for analyzing the mapped user data, acquiring the password type and the ciphertext of the password information, encrypting the password information in the user data to be authenticated according to the password type, comparing the analyzed ciphertext with the encrypted ciphertext, and outputting whether the authentication is successful or not according to a comparison result.
Preferably, the user authentication system is any one of openLDAP, Windows AD, and NIS.
Preferably, the fields of the mapping relationship of the different user authentication system attributes include: domain name, group ID, username ID, password, and userlame directory.
The invention also provides a multi-user authentication device based on the AI training management platform, which comprises:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the multi-user authentication method based on the AI training management platform.
The invention also provides a readable storage medium for storing a computer program, wherein the computer program is used for realizing the multi-user authentication method based on the AI training management platform when being executed by a processor.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
compared with the prior art, the invention optimizes and improves the connection sub-module and the authentication sub-module based on the AI training management platform, uniformly establishes the connection mode and the user authentication mode of the user authentication system, and a mapping sub-module is added to map user attributes under different user authentication systems, so that the user data structure is uniform, the user data is uniformly used and managed, the problems that multiple authentication component versions are generated when a multi-user authentication system is connected under the traditional service are solved, and the pain point when developers face the user authentication development of multiple user authentication systems is solved, so that the development workload is greatly reduced, the development efficiency of the developers is improved, the time cost is saved, the connection mode is simplified, the later maintenance cost is reduced, the usability and universality of the user authentication components are enhanced, and the main stream user authentication system is efficiently and stably supported.
Drawings
Fig. 1 is a flowchart of a multi-user authentication method based on an AI training management platform according to an embodiment of the present invention;
fig. 2 is a block diagram of a multi-user authentication system based on an AI training management platform according to an embodiment of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
The following describes a multi-user authentication method and system based on an AI training management platform in detail with reference to the accompanying drawings.
As shown in fig. 1, the present invention discloses a multi-user authentication method based on an AI training management platform, which includes the following operations:
establishing connection with a user authentication system, inputting user data to be authenticated, and executing different remote commands to inquire the user data according to different types of the user authentication systems;
mapping the inquired user data through different user authentication system attribute mapping relations to generate uniform mapping attributes, and outputting the mapped user data;
analyzing the mapped user data, acquiring the password type and the ciphertext of the password information, encrypting the password information in the user data to be authenticated according to the password type, comparing the analyzed ciphertext with the encrypted ciphertext, and outputting whether the authentication is successful or not according to the comparison result.
The embodiment of the invention provides a universal authentication component which is used for uniformly managing a multi-user authentication system.
The method comprises the steps of establishing connection with openLDAP, Windows AD and NIS user authentication systems, analyzing common points and common modes of all the user authentication systems during service connection, unifying the modes of accessing the user authentication systems, ensuring that a universal authentication component supports the user authentication systems, ensuring that communication connection is established with the user authentication systems, and enabling the established connection to be used for obtaining user data of different user authentication systems and carrying out further authentication operation on users.
Inputting user data to be authenticated, logging in a node of a client of a butt joint user authentication system in a remote connection mode, respectively executing remote commands according to different user authentication systems to inquire the user data by reading the types of the user authentication systems in the configuration, and taking the inquired user data as output to carry out the next mapping operation.
Mapping the user data of different user authentication systems. The user data structure analyzed by different user authentication systems is different from the format, and mapping is carried out through the user attributes under different user authentication systems. And mapping the user data one by one through the mapping relation, so that the user data is uniformly used and managed.
The inquired user data is used as input data, the user data structures analyzed by different user authentication systems are different from the formats, and the following mapping relation is obtained according to the attributes of openLDAP, Windows AD and NIS user authentication systems:
and mapping according to the mapping relation to generate a uniform mapping attribute, and performing the next authentication operation by using the mapped user data as output data.
The user authentication modes of different user authentication systems are numerous and different, common points and common modes of all the user authentication systems during authentication operation are analyzed, the user authentication modes are unified through the operation, and the user authentication function is realized by comparing input user data with user data read from the user authentication systems.
The user data to be authenticated and the mapped user data are used as input data, password information is taken out from the input user data to be processed, the password type and the password ciphertext in the password information are analyzed, the password information is taken out from the user data to be authenticated, the password information of the user data to be authenticated is encrypted according to the password type and corresponds to the password type, the encrypted ciphertext is compared with the password ciphertext of the password information of the input user data, if the comparison is consistent, the authentication is successful, whether the authentication is successful or not is used as output, and the output of the universal authentication component is also used.
The embodiment of the invention optimizes and improves the connection sub-module and the authentication sub-module based on the AI training management platform, uniformly establishes the connection mode and the user authentication mode of the user authentication system, and a mapping sub-module is added to map user attributes under different user authentication systems, so that the user data structure is uniform, the user data is uniformly used and managed, the problems that multiple authentication component versions are generated when a multi-user authentication system is connected under the traditional service are solved, and the pain point when developers face the user authentication development of multiple user authentication systems is solved, so that the development workload is greatly reduced, the development efficiency of the developers is improved, the time cost is saved, the connection mode is simplified, the later maintenance cost is reduced, the usability and universality of the user authentication components are enhanced, and the main stream user authentication system is efficiently and stably supported.
As shown in fig. 2, an embodiment of the present invention further discloses a multi-user authentication system based on an AI training management platform, and the method includes the following operations:
the connection sub-module is used for establishing connection with the user authentication system, inputting user data to be authenticated, and executing different remote commands to inquire the user data according to different types of the user authentication system;
the mapping submodule is used for mapping the inquired user data through the attribute mapping relation of different user authentication systems to generate a uniform mapping attribute and outputting the mapped user data;
and the authentication submodule is used for analyzing the mapped user data, acquiring the password type and the ciphertext of the password information, encrypting the password information in the user data to be authenticated according to the password type, comparing the analyzed ciphertext with the encrypted ciphertext, and outputting whether the authentication is successful or not according to a comparison result.
The embodiment of the invention provides a universal authentication component which is used for uniformly managing a multi-user authentication system and comprises a connecting submodule, a mapping submodule and an authentication submodule.
The connection sub-module establishes connection with openLDAP, Windows AD and NIS user authentication systems, analyzes common points and common modes of all user authentication systems when connecting services, unifies the modes of accessing the user authentication systems, ensures that the universal authentication assembly supports the user authentication systems, ensures that communication connection is established with the user authentication systems, and the established connection is used for acquiring user data of different user authentication systems and performing further authentication operation on users.
The user data to be authenticated is used as the input of the connection sub-module through the connection sub-module, the user data is logged in a node of a client of the butt-joint user authentication system in a remote connection mode, the user data is inquired by reading the type of the user authentication system in the configuration and respectively executing remote commands according to different user authentication systems, and the inquired user data is transmitted into the mapping sub-module as the output of the connection sub-module.
And the mapping sub-module maps the user data of different user authentication systems. The user data structure analyzed by different user authentication systems is different from the format, and mapping is carried out through the user attributes under different user authentication systems. The mapping submodule maps the user data one by one through the mapping relation, and the user data is uniformly used and managed.
The inquired user data is used as the input of the module through the mapping sub-module, the user data structures analyzed by different user authentication systems are different from the formats, and the mapping relation among the different user authentication systems is obtained according to the attributes of the openLDAP, Windows AD and NIS user authentication systems.
And the mapping submodule carries out mapping according to the mapping relation to generate uniform mapping attributes, and the mapped user data is transmitted to the authentication submodule as the output of the mapping submodule.
The authentication submodule is a module for realizing the user authentication function, the user authentication modes of different user authentication systems are numerous and different, common points and common modes of all the user authentication systems during authentication operation are analyzed, the module unifies the user authentication modes, and the user authentication function is realized by comparing input user data with user data read from the user authentication systems.
The user data to be authenticated and the mapped user data are used as the input of an authentication submodule through the authentication submodule, password information is taken out from the input user data to be processed, the password type and the password ciphertext in the password information are analyzed, the password information is taken out from the user data to be authenticated, the password information of the user data to be authenticated is encrypted according to the password type and corresponds to the password type, the encrypted ciphertext is compared with the password ciphertext of the password information of the input user data, if the comparison is consistent, the authentication is successful, and whether the authentication is successful or not is used as the output of the authentication submodule and is also the output of a universal authentication component.
The embodiment of the invention also discloses multi-user authentication equipment based on the AI training management platform, which comprises the following steps:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the multi-user authentication method based on the AI training management platform.
The embodiment of the invention also discloses a readable storage medium for storing a computer program, wherein the computer program realizes the multi-user authentication method based on the AI training management platform when being executed by a processor.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (8)
1. A multi-user authentication method based on an AI training management platform is characterized by comprising the following operations:
establishing connection with a user authentication system, inputting user data to be authenticated, and executing different remote commands to inquire the user data according to different types of the user authentication systems;
mapping the inquired user data through different user authentication system attribute mapping relations to generate uniform mapping attributes, and outputting the mapped user data;
analyzing the mapped user data, acquiring the password type and the ciphertext of the password information, encrypting the password information in the user data to be authenticated according to the password type, comparing the analyzed ciphertext with the encrypted ciphertext, and outputting whether the authentication is successful or not according to the comparison result.
2. The AI training management platform-based multi-user authentication method as claimed in claim 1, wherein the user authentication system is any one of openLDAP, Windows AD, NIS.
3. The AI training management platform-based multi-user authentication method according to claim 1, wherein the fields of the mapping relationship of the attributes of the different user authentication systems comprise: domain name, group ID, username ID, password, and userlame directory.
4. A multi-user authentication system based on an AI training management platform, the method comprising the operations of:
the connection sub-module is used for establishing connection with the user authentication system, inputting user data to be authenticated, and executing different remote commands to inquire the user data according to different types of the user authentication system;
the mapping submodule is used for mapping the inquired user data through the attribute mapping relation of different user authentication systems to generate a uniform mapping attribute and outputting the mapped user data;
and the authentication submodule is used for analyzing the mapped user data, acquiring the password type and the ciphertext of the password information, encrypting the password information in the user data to be authenticated according to the password type, comparing the analyzed ciphertext with the encrypted ciphertext, and outputting whether the authentication is successful or not according to a comparison result.
5. The AI-training-based management platform based multi-user authentication system of claim 4, wherein the user authentication system is any one of openLDAP, Windows AD, NIS.
6. The AI-training-management-platform-based multi-user authentication system of claim 4, wherein the fields of the different user authentication system attribute mapping comprise: domain name, group ID, username ID, password, and userlame directory.
7. A multi-user authentication device based on an AI training management platform, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the AI-training management platform based multi-user authentication method according to any one of claims 1 to 3.
8. A readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the AI training management platform based multi-user authentication method according to any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010547379.3A CN111881443A (en) | 2020-06-16 | 2020-06-16 | Multi-user authentication method and system based on AI training management platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010547379.3A CN111881443A (en) | 2020-06-16 | 2020-06-16 | Multi-user authentication method and system based on AI training management platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111881443A true CN111881443A (en) | 2020-11-03 |
Family
ID=73156723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010547379.3A Withdrawn CN111881443A (en) | 2020-06-16 | 2020-06-16 | Multi-user authentication method and system based on AI training management platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111881443A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484874A (en) * | 2016-10-13 | 2017-03-08 | 福建星海通信科技有限公司 | A kind of method by unified for software platform bottom isomeric data encapsulation and system |
CN107508837A (en) * | 2017-09-28 | 2017-12-22 | 山东浪潮通软信息科技有限公司 | A kind of cross-platform heterogeneous system login method based on intelligent code key certification |
CN110971566A (en) * | 2018-09-29 | 2020-04-07 | 上海擎感智能科技有限公司 | Account unified management method, system and computer readable storage medium |
-
2020
- 2020-06-16 CN CN202010547379.3A patent/CN111881443A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484874A (en) * | 2016-10-13 | 2017-03-08 | 福建星海通信科技有限公司 | A kind of method by unified for software platform bottom isomeric data encapsulation and system |
CN107508837A (en) * | 2017-09-28 | 2017-12-22 | 山东浪潮通软信息科技有限公司 | A kind of cross-platform heterogeneous system login method based on intelligent code key certification |
CN110971566A (en) * | 2018-09-29 | 2020-04-07 | 上海擎感智能科技有限公司 | Account unified management method, system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10621329B2 (en) | Mobile application, resource management advice | |
US10862979B2 (en) | Techniques for supporting remote micro-services as native functions in spreadsheet applications | |
CN108519967A (en) | Chart method for visualizing, device, terminal and storage medium | |
US10834069B2 (en) | Identification federation based single sign-on | |
EP3614643B1 (en) | Oauth2 saml token service | |
CN110489192B (en) | Remote communication method and device and electronic equipment | |
US20150150111A1 (en) | Self-single sign-on | |
Ali et al. | Cloud computing applications | |
US20180307692A1 (en) | Software application interface for mediating access to services of a centralized data store | |
CN111026931A (en) | Data query method, device, equipment and medium | |
US8447857B2 (en) | Transforming HTTP requests into web services trust messages for security processing | |
CN111147571B (en) | Distributed task scheduling method, device, system, storage medium and electronic equipment | |
CN111881443A (en) | Multi-user authentication method and system based on AI training management platform | |
CN113568764A (en) | User information acquisition method, device, equipment and medium for micro service | |
CN112394907A (en) | Container-based delivery system construction method, application delivery method and delivery system | |
CN109814973A (en) | A kind of implementation method of desktop cloud platform, system and server | |
CN114281778A (en) | Data sharing method and device | |
CN110309365B (en) | Openstack data query method and device based on Mybatis | |
CN113742104A (en) | AI-based RPA (resilient packet Access) body-separating function generation method and device | |
Ali et al. | Recent advances in cloud computing applications and services | |
US20140282839A1 (en) | Unified enterprise device enrollment | |
US11636391B2 (en) | Automatic combinatoric feature generation for enhanced machine learning | |
CN115599432A (en) | Universal interface implementation method and device, computer equipment and storage medium | |
US10616938B1 (en) | Systems and methods for providing discrete access to an online service | |
CN107229723B (en) | Instruction processing method and instruction processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201103 |