CN110933192A - Local area network IP address allocation method, device, system and computer equipment - Google Patents

Local area network IP address allocation method, device, system and computer equipment Download PDF

Info

Publication number
CN110933192A
CN110933192A CN201910998654.0A CN201910998654A CN110933192A CN 110933192 A CN110933192 A CN 110933192A CN 201910998654 A CN201910998654 A CN 201910998654A CN 110933192 A CN110933192 A CN 110933192A
Authority
CN
China
Prior art keywords
terminal
address
terminal equipment
session information
server
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
CN201910998654.0A
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.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou 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 Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN201910998654.0A priority Critical patent/CN110933192A/en
Publication of CN110933192A publication Critical patent/CN110933192A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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/5069Address allocation for group communication, multicast communication or broadcast communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application relates to a local area network IP address allocation method, a device, a system, a computer device and a storage medium, wherein the method receives terminal session information sent by terminal devices in a multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode for communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.

Description

Local area network IP address allocation method, device, system and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a computer device, and a storage medium for allocating an IP address of a local area network.
Background
With the development of the internet of things, more and more devices start to access the network, and the devices need to be uniformly managed through the network. Since the devices are usually configured as default IP addresses in a unified manner when they leave the factory, the IP addresses of the respective access devices also need to be manually reassigned when they access the network.
However, in the initial networking stage, a large number of devices are usually required to access the network, and new devices are frequently added in the subsequent networking stage; the workload of manually configuring the IP addresses of each access device is large, and repeated allocation errors are easily caused when a large number of IP addresses are allocated, so that the allocation efficiency of the IP addresses is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a local area network IP address allocation method, apparatus, system, computer device, and storage medium for solving the above technical problems.
A local area network IP address assignment method, the method comprising:
receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal device ID is unique within the multicast group;
distributing terminal IP addresses to the terminal equipment according to all terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment of modifying the IP address into the terminal IP address.
In one embodiment, after allocating the terminal IP address to the terminal device according to all terminal device IDs in the multicast group, the method further includes:
updating an IP address corresponding table according to the terminal equipment ID and the terminal IP address; the IP address mapping table is used to record the mapping relationship between each terminal device in the multicast group and the terminal IP address.
In one embodiment, after the generating server session information according to the terminal device ID and the terminal IP address, and sending the server session information to the terminal devices in the multicast group, the method further includes:
receiving IP address modification state information returned by the terminal equipment in the multicast group;
and when the IP address modification state information indicates that the IP address of the terminal equipment is successfully modified into the terminal IP address, confirming the update of the IP address corresponding table.
A local area network IP address modification method, the method comprising:
sending terminal session information to a server through a multicast mode; the terminal session information carries a terminal device ID;
receiving server session information returned by the server; the server session information carries a target terminal device ID and a terminal IP address; the terminal IP address is distributed to the terminal equipment by the server according to all terminal equipment IDs in a multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
if the target terminal equipment ID is consistent with the terminal equipment ID, reading the terminal IP address;
and if the terminal IP address is not consistent with the terminal equipment IP address, modifying the terminal equipment IP address into the terminal IP address.
In one embodiment, after the modifying the terminal device IP address to the terminal IP address, the method further includes:
acquiring modified state information; the modification state information comprises that the IP address of the terminal equipment is successfully modified into the IP address of the terminal, or the IP address of the terminal equipment is not modified into the IP address of the terminal;
generating IP address modification state information according to the modification state information;
and sending the IP address modification state information to the server, wherein the IP address modification state information is used for informing the server to record the terminal IP address modification result.
A local area network IP address assignment apparatus, the apparatus comprising:
the terminal session information receiving module is used for receiving the terminal session information sent by the terminal equipment in the multicast group; the terminal session information carries a terminal device ID; the terminal device ID is unique within the multicast group;
a terminal IP address distribution module, configured to distribute a terminal IP address for the terminal device according to all terminal device IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
the server session information sending module is used for generating server session information according to the terminal equipment ID and the terminal IP address and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment of modifying the IP address into the terminal IP address.
A local area network IP address modification apparatus, the apparatus comprising:
the terminal session information sending module is used for sending the terminal session information to the server in a multicast mode; the terminal session information carries a terminal device ID;
the server session information receiving module is used for receiving the server session information returned by the server; the server session information carries a target terminal device ID and a terminal IP address; the terminal IP address is distributed to the terminal equipment by the server according to all terminal equipment IDs in the multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
a terminal IP address reading module, configured to read the terminal IP address if the target terminal device ID is consistent with the terminal device ID;
and the terminal IP address modifying module is used for modifying the terminal IP address into the terminal IP address if the terminal IP address is inconsistent with the terminal equipment IP address.
A local area network IP address assignment system, comprising: the server and the plurality of terminal devices are connected in a multicast mode;
the terminal equipment sends terminal session information to a server through a multicast mode; the terminal session information carries the terminal equipment ID; the terminal device ID is unique within the multicast group; the server allocates terminal IP addresses to the terminal equipment according to all terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; the server generates server session information and sends the server session information to the terminal equipment in the multicast group; the server session information carries the target terminal equipment ID and the terminal IP address; the terminal equipment receives the server session information, if the target terminal equipment ID is consistent with the terminal equipment ID, the terminal IP address carried by the server session information is read, and if the terminal IP address is inconsistent with the terminal equipment IP address, the terminal equipment IP address is modified into the terminal IP address.
In one embodiment, the local area network IP address assignment system further includes a first switch and a second switch: connecting the server and a plurality of terminal devices;
the server and the plurality of terminal devices communicate through the first switch and the second switch.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal device ID is unique within the multicast group;
distributing terminal IP addresses to the terminal equipment according to all terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment of modifying the IP address into the terminal IP address.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal device ID is unique within the multicast group;
distributing terminal IP addresses to the terminal equipment according to all terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment of modifying the IP address into the terminal IP address.
The method, the device, the system, the computer equipment and the storage medium for distributing the IP address of the local area network receive the terminal session information sent by the terminal equipment in the multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode for communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
Drawings
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for allocating local area network IP addresses;
FIG. 2 is a flowchart illustrating a method for allocating local area network IP addresses according to an embodiment;
FIG. 3 is a flow diagram illustrating the steps of receiving IP address modification status information in one embodiment;
FIG. 4 is a flowchart illustrating a method for modifying an IP address of a local area network according to an embodiment;
FIG. 5 is a flowchart illustrating steps for sending IP address modification status information in one embodiment;
fig. 6 is a schematic flowchart illustrating a method for allocating an IP address of a local area network by taking a server as an example in an embodiment;
fig. 7 is a schematic flowchart illustrating a method for modifying an IP address of a local area network by using a terminal device as an example in an embodiment;
FIG. 8 is a diagram illustrating an example of a LAN IP address assignment device;
FIG. 9 is a diagram illustrating an embodiment of a device for modifying an IP address of a local area network;
FIG. 10 is a diagram showing an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that the terms "first \ second \ third" related to the embodiments of the present invention only distinguish similar objects, and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may exchange a specific order or sequence when allowed. It should be understood that the terms first, second, and third, as used herein, are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or otherwise described herein.
The terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The local area network IP address allocation method provided by the application can be applied to the application environment shown in FIG. 1. The application environment includes a server 10, a plurality of terminal devices 11; a plurality of terminal devices 11 form a multicast group; the server 10 and a plurality of terminal devices 11 communicate in a multicast mode through a switch 12. The terminal device 11 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, or various information sensing devices such as radio frequency identification, infrared sensors, global positioning systems, and laser scanners; the server 10 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers 10; switch 12 may be, but is not limited to, an ethernet switch, a fast ethernet switch, a gigabit ethernet switch, or the like.
Based on the application environment, the server 10 is configured to receive terminal session information sent by the terminal device 11 in the multicast group; distributing terminal IP addresses for the terminal equipment 11 according to all terminal equipment IDs in the multicast group; and generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment 11 in the multicast group. The terminal device 11 sends the terminal session information to the server 10 through the multicast mode; receiving server session information returned by the server 10; if the ID of the target terminal equipment is consistent with the ID of the terminal equipment, reading the IP address of the terminal; and if the terminal IP address is not consistent with the terminal equipment IP address, modifying the terminal equipment IP address into the terminal IP address. The switch 12 may provide an electrical signal path for the accessed server 10 and the plurality of terminal devices 11, and provide an information exchange function in the local area network IP address assignment system of the present application, which is applied to a data link layer.
Based on the description of the application environment, embodiments of the present invention provide a method, an apparatus, a system, a computer device, and a storage medium for allocating an IP address of a local area network, which are described in detail below:
in one embodiment, as shown in fig. 2, a method for allocating an IP address of a local area network is provided, which is described by taking the method as an example applied to the server 10 in fig. 1, and includes the following steps:
step S21, receiving terminal session information sent by terminal equipment in the multicast group; the terminal session information carries a terminal device ID; the end device ID is unique within the multicast group.
In this step, the multicast technology is to send information to a certain target group in the IP network, and all members belonging to the group can receive a copy of information data, and the target group is called a multicast group; the multicast mode solves the problems of repeated copying of data and repeated occupation of bandwidth under the unicast condition and also solves the problem of waste of bandwidth resources under the broadcast mode. The multicast group is created by a server, for example, the server establishes a multicast group with an IP address of 239.1.1.X and joins all terminal devices; each end device has a unique device ID within the multicast group and the IP addresses of the end devices joining the multicast group may be the same. The terminal session information is generated by the terminal equipment and/or is sent out by the terminal equipment; the terminal session information may further include one or more of information such as a target terminal device ID number, a server ID, a command word, a data word, a check, a heartbeat command, and the like, on the basis of carrying the terminal device ID.
In the specific implementation, terminal session information is generated by terminal equipment in a multicast group and is sent in a multicast mode; after the server receives the terminal session information, the server can identify the sent terminal equipment because the terminal session information carries the terminal equipment ID; the end device ID is unique within the multicast group.
In the step, the server receives the terminal session information sent by the terminal equipment in the multicast group, acquires the ID carried by the terminal equipment, identifies the terminal equipment, is convenient for uniformly distributing the corresponding terminal IP address for the terminal equipment subsequently, and improves the IP address distribution efficiency.
Step S22, according to all terminal equipment IDs in the multicast group, allocating terminal IP addresses to the terminal equipment; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one.
In this step, the terminal IP address is an IP address that can be allocated to the terminal device in the multicast group, and the range is usually 224.0.1.0-238.255.255.255; the terminal IP address assigned to the terminal device should uniquely correspond to the ID of the terminal device within the multicast group to avoid confusion in data transmission.
In the specific implementation, after receiving terminal session information sent by terminal equipment, a server selects a terminal IP address for the terminal equipment according to a terminal equipment ID carried in the terminal session information; the selected terminal IP address is not used by other terminal devices in the multicast group, and a corresponding distribution rule can be set during selection; the selected terminal IP address and the terminal equipment ID are in one-to-one correspondence in the multicast group.
The server is used for uniformly distributing the IP addresses of the terminals in the multicast group according to a certain rule, so that the terminals have the unique and identifiable IP addresses in the multicast group, later management and maintenance are facilitated, and the IP address distribution efficiency is greatly improved.
Step S23, generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address.
In this step, the server session information is generated by the server and sent out through the multicast mode; the server session information may further include one or more of information such as terminal IP address assignment command word, check, data word, communication port, etc. on the basis of carrying the terminal device ID and the terminal IP address.
In the specific implementation, the server combines the allocated terminal IP address and the terminal equipment ID information with other information data which need to be transmitted simultaneously to generate server session information; the server sends the information to the terminal equipment through the multicast mode, and can inform the terminal equipment corresponding to the terminal equipment ID in the multicast group to modify the terminal equipment IP address into the terminal IP address distributed by the server.
The server sends the distributed terminal IP address to the terminal equipment in the multicast mode, thereby realizing the distribution of the terminal equipment IP address in the multicast group, being convenient for later management and maintenance and greatly improving the IP address distribution efficiency.
The step of distributing the IP address of the local area network is realized by receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode for communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
In an embodiment, after the step S22 assigns the terminal IP address to the terminal device according to all terminal device IDs in the multicast group, the method further includes: updating an IP address corresponding table according to the ID of the terminal equipment and the IP address of the terminal; the IP address corresponding table is used for recording the corresponding relation between each terminal device in the multicast group and the IP address of the terminal.
In this embodiment, the correspondence between the terminal IP addresses refers to an association between the terminal IP addresses allocated by the server and the terminal devices; the IP address corresponding table is a record carrier of the corresponding relation and can be modified after the IP address of the terminal is successfully allocated; and external personnel can carry out export operation according to actual needs, so that the IP address of the terminal can be conveniently checked and checked.
In the specific implementation, the server adds, modifies or deletes the corresponding relation between the terminal device and the terminal IP address recorded in the IP address corresponding table according to the allocated terminal IP address.
In the embodiment, by setting the IP address correspondence table, the server can query the terminal IP address which can be currently selected as the assigned address according to the IP address correspondence table, and external personnel can derive the IP address correspondence table as required to obtain the terminal IP address corresponding to each terminal device, so that the later management and maintenance are facilitated, and the IP address assignment efficiency is greatly improved.
In an embodiment, as shown in fig. 3, after the step S23 generates server session information according to the terminal device ID and the terminal IP address, and sends the server session information to the terminal devices in the multicast group, the method further includes:
and step S31, receiving the IP address modification state information returned by the terminal equipment in the multicast group.
And step S32, when the IP address modification state information is that the IP address of the terminal equipment is successfully modified into the terminal IP address, the update of the IP address corresponding table is confirmed.
In this embodiment, the IP address modification status information is feedback of the terminal device on the result of modifying the terminal IP address of the server, and the server can determine whether the terminal device successfully modifies the terminal IP address according to the IP address modification status information returned by the terminal device.
In the specific implementation, when the server receives the IP address modification state information returned by the terminal equipment in the multicast group, the server reads the corresponding modification state information in the IP address modification state information and judges whether the terminal IP address is successfully modified; if the IP address modification state information indicates that the IP address of the terminal equipment is successfully modified into the terminal IP address, confirming the operation of modifying the terminal IP address in the IP address corresponding table; and if the received IP address modification state information indicates that the IP address of the terminal equipment is not modified into the terminal IP address, canceling the operation of modifying the IP address of the terminal in the IP address corresponding table.
The server of the embodiment acquires whether the terminal IP address of the terminal equipment is successfully modified or not by receiving the IP address modification state information sent by the terminal equipment, ensures the accuracy of terminal IP address distribution, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
In an embodiment, as shown in fig. 4, a method for modifying an IP address of a local area network is provided, which is described by taking the method as an example applied to the terminal device 11 in fig. 1, and includes the following steps:
step S41, sending terminal session information to the server through multicast mode; the terminal session information carries the terminal device ID.
In the specific implementation, a server detects a terminal IP address corresponding to a terminal device ID by receiving terminal session information sent by the terminal device in a multicast mode; if the terminal IP address is not allocated or the terminal IP address is wrongly allocated, the terminal IP address is reallocated for the terminal equipment.
In the embodiment, the terminal equipment sends the terminal session information, the server can know whether the terminal equipment needs to modify the IP address of the terminal or not through the terminal session information, and the server does not need to actively check the IP address of each terminal equipment; the terminal IP address can be distributed to the terminal devices which are actually active in the multicast group, so that unnecessary steps are reduced, and the IP address distribution efficiency is improved.
Step S42, receiving server session information returned by the server; the server session information carries the ID and the IP address of the target terminal equipment; and the terminal IP addresses are distributed to the terminal equipment by the server according to all the terminal equipment IDs in the multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one.
In the specific implementation, the server allocates terminal IP addresses to the terminal devices according to the received terminal session information and according to the IP address correspondence table in combination with the terminal IP address allocation conditions of all the terminal devices in the multicast group, generates server session information according to the terminal IP addresses, and sends the server session information to the corresponding terminal devices in the multicast mode.
In the embodiment, the terminal equipment sends the terminal session, and the server returns the server session information to inform the terminal equipment of modifying the terminal IP address, so that the IP address allocation efficiency is improved.
In step S43, if the destination terminal ID matches the terminal ID, the terminal IP address is read.
In this step, the ID of the target terminal device is an object identifier of the received information when the server sends the information to the multicast group; and the terminal equipment determines whether the terminal equipment needs to analyze the information containing the ID identification according to the ID of the target terminal equipment.
In specific implementation, when receiving server session information sent by a server, a terminal device determines whether to process the server session information according to a target terminal device ID carried by the server session information. And if the ID of the target terminal equipment is consistent with the ID of the terminal equipment, analyzing the information, reading the terminal IP address carried by the server session information, and further judging whether the terminal IP address needs to be modified. And if the ID of the target terminal equipment is not consistent with the ID of the self terminal equipment, discarding the information and not processing the information.
In this embodiment, the terminal device determines the target terminal device that needs to process the server session information by comparing the target terminal device ID with the terminal device ID, so as to ensure that the command for allocating the terminal IP address by the server is correctly received by the terminal device, thereby greatly improving the IP address allocation efficiency.
And step S44, if the terminal IP address is not consistent with the terminal equipment IP address, modifying the terminal equipment IP address into the terminal IP address.
In the specific implementation, after the terminal equipment verifies the ID of the target terminal equipment, reading the terminal IP address in the server session information, and comparing the terminal IP address with the IP address of the currently used terminal equipment; if the terminal IP address is different from the terminal IP address allocated by the server, the terminal equipment server needs to modify the terminal equipment IP address currently used as the terminal IP address allocated by the server.
The terminal equipment of the embodiment ensures the correctness of the modification of the IP address of the terminal by comparing the IP addresses of the terminal, avoids error modification or repeated modification and greatly improves the distribution efficiency of the IP address.
In an embodiment, as shown in fig. 5, after modifying the IP address of the terminal device to the terminal IP address in step S44, the method further includes:
step S51, acquiring the modified state information; and modifying the state information comprises that the IP address of the terminal equipment is successfully modified into the IP address of the terminal, or the IP address of the terminal equipment is not modified into the IP address of the terminal.
In step S52, IP address modification status information is generated according to the modification status information.
And step S53, sending IP address modification status information to the server, wherein the IP address modification status information is used for informing the server to record the terminal IP address modification result.
In this embodiment, the modification of the state information is a result of the terminal device modifying the IP address; the IP address modification state information is generated by the terminal equipment according to the modification state information and can inform the server of the IP address modification result of the terminal; the IP address modification status information comprises status information of successful modification of the IP address of the terminal or failed modification of the IP address of the terminal.
In the specific implementation, the terminal device generates IP address modification state information according to a result of terminal IP address modification, and sends the IP address modification state information to the server in a multicast mode, and the server can perform operations of confirming modification or canceling modification on the IP address corresponding relation table according to the IP address modification state information.
In the embodiment, the IP address modification state information is generated by the terminal equipment, the modification result feedback is carried out on the modification command of the server, and the server can determine the subsequent corresponding execution steps according to the modification result feedback, so that the accuracy of local area network IP address allocation is ensured, the later management and maintenance are facilitated, and the IP address allocation efficiency is greatly improved.
In one embodiment, as shown in fig. 6, a method for allocating an IP address of a local area network is provided, which is described by taking the method as an example applied to the server 10 in fig. 1, and includes:
the server creates a multicast group, and the terminal equipment joins the multicast group;
if the server receives the terminal session information, reading a server ID carried in the terminal session information, comparing the server ID with a self server ID, if the server ID carried in the terminal session information is consistent with the self ID, acquiring the information, and if the server ID is inconsistent with the self ID, discarding the information and not processing the information;
when the server IDs are consistent, the server detects whether the terminal session information is IP address modification state information for finishing terminal IP address modification; if the terminal IP address modification completion information is obtained, storing the terminal IP address corresponding to the terminal equipment until all the equipment completes the command of the terminal IP address, and returning to the step of receiving the terminal session information if the equipment is not modified;
if the information received by the server is not the information of finishing the modification of the terminal IP address in the IP address modification state information, judging whether the operation of the terminal equipment in the multicast group is normal or not through an equipment heartbeat command, if so, sending a command of modifying the terminal IP address to the terminal equipment, repeating the steps, and if not, returning to the step of receiving the terminal session information.
In an embodiment, as shown in fig. 7, a method for modifying an IP address of a local area network is provided, which is described by taking the method as an example applied to the device terminal 11 in fig. 1, and includes:
the terminal equipment is added into a multicast group established by the server;
the terminal equipment sends the terminal session information to the server and receives the server session information returned by the server, and the terminal equipment determines whether the terminal equipment needs to process the server session information or not by comparing the terminal equipment with the terminal equipment ID carried by the server session information;
if the terminal equipment IDs are consistent, the terminal equipment further compares the terminal IP addresses carried by the server session information; if the terminal equipment IDs are inconsistent, discarding the information and not processing the information;
under the condition that the ID of the terminal equipment is consistent, if the IP address of the terminal is inconsistent with the IP address of the terminal equipment which is being used, the terminal equipment executes the operation of modifying the IP address of the terminal equipment into the IP address of the terminal carried by the server session information; if the terminal IP address is consistent with the IP address of the terminal equipment being used, discarding the information without processing, and returning to the step of sending the terminal session information;
and after the terminal equipment modifies the terminal IP address, generating IP address modification state information and sending the IP address modification state information to the server.
In the embodiments, terminal session information sent by terminal equipment in a multicast group is received; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode for communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a local area network IP address allocating apparatus, including: a terminal session information receiving module 80, a terminal IP address allocating module 81, and a server session information sending module 82, where:
a terminal session information receiving module 80, configured to receive terminal session information sent by terminal devices in a multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group;
a terminal IP address allocating module 81, configured to allocate a terminal IP address to a terminal device according to all terminal device IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
a server session information sending module 82, configured to generate server session information according to the terminal device ID and the terminal IP address, and send the server session information to the terminal devices in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address.
In one embodiment, the local area network IP address allocation apparatus of the present application further includes an IP address mapping table updating module, configured to update the IP address mapping table according to the terminal device ID and the terminal IP address; the IP address corresponding table is used for recording the corresponding relation between each terminal device in the multicast group and the IP address of the terminal.
In one embodiment, the IP address mapping table updating module is further configured to receive IP address modification status information returned by the terminal device in the multicast group; and when the IP address modification state information indicates that the IP address of the terminal equipment is successfully modified into the terminal IP address, confirming the update of the IP address corresponding table.
For specific limitations of the local area network IP address allocation apparatus, reference may be made to the above limitations of the local area network IP address allocation method, which is not described herein again. The modules in the above-mentioned local area network IP address allocation device can be implemented wholly or partly by software, hardware and their combination. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 9, there is provided a local area network IP address modification apparatus, including: a terminal session information sending module 90, a server session information receiving module 91, a terminal IP address reading module 92, and a terminal IP address modifying module 93, wherein:
a terminal session information sending module 90, configured to send terminal session information to the server in a multicast mode; the terminal session information carries a terminal device ID;
a server session information receiving module 91, configured to receive server session information returned by a server; the server session information carries the ID and the IP address of the target terminal equipment; the terminal IP addresses are distributed to the terminal equipment by the server according to all the terminal equipment IDs in the multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
a terminal IP address reading module 92, configured to read a terminal IP address if the target terminal device ID is consistent with the terminal device ID;
and a terminal IP address modifying module 93, configured to modify the terminal IP address to be the terminal IP address if the terminal IP address is inconsistent with the terminal IP address.
In one embodiment, the local area network IP address modification apparatus of the present application further includes an IP address modification status information sending module, configured to obtain modification status information; the state information modification comprises that the IP address of the terminal equipment is successfully modified into the IP address of the terminal, or the IP address of the terminal equipment is not modified into the IP address of the terminal; generating IP address modification state information according to the modification state information; and sending IP address modification state information to the server, wherein the IP address modification state information is used for informing the server to record a terminal IP address modification result.
For specific limitations of the device for modifying the IP address of the local area network, reference may be made to the above limitations of the method for modifying the IP address of the local area network, which are not described herein again. All or part of each module in the local area network IP address modification device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In the embodiments, terminal session information sent by the terminal device is received; the terminal session information carries a terminal device ID; the terminal equipment is connected through multicast communication; the ID of the terminal equipment is unique; distributing multicast IP addresses according to the ID of the terminal equipment; the multicast IP address uniquely corresponds to the terminal equipment ID; generating server session information according to the terminal equipment ID and the multicast IP address, and sending the server session information to the terminal equipment; the server session information is used for informing the terminal equipment to modify the IP address into a multicast IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode to carry out communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
In one embodiment, as shown in fig. 1, there is provided a local area network IP address allocation system, including: a server 10 and a plurality of terminal devices 11 connected by a multicast mode; further comprising, a switch 12 connected to the server 10 and to a plurality of terminal devices 11, wherein:
the terminal device 11 sends the terminal session information to the server 10 through the multicast mode; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; the server 10 allocates a terminal IP address to the terminal device 11 according to all terminal device IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; the server 10 generates server session information and sends the server session information to the terminal equipment 11 in the multicast group; the server session information is used for informing the terminal equipment 11 to modify the IP address into the terminal IP address;
the terminal equipment 11 receives the server session information, if the ID of the target terminal equipment is consistent with the ID of the terminal equipment, the terminal IP address carried by the server session information is read, and if the IP address of the terminal is inconsistent with the IP address of the terminal equipment, the IP address of the terminal equipment is modified into the IP address of the terminal;
and the switch 12 is used for forming a local area network and connecting the server 10 in the multicast group and the plurality of terminal devices 11.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing local area network IP address assignment data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a local area network IP address assignment method.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group;
distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address.
In one embodiment, the processor, when executing the computer program, further performs the steps of: updating an IP address corresponding table according to the ID of the terminal equipment and the IP address of the terminal; the IP address corresponding table is used for recording the corresponding relation between each terminal device in the multicast group and the IP address of the terminal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving IP address modification state information returned by terminal equipment in the multicast group;
and when the IP address modification state information indicates that the IP address of the terminal equipment is successfully modified into the terminal IP address, confirming the update of the IP address corresponding table.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
sending terminal session information to a server through a multicast mode; the terminal session information carries a terminal device ID;
receiving server session information returned by a server; the server session information carries the ID and the IP address of the target terminal equipment; the terminal IP addresses are distributed to the terminal equipment by the server according to all the terminal equipment IDs in the multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
if the ID of the target terminal equipment is consistent with the ID of the terminal equipment, reading the IP address of the terminal;
and if the terminal IP address is not consistent with the terminal equipment IP address, modifying the terminal equipment IP address into the terminal IP address.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring modified state information; the state information modification comprises that the IP address of the terminal equipment is successfully modified into the IP address of the terminal, or the IP address of the terminal equipment is not modified into the IP address of the terminal; generating IP address modification state information according to the modification state information; and sending IP address modification state information to the server, wherein the IP address modification state information is used for informing the server to record a terminal IP address modification result.
In the embodiments, the server receives, through a computer program running on the processor, terminal session information sent by the terminal device in the multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode for communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group;
distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address.
In one embodiment, the computer program when executed by the processor further performs the steps of: updating an IP address corresponding table according to the ID of the terminal equipment and the IP address of the terminal; the IP address corresponding table is used for recording the corresponding relation between each terminal device in the multicast group and the IP address of the terminal.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving IP address modification state information returned by terminal equipment in the multicast group; and when the IP address modification state information indicates that the IP address of the terminal equipment is successfully modified into the terminal IP address, confirming the update of the IP address corresponding table.
In one embodiment, the computer program when executed by the processor further performs the steps of:
sending terminal session information to a server through a multicast mode; the terminal session information carries a terminal device ID;
receiving server session information returned by a server; the server session information carries the ID and the IP address of the target terminal equipment; the terminal IP addresses are distributed to the terminal equipment by the server according to all the terminal equipment IDs in the multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
if the ID of the target terminal equipment is consistent with the ID of the terminal equipment, reading the IP address of the terminal;
and if the terminal IP address is not consistent with the terminal equipment IP address, modifying the terminal equipment IP address into the terminal IP address.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring modified state information; the state information modification comprises that the IP address of the terminal equipment is successfully modified into the IP address of the terminal, or the IP address of the terminal equipment is not modified into the IP address of the terminal; generating IP address modification state information according to the modification state information; and sending IP address modification state information to the server, wherein the IP address modification state information is used for informing the server to record a terminal IP address modification result.
In the foregoing embodiments, the computer-readable storage medium receives, through a computer program stored in the computer-readable storage medium, terminal session information sent by a terminal device in a multicast group; the terminal session information carries a terminal device ID; the terminal equipment ID is unique in the multicast group; distributing terminal IP addresses for the terminal equipment according to all the terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one; generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment to modify the IP address into the terminal IP address. The method utilizes the unique characteristic of the ID of the terminal equipment in the multicast group, adopts the multicast mode for communication, uniformly distributes the corresponding terminal IP address for the terminal equipment, is convenient for later management and maintenance, and greatly improves the IP address distribution efficiency.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for allocating an IP address of a local area network, the method comprising:
receiving terminal session information sent by terminal equipment in a multicast group; the terminal session information carries a terminal device ID; the terminal device ID is unique within the multicast group;
distributing terminal IP addresses to the terminal equipment according to all terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
generating server session information according to the terminal equipment ID and the terminal IP address, and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment of modifying the IP address into the terminal IP address.
2. The method according to claim 1, further comprising, after said allocating terminal IP addresses to said terminal devices according to all terminal device IDs in said multicast group:
updating an IP address corresponding table according to the terminal equipment ID and the terminal IP address; the IP address mapping table is used to record the mapping relationship between each terminal device in the multicast group and the terminal IP address.
3. The method according to claim 2, wherein after generating the server session information according to the terminal device ID and the terminal IP address and sending the server session information to the terminal devices in the multicast group, the method further comprises:
receiving IP address modification state information returned by the terminal equipment in the multicast group;
and when the IP address modification state information indicates that the IP address of the terminal equipment is successfully modified into the terminal IP address, confirming the update of the IP address corresponding table.
4. A method for modifying an IP address of a local area network, the method comprising:
sending terminal session information to a server through a multicast mode; the terminal session information carries a terminal device ID;
receiving server session information returned by the server; the server session information carries a target terminal device ID and a terminal IP address; the terminal IP address is distributed to the terminal equipment by the server according to all terminal equipment IDs in a multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
if the target terminal equipment ID is consistent with the terminal equipment ID, reading the terminal IP address;
and if the terminal IP address is not consistent with the terminal equipment IP address, modifying the terminal equipment IP address into the terminal IP address.
5. The method of claim 4, further comprising, after the modifying the terminal device IP address to the terminal IP address:
acquiring modified state information; the modification state information comprises that the IP address of the terminal equipment is successfully modified into the IP address of the terminal, or the IP address of the terminal equipment is not modified into the IP address of the terminal;
generating IP address modification state information according to the modification state information;
and sending the IP address modification state information to the server, wherein the IP address modification state information is used for informing the server to record the terminal IP address modification result.
6. An apparatus for allocating an IP address of a local area network, the apparatus comprising:
the terminal session information receiving module is used for receiving the terminal session information sent by the terminal equipment in the multicast group; the terminal session information carries a terminal device ID; the terminal device ID is unique within the multicast group;
a terminal IP address distribution module, configured to distribute a terminal IP address for the terminal device according to all terminal device IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
the server session information sending module is used for generating server session information according to the terminal equipment ID and the terminal IP address and sending the server session information to the terminal equipment in the multicast group; the server session information is used for informing the terminal equipment of modifying the IP address into the terminal IP address.
7. A local area network IP address modification apparatus, the apparatus comprising:
the terminal session information sending module is used for sending the terminal session information to the server in a multicast mode; the terminal session information carries a terminal device ID;
the server session information receiving module is used for receiving the server session information returned by the server; the server session information carries a target terminal device ID and a terminal IP address; the terminal IP address is distributed to the terminal equipment by the server according to all terminal equipment IDs in a multicast group, and the terminal IP addresses in the multicast group correspond to the terminal equipment IDs one by one;
a terminal IP address reading module, configured to read the terminal IP address if the target terminal device ID is consistent with the terminal device ID;
and the terminal IP address modifying module is used for modifying the terminal IP address into the terminal IP address if the terminal IP address is inconsistent with the terminal equipment IP address.
8. A local area network IP address assignment system, comprising: a server and a plurality of terminal devices connected by a multicast mode;
the terminal equipment sends terminal session information to a server through a multicast mode; the terminal session information carries the terminal equipment ID; the terminal device ID is unique within the multicast group;
the server allocates terminal IP addresses to the terminal equipment according to all terminal equipment IDs in the multicast group; the IP addresses of the terminals in the multicast group correspond to the ID of the terminal equipment one by one;
the server generates server session information and sends the server session information to the terminal equipment in the multicast group; the server session information carries the target terminal equipment ID and the terminal IP address;
the terminal equipment receives the server session information, if the target terminal equipment ID is consistent with the terminal equipment ID, the terminal IP address carried by the server session information is read, and if the terminal IP address is inconsistent with the terminal equipment IP address, the terminal equipment IP address is modified into the terminal IP address.
9. The system of claim 8, further comprising a first switch and a second switch: connecting the server and a plurality of terminal devices;
the server and the plurality of terminal devices communicate through the first switch and the second switch.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910998654.0A 2019-10-21 2019-10-21 Local area network IP address allocation method, device, system and computer equipment Pending CN110933192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910998654.0A CN110933192A (en) 2019-10-21 2019-10-21 Local area network IP address allocation method, device, system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910998654.0A CN110933192A (en) 2019-10-21 2019-10-21 Local area network IP address allocation method, device, system and computer equipment

Publications (1)

Publication Number Publication Date
CN110933192A true CN110933192A (en) 2020-03-27

Family

ID=69849319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910998654.0A Pending CN110933192A (en) 2019-10-21 2019-10-21 Local area network IP address allocation method, device, system and computer equipment

Country Status (1)

Country Link
CN (1) CN110933192A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756868A (en) * 2020-05-06 2020-10-09 西安万像电子科技有限公司 Cloud server connection method and system
WO2021253481A1 (en) * 2020-06-15 2021-12-23 北京交通大学 Unified address allocation method and device for industrial heterogeneous network equipment
CN115460174A (en) * 2022-08-11 2022-12-09 珠海惠威科技有限公司 Method and system for automatically allocating terminal IP static address

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141489A (en) * 2007-05-18 2008-03-12 中兴通讯股份有限公司 Terminal address automatic allocation method, terminal and network side server
CN101951325A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Network terminal configuration system based on automatic discovery and configuration method thereof
CN103581356A (en) * 2012-08-10 2014-02-12 海尔集团公司 MAC address distribution method
CN106453678A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 IP address allocation method and system
CN109936640A (en) * 2017-12-19 2019-06-25 苏州阿特斯阳光电力科技有限公司 From the address distribution method and device of node device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141489A (en) * 2007-05-18 2008-03-12 中兴通讯股份有限公司 Terminal address automatic allocation method, terminal and network side server
CN101951325A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Network terminal configuration system based on automatic discovery and configuration method thereof
CN103581356A (en) * 2012-08-10 2014-02-12 海尔集团公司 MAC address distribution method
CN106453678A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 IP address allocation method and system
CN109936640A (en) * 2017-12-19 2019-06-25 苏州阿特斯阳光电力科技有限公司 From the address distribution method and device of node device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756868A (en) * 2020-05-06 2020-10-09 西安万像电子科技有限公司 Cloud server connection method and system
WO2021253481A1 (en) * 2020-06-15 2021-12-23 北京交通大学 Unified address allocation method and device for industrial heterogeneous network equipment
CN115460174A (en) * 2022-08-11 2022-12-09 珠海惠威科技有限公司 Method and system for automatically allocating terminal IP static address

Similar Documents

Publication Publication Date Title
WO2018149221A1 (en) Device management method and network management system
CN110310080B (en) Data streaming method, device, computer equipment and storage medium
US20200213937A1 (en) Network Slice Instance Processing Method and Apparatus, and System
CN112579622B (en) Method, device and equipment for processing service data
CN111338779B (en) Resource allocation method, device, computer equipment and storage medium
CN104113435A (en) Method and device for generating identifier
CN113835844A (en) Management method and device of container cluster and cloud computing platform
CN113810230A (en) Method, device and system for carrying out network configuration on containers in container cluster
CN110933192A (en) Local area network IP address allocation method, device, system and computer equipment
CN113778463A (en) Business service deployment method and device
CN112269661A (en) Partition migration method and device based on Kafka cluster
EP3901766A1 (en) Offline configuration method and apparatus for smart device
CN113886058A (en) Cross-cluster resource scheduling method and device
CN111459676A (en) Node resource management method, device and storage medium
CN115052041A (en) Channel identification distribution method, device, equipment and storage medium
CN111260253A (en) Information sending method and device, computer equipment and storage medium
CN108389124B (en) Data processing method, data processing device, computer equipment and storage medium
CN114710549A (en) Dynamic management method, system and service node of network card in container platform
CN114143090A (en) Firewall deployment method, device, equipment and medium based on network security architecture
CN113992630A (en) Network resource conflict processing method, device, equipment and storage medium
CN112995349A (en) Address management method, server, and computer-readable storage medium
CN107534678B (en) Method, device and system for establishing connection between VNFM and VIM
CN109005071B (en) Decision deployment method and scheduling equipment
CN114172903B (en) Node capacity expansion method, device, equipment and medium of slm scheduling system
CN109933959B (en) License control method and related equipment

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: 20200327

RJ01 Rejection of invention patent application after publication