CN106790736A - A kind of autosynchronous method of IP address of terminal and cloud terminal management system - Google Patents

A kind of autosynchronous method of IP address of terminal and cloud terminal management system Download PDF

Info

Publication number
CN106790736A
CN106790736A CN201611012749.3A CN201611012749A CN106790736A CN 106790736 A CN106790736 A CN 106790736A CN 201611012749 A CN201611012749 A CN 201611012749A CN 106790736 A CN106790736 A CN 106790736A
Authority
CN
China
Prior art keywords
address
cloud terminal
heartbeat message
cloud
terminal management
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.)
Pending
Application number
CN201611012749.3A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201611012749.3A priority Critical patent/CN106790736A/en
Publication of CN106790736A publication Critical patent/CN106790736A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to field of computer technology, more particularly to a kind of autosynchronous method of IP address of terminal and cloud terminal management system, after sending heartbeat message to cloud terminal management platform in cloud terminal agent program timing, cloud terminal management platform is parsed to the IP address and MAC Address in the heartbeat message, and the MAC Address in heartbeat message is retrieved to the IP address of all cloud terminals in the cloud terminal management system that is stored with and the database of MAC Address, judged whether to be synchronized to the IP address in heartbeat message in database according to retrieval result afterwards, to realize the automatic synchronization of IP address, and then saved human cost, improve efficiency and the degree of accuracy of IP address synchronization in cloud terminal management system.

Description

