CN113206879A - Terminal IP address automatic synchronization method, electronic equipment and storage medium - Google Patents
Terminal IP address automatic synchronization method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113206879A CN113206879A CN202110475717.1A CN202110475717A CN113206879A CN 113206879 A CN113206879 A CN 113206879A CN 202110475717 A CN202110475717 A CN 202110475717A CN 113206879 A CN113206879 A CN 113206879A
- Authority
- CN
- China
- Prior art keywords
- address
- cloud server
- terminal
- cloud
- establishing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 claims abstract description 7
- 230000004044 response Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 235000013599 spices Nutrition 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5053—Lease time; Renewal aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a terminal IP address automatic synchronization method, which comprises the following steps: establishing a connection channel, establishing an IP connection channel through an Internet communication protocol, and receiving message information containing an IP address sent by a cloud server; analyzing the message information, judging whether the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, and if not, skipping to the step of establishing connection; and establishing connection, and updating the analyzed IP address to the cloud terminal through an IP connection channel. The present invention relates to an electronic device and a storage medium for executing an automatic terminal IP address synchronization method. According to the invention, the cloud terminal can automatically acquire and connect the IP address of the cloud server without manually inputting the IP address of the cloud server and searching a new address of the cloud server, so that the purpose of automatically synchronizing the IP address is achieved, the labor cost is saved, and the efficiency and the accuracy of IP address synchronization are improved.
Description
Technical Field
The invention relates to the technical field of cloud computing, in particular to a terminal IP address automatic synchronization method, electronic equipment and a storage medium.
Background
The cloud terminal generally refers to a terminal device of a cloud desktop technology. The system desktop is connected with a system desktop at the cloud end through a specific communication protocol (generally, cloud desktop technology communication protocols such as VDI, RDS, SPICE and the like), and is displayed to the front end, and output and input data of the cloud terminal are redirected to the cloud server. The cloud terminal has the characteristics that: the cloud desktop management system has the advantages of no burden on operation, flexible access, multiple safety verification, environmental protection, energy and power conservation, simplicity in use, maintenance cost saving and centralized management. The cloud terminal is used for replacing a PC host (the effect is infinitely close to that of a PC), so that everyone can enjoy the same experience as the PC host.
In the current cloud system application, when a user logs in a cloud server by using a cloud terminal desktop, the IP address of the cloud server needs to be input first, and if it is unclear that the address of the cloud server or the address of the cloud server is updated, various services of the cloud server cannot be used, so that a method for automatically synchronizing the IP address of the cloud terminal is urgently needed.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide an automatic synchronization method for a terminal IP address, which is used for realizing that a cloud terminal automatically acquires and connects the IP address of a cloud server without manually inputting the IP address of the cloud server and searching a new address of the cloud server, so that the purpose of automatic synchronization of the IP address is achieved, the labor cost is saved, and the efficiency and the accuracy of IP address synchronization are improved.
The invention provides a terminal IP address automatic synchronization method, which comprises the following steps:
establishing a connection channel, establishing an IP connection channel through an Internet communication protocol, and receiving message information containing an IP address sent by a cloud server;
analyzing message information, analyzing the message information, judging whether the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, and if not, skipping to the step of establishing connection;
and establishing connection, and updating the analyzed IP address to the cloud terminal through the IP connection channel.
Further, in the step of establishing the connection channel, the cloud terminal sends a connection request to the cloud server, receives response information returned by the cloud server, and establishes an IP connection channel with the cloud server.
Further, in the step of establishing the connection channel, the cloud terminal acquires an IP address through a DHCP message, and receives a reconfiguration instruction sent by the cloud server.
Further, in the step of analyzing the message information, the IP address-MAC address pair included in the DHCP message is analyzed and configured as an ARP entry that cannot be dynamically rewritten locally.
Further, in the step of analyzing the message information, if the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, the process exits.
Further, the connection establishing step further includes receiving response information of the network connection success identifier returned by the cloud server.
Further, in the step of analyzing the message information, if the analyzed IP address of the cloud server conflicts with the current IP address of the cloud terminal, alarm information is generated.
Further, the reconfiguration instruction is a DHCP rechfig message.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a terminal IP address auto-synchronization method.
A computer-readable storage medium having stored thereon a computer program for executing by a processor a method for automatic synchronization of an IP address of a terminal.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a terminal IP address automatic synchronization method, which comprises the following steps: establishing a connection channel, establishing an IP connection channel through an Internet communication protocol, and receiving message information containing an IP address sent by a cloud server; analyzing the message information, judging whether the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, and if not, skipping to the step of establishing connection; and establishing connection, and updating the analyzed IP address to the cloud terminal through an IP connection channel. The present invention relates to an electronic device and a storage medium for executing an automatic terminal IP address synchronization method. According to the invention, the cloud terminal can automatically acquire and connect the IP address of the cloud server without manually inputting the IP address of the cloud server and searching a new address of the cloud server, so that the purpose of automatically synchronizing the IP address is achieved, the labor cost is saved, and the efficiency and the accuracy of IP address synchronization are improved.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of an automatic synchronization method for IP addresses of terminals according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
An automatic synchronization method for terminal IP addresses, as shown in fig. 1, includes the following steps:
and establishing a connection channel, establishing an IP connection channel through an Internet communication protocol, and receiving message information containing an IP address sent by the cloud server. TCP/IP (Transmission Control Protocol/Internet Protocol) refers to a Protocol cluster that can realize information Transmission between a plurality of different networks. The TCP/IP protocol refers not only to two protocols of TCP and IP, but also to a protocol cluster composed of FTP, SMTP, TCP, UDP, IP, etc., and is called TCP/IP protocol only because TCP protocol and IP protocol are most representative among TCP/IP protocols.
In an embodiment, the cloud terminal sends a connection request to the cloud server, receives response information returned by the cloud server, and establishes an IP connection channel with the cloud server. The cloud terminal acquires the IP address through the DHCP message, receives a reconfiguration instruction sent by the cloud server, the reconfiguration instruction is a DHCP reconfig message, the cloud terminal is notified by the DHCP reconfig message, the IP address of the cloud terminal is automatically updated, redundant operation is not needed, the operation is more convenient and rapid, and meanwhile, the use of a user is not influenced.
Analyzing the message information, judging whether the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, and if not, skipping to the step of establishing connection; if the two are consistent, exiting; if the IP address of the cloud server is not changed, the message information is ignored and no processing is performed. And if the analyzed IP address of the cloud server conflicts with the current IP address of the cloud terminal, generating alarm information so that management personnel can process the alarm information in time.
In an embodiment, the IP address-MAC address pair included in the DHCP message is parsed and configured as an ARP entry that cannot be dynamically rewritten locally, so as to prevent the attack message from attacking the network by changing the ARP entry of the cloud terminal.
And establishing connection, updating the analyzed IP address to the cloud terminal through an IP connection channel, and receiving response information of the network connection success identifier returned by the cloud server.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a method for automatic synchronization of a terminal IP address.
A computer-readable storage medium having stored thereon a computer program for executing by a processor a method for automatic synchronization of an IP address of a terminal.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a method for automatic synchronization of a terminal IP address.
A computer-readable storage medium having stored thereon a computer program for executing by a processor a method for automatic synchronization of an IP address of a terminal.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.
Claims (10)
1. A terminal IP address automatic synchronization method is characterized by comprising the following steps:
establishing a connection channel, establishing an IP connection channel through an Internet communication protocol, and receiving message information containing an IP address sent by a cloud server;
analyzing message information, analyzing the message information, judging whether the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, and if not, skipping to the step of establishing connection;
and establishing connection, and updating the analyzed IP address to the cloud terminal through the IP connection channel.
2. The method for automatically synchronizing IP addresses of terminals according to claim 1, wherein: in the step of establishing the connection channel, the cloud terminal sends a connection request to the cloud server, receives response information returned by the cloud server, and establishes an IP connection channel with the cloud server.
3. The method for automatically synchronizing IP addresses of terminals according to claim 1, wherein: in the step of establishing the connection channel, the cloud terminal acquires an IP address through a DHCP message and receives a reconfiguration instruction sent by the cloud server.
4. A method for automatic synchronization of IP addresses of terminals according to claim 3, characterized in that: in the step of analyzing the message information, the IP address-MAC address pair included in the DHCP message is analyzed and configured into an ARP table entry which cannot be dynamically rewritten locally.
5. The method for automatically synchronizing IP addresses of terminals according to claim 1, wherein: in the step of analyzing the message information, if the analyzed IP address of the cloud server is consistent with the current IP address of the cloud terminal, the operation is quitted.
6. The method for automatically synchronizing IP addresses of terminals according to claim 1, wherein: the connection establishing step further comprises the step of receiving response information of the network connection success identification returned by the cloud server.
7. The method for automatically synchronizing IP addresses of terminals according to claim 1, wherein: in the step of analyzing the message information, if the analyzed IP address of the cloud server conflicts with the current IP address of the cloud terminal, alarm information is generated.
8. A method for automatic synchronization of IP addresses of terminals according to claim 3, characterized in that: the reconfiguration instruction is a DHCP reconfig message.
9. An electronic device, characterized by comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for carrying out the method according to any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor for performing the method according to any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110475717.1A CN113206879A (en) | 2021-04-29 | 2021-04-29 | Terminal IP address automatic synchronization method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110475717.1A CN113206879A (en) | 2021-04-29 | 2021-04-29 | Terminal IP address automatic synchronization method, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113206879A true CN113206879A (en) | 2021-08-03 |
Family
ID=77027836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110475717.1A Pending CN113206879A (en) | 2021-04-29 | 2021-04-29 | Terminal IP address automatic synchronization method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113206879A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113905011A (en) * | 2021-09-06 | 2022-01-07 | 河南信大网御科技有限公司 | Method and system for synchronizing Arp table of mimicry equipment |
WO2023092542A1 (en) * | 2021-11-29 | 2023-06-01 | 国云科技股份有限公司 | Terminal replacement method and apparatus for cloud classroom, electronic device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011153886A1 (en) * | 2010-06-11 | 2011-12-15 | 中兴通讯股份有限公司 | Method, system and dynamic host configuration protocol server, client terminal for avoiding internet protocol address conflict |
WO2014067080A1 (en) * | 2012-10-31 | 2014-05-08 | 华为技术有限公司 | Method and device for transmitting cloud server addresses |
CN104780230A (en) * | 2014-01-09 | 2015-07-15 | 东莞市微云系统科技有限公司 | Method of automatically acquiring cloud server IP address, system and cloud system |
WO2017000128A1 (en) * | 2015-06-29 | 2017-01-05 | 华为技术有限公司 | Internet protocol address allocation method and relay device |
CN106790736A (en) * | 2016-11-17 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of autosynchronous method of IP address of terminal and cloud terminal management system |
US20170163597A1 (en) * | 2015-12-05 | 2017-06-08 | Aruba Networks, Inc. | Ip address of wireless client device |
-
2021
- 2021-04-29 CN CN202110475717.1A patent/CN113206879A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011153886A1 (en) * | 2010-06-11 | 2011-12-15 | 中兴通讯股份有限公司 | Method, system and dynamic host configuration protocol server, client terminal for avoiding internet protocol address conflict |
WO2014067080A1 (en) * | 2012-10-31 | 2014-05-08 | 华为技术有限公司 | Method and device for transmitting cloud server addresses |
CN104780230A (en) * | 2014-01-09 | 2015-07-15 | 东莞市微云系统科技有限公司 | Method of automatically acquiring cloud server IP address, system and cloud system |
WO2017000128A1 (en) * | 2015-06-29 | 2017-01-05 | 华为技术有限公司 | Internet protocol address allocation method and relay device |
US20170163597A1 (en) * | 2015-12-05 | 2017-06-08 | Aruba Networks, Inc. | Ip address of wireless client device |
CN106790736A (en) * | 2016-11-17 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of autosynchronous method of IP address of terminal and cloud terminal management system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113905011A (en) * | 2021-09-06 | 2022-01-07 | 河南信大网御科技有限公司 | Method and system for synchronizing Arp table of mimicry equipment |
CN113905011B (en) * | 2021-09-06 | 2023-08-04 | 河南信大网御科技有限公司 | Method and system for synchronizing Arp table of mimicry equipment |
WO2023092542A1 (en) * | 2021-11-29 | 2023-06-01 | 国云科技股份有限公司 | Terminal replacement method and apparatus for cloud classroom, electronic device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101841577B (en) | Method and device for implementing domain name resolution agent function | |
CN113206879A (en) | Terminal IP address automatic synchronization method, electronic equipment and storage medium | |
CN108183975A (en) | A kind of method and system of domain name mapping | |
CN112804223B (en) | Message processing method and device | |
US20230161541A1 (en) | Screen projection method and system | |
CN111277481A (en) | Method, device, equipment and storage medium for establishing VPN tunnel | |
CN111277602A (en) | Network data packet identification processing method and device, electronic equipment and storage medium | |
CN109286684B (en) | Communication connection processing method and device, proxy server and storage medium | |
CN106992893A (en) | The management method and device of router | |
US9847927B2 (en) | Information processing device, method, and medium | |
CN113630418A (en) | Network service identification method, device, equipment and medium | |
CN112351082A (en) | Current limiting method and device for HTTP request message | |
CN113746851B (en) | Proxy system and method supporting real-time analysis of GRPC request | |
CN108696549B (en) | Load balancing method, device and system | |
CN114650271B (en) | Global load DNS neighbor site learning method and device | |
US20150081867A1 (en) | Obtaining a mac address from an external source | |
CN115834525B (en) | Terminal access method and device based on ARP control, electronic equipment and storage medium | |
CN114827197B (en) | Service communication method, device, equipment and medium based on Internet of things | |
CN114928490B (en) | Multi-terminal network management and control method and device in container scene, storage medium and electronic equipment | |
CN113691462B (en) | Response method and device of Internet group management protocol | |
US20220328154A1 (en) | Method and system for managing therapy plan data, and data exchange device | |
CN114697147B (en) | Equipment searching method, device, equipment and storage medium | |
CN115277506B (en) | Load balancing equipment testing method and system | |
CN115665210B (en) | User problem processing method, user problem processing device and customer service system | |
CN113242307B (en) | Service request processing method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700 Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd. Address before: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700 Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210803 |