CN106790167B - Client registration method and centralized management platform - Google Patents

Client registration method and centralized management platform Download PDF

Info

Publication number
CN106790167B
CN106790167B CN201611248608.1A CN201611248608A CN106790167B CN 106790167 B CN106790167 B CN 106790167B CN 201611248608 A CN201611248608 A CN 201611248608A CN 106790167 B CN106790167 B CN 106790167B
Authority
CN
China
Prior art keywords
client
identification code
standard address
registration identification
external
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
CN201611248608.1A
Other languages
Chinese (zh)
Other versions
CN106790167A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201611248608.1A priority Critical patent/CN106790167B/en
Publication of CN106790167A publication Critical patent/CN106790167A/en
Application granted granted Critical
Publication of CN106790167B publication Critical patent/CN106790167B/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/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a client registration method and a centralized management platform, comprising the following steps: receiving a connection request carrying a current standard address sent by an external client; judging whether the connection request contains a registration identification code, if so, judging whether the current standard address is the same as a standard address corresponding to the stored registration identification code, if not, randomly generating a corresponding new registration identification code for the current standard address when receiving an external first trigger instruction, correspondingly storing the current standard address and the new registration identification code, and sending the new registration identification code to the external client. The invention can effectively improve the registration efficiency.

Description

Client registration method and centralized management platform
Technical Field
The invention relates to the technical field of computers, in particular to a client registration method, a centralized management platform and a system.
Background
An operating system Security enforcement system (SSR) is mainly used for implementing management of a physical host or a virtual machine by installing clients on the physical host or the virtual machine and managing the clients through a management platform, for example: and the management platform issues task operation to the client, and restricts and disperses the authority of the original system administrator and the like through the client. In order to enable the management platform to perform the standard management on the client, the client needs to be registered in the management platform.
At present, a client registers on a management platform mainly in a manner that the client automatically generates a registration identifier according to a CPU and a physical address (MAC) of a physical host where the client is located, and sends the registration identifier to a centralized management platform to complete registration.
For example, when a virtual machine with the client is copied, the CPU and MAC address of the physical host where the virtual machine is located after the copying are not changed, so that the registration identifier corresponding to the client in the virtual machine after the copying is the same as the registration identifier corresponding to the original client. However, for the centralized management platform, the stored registration identifiers have unique identification, when the registration identifiers corresponding to a plurality of clients are the same, only one client can successfully register, and other clients need to manually adjust and re-register, which results in low registration efficiency.
Disclosure of Invention
The embodiment of the invention provides a client registration method and a centralized management platform, which can effectively improve the registration efficiency.
In a first aspect, an embodiment of the present invention provides a client registration method, including:
receiving a connection request carrying a current standard address sent by an external client;
judging whether the connection request contains a registration identification code, if so, judging whether the current standard address is the same as the standard address corresponding to the stored registration identification code, if not,
and when an external first trigger instruction is received, randomly generating a corresponding new registration identification code for the current standard address, correspondingly storing the current standard address and the new registration identification code, and sending the new registration identification code to the external client.
Preferably, the first and second electrodes are formed of a metal,
the first trigger instruction carries information generated by the external client in a copying mode.
Preferably, the first and second electrodes are formed of a metal,
after the current standard address is judged to be different from the standard address corresponding to the stored registration identification mark, the method further includes:
and when an external second trigger instruction is received, updating the stored standard address by using the current standard address.
Preferably, the first and second electrodes are formed of a metal,
and the second trigger instruction carries information generated by the external client in a migration mode.
Preferably, the first and second electrodes are formed of a metal,
receiving an online instruction sent by the external client in real time;
and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the external client.
Preferably, the first and second electrodes are formed of a metal,
when an external first trigger instruction is received, randomly generating a corresponding new registration identification code for the current standard address, including:
determining a current time stamp, and converting the current time stamp into a first group of values in a 16-system mode;
determining an Ethernet address corresponding to the external client, and converting the Ethernet address into a second group of numerical values in a 16-system manner;
randomly generating a 16-system random number;
and taking the result of splicing the first group of numerical values, the random number and the second group of numerical values as a new registration identification code corresponding to the current standard address.
In a second aspect, an embodiment of the present invention provides a centralized management platform, including:
a request receiving unit, a first judging unit, a second judging unit and a first processing unit, wherein,
the request receiving unit is used for receiving a connection request which is sent by an external client and carries a current standard address;
the first judging unit is used for judging whether the connection request contains a registration identification code;
the second judging unit is configured to, when the first judging unit judges that the connection request received by the request receiving unit includes a registration identification code, judge whether the current standard address is the same as a standard address corresponding to the stored registration identification code;
the first processing unit is configured to, when the second determining unit determines that the current standard address is different from the standard address corresponding to the stored registration identification code, randomly generate a corresponding new registration identification code for the current standard address when an external first trigger instruction is received, correspondingly store the current standard address and the new registration identification code, and send the new registration identification code to the external client.
Preferably, the first and second electrodes are formed of a metal,
further comprising: a second processing unit;
the second processing unit is configured to, when the second determining unit determines that the current standard address is different from the standard address corresponding to the stored registration identification code, update the stored standard address by using the current standard address when an external second trigger instruction is received.
Preferably, the first and second electrodes are formed of a metal,
further comprising: a failure detection unit;
the fault detection unit is used for receiving an online instruction sent by the external client in real time; and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the external client.
Preferably, the first and second electrodes are formed of a metal,
the first processing unit is further used for determining a current timestamp and converting the current timestamp into a first group of values in a 16-system format; determining an Ethernet address corresponding to the external client, and converting the Ethernet address into a second group of numerical values in a 16-system manner; randomly generating a 16-system random number; and taking the result of splicing the first group of numerical values, the random number and the second group of numerical values as a new registration identification code corresponding to the current standard address.
The embodiment of the invention provides a client registration method and a centralized management platform, wherein a connection request which is sent by an external client and carries a current standard address is received, then when the connection request is judged to contain a registration identification code, whether the current standard address is the same as a standard address corresponding to the stored registration identification code is continuously judged, if not, after an external first trigger instruction is received, a corresponding new registration identification code is directly and randomly generated for the current standard address, the current standard address and the new registration identification code are correspondingly stored, and the generated new registration identification code is sent to the external client. In the registration process, the centralized management platform only needs to receive corresponding information sent by the external client and external confirmation trigger, and does not need to manually modify the MAC address or CPU of the physical host where the external client is located to complete registration, so that the registration efficiency is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a client registration method according to an embodiment of the present invention;
fig. 2 is a hardware architecture diagram of a device in which a centralized management platform is located according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a centralized management platform according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a centralized management platform according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a centralized management platform according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a client registration system according to an embodiment of the present invention;
fig. 7 is a flowchart of a client registration method according to another embodiment of the present invention;
fig. 8 is a flowchart of a client registration method according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a client registration method, which is applied to a centralized management platform, and the method may include the following steps:
step 101: and receiving a connection request carrying the current standard address sent by an external client.
Step 102: and judging whether the connection request contains a registration identification code, if so, executing the step 103, and otherwise, ending the current process.
Step 103: and judging whether the current standard address is the same as the standard address corresponding to the stored registration identification code, if not, executing the step 104, otherwise, ending the current process.
Step 104: and when an external first trigger instruction is received, randomly generating a corresponding new registration identification code for the current standard address, correspondingly storing the current standard address and the new registration identification code, and sending the new registration identification code to the external client.
In the embodiment of the invention, a connection request which is sent by an external client and carries a current standard address is received, then when the connection request is judged to contain a registration identification code, whether the current standard address is the same as the standard address corresponding to the stored registration identification code is continuously judged, if not, after an external first trigger instruction is received, a corresponding new registration identification code is directly and randomly generated for the current standard address, the current standard address and the new registration identification code are correspondingly stored, and the generated new registration identification code is sent to the external client. In the registration process, the centralized management platform only needs to receive corresponding information sent by the external client and external confirmation trigger, and does not need to manually modify the MAC address or CPU of the physical host where the external client is located to complete registration, so that the registration efficiency is effectively improved.
In an embodiment of the present invention, the first trigger instruction in step 104 carries information generated by the external client in a copy manner.
For example, taking the client d and the standard address as IP addresses, when the centralized management platform determines that the current address IP0 of the client d is different from the stored corresponding standard address IP0 ', the user needs to confirm that the current standard address of the client d is changed from IP 0' to IP0 due to the fact that the client d is generated by copying or the client d is migrated, and further determine whether the client d is a new resource (i.e., a new client). When the user confirms, the display screen on the centralized management platform can be used for displaying n (more than or equal to 2) buttons to the user, for example, the confirmation information corresponding to the Button1 is generated in a copying mode, so that after the user triggers the Button, the centralized management platform can determine that the client d is generated in a copying mode, namely, the client d is a new resource.
By receiving the trigger instruction generated by the external client in a copying mode, the centralized management platform can generate a new registration identification code for the external client again so as to enable the external client to be successfully registered and normally used.
In an embodiment of the present invention, in order to enable the external client to normally use when the external client is not generated for the copy but the corresponding current standard address is changed, after the step 103 determines that the current standard address is different from the standard address corresponding to the stored registration identification, the method further includes: and when an external second trigger instruction is received, updating the stored standard address by using the current standard address.
The external second trigger instruction may include all trigger instructions for determining that the external client is not a new resource (as in the above embodiment), for example, the external second trigger instruction may include information carrying information generated by the external client in a copy manner, information obtained by artificially modifying a standard address, and the like.
For example, taking the client e and the standard address as IP addresses, where the current IP address of the client e is 102.206.166.72, and the stored IP address is 102.206.173.12, after determining that the client e is not a new resource, that is, after receiving an external second trigger instruction (determining that the client e has migrated or has artificially modified the IP address of the client e, etc.), the centralized management platform updates the stored IP address, that is, 102.206.173.12 is updated to 102.206.166.72, and in this process, a new registration identifier is not generated for the client e, mainly because the client e has not changed, the client e after the operations such as migration can normally use, and information loss due to the fact that the registration identifier is newly modified does not occur.
When the centralized management platform receives an external second trigger instruction, the stored standard address corresponding to the external client is updated to be the current standard address, so that the corresponding registration information of the external client is changed, and a foundation is laid for conveniently connecting the centralized management platform again in the future.
In an embodiment of the present invention, the second trigger instruction carries information generated by the external client in a migration manner.
For example, taking the client e as an example, the display screen on the centralized management platform also displays a Button2 to the user, and the information corresponding to the Button2 is generated by the client e in a migration manner, so that after the user triggers the Button, the centralized management platform can determine that the client e has migrated, that is, is not a new resource.
By receiving the trigger instruction generated by the external client in the migration mode, the centralized management platform only needs to update the stored standard address by using the current standard address of the external client without generating a new registration identification code for the external client again, so that the registration information of the external client is changed, the external client can be ensured to execute according to the previously stored information, and the information cannot be lost.
In addition, the display screen on the centralized management platform can also display a Button3 to the user, and the information corresponding to the Button3 is that the IP address is determined to be artificially modified, because besides migration and copy, the change of the IP address of the client e is also possible because the IP address is artificially modified, and the client e is not a new resource at this time.
In an embodiment of the present invention, in order to avoid that the normal operation of the system is affected because the user cannot perceive when the external client fails, the method further includes: receiving an online instruction sent by the external client in real time; and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the external client.
The time threshold may be set according to the requirement of the user, but is not too long, otherwise the detection effect may be affected. For example, the time threshold t may be set in advance to 10 s.
Taking the client f as an example, the centralized management platform receives the online instruction sent by the client f in real time, and if the online instruction is currently received 500 th time, when the client f receives the online instruction 501 th time, if the time interval △ t from the 500 th time of receiving the online instruction to the current 501 th time of not receiving is 10s, the client f is determined to have a fault, and the user can be prompted to have the fault by the display screen of the centralized management platform, so that the user can process the fault in time.
By presetting a time threshold, wherein the time threshold is used as a criterion for judging whether the external client fails, whether the external client fails or not can be determined according to the time interval between two connected online instructions sent by the external client, and when the external client fails, a user is timely notified to take measures in time so as to ensure the normal use of the external client.
In an embodiment of the present invention, in order to generate a unique registration identification code for an external client, the randomly generating a corresponding new registration identification code for the current standard address when the external first trigger instruction is received in step 104 includes: determining a current time stamp, and converting the current time stamp into a first group of values in a 16-system mode; determining an Ethernet address corresponding to the external client, and converting the Ethernet address into a second group of numerical values in a 16-system manner; randomly generating a 16-system random number; and taking the result of splicing the first group of numerical values, the random number and the second group of numerical values as a new registration identification code corresponding to the current standard address.
Wherein, the unit of the current timestamp is as small as possible, such as 100 ns, the current timestamp comprises year, month, day, hour, minute, second, microsecond and ns, and the converted values included in the first set of values can be separated by 3 hyphens (-) such as 69ad8b76-3d 47-1013; the generated random number may be 4 bits, such as 6a7 e; the second set of values may be 12 bits 16, e.g. 7336a081e8 ea. Moreover, when the splicing is performed, the splicing is not performed as much as possible so as not to affect the uniqueness of the registration identification code, for example, the splicing can be performed according to the first group of numerical values, the random number and the second group of numerical values, and the splicing positions are separated by hyphens, namely, the new registration identification code is 69ad8b76-3d47-1013-6a7e-7336a081e8 ea.
The uniqueness of the generated registration identification code on time can be ensured through the first group of numerical values converted by the current timestamp; the second group of numerical values converted by the Ethernet addresses can ensure the spatial uniqueness of the external clients of the different network cards; by generating the random number, the uniqueness of the registration identification code is improved, and further, each registration identification code generated for the external client side can be effectively guaranteed to be unique.
As shown in fig. 2 and fig. 3, an embodiment of the present invention provides a centralized management platform. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. From a hardware level, as shown in fig. 2, a hardware structure diagram of a device in which a centralized management platform provided in the embodiment of the present invention is located is shown, where in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 2, the device in the embodiment may also include other hardware, such as a forwarding chip responsible for processing a packet, in general. Taking a software implementation as an example, as shown in fig. 3, as a logical apparatus, the apparatus is formed by reading, by a CPU of a device in which the apparatus is located, corresponding computer program instructions in a non-volatile memory into a memory for execution. The centralized management platform provided by the embodiment comprises:
a request receiving unit 301, a first determining unit 302, a second determining unit 303 and a first processing unit 304, wherein,
the request receiving unit 301 is configured to receive a connection request carrying a current standard address sent by an external client;
the first determining unit 302 is configured to determine whether the connection request received by the request receiving unit 301 includes a registration identifier;
the second determining unit 303 is configured to determine whether the current standard address is the same as a standard address corresponding to the stored registration identifier when the first determining unit 302 determines that the connection request received by the request receiving unit 301 includes the registration identifier;
the first processing unit 304 is configured to, when the second determining unit 303 determines that the current standard address is different from the standard address corresponding to the stored registration identification code, randomly generate a corresponding new registration identification code for the current standard address when an external first trigger instruction is received, correspondingly store the current standard address and the new registration identification code, and send the new registration identification code to the external client.
As shown in fig. 4, in an embodiment of the present invention, the method further includes: a second processing unit 401;
the second processing unit 401 is configured to, when the second determining unit 303 determines that the current standard address is different from the standard address corresponding to the stored registration identification code, update the stored standard address by using the current standard address when an external second trigger instruction is received.
As shown in fig. 5, in an embodiment of the present invention, further comprising: a failure detection unit 501;
the fault detection unit 501 is configured to receive an online instruction sent by the external client in real time; and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the external client.
In an embodiment of the present invention, the first processing unit 304 is further configured to determine a current timestamp, convert the current timestamp into a first set of 16-ary values; determining an Ethernet address corresponding to the external client, and converting the Ethernet address into a second group of numerical values in a 16-system manner; randomly generating a 16-system random number; and taking the result of splicing the first group of numerical values, the random number and the second group of numerical values as a new registration identification code corresponding to the current standard address.
As shown in fig. 6, an embodiment of the present invention provides a client registration system, including: the centralized management platform 601 and at least one client 602, wherein
Each client 602 is configured to send a connection request to the centralized management platform 601 and receive a registration identifier sent by the centralized management platform 601.
To sum up, the registration method of the client mainly includes two cases, one case may be: the client is generated by a copy mode, and the other situation can be as follows: the client is generated in a migration mode. The following describes the processes of copy-generated client registration and migrated client registration in two application scenarios.
Application scenario 1:
the method for registering the client a will be described below by taking the client a as an example of generating the client a by means of copying, and as shown in fig. 7, the method may include the following steps:
step 701: and receiving the connection request 1 which is sent by the client a and carries the current address IP 1.
In the embodiment of the present invention, first, the client a sends a connection request to the centralized management platform, for example, the client a sends a connection request 1 carrying a current address IP1 of 191.206.122.71 to the centralized management platform.
Step 702: and judging whether the connection request 1 contains the registration identification code, if so, executing the step 703, and otherwise, ending the current flow.
The registration identification codes can be generated for the clients by the centralized management platform, and each client corresponds to a unique registration identification code.
Assuming that the original client a ' has been successfully registered, the client a ' stores the registration identifier generated by the centralized management platform, such as … × … × 0ae-3 fd-6 a × … × the client a ' is generated by replication, so that the client a also stores the registration identifier … — … × 0ae-3 fd-6 a × …, and therefore the connection request 1 sent will include the registration identifier … × … × 0ae-3 fd-6 a × …; on the contrary, if the original client a' is not registered, the connection request 1 sent by the client a does not include the registration identification code.
It should be noted that when the connection request 1 does not include the registration identification code, the registration of the client a may also be implemented by generating the registration identification code for the connection request.
Step 703: and judging whether the IP1 corresponding to the client a is the same as the stored corresponding IP, if not, executing the step 704, otherwise, ending the current flow.
The IP address corresponding to each client is different, that is, in the embodiment of the present invention, the IP address corresponding to the copied client is different from the original IP address.
For example, the client a is a client a ' copy-generated, when the client a ' registers, the connection request sent by the client a ' also carries the current IP address, such as 191.206.122.73, and after the client a ' successfully registers, the centralized management platform stores the registration identifier … - × … - × 0ae-3 fd-6 a … and the IP address 191.206.122.73 corresponding to the client a ', so that when the centralized management platform determines that the registration identifier exists in the client a, it can determine whether to copy a new client or perform migration by determining whether the IP address changes. In the embodiment of the present invention, the current IP address of the client a is 191.206.122.71, which is different from the previously stored IP address 191.206.122.73.
Step 704: and receiving a trigger instruction carrying information generated by the client a in a copying mode.
In the embodiment of the invention, when the centralized management platform determines that the current IP1 address of the client a is different from the IP address stored before, the user can be notified through the display screen on the centralized management platform, for example, the information corresponding to Button1 on the display screen is generated for copying the client a; the information corresponding to Button2 on the display screen is migrated for the client a; the information corresponding to Button3 on the display screen is a modified IP, so that the user can trigger different buttons according to the actual situation, and currently, the Button1 is triggered by the user, so that the centralized management platform can determine that the client a is generated by copying, namely, a new client.
Step 705: a corresponding new registration identity is generated for the IP1 of client a.
In the embodiment of the present invention, after receiving the external trigger command including the information generated by the client a by means of replication, the current timestamp may be determined first, for example, 11 minutes, 30 seconds, 24 microseconds, 15 nanoseconds at 26/2016 (no specific result is given), which may be 6 … ae-3 × d3 × after being converted into 16-ary system; and randomly generating a 16-ary random number 3 dfc; after converting the ethernet address of the client a to 16, the ethernet address may be 6a … (specific results are not shown), so that a new registration id of 6 … ae-3 a-D3-3 dfc-6a … is generated for the IP 1.
Step 706: corresponding to IP1 of stored client a and the new registration identity.
For the original client a', the centralized management platform stores corresponding 191.206.122.73- … - … -0 ae-3 fd-6 a- …; for the client a, since it is a new client, it needs to store its current IP1 address and the generated new registration identifier, i.e. 191.206.122.71-6 … ae-3 × d3 × 3dfc-6a × ….
Step 707: and sending the new registration identification code to the client a.
So that the client a can access the centralized management platform according to the new registration identification ae-3-d 3-3 dfc-6 a- … next time.
Step 708: and receiving an online instruction sent by the client a in real time.
The online instruction may also be referred to as a heartbeat instruction, which indicates that the client a is online on the centralized management platform, so that a task issued by the centralized management platform can be executed, and control over a corresponding physical host or a corresponding virtual machine is realized.
Step 709: and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the client a.
In which a time threshold, such as 5s, is preset.
If the centralized management platform receives the online instruction sent by the client a for the ith time, and if the online instruction for the (i + 1) th time is not received within 5s, the client a is indicated to be possibly failed, and therefore, a user is prompted to perform corresponding processing on the client a.
Application scenario 2:
the following will explain a registration method of the client b by taking the client b as an example of generation by migration, and as shown in fig. 8, the method may include the following steps:
step 801: and receiving the connection request 2 which is sent by the client b and carries the current address IP 2.
In the embodiment of the present invention, for example, the client b sends the connection request 2 carrying the current address IP2 of 202.123.136.22 to the centralized management platform.
Step 802: and judging whether the connection request 2 contains the registration identification code, if so, executing the step 803, otherwise, ending the current process.
For the client b, whether the connection request 2 sent by the client b includes the registration identifier is determined whether the client b has completed registration before migration, which is similar to the principle of step 702 in the foregoing embodiment and is not described here again.
Step 803: and judging whether the IP2 address corresponding to the client b is the same as the stored corresponding IP address, if not, executing the step 804, otherwise, ending the current process.
As can be seen from the above embodiments, the IP address corresponding to the migrated client is also different from the original IP address, for example, the IP address before migration is stored as 202.123.135.11.
Step 804: and receiving a trigger instruction carrying information generated by the client b in a migration mode.
At this point, the user has triggered Button2 on the display screen in step 704 in the embodiment described above.
Step 805: the stored corresponding IP address is updated with the IP2 address of client b.
In the embodiment of the present invention, after it is determined that the client b performs migration, since the IP address after migration changes, the stored IP address needs to be updated, and if the IP address before migration is stored as 202.123.135.11, 202.123.135.11 is updated to the current IP2 address 202.123.136.22.
It should be noted that the centralized management platform does not generate a new registration identifier for the client b, because: before the client b is migrated to another physical host, the version number of the client b is stored in the client b and the centralized management platform, if a new registration identification code is generated for the client b again, such as version number 1, the centralized management platform considers that the current client b is a new client, so that the version number of the client b stored in the centralized management platform is changed to 0, but the version number stored in the client b is still 1, which results in a conflict between the client b and the centralized management platform, generally, the version number stored in the centralized management platform is used as the main part, so that the centralized management platform will discard all the previous useful information stored in the client b, and therefore, in the embodiment of the present invention, a new registration identifier is not generated for the client b performing the migration.
Step 806: and receiving an online instruction sent by the client b in real time.
Step 807: and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the client b.
In summary, the embodiments of the present invention have at least the following advantages:
1. in the embodiment of the invention, a connection request which is sent by an external client and carries a current standard address is received, then when the connection request is judged to contain a registration identification code, whether the current standard address is the same as the standard address corresponding to the stored registration identification code is continuously judged, if not, after an external first trigger instruction is received, a corresponding new registration identification code is directly and randomly generated for the current standard address, the current standard address and the new registration identification code are correspondingly stored, and the generated new registration identification code is sent to the external client. In the registration process, the centralized management platform only needs to receive corresponding information sent by the external client and external confirmation trigger, and does not need to manually modify the MAC address or CPU of the physical host where the external client is located to complete registration, so that the registration efficiency is effectively improved.
2. In the embodiment of the invention, by receiving the trigger instruction generated by the external client in a copying mode, the centralized management platform can generate a new registration identification code for the external client again so as to ensure that the external client can be successfully registered and normally used.
3. In the embodiment of the invention, when the centralized management platform receives the external second trigger instruction, the stored standard address corresponding to the external client is updated to the current standard address, so that the corresponding registration information of the external client is changed, and a foundation is laid for conveniently connecting the centralized management platform again in the future.
4. In the embodiment of the invention, the triggering instruction generated by the external client in a migration mode is received, so that the centralized management platform only needs to update the stored standard address by using the current standard address of the external client without generating a new registration identification code for the external client again, and the registration information of the external client is changed, so that the external client can be executed according to the previously stored information without losing the information.
5. In the embodiment of the invention, the time threshold is preset and is used as the criterion for judging whether the external client fails, so that whether the external client fails or not can be determined according to the time interval between two connected online instructions sent by the external client, and when the external client fails, a user is timely notified, so that the user can take measures in time to ensure the normal use of the external client.
6. In the embodiment of the invention, the uniqueness of the generated registration identification code on time can be ensured through the first group of numerical values converted by the current timestamp; the second group of numerical values converted by the Ethernet addresses can ensure the spatial uniqueness of the external clients of the different network cards; by generating the random number, the uniqueness of the registration identification code is improved, and further, each registration identification code generated for the external client side can be effectively guaranteed to be unique.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (9)