A kind of autosynchronous method of IP address of terminal and cloud terminal management system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of autosynchronous method of IP address of terminal and cloud terminal Management system.
Background technology
Cloud terminal(Cloud terminal)It is the Windows terminal devices being based under Windows 2000/XP/2003, The Windows multiple-user network terminal devices of to be one do not need CPU, hard disk and CD-ROM, can be with maximum performance Windows The potential of computer.And cloud Terminal Design small and exquisite exquisiteness, without upgrading, simple installation, it is easy to operate, without main frame, one by i.e. With;It uses the VDP technologies of itself, remotely accesses back-end server main frame, and without number of users limitation, substantially reduce into This.It is also simultaneously a exquisite unique network computer, it can be shared network calculations, be carried out with innovation cost advantage with framework Service operation network.
Cloud terminal is due to cheap, economizing on electricity and saving consumption, and fuselage is compact, without fan cooling, noiselessness interference, low spoke Penetrate, green health environmental protection;Hardware usage cycles are long, once invest, long-term use, using Codesign, that is, are beneficial to Safeguard again convenient management;And USB controls are opened, the advantages of fault rate is extremely low, and simultaneously but also with cloud computing, desktop virtualization etc. Function can realize unit multi-user by computation migration and resource sharing concept in one, and each user independently enjoys complete PC functions, are widely used and are shared in multimedia, and long- distance tabletop control field.
It is all substantial amounts of in the middle of every field to apply various terminals, tool with continuing to develop for science and technology in today's society There is more quantity, so that maintenance work is more cumbersome.With constantly popularizing for cloud, cloud terminal goes out It is existing, the significant increase operating efficiency of terminal, while also cause that terminal maintenance is more convenient.
With the extensive use of cloud terminal technology, the management to cloud terminal therewith also becomes more and more important, at present, mostly Using cloud terminal management platform to cloud terminal management system in all cloud terminals carry out unified management, cloud terminal management platform Communicated by agreement between cloud terminal, cloud terminal management platform is realized to cloud end by sending message to cloud terminal device The management of end equipment and configuration, but in synchronous vacations cloud terminal management platform is needed after the IP address of cloud terminal changes The IP address information of the corresponding cloud terminal of storage, otherwise cloud terminal cannot be continued to manage by cloud terminal management platform.
At present, after the IP address of cloud terminal changes, be mostly manually modification cloud terminal management platform in deposit The IP address information of the corresponding cloud terminal of storage, realizes the synchronization of IP address, and mode manually is changed cloud terminal conduit and patted The IP address information of the corresponding cloud terminal stored in platform not only takes a substantial amount of time while labor intensive cost, and It is likely to appearance the IP address of mistake is synchronized in cloud terminal management platform due to human operational error, this can give cloud terminal Management of the management platform to cloud terminal brings bigger trouble.
Therefore, the method and cloud terminal management system for how finding a kind of automatic modification IP address of terminal turn into this area skill Art personnel are devoted to the direction of research.
The content of the invention
For above-mentioned problem, the invention discloses a kind of autosynchronous method of IP address of terminal, wherein, application In the cloud terminal management system being managed to cloud terminal using cloud terminal management platform, set in the cloud terminal management platform It is equipped with the IP address information and MAC for storing each cloud terminal in the cloud terminal system(Media Access Control, matchmaker Body access control)The database of address information, methods described comprises the following steps:
Step S1, the cloud terminal sends heartbeat message to the cloud terminal management platform, comprising described in the heartbeat message The IP address and MAC Address of cloud terminal;
Step S2, the cloud terminal management platform is parsed to the IP address and MAC Address in the heartbeat message, and according to MAC Address in the heartbeat message is retrieved to obtain a retrieval result to the database;
Step S3, judges whether for the IP address in the heartbeat message to be synchronized to the database according to the retrieval result In.
Preferably, it is described according to the retrieval result judges whether to be synchronized to the IP address in the heartbeat message Step in database includes:
Step S31, judges the cloud terminal with the presence or absence of corresponding in the cloud terminal management platform according to the retrieval result In cloud terminal management system, if it is not, then with backed off after random;
Step S32, judges the IP address in the IP address of the cloud terminal that stores in the database and the heartbeat message It is whether identical, if so, then with backed off after random;
Step S33, judges whether the IP address in the heartbeat message clashes with the IP address of storage in the database, If it is not, then the IP address in the heartbeat message is synchronized in the database.
Preferably, the step S33 also includes:
If the IP address in the heartbeat message is clashed with the IP address of storage in the database, an alarm is generated Information, and export the warning information.
Preferably, in the step S1, the cloud terminal passes through cloud terminal agent program(Agent)To the cloud terminal conduit Platform sends heartbeat message.
Preferably, in the step S1, the cloud terminal agent program timing sends institute to the cloud terminal management platform State heartbeat message.
The invention also discloses a kind of autosynchronous cloud terminal management system of IP address of terminal, wherein, including cloud terminal With the cloud terminal management platform being managed to the cloud terminal;
The cloud terminal sends heartbeat message to the cloud terminal management platform, and the cloud terminal is included in the heartbeat message IP address and MAC Address;
The cloud terminal management platform includes memory module, receiver module, parsing module, retrieval module and judging treatmenting module;
The memory module is used to store the IP address and MAC Address of all cloud terminals in the cloud terminal management system;
The receiver module is connected with the cloud terminal, to receive the heartbeat message;
The parsing module and the receiver module are connected, to parse the IP address and MAC ground that are included in the heartbeat message Location;
Retrieval module, is connected with the parsing module and the memory module respectively, with the MAC ground in the heartbeat message The memory module is retrieved to obtain a retrieval result in location;
Judging treatmenting module, is connected with the retrieval module and the memory module respectively, judges with according to the retrieval result Whether the IP address in the heartbeat message is synchronized in the memory module.
Preferably, the judging treatmenting module includes the first judging unit, the second judging unit, the 3rd judging unit and place Reason unit;
First judging unit is connected with the retrieval module, judges whether the cloud terminal deposits with according to the retrieval result In being the cloud terminal management system;
Second judging unit is connected with first judging unit, and the cloud terminal is judged with first judging unit When being present in the cloud terminal management system, judge the IP address of the cloud terminal that is stored in the memory module with it is described Whether the IP address in heartbeat message is identical;
3rd judging unit is connected with second judging unit, and the storage mould is judged with second judging unit When the IP address of the cloud terminal stored in block is identical with the IP address in the heartbeat message, in judging the heartbeat message IP address whether with the memory module in store IP address clash;
The processing unit is connected with the 3rd judging unit and the memory module, judges with the 3rd judging unit When IP address in the heartbeat message is not clashed with the IP address that stores in the memory module, by the heartbeat message In IP address be synchronized in the memory module.
Preferably, IP address of the processing unit in the 3rd judging unit judges the heartbeat message with it is described When the IP address stored in memory module is clashed, a warning information is generated, and export the warning information.
Preferably, the cloud terminal sends heartbeat message by cloud terminal agent program to the cloud terminal management platform.
Preferably, the cloud terminal agent program timing sends the heartbeat message to the cloud terminal management platform.
Foregoing invention has the following advantages that or beneficial effect:
The invention discloses a kind of autosynchronous method of IP address of terminal and cloud terminal management system, by cloud terminal agent After program timing sends heartbeat message to cloud terminal management platform, cloud terminal management platform to the IP address in the heartbeat message and MAC Address is parsed, and MAC Address in heartbeat message is to all cloud terminals in the cloud terminal management system that is stored with The database of IP address and MAC Address is retrieved, and is judged whether the IP address in heartbeat message according to retrieval result afterwards It is synchronized in database, to realize the automatic synchronization of IP address, and then has saved human cost, improves cloud terminal management system The synchronous efficiency of middle IP address and the degree of accuracy.
Brief description of the drawings
By the detailed description made to non-limiting example with reference to the following drawings of reading, the present invention and its feature, outward Shape and advantage will become more apparent.Identical mark indicates identical part in whole accompanying drawings.Not can according to than Example draws accompanying drawing, it is preferred that emphasis is show purport of the invention.
Fig. 1 is the structural representation of the autosynchronous cloud terminal management system of IP address of terminal in the embodiment of the present invention;
Fig. 2 is the autosynchronous method flow diagram of IP address of terminal in the embodiment of the present invention.
Specific embodiment
At present, it is mostly at present manually to change cloud terminal management platform after the IP address of cloud terminal changes The IP address information of the corresponding cloud terminal of middle storage, realizes the synchronization of IP address, and mode manually changes cloud terminal conduit The IP address information of the corresponding cloud terminal stored in platform not only takes a substantial amount of time while labor intensive cost, And be likely to occur that the IP address of mistake is synchronized in cloud terminal management platform due to human operational error, this can to cloud Management of the terminal management platform to cloud terminal brings bigger trouble.
Based on above mentioned problem, the invention provides a kind of autosynchronous method of IP address of terminal and cloud terminal management system System, after sending heartbeat message to cloud terminal management platform in cloud terminal agent program timing, cloud terminal management platform is to this IP address and MAC Address in heartbeat message are parsed, and MAC Address in heartbeat message is to the cloud terminal conduit that is stored with The IP address of all cloud terminals and the database of MAC Address are retrieved in reason system, are judged whether according to retrieval result afterwards IP address in heartbeat message is synchronized in database, so as to can just realize the automatic of IP address of terminal without human intervention It is synchronous, for effective management of cloud terminal provides strong support.
The present invention is further illustrated with specific embodiment below in conjunction with the accompanying drawings, but not as limit of the invention It is fixed.
Embodiment one:
As shown in figure 1, the present embodiment is related to a kind of autosynchronous cloud terminal management system of IP address of terminal, specifically, the cloud Terminal system includes cloud terminal(The cloud terminal system can include one or more cloud terminals)With cloud terminal is managed Cloud terminal management platform;Cloud terminal(Can be any cloud terminal or multiple cloud terminals)Heartbeat report is sent to cloud terminal management platform Text, MAC Address and current IP address comprising the cloud terminal for sending the heartbeat message in the heartbeat message;The cloud terminal management Platform includes memory module, receiver module, parsing module, retrieval module and judging treatmenting module;Memory module is used to store cloud The IP address and MAC Address of all cloud terminals in terminal management system, and the IP address and MAC Address of each cloud terminal are one a pair The relation answered(The cloud terminal IP address in a storage module can be obtained by the MAC Address of a cloud terminal);Receive Module is connected with cloud terminal, to receive heartbeat message;Parsing module and receiver module are connected, and include in heartbeat message with being parsed IP address and MAC Address;Retrieval module is connected with parsing module and memory module respectively, with the MAC in heartbeat message Memory module is retrieved to obtain a retrieval result in address;Judging treatmenting module connects with retrieval module and memory module respectively Connect, to be judged whether according to retrieval result to be synchronized to the IP address in heartbeat message in memory module, so as to realize terminal IP The automatic synchronization of address.
MAC Address, free translation is media access control, it is also possible to as physical address, hardware address, set for defining network Standby position.In osi model, third layer Internet is responsible for IP address, and second layer data link layer is then responsible for MAC Address. Therefore a main frame has a MAC Address, and each network site has an IP address for being specific to it;Specifically MAC Address is that network interface card is determined, is fixed, and generally IP address and MAC Address are that occur in pairs, the present embodiment It is exactly that the MAC Address in heartbeat message is to being previously stored with cloud terminal management system using the changeless characteristic of MAC Address The IP address of all cloud terminals and the memory module of MAC Address are retrieved in system, such that it is able to judge have according to retrieval result Whether the corresponding IP address of cloud terminal for having the MAC Address changes, and then determines whether the IP address in heartbeat message It is synchronized in memory module.
In a preferred embodiment of the invention, above-mentioned judging treatmenting module includes that the first judging unit, second are sentenced Disconnected unit, the 3rd judging unit and processing unit;First judging unit is connected with retrieval module, and cloud is judged with according to retrieval result Terminal whether there is in cloud terminal management system;Second judging unit is connected with the first judging unit, judges single with first When unit judges that cloud terminal is present in cloud terminal management system, IP address and the heartbeat of the cloud terminal of storage in memory module are judged Whether the IP address in message is identical;3rd judging unit is connected with the second judging unit, is deposited with the judgement of the second judging unit When the IP address of the cloud terminal stored in storage module is identical with the IP address in heartbeat message, the IP address in heartbeat message is judged Whether clashed with the IP address of storage in memory module;Processing unit is connected with the 3rd judging unit and memory module, with When IP address of the IP address during the 3rd judging unit judges heartbeat message not with storage in memory module is clashed, by the heart The IP address jumped in message is synchronized in memory module.
In a preferred embodiment of the invention, IP of the processing unit in the 3rd judging unit judges heartbeat message When address clashes with the IP address of storage in memory module, a warning information, and outputting alarm information are generated.
Specifically, if the first judging unit judges that cloud terminal is not present in cloud terminal management system according to retrieval result (I.e. retrieval result does not retrieve the MAC Address identical MAC Address included in the heartbeat message in being displayed in database), explanation The cloud terminal of the transmission heartbeat message and the management of the cloud terminal management platform where being not belonging to the memory module, then judge that treatment is single This heartbeat message is ignored by unit, that is, be left intact, if the first judging unit judges that cloud terminal is present according to retrieval result In cloud terminal management system(I.e. retrieval result retrieved and the MAC Address included in the heartbeat message in being displayed in database Identical MAC Address), illustrate the cloud terminal of the transmission heartbeat message belong to the memory module where cloud terminal management platform pipe Reason, then continue to judge the IP address in the IP address and heartbeat message of cloud terminal stored in memory module by the second judging unit It is whether identical;If the second judging unit judges the IP address in the IP address and heartbeat message of the cloud terminal stored in memory module It is identical, illustrate that the IP address of the cloud terminal for sending the heartbeat message does not change, then judge that processing unit ignores this heart Message is jumped, that is, is left intact, if the second judging unit judges IP address and the heartbeat of the cloud terminal stored in memory module IP address in message is differed, and illustrates that the IP address of cloud terminal for sending the heartbeat message there occurs change, then continued by the Three judging units judge whether the IP address in heartbeat message clashes with the IP address of storage in memory module;If the 3rd sentences IP address in disconnected unit judges heartbeat message is clashed with the IP address of storage in memory module, then processing unit generation one , there is IP address conflict, so that keeper can be carried out in time to point out keeper in bar warning information, and outputting alarm information Treatment;If the 3rd judging unit judges that IP address in heartbeat message is not clashed with the IP address that stores in memory module, Then be synchronized to the IP address in heartbeat message in memory module by processing unit.
In a preferred embodiment of the invention, cloud terminal passes through cloud terminal agent program to cloud terminal management platform Heartbeat message is sent, specifically, running cloud terminal agent program in cloud terminal, cloud terminal management system is by cloud terminal agent Program sends message management and configuration of the realization to cloud terminal indirectly;Cloud terminal agent program timing is actively to cloud terminal management system System reports heartbeat message, mac address information and current IP address information comprising cloud terminal in the heartbeat message.
In a preferred embodiment of the invention, above-mentioned memory module is MySQL database;Why use MySQL database, because MySQL is a kind of associated data base management system, linked database saves the data in different In table, it is placed in a big warehouse rather than by all data, which adds speed and improves flexibility, and MySQL The SQL language for being used is the most frequently used standardized language for accessing database, therefore with stronger practicality.
In a preferred embodiment of the invention, assisted using UDP between above-mentioned cloud terminal management platform and cloud terminal View is communicated, udp protocol(User Datagram Protocol, UDP)Chinese name is User Datagram Protocol View, is a kind of connectionless biography in OSI (Open System Interconnection, open system interconnection) reference model Defeated layer protocol, there is provided towards the simple unreliable information transmission service of affairs, the control option of udp protocol is less, is passed in data Postpone small, data transmission efficiency advantage high during defeated.
Embodiment two
As shown in Fig. 2 the present embodiment is related to a kind of autosynchronous method of IP address of terminal, the method to be applied to using cloud terminal In the cloud terminal management system that management platform is managed to cloud terminal, it is provided with for storing cloud in the cloud terminal management platform The database of the IP address of each cloud terminal and MAC Address in terminal system, and the IP address and MAC Address of each cloud terminal are one by one Corresponding relation(The IP address of the cloud terminal in database can be obtained by the MAC Address of a cloud terminal), specifically , the method comprises the following steps:
Step S1, cloud terminal sends the IP ground for including cloud terminal in heartbeat message, and the heartbeat message to cloud terminal management platform Location(That is the current IP address of the cloud terminal)And MAC Address.
In a preferred embodiment of the invention, above-mentioned cloud terminal passes through cloud terminal agent program to cloud terminal management Platform sends heartbeat message.
On this basis, further, above-mentioned cloud terminal agent program timing sends heartbeat report to cloud terminal management platform Text.
Specifically, the cloud terminal agent program first in operation cloud terminal, cloud terminal management system is by cloud terminal generation Reason program sends message management and configuration of the realization to cloud terminal indirectly;Cloud terminal agent program timing is actively to cloud terminal simultaneously Management system sends heartbeat message, mac address information and current IP address information comprising cloud terminal in the heartbeat message.
Step S2, cloud terminal management platform is parsed to the IP address and MAC Address in heartbeat message, and according to heartbeat MAC Address in message is retrieved to obtain a retrieval result to database.
Step S3, judges whether to be synchronized to the IP address in heartbeat message in database according to retrieval result.
In a preferred embodiment of the invention, it is above-mentioned to be judged whether the IP in heartbeat message according to retrieval result Step in address synchronization to database is specifically included:
Step S31, judges that cloud terminal whether there is in the corresponding cloud terminal management system of cloud terminal management platform according to retrieval result In system, if during cloud terminal does not exist in the corresponding cloud terminal management system of cloud terminal management platform(I.e. retrieval result is displayed in number According to not retrieving the MAC Address identical MAC Address that is included in the heartbeat message in storehouse), i.e. cloud end of the transmission heartbeat message Cloud terminal management platform management is held and is not belonging to, then with backed off after random(Ignore this heartbeat message)If cloud terminal is present in In the corresponding cloud terminal management system of cloud terminal management platform(I.e. retrieval result retrieved and the heartbeat in being displayed in database The MAC Address identical MAC Address included in message)The cloud terminal of the transmission heartbeat message and belong to the cloud terminal conduit and pat Platform is managed, then proceed step S32.
Step S32, judges whether the IP address of the cloud terminal stored in database is identical with IP address in heartbeat message, If the IP address of the cloud terminal stored in database is identical with the IP address in heartbeat message, the IP address of the cloud terminal is illustrated simultaneously Do not change, then with backed off after random(Ignore this heartbeat message)If, the IP address and the heart of the cloud terminal stored in database The IP address jumped in message is differed, and illustrates that the IP address of the cloud terminal changes, then carry out step S33.
Step S33, judges whether the IP address in heartbeat message clashes with the IP address of storage in database, if the heart Jump IP address of the IP address in message not with storage in database to clash, be then synchronized to the IP address in heartbeat message In database, if the IP address in heartbeat message is clashed with the IP address of storage in database, an alarm letter is generated , there is IP address conflict, so that keeper can be processed in time to point out keeper in breath, and outputting alarm information.
In a preferred embodiment of the invention, above-mentioned database is MySQL database.
In a preferred embodiment of the invention, assisted using UDP between above-mentioned cloud terminal management platform and cloud terminal View is communicated.
It is seen that, the present embodiment is the embodiment phase with the autosynchronous cloud terminal management system of above-mentioned IP address of terminal Corresponding embodiment of the method, the present embodiment can be mutual with the embodiment of the autosynchronous cloud terminal management system of above-mentioned IP address of terminal It is engaged implementation.The relevant technical details mentioned in the embodiment of the above-mentioned autosynchronous cloud terminal management system of IP address of terminal Still effectively in the present embodiment, in order to reduce repetition, repeat no more here.Correspondingly, the correlation mentioned in present embodiment Ins and outs are also applicable in the embodiment of the autosynchronous cloud terminal management system of above-mentioned IP address of terminal.
To sum up, the changeless characteristic of utilization MAC Address disclosed by the invention, according to what is parsed from heartbeat message The memory module of IP address and MAC Address of the MAC Address to being previously stored with all cloud terminals in cloud terminal management system is carried out Retrieval, such that it is able to judge whether the corresponding IP address of cloud terminal with the MAC Address changes according to retrieval result, enters And determine whether to be synchronized to the IP address in heartbeat message in memory module.
It should be appreciated by those skilled in the art that those skilled in the art combine prior art and above-described embodiment can be with Change case is realized, be will not be described here.Such change case has no effect on substance of the invention, will not be described here.
Presently preferred embodiments of the present invention is described above.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, wherein the equipment and structure that do not describe in detail to the greatest extent are construed as giving reality with the common mode in this area Apply;Any those of ordinary skill in the art, in the case where technical solution of the present invention ambit is not departed from, all using the disclosure above Methods and techniques content make many possible variations and modification to technical solution of the present invention, or be revised as equivalent variations etc. Effect embodiment, this has no effect on substance of the invention.Therefore, every content without departing from technical solution of the present invention, foundation Technical spirit of the invention still falls within the present invention to any simple modification, equivalent variation and modification made for any of the above embodiments In the range of technical scheme protection.

Claims (10)

1. a kind of autosynchronous method of IP address of terminal, it is characterised in that be applied to using cloud terminal management platform to cloud end In the cloud terminal management system that end is managed, it is provided with the cloud terminal management platform for storing the cloud terminal system In each cloud terminal IP address and the database of MAC Address, methods described comprises the following steps:
Step S1, the cloud terminal sends heartbeat message to the cloud terminal management platform, comprising described in the heartbeat message The IP address and MAC Address of cloud terminal;
Step S2, the cloud terminal management platform is parsed to the IP address and MAC Address in the heartbeat message, and according to MAC Address in the heartbeat message is retrieved to obtain a retrieval result to the database;
Step S3, judges whether for the IP address in the heartbeat message to be synchronized to the database according to the retrieval result In.
2. the autosynchronous method of IP address of terminal as claimed in claim 1, it is characterised in that described according to the retrieval knot Fruit judges whether to include the step that the IP address in the heartbeat message is synchronized in the database:
Step S31, judges the cloud terminal with the presence or absence of corresponding in the cloud terminal management platform according to the retrieval result In cloud terminal management system, if it is not, then with backed off after random;
Step S32, judges the IP address in the IP address of the cloud terminal that stores in the database and the heartbeat message It is whether identical, if so, then with backed off after random;
Step S33, judges whether the IP address in the heartbeat message clashes with the IP address of storage in the database, If it is not, then the IP address in the heartbeat message is synchronized in the database.
3. the autosynchronous method of IP address of terminal as claimed in claim 2, it is characterised in that the step S33 also includes:
If the IP address in the heartbeat message is clashed with the IP address of storage in the database, an alarm is generated Information, and export the warning information.
4. the autosynchronous method of IP address of terminal as claimed in claim 1, it is characterised in that described in the step S1 Cloud terminal sends heartbeat message by cloud terminal agent program to the cloud terminal management platform.
5. the autosynchronous method of IP address of terminal as claimed in claim 4, it is characterised in that described in the step S1 Cloud terminal agent program timing sends the heartbeat message to the cloud terminal management platform.
6. the autosynchronous cloud terminal management system of a kind of IP address of terminal, it is characterised in that including cloud terminal and to the cloud The cloud terminal management platform that terminal is managed;
The cloud terminal sends heartbeat message to the cloud terminal management platform, and the cloud terminal is included in the heartbeat message IP address and MAC Address;
The cloud terminal management platform includes memory module, receiver module, parsing module, retrieval module and judging treatmenting module;
The memory module is used to store the IP address and MAC Address of all cloud terminals in the cloud terminal management system;
The receiver module is connected with the cloud terminal, to receive the heartbeat message;
The parsing module and the receiver module are connected, to parse the IP address and MAC ground that are included in the heartbeat message Location;
Retrieval module, is connected with the parsing module and the memory module respectively, with the MAC ground in the heartbeat message The memory module is retrieved to obtain a retrieval result in location;
Judging treatmenting module, is connected with the retrieval module and the memory module respectively, judges with according to the retrieval result Whether the IP address in the heartbeat message is synchronized in the memory module.
7. the autosynchronous cloud terminal management system of IP address of terminal as claimed in claim 6, it is characterised in that the judgement Processing module includes the first judging unit, the second judging unit, the 3rd judging unit and processing unit;
First judging unit is connected with the retrieval module, judges whether the cloud terminal deposits with according to the retrieval result In being the cloud terminal management system;
Second judging unit is connected with first judging unit, and the cloud terminal is judged with first judging unit When being present in the cloud terminal management system, judge the IP address of the cloud terminal that is stored in the memory module with it is described Whether the IP address in heartbeat message is identical;
3rd judging unit is connected with second judging unit, and the storage mould is judged with second judging unit When the IP address of the cloud terminal stored in block is identical with the IP address in the heartbeat message, in judging the heartbeat message IP address whether with the memory module in store IP address clash;
The processing unit is connected with the 3rd judging unit and the memory module, judges with the 3rd judging unit When IP address in the heartbeat message is not clashed with the IP address that stores in the memory module, by the heartbeat message In IP address be synchronized in the memory module.
8. the autosynchronous cloud terminal management system of IP address of terminal as claimed in claim 7, it is characterised in that the treatment The IP address that unit is stored in the IP address during the 3rd judging unit judges the heartbeat message with the memory module When clashing, a warning information is generated, and export the warning information.
9. the autosynchronous cloud terminal management system of IP address of terminal as claimed in claim 6, it is characterised in that the cloud end End sends heartbeat message by cloud terminal agent program to the cloud terminal management platform.
10. the autosynchronous cloud terminal management system of IP address of terminal as claimed in claim 9, it is characterised in that the cloud Terminal agent program timing sends the heartbeat message to the cloud terminal management platform.
CN201611012749.3A 2016-11-17 2016-11-17 A kind of autosynchronous method of IP address of terminal and cloud terminal management system Pending CN106790736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611012749.3A CN106790736A (en) 2016-11-17 2016-11-17 A kind of autosynchronous method of IP address of terminal and cloud terminal management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611012749.3A CN106790736A (en) 2016-11-17 2016-11-17 A kind of autosynchronous method of IP address of terminal and cloud terminal management system

Publications (1)

Publication Number Publication Date
CN106790736A true CN106790736A (en) 2017-05-31

Family

ID=58969198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611012749.3A Pending CN106790736A (en) 2016-11-17 2016-11-17 A kind of autosynchronous method of IP address of terminal and cloud terminal management system

Country Status (1)

Country Link
CN (1) CN106790736A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343218A (en) * 2018-12-18 2020-06-26 杭州光启人工智能研究院 Data sending and receiving method based on heartbeat message, storage medium and processor
CN112887440A (en) * 2019-11-29 2021-06-01 北京百度网讯科技有限公司 IP address management method and device
CN113206879A (en) * 2021-04-29 2021-08-03 广州朗国电子科技有限公司 Terminal IP address automatic synchronization method, electronic equipment and storage medium
CN115442208A (en) * 2021-05-18 2022-12-06 北京小米移动软件有限公司 Method and device for managing cloud terminal and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8359376B1 (en) * 2010-04-20 2013-01-22 Hewlett-Packard Development Company, L.P. Proactive sending of an IP-to-MAC address binding for a high fan-in node
CN103973499A (en) * 2014-05-23 2014-08-06 刘建兵 IP accurate positioning system and method
CN104702711A (en) * 2015-01-23 2015-06-10 浙江金通文化创意有限公司 Intelligent network system for adaptively controlling inner network conflict and optimization method
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN105933467A (en) * 2016-04-27 2016-09-07 浪潮电子信息产业股份有限公司 Periodic detection method for information change of client host

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8359376B1 (en) * 2010-04-20 2013-01-22 Hewlett-Packard Development Company, L.P. Proactive sending of an IP-to-MAC address binding for a high fan-in node
CN103973499A (en) * 2014-05-23 2014-08-06 刘建兵 IP accurate positioning system and method
CN104702711A (en) * 2015-01-23 2015-06-10 浙江金通文化创意有限公司 Intelligent network system for adaptively controlling inner network conflict and optimization method
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN105933467A (en) * 2016-04-27 2016-09-07 浪潮电子信息产业股份有限公司 Periodic detection method for information change of client host

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343218A (en) * 2018-12-18 2020-06-26 杭州光启人工智能研究院 Data sending and receiving method based on heartbeat message, storage medium and processor
CN112887440A (en) * 2019-11-29 2021-06-01 北京百度网讯科技有限公司 IP address management method and device
CN112887440B (en) * 2019-11-29 2023-03-24 北京百度网讯科技有限公司 IP address management method and device
CN113206879A (en) * 2021-04-29 2021-08-03 广州朗国电子科技有限公司 Terminal IP address automatic synchronization method, electronic equipment and storage medium
CN115442208A (en) * 2021-05-18 2022-12-06 北京小米移动软件有限公司 Method and device for managing cloud terminal and readable storage medium
CN115442208B (en) * 2021-05-18 2024-02-23 北京小米移动软件有限公司 Method and device for managing cloud terminal and readable storage medium

Similar Documents

Publication Publication Date Title
CN106790736A (en) A kind of autosynchronous method of IP address of terminal and cloud terminal management system
CN100438435C (en) Method for limiting browser access network address
CN110247784A (en) The method and apparatus for determining network topology structure
CN109831318A (en) A kind of system, method and server obtaining network topology
US20200349151A1 (en) Methods, systems, and computer readable mediums for performing an aggregated free-form query
CN110516076B (en) Knowledge graph-based cloud computing management method and system
CN101098248A (en) Method and system for implementing universal network management based on configuration describing document
CN104270257B (en) NE-level webmaster business configuration adaption system and method based on PB and XPATH
WO2016048266A1 (en) Tenant data mapping for multiple tenant cloud applications
CN108446575A (en) Disk management method, electronic equipment based on cloud desktop, storage medium, system
CN108156274A (en) Equipment is made to obtain the method and device of domain name mapping result in a kind of VPN network
CN103117878A (en) Design method of Nagios-based distribution monitoring system
CN113127526A (en) Distributed data storage and retrieval system based on Kubernetes
CN103973819B (en) A kind of method, relevant apparatus and system for responding community's domain name request
CN105653717B (en) A kind of method and device that information is shared
CN103957252B (en) The journal obtaining method and its system of cloud stocking system
CN106547790A (en) A kind of relevant database service system
CN103001989A (en) Parameter receiving method and system
CN107105004B (en) Cross-platform service calling method and device
CN101888308B (en) Method for realizing integrated management of multi-board embedded device
CN111078494B (en) Cache database monitoring method and server
CN109460416A (en) A kind of data processing method, device, electronic equipment and storage medium
CN114793244B (en) Resource processing method, device, equipment and medium for block chain
US20020073329A1 (en) Tracking network devices
CN202696646U (en) Router capable of storing on-line behavior data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication