A method, system, medium and device for managing passwords for automated operation and maintenance of equipment
By adopting a password generation strategy combining random elements and predictable random numbers in IoT devices, the security access control, password security risks and maintenance convenience of IoT devices are solved, and an automated operation and maintenance management platform is realized, and the system is improved. Stability and operation and maintenance efficiency reduce password leakage risks and operating costs.
Patent Information
- Application Number
- CN202411070677.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-06
AI Technical Summary
In smart city applications, there are problems such as difficulty in managing secure access, high demands on security passwords, security risks of boundary passwords and convenience of maintenance during the operation and maintenance of IoT devices, especially the private connection and accuracy of massive cameras and IoT terminals in public areas. Password security risks caused by difficulty in entering control, simple password use and lack of effective password management tools, and on-site processing requirements for equipment failure.
Passwords are generated by combining random elements with predictable random numbers. By querying the device list, generating random passwords and logging, an automated operation and maintenance management platform is provided to realize automatic management of device passwords and remote login, and support IPv4/ IPv6 dual-stack device.
It realizes stricter access control, reduces the risk of password leakage, improves maintenance flexibility and system stability, enhances audit and traceability capabilities, optimizes resource allocation and team collaboration, and improves operation and maintenance efficiency and quality.
Smart Images

Figure CN118611875B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security, and in particular to a method, system, medium and device for managing passwords for automated operation and maintenance of equipment. Background Art
[0002] The unified management of device passwords is uniformly adapted to devices of all brands and models, and the platform can monitor the status and check for abnormalities of device passwords, helping users to centrally modify device passwords on demand and periodically; the road management and unified maintenance password service capabilities are uniformly output.
[0003] Provide password modification services to applications through a unified password service interface, shield the diversity of devices and the complexity of instructions, realize unified calling of business systems, and provide unified password security services for IoT devices; unified identity authentication and access control support application and user identity authentication; single sign-on based on permission control: support configuration of authentication policies and access policies: App authorized password allocation obtains specific device passwords on demand through authorized APP, realizing flexible and convenient device security login.
[0004] The IPv4 / IPv6 dual-stack device password automated operation and maintenance management platform mainly solves the following three major problems in the device password operation and maintenance process:
[0005] Difficulty in secure access control: In large-scale urban physical networks such as smart city applications, massive cameras, loT terminals, and access switches are deployed in public areas, making private connections and access control difficult.
[0006] Boundary password security risks: There are widespread construction bad habits, usually using simple passwords to start (admin:1234abcd); after the equipment is transferred, the security maintenance awareness is weak and there is a lack of effective password management tools, which leads to password security risks and video data leakage risks;
[0007] High demand for maintenance convenience: When cameras, loT terminals, etc. fail, on-site processing requires access to the network and logging into the device at any time. The demand for maintenance flexibility and convenience is the guarantee of business availability. Summary of the invention
[0008] To this end, the technical problem to be solved by the present invention is to provide a method, system, medium and device for password management for automated operation and maintenance of equipment, which generates passwords by combining random elements with predictable random numbers. This combination allows the password to maintain sufficient complexity and security while also allowing users to predict and remember the password to a certain extent, thereby improving the user experience.
[0009] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0010] A method for managing passwords for automated equipment operation and maintenance comprises the following steps:
[0011] S1) Query the device list;
[0012] S2) according to the number of devices queried in step S1), a corresponding number of threads that allow the password update script to run are set and the threads are started;
[0013] S3) Search the original password Password related to the device Device according to the device list queried in step S1) initial ;
[0014] S4) If the device Device has the original password Password initial , then check whether there is a password update script related to the device model. If there is a corresponding password update script, jump to step S5) to continue execution. Otherwise, end the operation. If the device does not have the original password Password initial , then the operation ends;
[0015] S5) Generate a random password based on the device type as the new password Password new and input the username and password variables into the script; when generating a random password, the random password generation strategy is that the password contains at least a random element and a predictable random number;
[0016] S6) After the script receives the username and password variables, if the password needs to be changed, the password database will be updated to store the new password Password new Enter the password library and then log it. Otherwise, do not update the password library and log it directly. After completing the log recording, end the operation.
[0017] In the above-mentioned device automated operation and maintenance password management method, in step S5), the predictable random number is a random number generated using the current timestamp as a seed value.
[0018] In the above-mentioned device automated operation and maintenance password management method, the random elements and predictable random numbers are provided by the password element output module.
[0019] In the above-mentioned device automated operation and maintenance password management method, the password element output modules include character(), generate_predictable_random_number() and generate_three_lowercase_number().
[0020] In the above-mentioned device automated operation and maintenance password management method, in step S5), a random password is generated by the following steps:
[0021] S5-1) Based on the original password of the device initial Select the password length and password strength and generate the initial password Password 0 ;
[0022] S5-2) Using a cryptographic function tool to perform the initial password Password generated in step S5-1) 0 Process and get the intermediate password Password middle ; Among them, the cryptographic function tool has a variety of optional cryptographic functions built in;
[0023] S5-3) The intermediate password Password obtained in step S5-2) middle Perform n random confusions to get the new password Password new .
[0024] In the above-mentioned device automated operation and maintenance password management method, the device information in the device list is entered by manually adding or importing.
[0025] In the above-mentioned device automated operation and maintenance password management method, the password update script related to the model of the device Device is an automatic script.
[0026] A system for password management using the above-mentioned device automated operation and maintenance password management method comprises:
[0027] The equipment information management module is used to retrieve the equipment list and perform automatic equipment operation and maintenance management based on the number of equipment queried;
[0028] A password generation module, used to generate a new password for the device; the password generation module has a built-in automatically running password update script and a password element output module that provides elements for password generation;
[0029] Storage module, used to store passwords, device lists, and password management logs;
[0030] The device information management module is respectively connected to the password generation module, the storage module and the device communication.
[0031] A computer-readable storage medium stores a computer program, which implements the above method when executed by a processor.
[0032] A computer device includes a readable storage medium, a processor, and a computer program stored in the readable storage medium and executable on the processor, wherein the computer program implements the above method when executed by the processor.
[0033] The technical solution of the present invention achieves the following beneficial technical effects:
[0034] 1. Strengthen security access control: Through the automated operation and maintenance management platform, more stringent access control can be achieved to effectively prevent illegal access and private connection.
[0035] 2. Reduce password security risks: The platform can provide automated password management, including password complexity checking, regular password changes, password encryption storage and other functions, effectively reducing the risk of password leakage and data leakage.
[0036] 3. Improve maintenance convenience: The platform can realize functions such as remote login, troubleshooting, configuration modification, etc., which greatly improves the flexibility and convenience of maintenance and reduces the time and cost of on-site processing.
[0037] 4. Improve system stability: Through the automated operation and maintenance management platform, the operating status of the equipment system can be monitored in real time, and potential problems can be discovered and resolved in a timely manner, thereby improving the overall stability and reliability of the system.
[0038] 5. Enhanced audit and traceability capabilities: The platform can record all operation and maintenance logs to facilitate post-audit and traceability, help meet compliance requirements, and quickly locate the source of the problem when a security incident occurs.
[0039] 6. Optimize resource allocation: The automated operation and maintenance management platform can dynamically adjust resource allocation according to business needs, ensure efficient use of resources, avoid resource waste, and reduce operating costs.
[0040] 7. Promote team collaboration and knowledge sharing: The platform can serve as a team collaboration center, promote information sharing and collaboration among operation and maintenance teams, and improve the overall work efficiency and response speed of the team.
[0041] 8. Improve operation and maintenance efficiency and quality: Through the automated operation and maintenance management platform, the operation and maintenance process can be standardized to reduce human errors. At the same time, the intelligent analysis provided by the platform can be used to further improve the efficiency and quality of operation and maintenance work. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a working principle diagram of the equipment automated operation and maintenance password management system in the present invention;
[0043] Figure 2 This is a flow chart of password management for automated operation and maintenance of equipment in the present invention;
[0044] Figure 3 The schematic diagram of a computer device capable of performing automated equipment operation and maintenance password management. DETAILED DESCRIPTION
[0045] The present invention is further described below with reference to examples.
[0046] like Figure 1 As shown, the equipment automation operation and maintenance password management system in the present invention includes an equipment information management module, a password generation module and a storage module, and the equipment information management module is respectively connected to the password generation module, the storage module and the equipment communication; wherein the equipment information management module is used to retrieve the equipment list and perform equipment automation operation and maintenance management according to the number of queried equipment; the password generation module is used to generate a new password for the equipment, and the password generation module has a built-in automatically running password update script and a password element output module that provides elements for password generation; the storage module is used to store passwords, equipment lists and password management log connections.
[0047] In this embodiment, the device information management module has a built-in AORBAC (Area Organization Role Base Access Control) model, which uses a database to store the mapping relationship between roles, users, and permissions, and the association relationship between devices, subnets, and organizations. When the page is displayed, the corresponding buttons and menu items are dynamically loaded and displayed according to the user's role. At the same time, the data range is divided according to the organizational structure, which can realize the distinction of the data addition, deletion, modification, and query range of multiple organizations and multiple roles. When the user logs in, the device information management module will obtain the permissions of the role from the database based on the user's role information and organizational information, and generate a user interface and menu items accordingly. When the device is assigned to a specific subnet and organization, only users belonging to the subnet or organization can access and manage these devices. Among them, the AORBAC model data is divided according to the corresponding subnet and organization, and users and permissions are separated by roles, which simplifies permission management and improves security and management convenience.
[0048] When using the device automated operation and maintenance password management system to manage the device password, such as Figure 2 As shown, the following steps are used to realize automatic management of device passwords:
[0049] S1) Query the device list;
[0050] S2) according to the number of devices queried in step S1), a corresponding number of threads that allow the password update script to run are set and the threads are started;
[0051] S3) Search the original password Password related to the device Device according to the device list queried in step S1) initial ;
[0052] S4) If the device Device has the original password Password initial, then check whether there is a password update script related to the device model. If there is a corresponding password update script, jump to step S5) to continue execution. Otherwise, end the operation. If the device does not have the original password Password initial , then the operation ends; wherein the password update script related to the device model is an automatic script;
[0053] S5) Generate a random password based on the device type as the new password Password new and input the username and password variables into the script; when generating a random password, the random password generation strategy is that the password contains at least a random element and a predictable random number;
[0054] S6) After the script receives the username and password variables, if the password needs to be changed, the password database will be updated to store the new password Password new Enter the password library and then log it. Otherwise, do not update the password library and log it directly. After completing the log recording, end the operation.
[0055] In step S5), the predictable random number is a random number generated with the current timestamp as a seed value, and the random element and the predictable random number are both provided by a cryptographic element output module, wherein the cryptographic element output module includes character(), generate_predictable_random_number(), and generate_three_lowercase_number(), wherein character() is used to provide a special character set, generate_predictable_random_number() is used to provide a number set that changes with time, and generate_three_lowercase_number() is used to provide a lowercase letter set.
[0056] Specifically, in step S5), a random password is generated by the following steps:
[0057] S5-1) Based on the original password of the device initial Select the password length and password strength and generate the initial password Password 0 ;
[0058] S5-2) Using a cryptographic function tool to perform the initial password Password generated in step S5-1) 0 Process and get the intermediate password Password middle ; Among them, the cryptographic function tool has a variety of optional cryptographic functions built in;
[0059] S5-3) The intermediate password Password obtained in step S5-2) middle Perform n random confusions to get the new password Password new .
[0060] Among them, in step S5-2), the initial password Password is 0 When processing, you can select a cryptographic function from the cryptographic function tool according to your needs, or you can add a new cryptographic function to the cryptographic function tool to obtain cryptographic processing that meets your needs. The complexity of the password can be adjusted by combining different cryptographic functions.
[0061] Traditional password generation strategies often only emphasize randomness to ensure the unpredictability and high security of passwords, but ignore the user experience. In the present invention, the password generation strategy adopts a password generation method that combines random elements (such as randomly selected special characters and letters) with predictable random numbers. This combination allows the user to predict and remember the password to a certain extent while maintaining sufficient complexity and security, thereby improving the user experience. Among them, the predictable random number is a random number generated with the current timestamp as the seed value, which not only ensures that each generated password is unique, but also makes the password generation process more transparent and controllable. In addition, due to the continuity and incremental nature of the timestamp, even if the password is partially leaked, it is difficult for the attacker to further attack by guessing the next password. Moreover, although the predictability element is introduced, the security of the password is maintained by ensuring the uniqueness and complexity of each password, and the security of the password can be further improved by regularly changing the password (by regularly updating the timestamp seed value) or using a more complex random number generation algorithm.
[0062] Since the predictable random number is a random number generated with the current timestamp as the seed value, and there is a log when the password is generated, the device administrator can trace back the original password based on the log of password generation. At the same time, since the predictable random number is a random number generated with the current timestamp as the seed value, there is a certain correlation between the initial password and the new password, and in addition, different random numbers will be generated based on different timestamps, so the new password can be calculated according to the specified policy and time.
[0063] The equipment automated operation and maintenance password management system in the present invention processes IPv4 and IPv6 related information through corresponding interfaces and tools to support IPv4 and IPv6 dual stack protocols, thereby supporting IPv4 devices and IPv6 devices, thereby simulating login through automated scripts and setting policies to automatically maintain the platform information of the corresponding devices, realize the function of remote device password modification, and can expand the function of modifying other information.
[0064] When using the equipment automated operation and maintenance password management system of the present invention to manage the password of the device, the administrator can batch import and export device data containing IPv4 or IPv6 information, check the online status of the device, and select the corresponding execution strategy to remotely execute the password information modification operation.
[0065] Based on the above-mentioned device automated operation and maintenance password management method, accordingly, this example also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the following steps are implemented: query the device list, obtain the number of devices Device and set and start a thread according to the number of devices Device, and then find the original password Password related to the device Device initia , and then check whether there is a script related to the device model. If so, a random password is generated according to the device type as the new password Password new The script then enters the username and password variables. If the script needs to change the password, it will update the password database to store the new password. new Enter the password library and then log it. Otherwise, do not update the password library and log it directly. After completing the log recording, end the operation.
[0066] like Figure 3 As shown, based on the above-mentioned device automated operation and maintenance password management method and computer-readable storage medium, in this embodiment, a computer device is also provided, which includes a readable storage medium, a processor, and a computer program stored on the readable storage medium and executable on the processor, wherein the readable storage medium and the processor are both arranged on a bus, and when the processor executes the computer program, the following steps are implemented: querying a device list, obtaining the number of devices Device and setting and starting a thread according to the number of devices Device, and then searching for an original password Password related to the device Device initia , and then check whether there is a script related to the device model. If so, a random password is generated according to the device type as the new password Password new The script then enters the username and password variables. If the script needs to change the password, it will update the password database to store the new password. new Enter the password library and then log it. Otherwise, do not update the password library and log it directly. After completing the log recording, end the operation.
[0067] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the claims of this patent application.
Claims
1. A method for managing passwords for automated equipment operation and maintenance, characterized in that: The steps include: S1) Query the device list; S2) according to the number of devices queried in step S1), a corresponding number of threads that allow the password update script to run are set and the threads are started; S3) Search the original password Password related to the device Device according to the device list queried in step S1) initial ; S4) If the device Device has the original password Password initial , then check whether there is a password update script related to the device model. If there is a corresponding password update script, jump to step S5) to continue execution. Otherwise, end the operation. If the device does not have the original password Password initial , then the operation ends; S5) Generates a random password based on the device type as the new password Password new And input the username and password variables into the script; when generating a random password, the random password generation strategy is that the password contains at least a random element and a predictable random number; generate a random password through the following steps: S5-1) Based on the original password of the device initial Select the password length and password strength and generate the initial password Password0; S5-2) Using a cryptographic function tool to process the initial password Password0 generated in step S5-1) to obtain an intermediate password Password middle ; Among them, the cryptographic function tool has a variety of optional cryptographic functions built in; S5-3) The intermediate password Password obtained in step S5-2) middle Perform n random confusions to get the new password Password new ; S6) After the script receives the username and password variables, if the password needs to be changed, the password database will be updated to store the new password Password new Enter the password library and then log it. Otherwise, do not update the password library and log it directly. After completing the log recording, end the operation.
2. The device automated operation and maintenance password management method according to claim 1, characterized in that: In step S5), the predictable random number is a random number generated using the current timestamp as a seed value.
3. The device automated operation and maintenance password management method according to claim 1, characterized in that: In step S5), the randomness element and the predictable random number are provided by the cryptographic element output module.
4. The device automated operation and maintenance password management method according to claim 3, characterized in that: The cryptographic element output modules include character(), generate_predictable_random_number(), and generate_three_lowercase_number().
5. The device automated operation and maintenance password management method according to claim 1, characterized in that: The device information in the device list is entered by manual addition or import.
6. The device automated operation and maintenance password management method according to claim 1, characterized in that: The password update script that is related to the device model is an automatic script.
7. A system for password management using the equipment automated operation and maintenance password management method according to claim 1, characterized in that: include: The equipment information management module is used to retrieve the equipment list and perform automatic equipment operation and maintenance management based on the number of equipment queried; A password generation module, used to generate a new password for the device; The password generation module has a built-in automatically running password update script and a password element output module that provides elements for password generation; Storage module, used to store passwords, device lists, and password management logs; The device information management module is respectively connected to the password generation module, the storage module and the device communication.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
9. A computer device comprising a readable storage medium, a processor, and a computer program stored on the readable storage medium and executable on the processor, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