1. A client registration method is applied to a centralized management platform and is characterized by comprising the following steps:
receiving a connection request carrying a current standard address sent by an external client;
judging whether the connection request contains a registration identification code, if so, judging whether the current standard address is the same as the standard address corresponding to the stored registration identification code, if not,
when an external first trigger instruction is received, randomly generating a corresponding new registration identification code for the current standard address, correspondingly storing the current standard address and the new registration identification code, and sending the new registration identification code to the external client;
and the first trigger instruction carries information generated by the external client in a copying mode.
2. The method according to claim 1, further comprising, after determining that the current standard address is not the same as the standard address corresponding to the stored registered identification mark:
when an external second trigger instruction is received, updating the stored standard address by using the current standard address;
wherein the second trigger instruction includes all trigger instructions that determine that the external client is not a new resource.
3. The method of claim 2,
and the second trigger instruction carries information generated by the external client in a migration mode.
4. The method of claim 1, further comprising:
receiving an online instruction sent by the external client in real time;
and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the external client.
5. The method according to any one of claims 1 to 4,
when an external first trigger instruction is received, randomly generating a corresponding new registration identification code for the current standard address, including:
determining a current time stamp, and converting the current time stamp into a first group of values in a 16-system mode;
determining an Ethernet address corresponding to the external client, and converting the Ethernet address into a second group of numerical values in a 16-system manner;
randomly generating a 16-system random number;
and taking the result of splicing the first group of numerical values, the random number and the second group of numerical values as a new registration identification code corresponding to the current standard address.
6. A centralized management platform, comprising: a request receiving unit, a first judging unit, a second judging unit and a first processing unit, wherein,
the request receiving unit is used for receiving a connection request which is sent by an external client and carries a current standard address;
the first judging unit is used for judging whether the connection request contains a registration identification code;
the second judging unit is configured to, when the first judging unit judges that the connection request received by the request receiving unit includes a registration identification code, judge whether the current standard address is the same as a standard address corresponding to the stored registration identification code;
the first processing unit is configured to randomly generate a corresponding new registration identification code for the current standard address when an external first trigger instruction is received when the second determining unit determines that the current standard address is different from the standard address corresponding to the stored registration identification code, store the current standard address and the new registration identification code correspondingly, and send the new registration identification code to the external client; and the first trigger instruction carries information generated by the external client in a copying mode.
7. The centralized management platform of claim 6,
further comprising: a second processing unit;
the second processing unit is configured to, when the second determining unit determines that the current standard address is different from the standard address corresponding to the stored registration identification code, update the stored standard address by using the current standard address when an external second trigger instruction is received;
wherein the second trigger instruction includes all trigger instructions that determine that the external client is not a new resource.
8. The centralized management platform of claim 6,
further comprising: a failure detection unit;
the fault detection unit is used for receiving an online instruction sent by the external client in real time; and when the time interval between two adjacent online instructions reaches a time threshold, displaying the fault prompt information of the external client.
9. The centralized management platform of any one of claims 6 to 8,
the first processing unit is further used for determining a current timestamp and converting the current timestamp into a first group of values in a 16-system format; determining an Ethernet address corresponding to the external client, and converting the Ethernet address into a second group of numerical values in a 16-system manner; randomly generating a 16-system random number; and taking the result of splicing the first group of numerical values, the random number and the second group of numerical values as a new registration identification code corresponding to the current standard address.
CN201611248608.1A 2016-12-29 2016-12-29 Client registration method and centralized management platform Active CN106790167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611248608.1A CN106790167B (en) 2016-12-29 2016-12-29 Client registration method and centralized management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248608.1A CN106790167B (en) 2016-12-29 2016-12-29 Client registration method and centralized management platform

