CN109257455B - Method and system for realizing real-name system of terminal assets - Google Patents

Method and system for realizing real-name system of terminal assets Download PDF

Info

Publication number
CN109257455B
CN109257455B CN201811018316.8A CN201811018316A CN109257455B CN 109257455 B CN109257455 B CN 109257455B CN 201811018316 A CN201811018316 A CN 201811018316A CN 109257455 B CN109257455 B CN 109257455B
Authority
CN
China
Prior art keywords
computer terminal
information
domain
dhcp
file
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
CN201811018316.8A
Other languages
Chinese (zh)
Other versions
CN109257455A (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.)
Information Center of Guangdong Power Grid Co Ltd
Original Assignee
Information Center of Guangdong Power Grid 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 Information Center of Guangdong Power Grid Co Ltd filed Critical Information Center of Guangdong Power Grid Co Ltd
Priority to CN201811018316.8A priority Critical patent/CN109257455B/en
Publication of CN109257455A publication Critical patent/CN109257455A/en
Application granted granted Critical
Publication of CN109257455B publication Critical patent/CN109257455B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/3025Domain name generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/457Network directories; Name-to-address mapping containing identifiers of data entities on a computer, e.g. file names
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The invention discloses a method and a system for realizing a real-name system of a terminal asset. The method comprises the steps of generating a script file for reading basic information of a computer terminal on an AD domain control server; packing the script file into an execution file; when the computer terminal is started, the AD domain control group strategy manager reads the basic information of the computer terminal according to the execution file; generating a computer terminal asset information file according to the corresponding relation of the basic information of the computer terminal; sending the information file to a DHCP system; the DHCP system writes the information file into a background database; and the DHCP system associates and displays the domain user account in the asset information file of the computer terminal with the original IP address information in the background database. The invention realizes real-time association and unified display of the IP address, the MAC address and the domain control user information of the terminal, and improves the efficiency of asset management and operation and maintenance of the computer terminal.

Description

Method and system for realizing real-name system of terminal assets
Technical Field
The invention relates to the technical field of computer management, in particular to a method and a system for realizing real-name system of terminal assets based on AD domain control and DHCP.
Background
The Dynamic Host Configuration Protocol (DHCP) is mainly used for centrally managing and allocating IP addresses, so that a Host in a network environment dynamically obtains information such as IP addresses, Gateway addresses, DNS server addresses, and the like, and the utilization rate of the addresses can be improved. At present, only a computer name, an IP address and a hardware address (media access Control or media access Control, MAC) can be displayed on a DHCP, a corresponding relationship with a domain user domain account cannot be counted, so that a user who uses a computer terminal asset at all cannot be identified, when the use condition of the asset is counted, the corresponding relationship can be counted only by logging in a desktop management system and other related systems for comprehensive comparison, and a great pressure is applied to daily operation and maintenance, troubleshooting and other work, so that a great management blind area is formed, and great inconvenience is brought to daily operation and maintenance of a power grid information center.
Because the IP address, the MAC address and the domain control user information of the terminal cannot be associated together in real time and uniformly displayed, when a statistical form and a fault are eliminated, the time when the terminal is accessed and used by a person can be finally determined by comprehensive analysis of a plurality of systems, and the gold time for analyzing and obtaining evidence is wasted.
Disclosure of Invention
The invention aims to provide a method and a system for realizing real-name system of terminal assets based on AD (Active directory) domain control and DHCP (dynamic host configuration protocol), so as to realize real-time association and unified display of terminal IP (Internet protocol) addresses, MAC (media access control) addresses and domain control user information and improve the efficiency of asset management and operation and maintenance of a computer terminal.
In order to achieve the above object, the present invention provides a method for implementing real-name system of terminal assets based on AD domain control and DHCP, comprising:
generating a script file for reading basic information of a computer terminal on an AD domain control server;
packaging the script file into an execution file;
when the computer terminal is started, the AD domain control group strategy manager reads the basic information of the computer terminal according to the execution file;
generating a computer terminal asset information file according to the read corresponding relation of the basic computer terminal information of the computer terminal;
sending the asset information file of the computer terminal to a DHCP system;
the DHCP system writes the asset information file of the computer terminal into a background database;
and the DHCP system performs correlation display on the domain user account in the asset information file of the computer terminal and the original IP address information in the background database.
Optionally, the DHCP system associates and displays the domain user account login name in the asset information file of the computer terminal with the original IP address information in the background database, and the method specifically includes:
adding a list of attributes of domain user accounts on the original interface, wherein the attributes of the domain user accounts are the domain user accounts corresponding to the original IP address information.
Optionally, the basic information of the computer terminal includes IP address information, a computer name, a hardware address, and a domain user account.
Optionally, the displayed content includes a computer name, IP address information, a hardware address, a domain user account, and online time.
Optionally, the domain user account is a user account registered by the user with the real name.
The invention also provides a system for realizing the real-name system of the terminal assets based on AD domain control and DHCP, which comprises the following steps:
a script file generating unit for generating a script file for reading basic information of the computer terminal on the AD domain control server;
the packaging unit is used for packaging the script file into an execution file;
a basic information reading unit, configured to, when the computer terminal is started, read, by the AD domain control group policy manager, basic information of the computer terminal according to the execution file;
an information file generating unit, configured to generate a computer terminal asset information file according to the read correspondence between the basic computer terminal information of the computer terminal;
the sending unit is used for sending the asset information file of the computer terminal to a DHCP system;
the write-in unit is used for writing the asset information file of the computer terminal into a background database by the DHCP system;
and the display unit is used for the DHCP system to display the domain user account in the asset information file of the computer terminal in a way of being associated with the original IP address information in the background database.
Optionally, the presentation unit includes
And the attribute adding subunit is used for adding a list of attributes of the domain user accounts on the original interface, wherein the attributes of the domain user accounts are the domain user accounts corresponding to the original IP address information.
Optionally, the basic information of the computer terminal includes IP address information, a computer name, a hardware address, and a domain user account.
Optionally, the displayed content includes a computer name, IP address information, a hardware address, a domain user account, and online time.
Optionally, the domain user account is a user account registered by the user with the real name.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: according to the terminal asset real-name system realization method and system based on AD domain control and DHCP, the IP address information of the computer terminal and the domain user account are well associated together by researching the DHCP system and the AD domain control system, real-name control of the computer terminal asset is realized, the terminal resource use condition of the whole network is mastered in time, the resource corresponding relation is conveniently and quickly searched, the client event handling and safety management are strengthened, and the whole safety operation and maintenance and management level are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a method for implementing a real-name system of a terminal asset based on AD domain control and DHCP according to an embodiment of the present invention;
fig. 2 is a block diagram of a structure of a system for implementing a real-name system of a terminal asset based on AD domain control and DHCP according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As shown in fig. 1, the method for implementing a real-name system of a terminal asset based on AD domain control and DHCP provided by this embodiment includes:
step 101: generating a script file for reading basic information of a computer terminal on an AD domain control server; the basic information of the computer terminal comprises IP address information, a computer name, a hardware address and a domain user account; the domain user account is a user account registered by the user with the real name.
Step 102: and packaging the script file into an execution file.
Step 103: and when the computer terminal is started, the AD domain control group strategy manager reads the basic information of the computer terminal according to the execution file.
Step 104: and generating a computer terminal asset information file according to the read corresponding relation of the basic information of the computer terminal.
Step 105: and sending the asset information file of the computer terminal to a DHCP system.
Step 106: and the DHCP system writes the asset information file of the computer terminal into a background database.
Step 107: and the DHCP system performs correlation display on the domain user account in the asset information file of the computer terminal and the original IP address information in the background database. The displayed content comprises a computer name, IP address information, a hardware address, a domain user account and online time.
The step 107 specifically includes:
adding a list of attributes of domain user accounts on the original interface, wherein the attributes of the domain user accounts are the domain user accounts corresponding to the original IP address information.
The present embodiment further provides a system for implementing a real-name system of a terminal asset based on AD domain control and DHCP, corresponding to the foregoing embodiment, as shown in fig. 2, the system includes:
a script file generating unit 201 for generating a script file for reading basic information of a computer terminal on the AD domain control server;
a packing unit 202, configured to pack the script file into an execution file;
a basic information reading unit 203, configured to, when the computer terminal is turned on, read, by the AD domain control group policy manager, basic information of the computer terminal according to the execution file;
an information file generating unit 204, configured to generate a computer terminal asset information file according to the read correspondence between the computer terminal basic information of the computer terminal;
a sending unit 205, configured to send the asset information file of the computer terminal to a DHCP system;
a writing unit 206, configured to write the asset information file of the computer terminal into a background database by the DHCP system;
and the display unit 207 is configured to display, by the DHCP system, the domain user account in the asset information file of the computer terminal in association with the original IP address information in the background database.
The presentation unit 207 includes:
and the attribute adding subunit is used for adding a list of attributes of the domain user accounts on the original interface, wherein the attributes of the domain user accounts are the domain user accounts corresponding to the original IP address information.
The invention adopts a C/S software architecture, automatically acquires the domain user account number logged in by the computer terminal by using the script file on the AD domain control, and automatically sends the acquired information to the DHCP background for displaying after the domain control is logged in by the terminal, thereby realizing the real-name system of the IP asset of the terminal.
And issuing the script files to each OU one by one according to an implementation plan on the AD domain control server through a group strategy through the script files, returning the acquired corresponding relation between the IP address information and the domain user account after the terminal runs through the script files, and uploading the corresponding relation to a background database of a DHCP system to realize the correlation between the IP address information of all the computer terminals and the domain user account logged in by the AD domain control.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (8)

1. A terminal asset real-name system realization method based on AD domain control and DHCP is characterized by comprising the following steps:
generating a script file for reading basic information of a computer terminal on an AD domain control server;
packaging the script file into an execution file;
when the computer terminal is started, the AD domain control group strategy manager reads the basic information of the computer terminal according to the execution file;
generating a computer terminal asset information file according to the read corresponding relation of the basic computer terminal information of the computer terminal;
sending the asset information file of the computer terminal to a DHCP system;
the DHCP system writes the asset information file of the computer terminal into a background database;
the DHCP system displays the domain user account in the asset information file of the computer terminal and the original IP address information in the background database in an associated manner, and the method specifically comprises the following steps:
adding a list of attributes of domain user accounts on the original interface, wherein the attributes of the domain user accounts are the domain user accounts corresponding to the original IP address information.
2. The AD domain control and DHCP-based terminal asset real-name system realization method according to claim 1, characterized in that the computer terminal basic information comprises IP address information, computer name, hardware address and domain user account.
3. The AD domain control and DHCP-based terminal asset real-name system realization method according to claim 1, wherein the displayed content comprises computer names, IP address information, hardware addresses, domain user accounts and online time.
4. The AD domain control and DHCP based terminal asset real-name system realization method according to any one of claims 1-3, characterized in that the domain user account is a user account registered by a user real name.
5. A terminal asset real-name system implementation system based on AD domain control and DHCP is characterized by comprising:
a script file generating unit for generating a script file for reading basic information of the computer terminal on the AD domain control server;
the packaging unit is used for packaging the script file into an execution file;
a basic information reading unit, configured to, when the computer terminal is started, read, by the AD domain control group policy manager, basic information of the computer terminal according to the execution file;
an information file generating unit, configured to generate a computer terminal asset information file according to the read correspondence between the basic computer terminal information of the computer terminal;
the sending unit is used for sending the asset information file of the computer terminal to a DHCP system;
the write-in unit is used for writing the asset information file of the computer terminal into a background database by the DHCP system;
the display unit is used for the DHCP system to display the domain user account in the asset information file of the computer terminal in a correlation way with the original IP address information in the background database;
the presentation unit includes:
and the attribute adding subunit is used for adding a list of attributes of the domain user accounts on the original interface, wherein the attributes of the domain user accounts are the domain user accounts corresponding to the original IP address information.
6. The AD domain control and DHCP based terminal asset real name system implementation system of claim 5, wherein the computer terminal basic information comprises IP address information, computer name, hardware address and domain user account.
7. The AD domain control and DHCP based terminal asset real name system realization system as claimed in claim 5, wherein the displayed content comprises computer name, IP address information, hardware address, domain user account and online time.
8. The AD domain control and DHCP based terminal asset real name system implementation system as claimed in any one of claims 5-7, wherein the domain user account is a user account registered by a user real name.
CN201811018316.8A 2018-09-03 2018-09-03 Method and system for realizing real-name system of terminal assets Active CN109257455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811018316.8A CN109257455B (en) 2018-09-03 2018-09-03 Method and system for realizing real-name system of terminal assets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811018316.8A CN109257455B (en) 2018-09-03 2018-09-03 Method and system for realizing real-name system of terminal assets

Publications (2)

Publication Number Publication Date
CN109257455A CN109257455A (en) 2019-01-22
CN109257455B true CN109257455B (en) 2021-10-22

Family

ID=65050519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811018316.8A Active CN109257455B (en) 2018-09-03 2018-09-03 Method and system for realizing real-name system of terminal assets

Country Status (1)

Country Link
CN (1) CN109257455B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261175B (en) * 2020-10-26 2023-05-12 深信服科技股份有限公司 Asset information updating method, device, equipment and medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100679009B1 (en) * 2005-09-10 2007-02-05 삼성전자주식회사 Method and apparatus for dynamically allocating internet protocol address in wireless network
CN100452721C (en) * 2006-01-10 2009-01-14 英业达股份有限公司 Customer end management system and method
CN1925497A (en) * 2006-01-19 2007-03-07 莱克斯信息技术(北京)有限公司 Binding method based on VID, MAC, IP and users
US9049207B2 (en) * 2012-04-11 2015-06-02 Mcafee, Inc. Asset detection system
CN102882853A (en) * 2012-09-05 2013-01-16 孙银海 System and method for internet user authentication
CN104159225A (en) * 2014-09-02 2014-11-19 解芳 Wireless network based real-name registration system management method and system
CN105338103B (en) * 2015-11-19 2018-10-16 国云科技股份有限公司 A method of the user in the domains AD is synchronized to cloud platform
CN106507383B (en) * 2016-11-16 2019-09-20 迈普通信技术股份有限公司 Real name auditing method, equipment and system

Also Published As

Publication number Publication date
CN109257455A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN102833235B (en) Identity card management device
EP1494118A3 (en) A failure information management method and management server in a network equipped with a storage device
CN109327559B (en) Domain name resolution method and device based on hybrid cloud platform
CN108055168B (en) Http protocol debugging system, device and method
CN103973781A (en) Method and system for monitoring screen based on proxy server
US9679249B2 (en) Dynamic risk evaluation for proposed information technology projects
CN108243079A (en) A kind of method and apparatus that network access is carried out based on VPC
CN108132991A (en) A kind of H5 pages loading method and system
WO2015017482A1 (en) Messaging over http protocol for data exchange
CN109257455B (en) Method and system for realizing real-name system of terminal assets
CN109150621A (en) Method, apparatus, computer equipment and the storage medium of monitoring business flowpath
CN106648838B (en) Resource pool management configuration method and device
CN113890879B (en) Load balancing method and device for data access, computer equipment and medium
US20150163160A1 (en) Methods and systems for allocating and de-allocating delivery groups across multiple server farms
CN112671876B (en) Method and equipment for page operation and maintenance
CN106713242B (en) Data request processing method and processing device
CN105721274B (en) The fusion method and device of one kind of multiple instant messagings
CN107395663B (en) Data acquisition method and device
CN110674420A (en) Method for displaying items by map
CN102075355A (en) Log system and using method thereof
CN114124883A (en) Data access method and device based on cloud storage address, computer equipment and medium
CN113242299A (en) Disaster recovery system, method, computer device and medium for multiple data centers
CN112395043A (en) Campus private cloud deployment scheme and system
TWM565357U (en) Geographic information system of automated service equipment
CN109891858A (en) Actively and passively method for IP to name resolving

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