A method for making IP addresses of different network segments compatible and interoperable into a single data link
By setting up the IP aggregation device and the IP association table of the control terminal between different network segments, the IP addresses of different network segments are interoperable, which solves the problem of mutual interference in data transmission in multiple network segments, reduces expansion costs, and improves system efficiency. .
Patent Information
- Application Number
- CN202210730891.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-06-24
AI Technical Summary
Existing technology cannot achieve interconnection between different network segments, causing data from multiple network segments to easily interfere with each other when aggregating, leading to communication failures. Expanding the number of users requires additional centralized control center equipment and space, which increases production costs and failures. Rate.
By setting up an IP aggregation device and a control terminal, with a built-in preset IP association table, the association between the general IP address and the conventional IP address is determined, the IP addresses of different network segments are interoperable, and the general IP address is used for data transmission to establish a single data link.
It achieves compatibility and interoperability of IP addresses in different network segments, avoids mutual interference between multiple network segments, reduces expansion costs, and improves system efficiency and reliability.
Smart Images

Figure CN115334171B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network engineering, and in particular to a method for making IP addresses of different network segments compatible and interconnected into a single data link. Background Art
[0002] IP is the Internet Protocol, that is, the protocol for interconnecting computer networks for communication. On the Internet, it is a set of rules that enables all computer networks connected to the Internet to communicate with each other, and stipulates the rules that computers should follow when communicating on the Internet. IP address can also be called Internet address or Internet address. It is a logical address used to uniquely identify computers on the Internet. Every networked computer relies on IP address to identify itself.
[0003] When applying IP addresses, due to the needs of production work, different IP network segments need to be set for different functional departments. In the existing technology, there is no function of interconnection between different network segments. Each network segment only has 255 address users. There is no problem if the control system is small. If the demand exceeds, a new network segment can only be re-established. The data of multiple network segments are collected to the centralized control center for independent operation. Multiple program-controlled switches operate in parallel, which is very easy to interfere with each other and cause communication failures. Summary of the invention
[0004] The object of the present invention is to provide a method for making IP addresses of different network segments compatible and intercommunication into a single data link, the method comprising:
[0005] An IP aggregation device is provided, the IP aggregation device is connected to a control terminal, the IP aggregation device and the control terminal are both built with a preset IP association table, the IP association table includes a number of general sending IP addresses, a number of regular IP addresses and the IP address association information, the IP address association information is used to determine the association relationship between the general sending IP address and the regular IP address;
[0006] Obtain a data request message sent by a device, and based on a regular IP address in the data request message, determine the general sending IP address associated with the regular IP address in the IP association table, so as to send the data request message sent by the device to the control terminal at the port of the general sending IP address.
[0007] In some embodiments of the present application, in order to establish a data link for transmission between the device and the control terminal, the method is improved, and the method further includes:
[0008] The control terminal determines the conventional IP address for sending the data request message according to the content of the data request message;
[0009] The control terminal determines the total sending IP address for sending the data request message according to the IP association table;
[0010] The control terminal generates a feedback message according to the data request message, and sends the feedback message to the port of the general sending IP address, and the IP aggregation device sends it to the regular IP address port to establish a data transmission link from the device to the control terminal.
[0011] In some embodiments of the present application, in order to enable the control terminal to determine the device sending the data request message, the method for the control terminal to determine the source of the data request message includes: obtaining the regular IP address in the content of the data request message, and then determining the device sending the data request message.
[0012] In some embodiments of the present application, in order to facilitate the modification of the association relationship between the total sending IP address and the regular IP address, a method for associating the total sending IP address with the regular IP address is disclosed, and the method for associating the total sending IP address with the regular IP address includes:
[0013] According to the control information input by the staff, the control terminal modifies the built-in IP association table to associate the general IP address in the control information with the regular IP address, and sends the modified IP association table to the IP aggregation device, overwriting the original IP association table.
[0014] In some embodiments of the present application, a specific corresponding device of the IP aggregation device is provided, and the IP aggregation device is one or more gateways dedicated to different network segments.
[0015] In some embodiments of the present application, in order to enable a designated device to receive data information initiated by the control terminal, a method for the control terminal to send data information to the designated device is disclosed. The method for the control terminal to send data information to the designated device includes:
[0016] Determine, according to the content of the acquired data request message, a conventional IP address for sending the data request message;
[0017] The control terminal determines the total sending IP address associated with the conventional IP address according to the IP association table, and sends data information to the port of the total sending IP address;
[0018] The IP aggregation device obtains the data information received by the port of the general IP address, and forwards it to the port of the regular IP address recorded in the data information, so that the corresponding device receives the data information.
[0019] In some embodiments of the present application, in order to enable the IP aggregation device and the control terminal to identify the IP association table, the IP aggregation device and the control terminal are improved, and an identification module is provided in the IP aggregation device and the control terminal;
[0020] The identification module is used to determine the total sending IP module associated with the regular IP address according to the IP association table.
[0021] The present application discloses a method for making IP addresses of different network segments compatible and interconnected into a single data link. An IP aggregation device is provided to aggregate different conventional IP addresses. The IP aggregation device associates the conventional IP address with the total sending IP address according to an IP association table, and then sends the data request message from the conventional IP address to the control terminal through the port of the total sending IP address, thereby realizing the interconnection of IP addresses of different network segments into a single data link to transmit data between the device and the control terminal.
[0022] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a method step in an embodiment of the present application to make IP addresses of different network segments compatible and interconnected into a single data link. DETAILED DESCRIPTION
[0024] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0025] Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0026] Example:
[0027] When applying IP addresses, due to the needs of production work, different IP network segments need to be set for different functional departments. In the existing technology, there is no function of interconnection between different network segments. Each network segment only has 255 address users. There is no problem if the control system is small. If the demand exceeds, a new network segment can only be re-established. The data of multiple network segments are collected to the centralized control center for independent operation. Multiple program-controlled switches operate in parallel, which is very easy to interfere with each other and cause communication failures.
[0028] The existing technology does not have the function of directly interconnecting different network segments. Each network segment has only 255 address users. There is no problem if the control system is small. If the demand exceeds, a new network segment can only be re-established. The data of multiple network segments are collected in the centralized control center for independent operation. Multiple program-controlled switches operate in parallel, which is very easy to interfere with each other and cause communication failures. In order to avoid such problems and to expand the number of users, the equipment installation volume and installation space of the centralized control center can only be expanded, which increases production costs, failure rates and maintenance workload, and is inefficient.
[0029] The object of the present invention is to provide a method for making IP addresses of different network segments compatible and intercommunication into a single data link, the method comprising:
[0030] Step 1: An IP collection device is provided, and the IP collection device is connected to a control terminal (equipment installed in a centralized control center, mainly used for management personnel to integrate equipment with production sites or other departments). Both the IP collection device and the control terminal are equipped with a preset IP association table.
[0031] The IP association table includes a number of general sending IP addresses, a number of regular IP addresses and the IP address association information, and the IP address association information is used to determine the association relationship between the general sending IP address and the regular IP address.
[0032] Step 2, obtain the data request message sent by the device, and based on the regular IP address in the data request message, determine the general sending IP address associated with the regular IP address in the IP association table, so as to send the data request message sent by the device to the control terminal at the port of the general sending IP address.
[0033] In order to establish a data link for transmission between the device and the control terminal, in some embodiments of the present application, the method is improved, and the method further includes:
[0034] Step 3: The control terminal determines the regular IP address for sending the data request message according to the content of the data request message.
[0035] Step 4: The control terminal determines the total sending IP address for sending the data request message according to the IP association table.
[0036] Step 5: The control terminal generates a feedback message according to the data request message, and sends the feedback message to the port of the general sending IP address, and the IP aggregation device sends it to the regular IP address port to establish a data transmission link from the device to the control terminal.
[0037] In some embodiments of the present application, in order to enable the control terminal to determine the device sending the data request message, the method for the control terminal to determine the source of the data request message includes: obtaining the regular IP address in the content of the data request message, and then determining the device sending the data request message.
[0038] In some embodiments of the present application, in order to facilitate the modification of the association relationship between the total sending IP address and the regular IP address, a method for associating the total sending IP address with the regular IP address is disclosed, and the method for associating the total sending IP address with the regular IP address includes:
[0039] According to the control information input by the staff, the control terminal modifies the built-in IP association table to associate the general IP address in the control information with the regular IP address, and sends the modified IP association table to the IP aggregation device, overwriting the original IP association table.
[0040] In some embodiments of the present application, a specific corresponding device of the IP aggregation device is provided, and the IP aggregation device is one or more gateways dedicated to different network segments.
[0041] In some embodiments of the present application, in order to enable a designated device to receive data information initiated by the control terminal, a method for the control terminal to send data information to the designated device is disclosed. The method for the control terminal to send data information to the designated device includes:
[0042] a. Determine the regular IP address for sending the data request message based on the content of the acquired data request message.
[0043] b. The control terminal determines the total sending IP address associated with the conventional IP address according to the IP association table, and sends data information to the port of the total sending IP address.
[0044] c. The IP aggregation device obtains the data information received by the port of the general IP address and forwards it to the port of the regular IP address recorded in the data information so that the corresponding device receives the data information.
[0045] In some embodiments of the present application, in order to enable the IP collection device and the control terminal to identify the IP association table, the IP collection device and the control terminal are improved, and an identification module is provided in the IP collection device and the control terminal; the identification module is used to determine the total sending IP module associated with the regular IP address according to the IP association table.
[0046] In order to further illustrate the technical solution of the present application, a method and steps are provided to make IP addresses of different network segments compatible and interconnected into a single data link in combination with specific application scenarios. Based on the requirements of specific application scenarios, an enterprise currently needs to perform network management on the equipment of each production department. Different departments require different numbers of IP addresses, some departments require fewer IP addresses, and some departments require more IP addresses. Since the IP capacity in the network segment belonging to a department is a fixed value, for departments that require fewer IP addresses, IP addresses will be wasted, and for departments that require more IP addresses, there will be insufficient IP addresses.
[0047] To solve the above problems, the existing technology is to establish more network segments and set up more network switching devices accordingly. This disposal method is obviously costly, and for departments that need fewer IP addresses, the problem of wasting IP addresses still cannot be solved.
[0048] In summary, if Figure 1 , the method steps include:
[0049] First, you need to treat a department's gateway device as an IP network device, or set up a new IP network device.
[0050] S100, presetting an IP association table, wherein the IP aggregation device and the control terminal are both provided with the IP association table.
[0051] S200, the IP aggregation device obtains a data request message sent by a device based on a regular IP address in the data request message.
[0052] S300, the IP aggregation device determines the general sending IP address associated with the regular IP address in the IP association table, so as to send the data request message sent by the device to the control terminal via the port of the general sending IP address.
[0053] S400: The control terminal determines a regular IP address for sending the data request message according to the content of the data request message.
[0054] S500, the control terminal determines the total sending IP address for sending the data request message according to the IP association table.
[0055] S600, the control terminal generates a feedback message according to the data request message, and sends the feedback message to the port of the general sending IP address, and the IP aggregation device sends it to the regular IP address port to establish a data transmission link from the device to the control terminal.
[0056] In the step S100, the IP association table includes a number of general sending IP addresses, a number of regular IP addresses and the IP address association information, and the IP address association information is used to determine the association relationship between the general sending IP address and the regular IP address.
[0057] Before step S100, in order to facilitate the management personnel to adjust the relationship between the total sending IP address and the regular IP address as required, a method for associating the total sending IP address with the regular IP address is disclosed, including: according to the control information input by the staff, the control terminal changes the built-in IP association table to associate the total sending IP address and the regular IP address in the control information, and sends the changed IP association table to the IP aggregation device, and overwrites the original IP association table.
[0058] After step S600, in order to enable the control terminal to send data information to the designated device, the following method is also disclosed: according to the content of the acquired data request message, a regular IP address for sending the data request message is determined; the control terminal determines the general sending IP address associated with the regular IP address according to the IP association table, and sends data information to the port of the general sending IP address; the IP aggregation device obtains the data information received by the port of the general sending IP address, and forwards it to the port of the regular IP address recorded in the data information, so that the corresponding device receives the data information.
[0059] In order to enable the IP aggregation device and the control terminal to identify the IP association table, an identification module is provided in the IP aggregation device and the control terminal.
[0060] In order to facilitate understanding of the technical solution of the present application, the present application also discloses the following inventive concepts of the present application.
[0061] Invention concept one: select several IP addresses in a certain network segment as the total sending IP address, and the rest are regular IP addresses. The total sending IP address is used to connect to the next layer of network transmission equipment. By associating the total sending IP address with several regular IP addresses, the data request messages sent by regular IP addresses in different network segments are uniformly sent from the total sending IP address via a single data link.
[0062] Inventive concept 2: Establish an IP aggregation device, and through the IP aggregation device, realize the aggregation of conventional IP addresses of different network segments.
[0063] Inventive concept three: An IP association table is preset, and the IP association table includes a number of total sending IP addresses, a number of regular IP addresses and the IP address association information, and the IP address association information is used to determine the association relationship between the total sending IP address and the regular IP address.
[0064] Inventive concept 4: The control terminal and the IP aggregation device are both provided with an IP association table, and the source and origin of the data request message are determined by analyzing the IP association table, and then corresponding actions are taken to achieve mutual data transmission.
[0065] The present application discloses a method for making IP addresses of different network segments compatible and interconnected into a single data link. An IP aggregation device is provided to aggregate different conventional IP addresses. The IP aggregation device associates the conventional IP address with the total sending IP address according to an IP association table, and then sends the data request message from the conventional IP address to the control terminal through the port of the total sending IP address, thereby interconnecting the IP addresses of different network segments into a single data link to transmit data between the device and the control terminal, thereby achieving compatibility of IP addresses of different network segments, parallel transmission of data, and synchronous control of each subdivided control system.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for making IP addresses of different network segments compatible and interoperable into a single data link, characterized in that: The method comprises: An IP aggregation device is set up, and conventional IP addresses of different network segments are aggregated through the IP aggregation device, and a number of IP addresses in a certain network segment are selected as general sending IP addresses, and the rest are conventional IP addresses. The IP aggregation device is connected to a control terminal, and both the IP aggregation device and the control terminal are built with a preset IP association table, and the IP association table includes a number of the general sending IP addresses, a number of the conventional IP addresses and IP address association information, and the IP address association information is used to determine the association relationship between the general sending IP address and the conventional IP address; Obtaining a data request message sent by a device, and determining the general sending IP address associated with the general IP address in the IP association table based on the general IP address in the data request message, so as to send the data request message sent by the device to the control terminal through the port of the general sending IP address; The control terminal determines the conventional IP address for sending the data request message according to the content of the data request message; The control terminal determines the total sending IP address for sending the data request message according to the IP association table; The control terminal generates a feedback message according to the data request message, and sends the feedback message to the port of the general sending IP address, and the IP aggregation device sends it to the regular IP address port to establish a data transmission link from the device to the control terminal.
2. According to claim 1, a method for making IP addresses of different network segments compatible and interoperable into a single data link is characterized in that: The method for the control terminal to determine the source of the data request message includes: obtaining the conventional IP address in the content of the data request message, and then determining the device that sends the data request message.
3. The method for making IP addresses of different network segments compatible and interoperable into a single data link according to claim 2, characterized in that: The method for associating the general IP address with the conventional IP address includes: According to the control information input by the staff, the control terminal modifies the built-in IP association table to associate the general IP address in the control information with the regular IP address, and sends the modified IP association table to the IP aggregation device, overwriting the original IP association table.
4. The method of making IP addresses of different network segments compatible and interoperable into a single data link according to claim 1, characterized in that: The IP aggregation device is one of the gateways dedicated to different network segments.
5. The method of making IP addresses of different network segments compatible and interoperable into a single data link according to claim 1, characterized in that: The method for controlling the terminal to send data information to the designated device includes: Determine, according to the content of the acquired data request message, a conventional IP address for sending the data request message; The control terminal determines the total sending IP address associated with the conventional IP address according to the IP association table, and sends data information to the port of the total sending IP address; The IP aggregation device obtains the data information received by the port of the general IP address, and forwards it to the port of the regular IP address recorded in the data information, so that the corresponding device receives the data information.
6. The method of making IP addresses of different network segments compatible and interoperable into a single data link according to claim 1, characterized in that: The IP aggregation device and the control terminal are provided with identification modules; The identification module is used to determine the total sending IP address associated with the regular IP address according to the IP association table.