Publications (2)

Publication Number Publication Date
CN106790167A CN106790167A (en) 2017-05-31
CN106790167B true CN106790167B (en) 2020-06-16

Family

ID=58929383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248608.1A Active CN106790167B (en) 2016-12-29 2016-12-29 Client registration method and centralized management platform

Country Status (1)

Country Link
CN (1) CN106790167B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107444175A (en) * 2017-08-28 2017-12-08 上海蔚来汽车有限公司 Electric charging station
CN107870804A (en) * 2017-11-03 2018-04-03 郑州云海信息技术有限公司 A kind of DOCKER vessel safety means of defences based on SSR
CN107835094A (en) * 2017-11-10 2018-03-23 郑州云海信息技术有限公司 A kind of centralized security configuration inspection and reinforcement means
CN109783058B (en) * 2018-12-24 2023-09-05 深圳市珍爱捷云信息技术有限公司 User identity code generation method and device, computer equipment and storage medium
CN110932845B (en) * 2019-12-31 2021-12-03 山东英信计算机技术有限公司 Agent terminal registration method, system and related device
CN111814131B (en) * 2020-06-15 2024-03-08 北京天空卫士网络安全技术有限公司 Method and device for equipment registration and configuration management

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185405A (en) * 2002-12-04 2004-07-02 Hitachi Software Eng Co Ltd Unitary management system and method for member information
CN102075545B (en) * 2011-02-18 2014-05-07 杭州华三通信技术有限公司 Registration instruction method and registration method for client and equipment thereof
CN103888412A (en) * 2012-12-20 2014-06-25 深圳市潮流网络技术有限公司 Address book automatic generation and query method, and phone
CN102685724B (en) * 2012-05-28 2015-07-08 北京市大富智慧云技术有限公司 Method, terminal and system for customizing content
CN104137085B (en) * 2012-02-14 2016-12-14 国际商业机器公司 For controlling the client method to the access of service in cluster environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185405A (en) * 2002-12-04 2004-07-02 Hitachi Software Eng Co Ltd Unitary management system and method for member information
CN102075545B (en) * 2011-02-18 2014-05-07 杭州华三通信技术有限公司 Registration instruction method and registration method for client and equipment thereof
CN104137085B (en) * 2012-02-14 2016-12-14 国际商业机器公司 For controlling the client method to the access of service in cluster environment
CN102685724B (en) * 2012-05-28 2015-07-08 北京市大富智慧云技术有限公司 Method, terminal and system for customizing content
CN103888412A (en) * 2012-12-20 2014-06-25 深圳市潮流网络技术有限公司 Address book automatic generation and query method, and phone

Also Published As

Publication number Publication date
CN106790167A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106790167B (en) Client registration method and centralized management platform
JP7092937B2 (en) Automatic operation management of computer system
JP7199775B2 (en) Data processing method, data processing device, node device, and computer program based on smart contract
US11088903B2 (en) Hybrid cloud network configuration management
TWI380216B (en) System and method for automated operating system installation
US8060920B2 (en) Generating and changing credentials of a service account
US11368407B2 (en) Failover management using availability groups
CN110324338B (en) Data interaction method, device, fort machine and computer readable storage medium
CN110764871A (en) Cloud platform-based mimicry application packaging and control system and method
US10204021B2 (en) Recovery of an infected and quarantined file in a primary storage controller from a secondary storage controller
US9130923B2 (en) Credential provider that encapsulates other credential providers
CN110049028B (en) Method and device for monitoring domain control administrator, computer equipment and storage medium
CN113312656B (en) Data rotation method, device, equipment and system
JP2009266006A (en) Work support apparatus for information processing device
CN112134968A (en) Domain name access method and device, electronic equipment and storage medium
CN112714166A (en) Multi-cluster management method and device for distributed storage system
CN115221156A (en) Database cluster capacity expansion method and device, computer equipment and storage medium
CN110471906B (en) Database switching method, device and equipment
US11784996B2 (en) Runtime credential requirement identification for incident response
CN113676548B (en) Micro-service flow switching method, device and medium based on configuration shunt deployment
KR102357715B1 (en) Method to management operating system image for security and internet server using the methods
CN111447080B (en) Private network decentralization control method, device and computer readable storage medium
CN114356616A (en) Buffer overflow capture
KR101487233B1 (en) Method for changing password, device for changing password, and computer readable recording medium applying the same
CN112434237A (en) Page loading method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200518

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450000 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant