CN106790167A - A kind of client registers method and centralized management platform - Google Patents
A kind of client registers method and centralized management platform Download PDFInfo
- Publication number
- CN106790167A CN106790167A CN201611248608.1A CN201611248608A CN106790167A CN 106790167 A CN106790167 A CN 106790167A CN 201611248608 A CN201611248608 A CN 201611248608A CN 106790167 A CN106790167 A CN 106790167A
- Authority
- CN
- China
- Prior art keywords
- address
- identification code
- client
- registration identification
- current standards
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012545 processing Methods 0.000 claims description 15
- 230000005012 migration Effects 0.000 claims description 14
- 238000013508 migration Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 description 15
- 230000008859 change Effects 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000003362 replicative effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
Abstract
The invention provides a kind of client registers method and centralized management platform, including:Receive the connection request for carrying Current standards address that external client sends;Judge whether include registration identification code in the connection request, if, then judge whether Current standards address normal address corresponding with the registration identification code of storage is identical, if not, then, it is that the Current standards address generates corresponding new registration identification code at random when outside first triggering command is received, correspondence storage the Current standards address and the new registration identification code, and the new registration identification code is sent to the external client.The present invention can effectively improve registration efficiency.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of client registers method, centralized management and are at platform
System.
Background technology
Operating system security strengthening system (Server Security Reinforcement, SSR), its mainly by
Client is installed on physical host or virtual machine, and these clients are managed by management platform to realize to physical host or
The management of person's virtual machine, for example:Management platform issues task operating to client, and management platform is restricted and disperseed by client
Authority of original system keeper etc..In order to enable management platform that the management of specification is carried out to client, client is needed
To be registered in management platform.
At present, client is mainly in the mode that management platform is registered, the CPU of client foundation place physical host
Sign-on ID is automatically generated with physical address (Media Access Control, MAC), and the sign-on ID is sent to concentration
Management platform, completes registration.
Because the sign-on ID that different clients is automatically generated is likely to be identical, for example, when to being provided with client
The virtual machine at end is replicated, and the CPU and MAC Address after duplication on physical host where virtual machine do not change so that
The corresponding sign-on ID of client sign-on ID corresponding with original client after duplication in virtual machine is identical.But, for
For centralized management platform, the sign-on ID of its storage has unique identification, when the corresponding sign-on ID phase of multiple client
Meanwhile, a client registers success is only had, and other clients then need artificially to adjust and re-register, and cause registration to imitate
Rate is relatively low.
The content of the invention
A kind of client registers method and centralized management platform are the embodiment of the invention provides, registration effect can be effectively improved
Rate.
In a first aspect, a kind of client registers method is the embodiment of the invention provides, including:
Receive the connection request for carrying Current standards address that external client sends;
Judge whether comprising registration identification code in the connection request, if it is, judge the Current standards address with
Whether the corresponding normal address of the registration identification code of storage is identical, if it is not, then,
It is that the Current standards address generates corresponding new registration knowledge at random when outside first triggering command is received
Other code, correspondence storage the Current standards address and the new registration identification code, and the new registration identification code is sent
To the external client.
Preferably,
The first triggering command carries the information that the external client is generated by copy mode.
Preferably,
Judging that the Current standards address differs with the corresponding normal address of the registration identification marking of storage
Afterwards, further include:
When outside second triggering command is received, the study plot of storage is updated using the Current standards address
Location.
Preferably,
Second triggering command carries the information that the external client is generated by migration pattern.
Preferably,
Described in real-time reception external client send in line;
When two adjacent online instruction time intervals reach time threshold, the external client failure is shown
Prompt message.
Preferably,
It is described when outside first triggering command is received, be that the Current standards address generates corresponding new note at random
Volume identification code, including:
Determine current time stamp, the current time stamp is converted to first group of numerical value of 16 systems;
Determine the corresponding net address in addition of the external client, the ethernet address is converted to the second of 16 systems
Group numerical value;
A random number for 16 systems is generated at random;
Using first group of numerical value, the random number and the spliced result of second group of numerical value as the current mark
The corresponding new registration identification code in quasi- address.
Second aspect, the embodiment of the invention provides a kind of centralized management platform, including:
Request reception unit, the first judging unit, the second judging unit and first processing units, wherein,
The request reception unit, the connection for carrying Current standards address for receiving external client transmission please
Ask;
First judging unit, for judging whether include registration identification code in the connection request;
Second judging unit, for judging what the request reception unit was received when first judging unit
When in the connection request comprising registration identification code, judge that the Current standards address is corresponding with the registration identification code of storage
Normal address it is whether identical;
The first processing units, for judging the Current standards address with storage when second judging unit
It is the current mark when outside first triggering command is received when the corresponding normal address of the registration identification code differs
Quasi- address generates corresponding new registration identification code, the correspondence storage Current standards address and the new registration identification at random
Code, and the new registration identification code is sent to the external client.
Preferably,
Further include:Second processing unit;
The second processing unit, for judging the Current standards address with storage when second judging unit
When the corresponding normal address of the registration identification code differs, when outside second triggering command is received, using described current
Normal address updates the normal address of storage.
Preferably,
Further include:Fault detection unit;
The fault detection unit, for external client transmission described in real-time reception in line;When adjacent two
When the individual online instruction time interval reaches time threshold, the external client fault cues information is shown.
Preferably,
The first processing units, are further used for determining current time stamp, the current time stamp is converted into 16 and is entered
First group of numerical value of system;Determine the corresponding net address in addition of the external client, the ethernet address is converted to 16 and is entered
Second group of numerical value of system;A random number for 16 systems is generated at random;By first group of numerical value, the random number and described
Two groups of spliced results of numerical value are used as the corresponding new registration identification code in the Current standards address.
A kind of client registers method and centralized management platform are the embodiment of the invention provides, by receiving external client
The connection request for carrying Current standards address for sending, then when in judging the connection request comprising registration identification code,
Continuation judges whether Current standards address identical with the corresponding normal address of the registration identification code for storing, if not, so when
It is directly for Current standards address generates corresponding new registration identification code at random and right after receiving outside first triggering command
Current standards address and new registration identification code should be stored, and the new registration identification code for generating is sent to external client
End.Because in registration process, centralized management platform only needs the corresponding information sent according to the external client for receiving, and
Outside confirmation triggering, and no longer need artificially to change MAC Address or CPU of physical host where external client etc. and come
Registration is completed, therefore, effectively increase registration efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of client registers method that one embodiment of the invention is provided;
Fig. 2 is a kind of hardware structure figure for managing equipment where platform concentratedly provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of centralized management platform that one embodiment of the invention is provided;
Fig. 4 is a kind of structural representation of centralized management platform that another embodiment of the present invention is provided;
Fig. 5 is a kind of structural representation of centralized management platform that another embodiment of the invention is provided;
Fig. 6 is a kind of structural representation of client registers system that one embodiment of the invention is provided;
Fig. 7 is a kind of flow chart of client registers method that another embodiment of the present invention is provided;
Fig. 8 is a kind of flow chart of client registers method that another embodiment of the invention is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the invention provides a kind of client registers method, it is applied to manage platform concentratedly, should
Method may comprise steps of:
Step 101:Receive the connection request for carrying Current standards address that external client sends.
Step 102:Judge whether include registration identification code in the connection request, if it is, step 103 is performed, it is no
Then, current process is terminated.
Step 103:Whether judge Current standards address normal address corresponding with the registration identification code of storage
It is identical, if it is not, then performing step 104, otherwise, terminate current process.
Step 104:When outside first triggering command is received, it is corresponding new to be that the Current standards address generates at random
Registration identification code, correspondence storage the Current standards address and the new registration identification code, and the new registration is known
Other code is sent to the external client.
In embodiments of the present invention, the connection for carrying Current standards address for being sent by receiving external client please
Ask, then when in judging the connection request comprising registration identification code, continuation judges the note of Current standards address and storage
Whether the corresponding normal address of volume identification code is identical, if not, being directly to work as so after outside first triggering command is received
Preceding normal address generates corresponding new registration identification code at random, and correspondence storage Current standards address recognizes with new registration
Code, and the new registration identification code for generating is sent to external client.Because in registration process, centralized management platform is only
Need the corresponding information sent according to the external client for receiving, and the confirmation of outside to trigger, and no longer need artificial
MAC Address or CPU of physical host where external client etc. is changed to complete registration, therefore, effectively increase registration efficiency.
In an embodiment of the invention, the first triggering command in the step 104 carries the external client
Hold the information generated by copy mode.
For example, so that client d, normal address refer to IP address as an example, when centralized management platform determines working as client d
When preceding address ip 0 is different from the corresponding normal address IP0 ' of storage, then need confirm it is that client d gives birth to replicate by user
Into or client d migrated, and the Current standards address of the client d for causing is changed into IP0 from IP0 ', and then determines visitor
Whether family end d is new resources (namely new client).When that is confirmed by user, using the display on centralized management platform
Screen, n (>=2) individual Button is shown to user, and e.g., the corresponding confirmations of Button1 are to be generated by copy mode, so,
After user triggers the button, centralized management platform is assured that client d is to replicate generation, as new resources.
By receiving the triggering command that external client is generated by copy mode, so, centralized management platform can
To be again that the external client generates new registration identification code, allow it to succeed in registration, normally use.
In an embodiment of the invention, in order to work as external client not to replicate generation, but corresponding Current standards
When there is change address, external client can be made normally to use, judge the Current standards address and deposit in the step 103
After the corresponding normal address of the registration identification marking of storage differs, further include:Triggered when receiving outside second
During instruction, the normal address of storage is updated using the Current standards address.
Wherein, outside second triggering command may include to determine the institute that external client is not new resources (same to above-described embodiment)
There is triggering command, such as, it may include carry information that external client generated by copy mode, artificially have modified normal address
Information etc..
For example, so that client e, normal address refer to IP address as an example, the current IP address of client e is
102.206.166.72, the IP address for having stored is 102.206.173.12, then determining that client e is not new resources,
Namely receive outside second triggering command and (determine that client e has carried out migration or the artificial IP ground that have modified client e
Location etc.) after, centralized management platform the IP address for having stored will be updated, will 102.206.173.12 be updated to
102.206.166.72, and in the process, unpromising client e generates new registration identification code, is primarily due to visitor
Family end e is not changed, and so, the client e for migrate etc. after operation just can be used normally, without due to weight
The situation that new modification is registered identification code and causes information to be lost occurs.
When centralized management platform receives outside second triggering command, by the corresponding standard for having stored of external client
Address is updated to Current standards address, so, realizes the change to the corresponding log-on message of the external client, after being again
Convenient connection centralized management platform lays the foundation.
In an embodiment of the invention, second triggering command is carried the external client and is given birth to by migration pattern
Into information.
For example, by taking client e as an example, the display screen on centralized management platform also shows a Button2 to user,
The corresponding information of button Button2 is that client e is generated by migration pattern, so, after user triggers the button, is concentrated
Management platform is assured that client e is migrated, that is, be not new resources.
By receiving the triggering command that external client is generated by migration pattern, so, centralized management platform need not
Again for the external client generates new registration identification code, the Current standards address of the external client need to be only utilized to update
The normal address of storage, realizes the change to the log-on message of the external client, to ensure that the external client can be according to
The information for storing before is performed, the loss without causing information.
In addition, the display screen on centralized management platform, can also show a Button3, Button3 pairs, the button to user
The information answered artificially have modified IP address for determination, because, in addition to migrating and replicating, the IP address of client e occurs
Change it is also possible to because artificial modification, now nor new resources.
In an embodiment of the invention, in order to avoid when external client breaks down, because user cannot discover
And the normal work of system is influenceed, further include:Described in real-time reception external client send in line;When adjacent
When two online instruction time intervals reach time threshold, the external client fault cues information is shown.
Wherein, setting for time threshold can be according to the demand of user but unsuitable long, may otherwise influence the effect of detection
Really.Such as, time threshold t=10s can be pre-set.
By taking client f as an example, centralized management platform can real-time reception client f send in line, it is assumed that it is current
Through being to receive for the 500th time, that is when carrying out the 501st time and receiving, if received from the 500th time in line to currently also not
The time interval △ t=10s of the 501st time are received, then assert that client f occurs in that failure, and can be by managing platform concentratedly
Display screen, points out subscription client f to break down, and allows the user to process it in time.
By pre-setting time threshold, wherein, the judge whether time threshold breaks down as external client
Standard, in this manner it is possible to according to time interval of connected two between line for receiving external client transmission,
Determine whether the external client breaks down, and determine when having broken down, timely notify user so that user and
When take measures, ensure that the normal of the external client is used.
In an embodiment of the invention, in order to be the unique registration identification code of external client generation, the step
It is that the Current standards address generates corresponding new note at random described in rapid 104 when outside first triggering command is received
Volume identification code, including:Determine current time stamp, the current time stamp is converted to first group of numerical value of 16 systems;Determine institute
The corresponding net address in addition of external client is stated, the ethernet address is converted to second group of numerical value of 16 systems;It is random raw
Into a random number for 16 systems;By first group of numerical value, the random number and the spliced result of second group of numerical value
As the corresponding new registration identification code in the Current standards address.
Wherein, the unit of current time stamp is as small as possible, such as 100 nanoseconds, then the current time stamp include year, month, day,
When, minute, second, microsecond and nanosecond, and the numerical value that the first group of numerical value for conversing includes can separate by 3 hyphens (-), such as
69ad8b76-3d47-1013;The random number of generation can be 4, such as 6a7e;The second group of numerical value for conversing can be 12
16 systems, such as 7336a081e8ea.And, when being spliced, interspersed splicing of trying not, in order to avoid have influence on registration identification code
Uniqueness, for example, can successively be spliced according to first group of numerical value, random number and second group of numerical value, and stitching portion loigature
Symbol is separated, i.e., new registration identification code is 69ad8b76-3d47-1013-6a7e-7336a081e8ea.
The first group of numerical value conversed by current time stamp, it is ensured that the registration identification code of generation is in time only
One property;And the second group of numerical value conversed by ethernet address, it is ensured that the external client of affiliated different network interface cards is in sky
Between on uniqueness;By generating random number, the uniqueness of registration identification code is more improve, and then can effectively ensure that to be outside
Each registration identification code of client generation is unique.
As shown in Figure 2 and Figure 3, the embodiment of the invention provides a kind of centralized management platform.Device embodiment can be by soft
Part is realized, it is also possible to realized by way of hardware or software and hardware combining.From for hardware view, as shown in Fig. 2 being this hair
A kind of hardware structure diagram of equipment where the centralized management platform that bright embodiment is provided, except the processor shown in Fig. 2, internal memory,
Outside network interface and nonvolatile memory, the equipment in embodiment where device can also generally include other hardware,
Such as it is responsible for the forwarding chip for the treatment of message.As a example by implemented in software, as shown in figure 3, as the dress on a logical meaning
Put, transported during corresponding computer program instructions in nonvolatile memory are read into internal memory by the CPU of equipment where it
What row was formed.A kind of centralized management platform that the present embodiment is provided, including:
Request reception unit 301, the first judging unit 302, the second judging unit 303 and first processing units 304, its
In,
The request reception unit 301, the connection for carrying Current standards address for receiving external client transmission
Request;
First judging unit 302, for judging the connection request that the request reception unit 301 is received in
Whether comprising registration identification code;
Second judging unit 303, for judging the request reception unit when first judging unit 302
When in 301 connection requests for receiving comprising registration identification code, the note of the Current standards address and storage is judged
Whether the corresponding normal address of volume identification code is identical;
The first processing units 304, for when second judging unit 303 judge the Current standards address with
It is described when outside first triggering command is received when the corresponding normal address of the registration identification code of storage differs
Current standards address generates corresponding new registration identification code, correspondence storage the Current standards address and the new note at random
Volume identification code, and the new registration identification code is sent to the external client.
As shown in figure 4, in an embodiment of the invention, further including:Second processing unit 401;
The second processing unit 401, for when second judging unit 303 judge the Current standards address with
When the corresponding normal address of the registration identification code of storage differs, when outside second triggering command is received, using institute
State the normal address that Current standards address updates storage.
As shown in figure 5, in an embodiment of the invention, further including:Fault detection unit 501;
The fault detection unit 501, for external client transmission described in real-time reception in line;When adjacent
When two online instruction time intervals reach time threshold, the external client fault cues information is shown.
In an embodiment of the invention, the first processing units 304, are further used for determining current time stamp, will
The current time stamp is converted to first group of numerical value of 16 systems;Determine the corresponding net address in addition of the external client, will
The ethernet address is converted to second group of numerical value of 16 systems;A random number for 16 systems is generated at random;By described first
Group numerical value, the random number and the spliced result of second group of numerical value are used as the corresponding new note in the Current standards address
Volume identification code.
As shown in fig. 6, a kind of client registers system is the embodiment of the invention provides, including:Any of the above-described described collection
The client 602 of middle management platform 601 and at least one, wherein
Each described client 602, for sending connection request to the centralized management platform 601, and receives described
The registration identification code that centralized management platform 601 is sent.
To sum up, the register method of client mainly includes two kinds of situations, and a kind of situation can be:Client passes through copy mode
Generate, another situation can be:Client is generated by migration pattern.Duplication life will be described separately with two kinds of application scenarios below
Into client registers and the process of client registers that is migrated.
Application scenarios 1:
Below will be so that client a be generated by copy mode as an example, the method for launching a registrations of explanation client, such as Fig. 7 institutes
Show, the method may comprise steps of:
Step 701:Receive the connection request 1 for carrying current address IP1 that client a sends.
In embodiments of the present invention, client a first to centralized management platform send connection request, for example, client a to
Centralized management platform have sent the connection request 1 for carrying that current address IP1 is 191.206.122.71.
Step 702:Judge whether include registration identification code in connection request 1, if it is, step 703 is performed, otherwise,
Terminate current process.
Wherein, registering identification code by centralized management platform as client is generated, and can should cause each client correspondence
Unique registration identification code.
Assuming that original client a ' has succeeded in registration, then it is it that centralized management platform will be stored in client a '
The registration identification code of generation, such as * ... *-* ... *-* 0ae-3fd*-6a* ... *, because client a is that client a ' replicates generation,
So, can also be stored with registration identification code * ... *-* ... *-* 0ae-3fd*-6a* ... * in client a, therefore the connection for sending please
* ... *-* ... *-* 0ae-3fd*-6a* ... * will be included in asking 1;Conversely, if original client a ' is also unregistered, that
Also would not be comprising registration identification code in the connection request 1 that client a sends.
What deserves to be explained is, when in connection request 1 not comprising registration identification code, can also generate registration identification by for it
Code, to realize the registration of client a.
Step 703:Judge whether the corresponding IP1 of client a are identical with the corresponding IP of storage, if it is not, then performing step
Rapid 704, otherwise, terminate current process.
The corresponding IP address of each client is different, namely in embodiments of the present invention, the client after duplication
Hold corresponding IP address different from former IP address.
For example, client a is client a ' replicates generation, then when client a ' registrations, the company that client a ' sends
Connecing in asking can also carry current IP address, such as 191.206.122.73, and that is managed concentratedly after client a ' succeeds in registration
Platform will store corresponding registration identification code * ... *-* ... the *-* 0ae-3fd*-6a* ... * of client a ' and IP address
191.206.122.73, therefore, when manage concentratedly platform determine client a in exist registration identification code after, can by judge
Whether IP address changes to determine to replicate new client, also or is migrated.In the embodiment of the present invention
In, client a current IP address is 191.206.122.71, with the IP address 191.206.122.73 for storing before not
Together.
Step 704:Receive the triggering command for carrying the information that client a is generated by copy mode.
In embodiments of the present invention, when centralized management platform is determined client a current IP1 addresses and stored before
When IP address is different, user can be notified by the display screen managed concentratedly on platform, e.g., the Button1 on display screen is corresponding
Information is that client a is generated to replicate;The corresponding information of Button2 on display screen is migrated for client a;Display screen
On the corresponding information of Button3 be artificial modification IP, so, user can trigger different buttons according to actual conditions, when
Before, user's triggering is Button1, so that managing platform concentratedly can determine that client a is to replicate generation, namely is again one
New client.
Step 705:For the IP1 of client a generates corresponding new registration identification code.
In embodiments of the present invention, receive include the information that client a is generated by copy mode outside touch
After sending instructions, current time stamp is can first determine that, e.g., 11 points of 30 seconds nanoseconds of 24 microsecond 15 during 26 days 10 December in 2016, that
Be converted into after 16 systems, can be 6 ... ae*-3***-d3** (concrete outcome is not given);And 16 systems are generated at random
Random number 3dfc;Ethernet address where determining client a is 0*:0*:29:D*:**:6B, that is converted into 16 systems
Afterwards, can be 6a* ... * (concrete outcome is not given), so, the ae*- that is that to generate corresponding new identification code of registering be 6 to IP1 ...
3***-d3**-3dfc-6a*…*。
Step 706:The IP1 and new registration identification code of correspondence storage client a.
For original client a ', centralized management platform is stored with corresponding 191.206.122.73
~* ... *-* ... *-* 0ae-3fd*-6a* ... *;For client a, due to being new client, it is therefore desirable to current to its
The new registration identification code of IP1 addresses and generation is stored, i.e. 191.206.122.71~6 ... ae*-3***-d3**-3dfc-
6a*…*。
Step 707:New registration identification code is sent to client a.
So that client a accesses collection next time according to new registration identification code ae*-3***-d3**-3dfc-6a* ... *
Middle management platform.
Step 708:Real-time reception client a send in line.
Wherein, heartbeat instruction is alternatively referred to as in line, shows online on client a centralized management platforms, so, ability
The task that centralized management platform is issued is performed, the control to corresponding physical host or virtual machine is realized.
Step 709:When adjacent two online instruction time intervals reach time threshold, the failure of display client a
Prompt message.
Wherein, a time threshold, such as 5s are pre-set.
Assuming that centralized management platform i & lt receive client a transmission in line, if do not received in 5s
I+1 time is in line, then illustrate that client a may have occurred failure, therefore prompting user, phase is carried out with to client a
The treatment answered.
Application scenarios 2:
The register method of explanation client b will be launched, such as Fig. 8 institutes so that client b is generated by migration pattern as an example below
Show, the method may comprise steps of:
Step 801:Receive the connection request 2 for carrying current address IP2 that client b sends.
In embodiments of the present invention, for example, client b have sent to centralized management platform carries current address IP2 and be
202.123.136.22 connection request 2.
Step 802:Judge whether include registration identification code in connection request 2, if it is, step 803 is performed, otherwise,
Terminate current process.
Client b is directed to, whether comprising registration identification code in its connection request 2 for sending, is then decided by that client b exists
Whether registration has been completed before migration, and the principle with step 702 in above-described embodiment is similar, and here is omitted.
Step 803:Judge whether the corresponding IP2 addresses of client b are identical with the corresponding IP address of storage, if not,
Step 804 is then performed, otherwise, terminates current process.
From above-described embodiment, the corresponding IP address of client for being migrated be also from former IP address it is different,
Such as, the IP address before the migration of storage is 202.123.135.11.
Step 804:Receive the triggering command for carrying the information that client b is generated by migration pattern.
Now, that user's triggering is Button2 on display screen in above-described embodiment in step 704.
Step 805:The corresponding IP address of storage is updated using the IP2 addresses of client b.
In embodiments of the present invention, after it is determined that client b is migrated, because the IP address after migration becomes
Change, it is therefore desirable to which the IP address to storing is updated, e.g., the IP address before the migration of storage is 202.123.135.11,
So, then 202.123.135.11 is updated to current IP2 addresses 202.123.136.22.
At this it should be noted that centralized management platform generates new registration identification code to client b, this be because
For:Before moving on another physical host, be stored with client b client b in client b and centralized management platform
Version number, such as version number 1, if that is again for client b generates new registration identification code, centralized management platform is thought to work as
Preceding client b is again a new client, so that the version number for managing the client b of platform storage concentratedly is changed to version
Number 0, but the version number stored in client b is still version number 1, so, causes between client b and centralized management platform
Produce conflict, in general, with manage concentratedly platform storage version number based on so that manage platform concentratedly can be by visitor
A large amount of useful informations of storage are all lost before in the b of family end, therefore, in embodiments of the present invention, not to being migrated
Client b generates new registration identification code.
Step 806:Real-time reception client b send in line.
Step 807:When adjacent two online instruction time intervals reach time threshold, the failure of display client b
Prompt message.
To sum up, each embodiment of the invention at least has the advantages that:
1st, in embodiments of the present invention, the connection for carrying Current standards address for being sent by receiving external client please
Ask, then when in judging the connection request comprising registration identification code, continuation judges the note of Current standards address and storage
Whether the corresponding normal address of volume identification code is identical, if not, being directly to work as so after outside first triggering command is received
Preceding normal address generates corresponding new registration identification code at random, and correspondence storage Current standards address recognizes with new registration
Code, and the new registration identification code for generating is sent to external client.Because in registration process, centralized management platform is only
Need the corresponding information sent according to the external client for receiving, and the confirmation of outside to trigger, and no longer need artificial
MAC Address or CPU of physical host where external client etc. is changed to complete registration, therefore, effectively increase registration efficiency.
2nd, in embodiments of the present invention, by receiving the triggering command that external client is generated by copy mode, this
Sample, centralized management platform can just allow it to succeed in registration again for the external client generates new registration identification code,
Normally use.
3rd, in embodiments of the present invention, when centralized management platform receives outside second triggering command, by external client
The corresponding normal address for having stored in end is updated to Current standards address, so, realizes the corresponding registration to the external client
The change of information, facilitates connection centralized management platform to lay the foundation again after being.
4th, in embodiments of the present invention, by receiving the triggering command that external client is generated by migration pattern, this
Sample, centralized management platform without that for the external client generates new registration identification code, only need to utilize the external client again
Current standards address update the normal address that has stored, the change to the log-on message of the external client is realized, to ensure
The external client can be performed according to the information for storing before, the loss without causing information.
5th, in embodiments of the present invention, by pre-setting time threshold, wherein, the time threshold is used as external client
The judgment criteria for whether breaking down, in this manner it is possible to online according to connected two for receiving external client transmission
Time interval between instruction, determines whether the external client breaks down, and determines when having broken down, timely
User is notified, allows the user to take measures in time, ensure that the normal of the external client is used.
6th, in embodiments of the present invention, the first group of numerical value for being conversed by current time stamp, it is ensured that the note of generation
Volume identification code uniqueness in time;And the second group of numerical value conversed by ethernet address, it is ensured that affiliated difference
The external client of network interface card uniqueness spatially;By generating random number, the uniqueness of registration identification code is more improve,
And then can effectively ensure that as each registration identification code of external client generation is unique.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating
Any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements,
But also other key elements including being not expressly set out, or also include by this process, method, article or equipment are solid
Some key elements.In the absence of more restrictions, the key element limited by sentence " including ", does not arrange
Except also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, skill of the invention is merely to illustrate
Art scheme, is not intended to limit the scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of client registers method, is applied to manage platform concentratedly, it is characterised in that including:
Receive the connection request for carrying Current standards address that external client sends;
Judge whether include registration identification code in the connection request, if it is, judging the Current standards address with storage
The corresponding normal address of the registration identification code it is whether identical, if it is not, then,
It is that the Current standards address generates corresponding new registration identification at random when outside first triggering command is received
Code, correspondence storage the Current standards address and the new registration identification code, and the new registration identification code is sent to
The external client.
2. method according to claim 1, it is characterised in that
The first triggering command carries the information that the external client is generated by copy mode.
3. method according to claim 1, it is characterised in that judging the Current standards address with described in storage
After the corresponding normal address of registration identification marking differs, further include:
When outside second triggering command is received, the normal address of storage is updated using the Current standards address.
4. method according to claim 3, it is characterised in that
Second triggering command carries the information that the external client is generated by migration pattern.
5. method according to claim 1, it is characterised in that further include:
Described in real-time reception external client send in line;
When two adjacent online instruction time intervals reach time threshold, the external client fault cues are shown
Information.
6. according to any described method of claim 1 to 5, it is characterised in that
It is described when outside first triggering command is received, be that the Current standards address generates corresponding new registration and knows at random
Other code, including:
Determine current time stamp, the current time stamp is converted to first group of numerical value of 16 systems;
Determine the corresponding net address in addition of the external client, the ethernet address is converted to second group of number of 16 systems
Value;
A random number for 16 systems is generated at random;
Using first group of numerical value, the random number and the spliced result of second group of numerical value as Current standards ground
The corresponding new registration identification code in location.
7. it is a kind of to manage platform concentratedly, it is characterised in that including:Request reception unit, the first judging unit, the second judging unit
And first processing units, wherein,
The request reception unit, the connection request for carrying Current standards address for receiving external client transmission;
First judging unit, for judging whether include registration identification code in the connection request;
Second judging unit, described in judging that the request reception unit receives when first judging unit
When in connection request comprising registration identification code, Current standards address mark corresponding with the registration identification code of storage is judged
Whether quasi- address is identical;
The first processing units, described in judging the Current standards address and storing when second judging unit
It is the Current standards ground when outside first triggering command is received when the corresponding normal address of registration identification code differs
Location generates corresponding new registration identification code at random, and correspondence stores the Current standards address and the new registration identification code,
And the new registration identification code is sent to the external client.
8. centralized management platform according to claim 7, it is characterised in that
Further include:Second processing unit;
The second processing unit, described in judging the Current standards address and storing when second judging unit
When the corresponding normal address of registration identification code differs, when outside second triggering command is received, using the Current standards
Address updates the normal address of storage.
9. centralized management platform according to claim 7, it is characterised in that
Further include:Fault detection unit;
The fault detection unit, for external client transmission described in real-time reception in line;When two adjacent institutes
When stating online instruction time interval and reaching time threshold, the external client fault cues information is shown.
10. according to any described centralized management platform of claim 7 to 9, it is characterised in that
The first processing units, are further used for determining current time stamp, and the current time stamp is converted into 16 systems
First group of numerical value;Determine the corresponding net address in addition of the external client, the ethernet address is converted into 16 systems
Second group of numerical value;A random number for 16 systems is generated at random;By first group of numerical value, the random number and described second group
The spliced result of numerical value is used as the corresponding new registration identification code in the Current standards address.
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 true CN106790167A (en) | 2017-05-31 |
CN106790167B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107444175A (en) * | 2017-08-28 | 2017-12-08 | 上海蔚来汽车有限公司 | Electric charging station |
CN107835094A (en) * | 2017-11-10 | 2018-03-23 | 郑州云海信息技术有限公司 | A kind of centralized security configuration inspection and reinforcement means |
CN107870804A (en) * | 2017-11-03 | 2018-04-03 | 郑州云海信息技术有限公司 | A kind of DOCKER vessel safety means of defences based on SSR |
CN109783058A (en) * | 2018-12-24 | 2019-05-21 | 深圳市珍爱捷云信息技术有限公司 | User identity code generating method, device, computer equipment and storage medium |
CN110932845A (en) * | 2019-12-31 | 2020-03-27 | 山东英信计算机技术有限公司 | Agent terminal registration method, system and related device |
CN111814131A (en) * | 2020-06-15 | 2020-10-23 | 北京天空卫士网络安全技术有限公司 | Method and device for equipment registration and configuration management |
Citations (5)
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 |
-
2016
- 2016-12-29 CN CN201611248608.1A patent/CN106790167B/en active Active
Patent Citations (5)
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 |
Cited By (10)
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 |
CN109783058A (en) * | 2018-12-24 | 2019-05-21 | 深圳市珍爱捷云信息技术有限公司 | User identity code generating method, device, computer equipment and storage medium |
CN109783058B (en) * | 2018-12-24 | 2023-09-05 | 深圳市珍爱捷云信息技术有限公司 | User identity code generation method and device, computer equipment and storage medium |
CN110932845A (en) * | 2019-12-31 | 2020-03-27 | 山东英信计算机技术有限公司 | Agent terminal registration method, system and related device |
CN110932845B (en) * | 2019-12-31 | 2021-12-03 | 山东英信计算机技术有限公司 | Agent terminal registration method, system and related device |
US11736584B2 (en) | 2019-12-31 | 2023-08-22 | Shandong Yingxin Computer Technologies Co., Ltd. | Proxy end registration method, system, and related apparatus |
CN111814131A (en) * | 2020-06-15 | 2020-10-23 | 北京天空卫士网络安全技术有限公司 | Method and device for equipment registration and configuration management |
CN111814131B (en) * | 2020-06-15 | 2024-03-08 | 北京天空卫士网络安全技术有限公司 | Method and device for equipment registration and configuration management |
Also Published As
Publication number | Publication date |
---|---|
CN106790167B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106790167A (en) | A kind of client registers method and centralized management platform | |
US11743045B2 (en) | Partitioning a blockchain network | |
US20210165686A1 (en) | Task processing method, system, device, and storage medium | |
CN108664650B (en) | Transaction processing method, device, equipment and storage medium of block chain network | |
CN104618226B (en) | A kind of information processing method, client and server | |
CN105024975B (en) | The method, apparatus and system that account logs in | |
CN103873534B (en) | A kind of application cluster moving method and device | |
EP3622661A1 (en) | Cryptlet identity | |
CN106354544A (en) | Virtual machine creating method and system and host | |
CN103621049A (en) | System and method for automatically addressing devices in multi-drop network | |
CN106815218A (en) | Data bank access method, device and Database Systems | |
CN110808839B (en) | Processing method, device, equipment and medium for block chain abnormal data | |
CN108073823B (en) | Data processing method, device and system | |
CN104268001B (en) | A kind of method for creating virtual machine and the device for creating virtual machine | |
CN109614209A (en) | A kind of task processing method, application server and system | |
CN105022939B (en) | Information Authentication method and device | |
CN104639650A (en) | Fine granularity distributive interface access control method and device | |
CN106716968A (en) | Account management method, device and account management system | |
CN110413595A (en) | A kind of data migration method and relevant apparatus applied to distributed data base | |
CN111324425B (en) | Data access method, device, equipment and storage medium | |
CN113050900A (en) | Screen sharing method, device, equipment and storage medium | |
US7882398B2 (en) | Ghost agents within a grid environment | |
CN110716730B (en) | Gray release method, device, equipment and computer readable storage medium | |
CN112134968A (en) | Domain name access method and device, electronic equipment and storage medium | |
CN111915811A (en) | Method and equipment for controlling cabinet access by multiple hosts |
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 |
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. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |