CN108092968B - Account management method and account management system equipment - Google Patents

Account management method and account management system equipment Download PDF

Info

Publication number
CN108092968B
CN108092968B CN201711319614.6A CN201711319614A CN108092968B CN 108092968 B CN108092968 B CN 108092968B CN 201711319614 A CN201711319614 A CN 201711319614A CN 108092968 B CN108092968 B CN 108092968B
Authority
CN
China
Prior art keywords
account
management system
account management
target
type
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
CN201711319614.6A
Other languages
Chinese (zh)
Other versions
CN108092968A (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.)
Zhejiang Qizhi Technology Co ltd
Original Assignee
Zhejiang Qizhi Technology 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 Zhejiang Qizhi Technology Co ltd filed Critical Zhejiang Qizhi Technology Co ltd
Priority to CN201711319614.6A priority Critical patent/CN108092968B/en
Publication of CN108092968A publication Critical patent/CN108092968A/en
Application granted granted Critical
Publication of CN108092968B publication Critical patent/CN108092968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides an account management method and account management system equipment, which are used for acquiring resource information by the account management system equipment, acquiring an account of a target object in target equipment according to an acquisition mode corresponding to an account type in the resource information and storing the account, so that the operation process of account management is simple and convenient, and the workload of account management is reduced. The method in the embodiment of the application comprises the following steps: the account management system equipment acquires resource information, wherein the resource information comprises an Internet Protocol (IP) address and a port number of target equipment, and the resource information also comprises an account type of an account to be acquired; the account management system device establishes connection with the target device according to the IP address and the port number of the target device and the account type; the account management system equipment acquires the account of the account type of the target equipment according to the acquisition mode corresponding to the account type; and the account management system equipment stores the account.

Description

Account management method and account management system equipment
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to an account management method and account management system equipment.
Background
With the development of network technology, in daily life, a user needs to register an account before using a host device, a database, network equipment, an application server and the like, and can use a corresponding application or execute a corresponding operation by logging in the account. Therefore, at present, since the types of accounts are various and the number of accounts is large, the account needs to be managed to determine the use condition of the account, such as the user of the account, and the like, the account on different devices or in an application system needs to be managed.
Currently, account management is mainly implemented by manually adding or manually filling forms in accounts registered in a host device, a network device, a database, an application server, and the like by a user and then importing the accounts into an account management system device in a form of a form.
However, currently, account management is mainly performed by adding or filling forms manually and then importing the forms into account management system equipment in a form, and manually inputting individual accounts to add the accounts into the account management system equipment causes troublesome account management and large workload.
Disclosure of Invention
The embodiment of the application provides an account management method and account management system equipment, which are used for acquiring resource information by the account management system equipment, acquiring an account of a target object in target equipment according to an acquisition mode corresponding to an account type in the resource information and storing the account, so that the operation process of account management is simple and convenient, and the workload of account management is reduced.
In a first aspect, an embodiment of the present application provides an account management method, including:
the account management system equipment acquires resource information, wherein the resource information comprises an Internet Protocol (IP) address and a port number of target equipment, and the resource information also comprises an account type of an account to be acquired;
the account management system device establishes connection with the target device according to the IP address and the port number of the target device and the account type;
the account management system equipment acquires the account of the account type of the target equipment according to the acquisition mode corresponding to the account type;
and the account management system equipment stores the account.
In a possible implementation manner, the creating, by the account management system device, a connection with the target device according to the IP address and the port number of the target device and the account type includes:
the account management system equipment determines a corresponding connection protocol according to the account type;
the account management system device establishes communication connection with the target device according to the IP address and the port number of the target device;
and the account management system equipment establishes data connection with the target object in the target equipment according to the connection protocol.
In another possible implementation manner, the resource information further includes a service type of the account to be acquired; after the account management system device obtains the account of the account type of the target device according to the obtaining mode corresponding to the account type, and before the account management system device stores the account, the method further includes:
and the account management system equipment marks a service tag on the account according to the service type of the account to be acquired, which is carried in the resource information, wherein the service tag is used for identifying the service type of the account.
In another possible implementation manner, after the account management system device stores the account, the method further includes:
the account management system equipment determines a new account in the account management system equipment according to a preset period;
the account management system equipment determines the service type corresponding to the newly added account according to the service tag carried in the newly added account;
and the account management system sends a first reminding message to an account preset in the service system corresponding to the service type, wherein the first reminding message is used for indicating that the newly added account is the information of the newly added account in the account management system equipment.
In another possible implementation manner, after the account management system device stores the account, the method further includes:
the account management system device acquires a second authority of the account according to the preset period, wherein the second authority is an operation authority of the account at a second moment in the target object corresponding to the target device;
the account management system equipment determines the service type of the target account according to the service label of the target account;
the account management system device judges whether the second permission is consistent with a first permission of the account, which is acquired by the account management system device according to the preset period, wherein the first permission is an operation permission of the account at a first moment in the target object corresponding to the target device;
if not, the account management system device sends a second prompting message to the preset account in the service system corresponding to the service type, wherein the second prompting message is used for indicating the state information of the account permission change.
In another possible implementation manner, after the account management system device sends the second prompting message to the account preset in the service system corresponding to the service type, the method further includes:
and the account management system equipment updates the authority of the account.
In another possible implementation manner, after the account management system device stores the account, the method further includes:
the account management system equipment determines the unused time length of the account;
if the unused time of the account is longer than the preset time, the account management system device sends a third prompting message to the preset account in the service system corresponding to the service type, wherein the third prompting message is used for indicating the state information of the unused time of the account.
In a second aspect, an embodiment of the present application provides an account management system device, including:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring resource information, the resource information comprises an Internet Protocol (IP) address and a port number of target equipment, and the resource information also comprises an account type of an account to be acquired;
the connection unit is used for establishing connection with the target equipment according to the IP address and the port number of the target equipment and the account type;
a second obtaining unit, configured to obtain an account of the account type of the target device according to an obtaining manner corresponding to the account type;
and the storage unit is used for storing the account.
In a possible implementation manner, the connection unit is specifically configured to:
determining a corresponding connection protocol according to the account type; establishing communication connection with the target equipment according to the IP address and the port number of the target equipment; and establishing data connection with the target object in the target equipment according to the connection protocol.
In another possible implementation manner, the resource information further includes a service type of the account to be acquired; the account management system device further includes:
and the marking unit is used for marking a service label for the account according to the service type of the account to be acquired, which is carried in the resource information, wherein the service label is used for marking the service type of the account.
In another possible implementation manner, the account management system device further includes:
the first determining unit is used for determining the newly added account in the account management system equipment according to a preset period;
a second determining unit, configured to determine a service type corresponding to the newly added account according to a service tag carried in the newly added account;
and the first sending unit is used for sending a first reminding message to an account preset in the service system corresponding to the service type, wherein the first reminding message is used for indicating that the newly added account is information of the newly added account in the account management system device.
In another possible implementation manner, the account management system device further includes:
a third acquiring unit acquires a second authority of the account according to the preset period, wherein the second authority is an operation authority of the account at a second moment in the target object corresponding to the target device;
a third determining unit, configured to determine a service type of the target account according to the service tag of the target account;
a first determining unit, configured to determine whether the second permission is consistent with a first permission of the account, which is obtained by the account management system device according to the preset period, where the first permission is an operation permission of the account at a first time in the target object corresponding to the target device;
and the second sending unit is used for sending a second reminding message to the preset account in the service system corresponding to the service type if the second authority is inconsistent with the first authority, wherein the second reminding message is used for indicating the state information of the account authority change.
In another possible implementation manner, the account management system device further includes:
and the updating unit is used for updating the authority of the account.
In another possible implementation manner, the account management system device further includes:
a fourth determining unit, configured to determine a duration for which the account is not used;
and the third sending unit is used for sending a third reminding message to the preset account in the service system corresponding to the service type if the unused time of the account is longer than the preset time, wherein the third reminding message is used for indicating the state information of the unused time of the account.
In a third aspect, an embodiment of the present application further provides an account management system device, including:
a processor, a memory, an input-output device, and a bus;
the processor, the memory and the input and output equipment are respectively connected with the bus, and computer instructions are stored in the memory;
the processor, when executing the computer instructions in the memory, is configured to implement any of the implementations of the first aspect.
In a fourth aspect, the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the implementation manner as described in any one of the first aspects.
In a fifth aspect, the present application provides a computer-readable storage medium, which is characterized by including instructions, when the instructions are executed on a computer, the instructions cause the computer to execute the implementation manner as described in any one of the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
according to the technical scheme, the account management system device acquires resource information, wherein the resource information comprises an Internet Protocol (IP) address and a port number of a target device and an account type of an account to be acquired, the account management system device establishes connection with the target device according to the IP address and the port number of the target device and the account type, the account management system device acquires the account of the account type of the target device according to an acquisition mode corresponding to the account type, and the account management system device stores the acquired account. Therefore, the account management system equipment can establish connection with the target equipment according to the resource information, and then can acquire the account of the account type of the target equipment through the acquisition mode corresponding to the account type of the account to be acquired in the resource information, so that the acquired account can be stored in the account management system equipment, the operation process of account management is simple and convenient, the account management is not required to be manually recorded into the account management system equipment, and the workload of account management is reduced.
Drawings
FIG. 1 is a system framework diagram of an account management method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of an account management method in an embodiment of the present application;
FIG. 3 is a schematic diagram of another embodiment of an account management method in the embodiment of the present application;
FIG. 4 is a schematic diagram of another embodiment of an account management method in the embodiment of the present application;
FIG. 5 is a schematic diagram of another embodiment of an account management method in the embodiment of the present application;
FIG. 6 is a schematic structural diagram of an account management system device in an embodiment of the present application;
fig. 7 is another schematic structural diagram of an account management system device in the embodiment of the present application.
Detailed Description
The embodiment of the application provides an account management method and account management system equipment, which are used for acquiring resource information by the account management system equipment, acquiring an account of a target object in target equipment according to an acquisition mode corresponding to an account type in the resource information and storing the account, so that the operation process of account management is simple and convenient, and the workload of account management is reduced.
Referring to fig. 1, in the account management process, the account management system device 101 and the target device 102 need to participate. The account management system device 101 is installed with an application program of an account management system, which is used to uniformly manage accounts registered by different applications in different devices, and store the accounts in the account management system device, for example, in an enterprise, each employee registers an account in an operating system or an application program required by the job of a target device, and then the account management system device can be connected with the target devices, and the accounts can be stored through the account management system device, so that management of the account of the employee by the enterprise is facilitated. The target device may be a host device, a network device, a device installed with an application system or a database, the host device may be a Window operating system host device, a Linux host device, or the like, and the device installed with the application system may be a WEB page (WEB) system installation device, or the like, which is not limited herein.
Referring to fig. 2, the account management method in the embodiment of the present application is described below from the perspective of an account management system device, where an embodiment of the account management method in the embodiment of the present application includes:
201. the account management system device obtains the resource information.
The account management system device may obtain resource information, where the resource information includes an Internet Protocol (IP) address of the target device, a port number, an account type of the account to be obtained, and may further include a service type and a privilege of the account to be obtained, or a user name and a password of an administrator account, and the details are not limited herein. The resource information may include a privileged account or a user name and a password of a management account, or may be that a common account is authorized by a privileged account, and then the user name and the password of the common account are input, and the specific details are not limited herein.
It should be noted that the acquiring of the resource information by the account management system device may be inputting the resource information in a corresponding window by the user, or may be acquiring the resource information preset in the account management system device by the account management system device, which is not limited herein.
202. The account management system device creates a connection with the destination device according to the IP address and port number of the destination device and the account type.
The account management system device can establish connection with the target device through the IP address and the port number of the target device, then can determine a corresponding connection protocol according to the account type of the account to be acquired in the resource information, and then can establish connection with a target object in the target device, for example, at this time, if the account management system device needs to acquire the account of an employee in an enterprise, communication connection is firstly established with a computer used by the employee, then the account management system device determines that the account of the employee is a Windows host account according to the account type, and then the account management system establishes data connection with the Windows according to the corresponding protocol for connecting the Windows host.
203. And the account management system equipment acquires the account of the account type of the target equipment according to the acquisition mode corresponding to the account type.
After the account management system device establishes a connection with a target object in the target device, the account management system device may acquire an account of an account type of the target device according to an acquisition manner corresponding to the account type, for example, if the account management system device determines that the account type of the account to be acquired is a Window host account, the account management system device acquires the account using a processing command.
It should be noted that the types of the accounts may be divided into a host account, an application system account, a database account, and the like, and the specific examples are not limited herein, where the host account includes a Windows host account, a Linux host account, a Unix host account, and the like, and the specific examples are not limited herein.
204. The account management system device stores the account.
The account management system device acquires the account, stores the account, and after the account is stored, the account management system device can periodically check the stored account, can check the use time of the accounts, the authority status in the use process, the basic information of the newly added account and the like, and is not limited in the specific steps, so that the account management system device can detect the latest status of the accounts in real time, and the accuracy of account management is improved.
In this embodiment, the account management system device obtains resource information, where the resource information includes an internet protocol IP address and a port number of a target device and an account type of an account to be obtained, the account management system device establishes a connection with the target device according to the IP address and the port number of the target device and the account type, the account management system device obtains the account of the account type of the target device according to an obtaining manner corresponding to the account type, and the account management system device stores the obtained account. Therefore, the account management system equipment can establish connection with the target equipment according to the resource information, and then can acquire the account of the account type of the target equipment through the acquisition mode corresponding to the account type of the account to be acquired in the resource information, so that the acquired account can be stored in the account management system equipment, the operation process of account management is simple and convenient, the account management is not required to be manually recorded into the account management system equipment, and the workload of account management is reduced.
After the account management system device stores the acquired account, the account management system device may periodically check the newly added account, may also periodically check the authority of the account, or periodically check the use condition of the account, and the like, which is not limited herein. The following examples describe these three implementation schemes, respectively.
Referring to fig. 3, in the embodiment of fig. 3, after the account management system device stores the account, the account management system device may periodically check the newly added account, and another embodiment of the account management method in the embodiment of the present application includes:
301. the account management system device obtains the resource information.
Step 301 is similar to step 201 in fig. 2, and detailed description thereof is omitted here.
302. And the account management system equipment determines a corresponding connection protocol according to the account type.
After the account management system device acquires the resource information, it may determine a corresponding connection protocol according to an account type included in the resource information, where, for example, if the account type is a host account type, the account management system device determines that the host account type is a Windows system host account type, and then the account management system device may determine to connect to the host using a window remote procedure call protocol winrpc; if the host account type is a Linux system host account type, a Unix system host account type, or the like, the account management system device may determine to use a TELNET protocol or a Secure Shell (SSH) protocol of the remote terminal to connect to the host; if the account type is determined to be the database account type, the account management system device may determine to connect to the database using a Java database connection (JDBC) interface; if the account type is the application system account type, such as the WEB system account type, automatically logging in the system by using a browser interactive driver WebDriver interface; and if the account type is other system account types, using the interface of the account management system equipment for connection.
303. And the account management system device establishes communication connection with the target device according to the IP address and the port number of the target device.
The account management system device may create a communication connection with the target device according to the IP address and the port number included in the resource information.
304. And the account management system equipment establishes data connection with a target object in the target equipment according to the connection protocol.
After the account management system device establishes a communication connection with the target device, a data connection may be established with the target object in the target device according to the connection protocol determined in step 302. For example, the account management system device may be connected to the Window system of the target device using winrpc.
305. And the account management system equipment determines a corresponding processing command according to the account type in the resource information.
After the account management system device establishes a data connection with the target object of the target device, a corresponding processing command can be determined according to the account type in the resource information. For example, if the account type is a host account type, the account management system device determines that the host account type is a host account type of a Windows system, and at this time, the account management system device may determine to use a wmic path with 32_ group processor to process the command; if the host account type is a Linux system host account type, a Unix system host account type and the like, the account management system equipment can determine to use the cat/etc/password processing command; if the account type is determined to be the database account type, the account management system equipment can determine to use the statement for inquiring the account table; if the account type is an application system account type, such as a WEB system account type, a system user can be queried; if the account type is other system account types, the user-defined mode can be used for inquiring.
306. And the account management system equipment executes the processing command to obtain the account of the target object in the target equipment.
The account management system device may execute the corresponding processing command according to the processing command determined in step 305 and used corresponding to the different account types, so as to obtain the account of the target object in the target device.
307. And the account management system equipment carries out service labeling on the account according to the service type of the account to be acquired in the resource information.
The account management system device can perform service tagging on the acquired account according to the service type of the account to be acquired in the resource information. For example, if the acquired account is an account in an online banking system, a service tag can be applied to the account at this time to identify which service type the account belongs to, so that a subsequent account management system can send a prompt message to a preset account or an administrator account of the service system of the service type when a change is found in a state monitoring process of the account, accuracy of account management is improved, and an administrator corresponding to the online banking system can determine information such as a use state of the account in time.
308. And the account management system equipment determines the account newly added in the account management system equipment according to a preset period.
The account management system device may determine the account newly added to the account management system device according to a preset period.
309. And the account management system equipment determines the service type corresponding to the newly added account according to the service tag carried in the newly added account.
The account management system device may determine the newly added account according to the service tag in the newly added account, for example, if the newly added account carries the service tag of the internet banking system, the service type of the account may be determined according to the service tag.
310. And the account management system equipment sends a first reminding message to an account preset in a service system corresponding to the service type.
The account management system device may then send a first prompting message to an account preset in the service system corresponding to the service type, where the first prompting message is used to indicate a new account added in the account management system device, where the account preset in the service system may be an administrator account of the service system or an authorized common account, and the specific details are not limited herein. The account management system device may send the first prompting message to a mailbox bound to an account preset by the service system or send information to a mobile phone number bound to the preset account, and the like, which is not limited herein.
It should be noted that, after the account management system device sends the first reminding message, the account management system device may also display the first reminding message in the account management system, which is not limited herein.
311. And the account management system equipment updates the newly added account.
The account management system equipment updates the newly added account so as to be convenient for viewing the history record subsequently, thereby improving the traceability of data and the safety of account management. It should be noted that, when the account management system device displays the first reminding message in the account management system, the account management system device will clear the first reminding message at this time.
It should be noted that, step 308 to step 311 may not be executed, after the account management system device stores the acquired account, and after the account management system device determines the service type of the account according to the service tag, that is, after the account management system device executes step 307, the account management system device sends a first prompting message to a preset account of the service system corresponding to the service type of the account, where the message is used to indicate an account newly added to the account management system, that is, to prompt in time after the account is acquired, and this is not limited herein.
In this embodiment, the account management system device obtains resource information, where the resource information includes an internet protocol IP address and a port number of a target device and an account type of an account to be obtained, the account management system device establishes a connection with the target device according to the IP address and the port number of the target device and the account type, the account management system device obtains the account of the account type of the target device according to an obtaining manner corresponding to the account type, and the account management system device stores the obtained account. Therefore, the account management system equipment can establish connection with the target equipment according to the resource information, and then can acquire the account of the account type of the target equipment through the acquisition mode corresponding to the account type of the account to be acquired in the resource information, so that the acquired account can be stored in the account management system equipment, the operation process of account management is simple and convenient, the account management is not required to be manually recorded into the account management system equipment, and the workload of account management is reduced.
Referring to fig. 4, in the embodiment of fig. 4, after the account is stored, the account management system device may periodically check the operation authority of the account, and another embodiment of the account management method in the embodiment of the present application includes:
401. the account management system device obtains the resource information.
402. And the account management system equipment determines a corresponding connection protocol according to the account type.
403. And the account management system device establishes communication connection with the target device according to the IP address and the port number of the target device.
404. And the account management system equipment establishes data connection with a target object in the target equipment according to the connection protocol.
405. And the account management system equipment determines a corresponding processing command according to the account type in the resource information.
406. And the account management system equipment executes the processing command to obtain the account of the target object in the target equipment.
407. And the account management system equipment carries out service labeling on the account according to the service type of the account to be acquired in the resource information.
Steps 401 to 407 are similar to steps 301 to 307 in fig. 3, and are not described herein again.
408. And the account management system equipment acquires the second authority of the account according to a preset period.
The account management system detects the authority of the account according to a preset period, and acquires a second authority of the account at a second moment, namely the second authority is the operation authority of the account in the service system at the second moment.
409. The account management system device determines whether the second permission is consistent with the first permission of the account acquired by the account management system device according to a preset period, if so, step 410 is executed, and if not, step 412 is executed.
After the account management system device acquires the second permission, it may determine whether the second permission of the account is consistent with the first permission of the account acquired by the account management system device at the first time, if so, execute step 410, and if not, execute step 412.
410. And the account management system equipment sends a second reminding message to a preset account in the service system corresponding to the service type.
And when the account management system device determines that the second authority is inconsistent with the first authority, the account management system device sends a second prompting message to an account preset in the service system corresponding to the service type at the moment, wherein the second prompting message is used for indicating the state of the account authority change. The account preset by the service system may be an administrator account of the service system or an authorized general account, and is not limited herein. The account management system device may send the second reminding message to a mailbox bound to an account preset by the service system or send a message to a mobile phone number bound to the preset account, and the like, which is not limited herein.
It should be noted that, after the account management system device sends the second reminding message, the account management system device may also display the second reminding message in the account management system, which is not limited herein.
411. And the account management system equipment updates the second permission of the account.
The account management system device updates the second permission of the account so as to be convenient for viewing the history record subsequently, thereby ensuring the traceability of data and improving the safety of account management. It should be noted that, when the account management system device displays the second reminding message in the account management system, the account management system device will clear the second reminding message at this time.
412. The account management system device performs other operations.
If the second permission of the account is consistent with the first permission, the account management system device performs other operations, for example, the account management system device may continue to detect the permission of the account or continue to detect the permissions of other accounts, which is not limited herein.
In this embodiment, the account management system device obtains resource information, where the resource information includes an internet protocol IP address and a port number of a target device and an account type of an account to be obtained, the account management system device establishes a connection with the target device according to the IP address and the port number of the target device and the account type, the account management system device obtains the account of the account type of the target device according to an obtaining manner corresponding to the account type, and the account management system device stores the obtained account. Therefore, the account management system equipment can establish connection with the target equipment according to the resource information, and then can acquire the account of the account type of the target equipment through the acquisition mode corresponding to the account type of the account to be acquired in the resource information, so that the acquired account can be stored in the account management system equipment, the operation process of account management is simple and convenient, the account management is not required to be manually recorded into the account management system equipment, and the workload of account management is reduced.
Referring to fig. 5, in the embodiment of fig. 5, after the account management system device stores the account, the account management system device may periodically check the use time of the account, and another embodiment of the account management method in the embodiment of the present application includes:
501. the account management system device obtains the resource information.
502. And the account management system equipment determines a corresponding connection protocol according to the account type.
503. And the account management system device establishes communication connection with the target device according to the IP address and the port number of the target device.
504. And the account management system equipment establishes data connection with a target object in the target equipment according to the connection protocol.
505. And the account management system equipment determines a corresponding processing command according to the account type in the resource information.
506. And the account management system equipment executes the processing command to obtain the account of the target object in the target equipment.
507. And the account management system equipment carries out service labeling on the account according to the service type of the account to be acquired in the resource information.
Steps 501 to 507 are similar to steps 301 to 307 in fig. 3, and are not described herein again.
508. The account management system device determines the length of time that the account is not in use.
The account management system device may determine a time length during which the account is not used, specifically, the account management system device may periodically detect an obtained use condition of the account according to a preset period, and then obtain a last use time in the history of the account, and after obtaining the last use time of the account, the account management system device may calculate the time length during which the account is not used according to the use time, specifically, the time length during which the account is not used may be obtained by subtracting the last use time of the account obtained by the last detection result from the last use time in the history of the account obtained by the account management system device, or the time length during which the account is not used may be determined by a manner, which is not limited herein.
509. The account management system device determines whether the unused time of the account is longer than a preset time, if so, step 510 is executed, and if not, step 512 is executed.
After determining the unused duration of the account, the account management system device may determine whether the duration is greater than a preset duration, if the duration is greater than the preset duration, execute step 510, and if the duration is not greater than the preset duration, execute step 512.
510. And the account management system equipment sends a third reminding message to an account preset in the service system corresponding to the service type of the account.
When the unused time length of the account is longer than the preset time length, the account management system device sends a third reminding message to the account preset in the service system corresponding to the service type at this time, wherein the third reminding message is the unused time length state information of the account. The account preset by the service system may be an administrator account of the service system or an authorized general account, and is not limited herein. The account management system device may send the third reminding message to a mailbox bound to an account preset by the service system or send a message to a mobile phone number bound to the preset account, and the like, which is not limited herein.
It should be noted that, after the account management system device sends the third reminding message, the account management system device may also display the third reminding message in the account management system, which is not limited herein.
511. The account management system device updates the last usage time in the historical account usage record.
The account management system equipment updates the last using time of the account so as to be convenient for viewing history records subsequently, thereby ensuring data traceability and improving account management safety, secondly, when the account management system equipment detects that the unused time of the account exceeds the preset using time for many times, the account management system equipment can log off the account at the moment, or can send a reminding message to the account preset by a service system corresponding to the service type of the account, wherein the message is the message about to be logged off, and when the account is not used after a certain period, the account management system equipment logs off the account at the moment, and the specific point is not limited. It should be noted that, when the account management system device displays the third prompting message in the account management system, the account management system device will clear the third prompting message at this time.
512. The account management system device performs other operations.
If the unused time duration of the account is less than the preset time duration, the account management system device performs other operations, for example, the account management system device continues to detect the use time of the account or starts to detect the use time of other accounts, which is not limited herein.
In this embodiment, the account management system device obtains resource information, where the resource information includes an internet protocol IP address and a port number of a target device and an account type of an account to be obtained, the account management system device establishes a connection with the target device according to the IP address and the port number of the target device and the account type, the account management system device obtains the account of the account type of the target device according to an obtaining manner corresponding to the account type, and the account management system device stores the obtained account. Therefore, the account management system equipment can establish connection with the target equipment according to the resource information, and then can acquire the account of the account type of the target equipment through the acquisition mode corresponding to the account type of the account to be acquired in the resource information, so that the acquired account can be stored in the account management system equipment, the operation process of account management is simple and convenient, the account management is not required to be manually recorded into the account management system equipment, and the workload of account management is reduced.
The account management method in the embodiment of the present application is described above, and please refer to fig. 6, where the marking unit 605, the first determining unit 606, the second determining unit 607, the first sending unit 608, the third obtaining unit 609, the third determining unit 610, the first determining unit 611, the second sending unit 612, the updating unit 613, the fourth determining unit 614, and the third sending unit 615 are optional units, and an embodiment of the account management system device in the embodiment of the present application includes:
a first obtaining unit 601, configured to obtain resource information, where the resource information includes an internet protocol IP address and a port number of a target device, and the resource information further includes an account type of an account to be obtained;
a connection unit 602, configured to create a connection with the target device according to the IP address and the port number of the target device and the account type;
a second obtaining unit 603, configured to obtain an account of the account type of the target device according to an obtaining manner corresponding to the account type;
and the storage unit is used for storing the account number.
In this embodiment, the connection unit 602 is specifically configured to determine a corresponding connection protocol according to the account type; establishing communication connection with the target equipment according to the IP address and the port number of the target equipment; and establishing data connection with the target object in the target equipment according to the connection protocol.
In this embodiment, the resource information further includes a service type of the account to be acquired; the account management system device further includes:
a marking unit 605, configured to mark, according to the service type of the account to be acquired carried in the resource information, a service tag for the account, where the service tag is used to identify the service type of the account.
In this embodiment, the account management system device further includes:
a first determining unit 606, configured to determine, according to a preset period, an account newly added to the account management system device;
a second determining unit 607, configured to determine a service type corresponding to the newly added account according to the service tag carried in the newly added account;
a first sending unit 608, configured to send a first prompting message to an account preset in a service system corresponding to the service type, where the first prompting message is used to indicate that the newly added account is information of the newly added account in the account management system device.
In this embodiment, the account management system device further includes:
a third obtaining unit 609, configured to obtain a second permission of the account according to a preset period, where the second permission is an operation permission of the account at a second time in the target object corresponding to the target device;
a third determining unit 610, configured to determine a service type of the target account according to the service tag of the target account;
a first determining unit 611, configured to determine whether the second permission is consistent with a first permission of the account, which is obtained by the account management system device according to the preset period, where the first permission is an operation permission of the account at a first time in the target object corresponding to the target device;
a second sending unit 612, configured to send a second prompting message to the preset account in the service system corresponding to the service type of the account if the second permission is inconsistent with the first permission, where the second prompting message is used to indicate state information of the account permission change.
In this embodiment, the account management system device further includes:
an updating unit 613 is configured to update the authority of the account.
In this embodiment, the account management system device further includes:
a fourth determining unit 614, configured to determine a duration of time that the account is not used;
a third sending unit 615, configured to send a third prompting message to the preset account in the service system corresponding to the service type if the unused duration of the account is longer than a preset duration, where the third prompting message is used to indicate state information of the unused duration of the account.
In this embodiment, the first obtaining unit 601 obtains resource information, where the resource information includes an internet protocol IP address, a port number, and an account type of an account to be obtained of a target device, the connection unit 602 creates a connection with the target device according to the IP address and the port number of the target device and the account type, the second obtaining unit 603 obtains an account of the account type of the target device according to an obtaining manner corresponding to the account type, and the storage unit 604 stores the obtained account. Therefore, a connection can be established with the target device through the connection unit 602 according to the resource information, then the second obtaining unit 603 obtains the account of the account type of the target device through the obtaining manner corresponding to the account type of the account to be obtained in the resource information, and thus the storage unit 604 stores the obtained account into the account management system device, so that the operation process of account management is simple and convenient, and the account management workload is reduced without manually entering the accounts into the account management system device.
Referring to fig. 7, an embodiment of an account management system device in the embodiment of the present application further provides an account management system device 700, including:
a processor 701, a memory 702, an input-output device 703, and a bus 704;
the processor 701, the memory 702 and the input/output device 703 are respectively connected to the bus 704, and computer instructions are stored in the memory;
the input/output device 703 is configured to acquire resource information, where the resource information includes an internet protocol IP address and a port number of a target device, and the resource information further includes an account type of an account to be acquired;
the processor 701 is configured to create a connection with the target device according to the IP address and port number of the target device and the account type;
the input/output device 703 is further configured to obtain an account of the account type of the target device according to an obtaining manner corresponding to the account type;
the memory 702 is used to store the account number.
In one possible implementation, the processor 701 is specifically configured to:
determining a corresponding connection protocol according to the account type; establishing communication connection with the target equipment according to the IP address and the port number of the target equipment; and establishing data connection with the target object in the target equipment according to the connection protocol.
In another possible implementation manner, the processor 701 is further configured to:
and marking a service label for the account according to the service type of the account to be acquired, which is carried in the resource information, wherein the service label is used for identifying the service type of the account.
In another possible implementation manner, the processor 701 is further configured to:
determining a new account number in the account number management system equipment according to a preset period; determining the service type corresponding to the newly added account according to the service tag carried in the newly added account; and sending a first reminding message to an account preset in the service system corresponding to the service type, wherein the first reminding message is used for indicating the newly added account as the information of the newly added account in the account management system equipment.
In another possible implementation manner, the processor 701 is further configured to:
acquiring a second authority of the account according to a preset period, wherein the second authority is an operation authority of the account at a second moment in the target object corresponding to the target device; determining the service type of the target account according to the service label of the target account; judging whether the second permission is consistent with a first permission of the account acquired by the account management system device according to the preset period, wherein the first permission is an operation permission of the account at a first moment in the target object corresponding to the target device; and if the second authority is not consistent with the first authority, sending a second prompting message to the preset account in the service system corresponding to the service type of the account, wherein the second prompting message is used for indicating the state information of the account authority change.
In another possible implementation manner, the processor 701 is further configured to update the authority of the account.
In another possible implementation manner, the processor 701 is further configured to:
determining the unused time length of the account; and if the unused time of the account is longer than the preset time, sending a third prompting message to the preset account in the service system corresponding to the service type, wherein the third prompting message is used for indicating the state information of the unused time of the account.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. An account management method, characterized in that the method comprises:
the account management system equipment acquires resource information, wherein the resource information comprises an Internet Protocol (IP) address and a port number of target equipment, and the resource information also comprises an account type of an account to be acquired;
the account management system equipment determines a corresponding connection protocol according to the account type;
the account management system device establishes communication connection with the target device according to the IP address and the port number of the target device;
the account management system equipment establishes data connection with a target object in the target equipment according to the connection protocol;
the account management system equipment acquires the account of the account type of the target equipment according to the acquisition mode corresponding to the account type;
and the account management system equipment stores the account.
2. The method according to claim 1, wherein the resource information further includes a service type of the account to be acquired; after the account management system device obtains the account of the account type of the target device according to the obtaining mode corresponding to the account type, and before the account management system device stores the account, the method further includes:
and the account management system equipment marks a service tag on the account according to the service type of the account to be acquired, which is carried in the resource information, wherein the service tag is used for identifying the service type of the account.
3. The method of claim 2, wherein after the account management system device stores the account, the method further comprises:
the account management system equipment determines a new account in the account management system equipment according to a preset period;
the account management system equipment determines the service type corresponding to the newly added account according to the service tag carried in the newly added account;
and the account management system sends a first reminding message to an account preset in the service system corresponding to the service type, wherein the first reminding message is used for indicating that the newly added account is the information of the newly added account in the account management system equipment.
4. The method of claim 2, wherein after the account management system device stores the account, the method further comprises:
the account management system device acquires a second authority of the account according to the preset period, wherein the second authority is an operation authority of the account at a second moment in the target object corresponding to the target device;
the account management system equipment determines the service type of the target account according to the service label of the target account;
the account management system device judges whether the second permission is consistent with a first permission of the account, which is acquired by the account management system device according to the preset period, wherein the first permission is an operation permission of the account at a first moment in the target object corresponding to the target device;
if not, the account management system device sends a second prompting message to the preset account in the service system corresponding to the service type, wherein the second prompting message is used for indicating the state information of the account permission change.
5. The method according to claim 4, wherein after the account management system device sends the second reminding message to the account preset in the service system corresponding to the service type, the method further comprises:
and the account management system equipment updates the authority of the account.
6. The method of claim 2, wherein after the account management system device stores the account, the method further comprises:
the account management system equipment determines the unused time length of the account;
if the unused time of the account is longer than the preset time, the account management system device sends a third prompting message to the preset account in the service system corresponding to the service type, wherein the third prompting message is used for indicating the state information of the unused time of the account.
7. An account management system device, characterized in that the account management system device comprises:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring resource information, the resource information comprises an Internet Protocol (IP) address and a port number of target equipment, and the resource information also comprises an account type of an account to be acquired;
the connection unit is used for determining a corresponding connection protocol according to the account type; establishing communication connection with the target equipment according to the IP address and the port number of the target equipment; establishing data connection with a target object in the target equipment according to the connection protocol;
a second obtaining unit, configured to obtain an account of the account type of the target device according to an obtaining manner corresponding to the account type;
and the storage unit is used for storing the account.
8. The account management system device of claim 7, wherein the resource information further comprises a service type of the account to be acquired; the account management system device further includes:
and the marking unit is used for marking a service label for the account according to the service type of the account to be acquired, which is carried in the resource information, wherein the service label is used for marking the service type of the account.
9. The account management system device of claim 8, wherein said account management system device further comprises:
the first determining unit is used for determining the newly added account in the account management system equipment according to a preset period;
a second determining unit, configured to determine a service type corresponding to the newly added account according to a service tag carried in the newly added account;
and the first sending unit is used for sending a first reminding message to an account preset in the service system corresponding to the service type, wherein the first reminding message is used for indicating that the newly added account is information of the newly added account in the account management system device.
10. The account management system device of claim 9, wherein said account management system device further comprises:
a third obtaining unit, configured to obtain a second permission of the account according to the preset period, where the second permission is an operation permission of the account at a second time in the target object corresponding to the target device;
a third determining unit, configured to determine a service type of the target account according to the service tag of the target account;
a first determining unit, configured to determine whether the second permission is consistent with a first permission of the account, which is obtained by the account management system device according to the preset period, where the first permission is an operation permission of the account at a first time in the target object corresponding to the target device;
and the second sending unit is used for sending a second reminding message to the preset account in the service system corresponding to the service type if the second authority is inconsistent with the first authority, wherein the second reminding message is used for indicating the state information of the account authority change.
11. The account management system device of claim 10, wherein said account management system device further comprises:
and the updating unit is used for updating the authority of the account.
12. The account management system device of claim 8, wherein said account management system device further comprises:
a fourth determining unit, configured to determine a duration for which the account is not used;
and the third sending unit is used for sending a third reminding message to the preset account in the service system corresponding to the service type if the unused time of the account is longer than the preset time, wherein the third reminding message is used for indicating the state information of the unused time of the account.
13. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1 to 6.
CN201711319614.6A 2017-12-12 2017-12-12 Account management method and account management system equipment Active CN108092968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711319614.6A CN108092968B (en) 2017-12-12 2017-12-12 Account management method and account management system equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711319614.6A CN108092968B (en) 2017-12-12 2017-12-12 Account management method and account management system equipment

Publications (2)

Publication Number Publication Date
CN108092968A CN108092968A (en) 2018-05-29
CN108092968B true CN108092968B (en) 2020-12-08

Family

ID=62175080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711319614.6A Active CN108092968B (en) 2017-12-12 2017-12-12 Account management method and account management system equipment

Country Status (1)

Country Link
CN (1) CN108092968B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073928A (en) * 2010-12-30 2011-05-25 天津市国瑞数码安全系统有限公司 Interface definition-based synchronous management method of resource accounts
CN103179135A (en) * 2013-04-19 2013-06-26 网宿科技股份有限公司 Remote management method based on ssh transfer machine
CN104426695A (en) * 2013-08-28 2015-03-18 北京神州泰岳软件股份有限公司 Method and system for heterogeneous equipment account management
CN104717554A (en) * 2015-03-19 2015-06-17 小米科技有限责任公司 Smart television control method and device and electronic equipment
CN105844142A (en) * 2016-03-16 2016-08-10 上海新炬网络信息技术有限公司 Safe centralized management and control method of database account
CN106997357A (en) * 2016-01-22 2017-08-01 腾讯科技(深圳)有限公司 A kind of message treatment method, apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379990B2 (en) * 2002-08-12 2008-05-27 Tsao Sheng Ted Tai Distributed virtual SAN

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073928A (en) * 2010-12-30 2011-05-25 天津市国瑞数码安全系统有限公司 Interface definition-based synchronous management method of resource accounts
CN103179135A (en) * 2013-04-19 2013-06-26 网宿科技股份有限公司 Remote management method based on ssh transfer machine
CN104426695A (en) * 2013-08-28 2015-03-18 北京神州泰岳软件股份有限公司 Method and system for heterogeneous equipment account management
CN104717554A (en) * 2015-03-19 2015-06-17 小米科技有限责任公司 Smart television control method and device and electronic equipment
CN106997357A (en) * 2016-01-22 2017-08-01 腾讯科技(深圳)有限公司 A kind of message treatment method, apparatus and system
CN105844142A (en) * 2016-03-16 2016-08-10 上海新炬网络信息技术有限公司 Safe centralized management and control method of database account

Also Published As

Publication number Publication date
CN108092968A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN110856126B (en) Information reporting and receiving method, terminal equipment and storage medium
US10084681B2 (en) Method and system for monitoring server cluster
CN108521347B (en) Industrial control operation and maintenance behavior auditing method, device and system
CN106844645B (en) Power communication equipment information inquiry system
CN107169094B (en) Information aggregation method and device
EP3575975B1 (en) Method and apparatus for operating smart network interface card
CN110149298B (en) Hijacking detection method and device
CN108809702B (en) Equipment management method and equipment management platform
CN110727560A (en) Cloud service alarm method and device
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN110704872A (en) Data query method and device, electronic equipment and computer readable storage medium
CN107633386B (en) Method, system, equipment and storage medium for managing network terminal information
CN112769876B (en) Method, device, equipment and medium for acquiring equipment channel information
CN115001967A (en) Data acquisition method and device, electronic equipment and storage medium
CN110851334A (en) Flow statistical method, electronic device, system and medium
CN107911496A (en) A kind of VPN service terminal acts on behalf of the method and device of DNS
CN110727563A (en) Cloud service alarm method and device for preset customer
CN108965403B (en) Operation and maintenance monitoring connection establishing method and terminal equipment
CN106970811A (en) A kind of patch file installation method and its equipment
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN113626882A (en) Method, device and medium for generating equipment identifier
CN111177053B (en) Data communication method, device and system and computer readable storage medium
CN111224932B (en) User management method and device of server out-of-band management system
CN108092968B (en) Account management method and account management system equipment
CN113127875A (en) Vulnerability processing method and related equipment

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