Address allocation method, system, terminal, and address allocation platform
By identifying the location of the production equipment by terminals and sending it to the address allocation platform, the IP address is automatically allocated, which solves the problem of complex network access process of flexible production line equipment, realizes efficient network configuration, and improves production efficiency.
Patent Information
- Application Number
- CN202111516156.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2041-12-07
AI Technical Summary
The flexible production line equipment in large factories needs to be re-arranged and deployed every time the production process is changed, resulting in the complicated and cumbersome process of entering the production equipment, and the IP address needs to be re-lined and manually set, which is inefficient.
The terminal recognizes the location of the production equipment and sends location information to the address allocation platform. The platform allocates the IP address based on the location information, and the same production line equipment allocates the same network segment address to achieve automated network access.
The process of production equipment networking is simplified, and the efficiency of equipment joining the network is improved, without the need for rewiring and manual configuration, which significantly improves production efficiency.
Smart Images

Figure CN114221936B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to an address allocation method, system, terminal, and address allocation platform. Background Art
[0002] Currently, flexible production lines in large factories require the reallocation of various automated production equipment every time a production process changes. Because these equipment connects to the network via wired connections, redeployment requires rewiring. Furthermore, manually configuring the IP address of each piece of automated production equipment based on its location is a complex and cumbersome process. Summary of the Invention
[0003] A technical problem to be solved by the present disclosure is: how to simplify the process of production equipment joining the network and improve the efficiency of production equipment joining the network.
[0004] According to some embodiments of the present disclosure, an address allocation method is provided, including: a terminal identifying the location of production equipment and obtaining location information of the production equipment, wherein the terminal is connected to the production equipment; the terminal sends the location information of the production equipment to an address allocation platform; the terminal receives the IP address allocated by the address allocation platform as the IP address of the production equipment in the production network, wherein production equipment on the same production line are divided into the same group, located in the same production network, and are assigned IP addresses of the same network segment, and the group to which the production equipment belongs is determined based on the location information of the production equipment.
[0005] In some embodiments, the terminal identifies the location of the production equipment and obtains the location information of the production equipment, including: the terminal uses a camera to capture and identify the location identifier set at the location of the production equipment to obtain the location information of the production equipment; or, the terminal uses a barcode scanner to scan the location code set at the location of the production equipment to obtain the location information of the production equipment; or, the terminal obtains the location information of the production equipment through the interaction between a near-field communication NFC initiator device and an NFC target device set at the location of the production equipment; or, the terminal obtains the location information of the production equipment through the interaction between an RFID reader and an RFID tag set at the location of the production equipment.
[0006] In some embodiments, the terminal identifying the position of the production equipment on the production line includes: in response to the movement position of the production equipment on the production line, the terminal identifying the position of the production equipment on the production line.
[0007] In some embodiments, the terminal is connected to the production equipment via a USB interface or a network interface.
[0008] In some embodiments, production equipment on the same production line are sequentially assigned consecutive IP addresses within the same network segment in order of location.
[0009] In some embodiments, the production device joins the production network via a terminal using an IP address.
[0010] According to other embodiments of the present disclosure, an address allocation method is provided, including: an address allocation platform receives location information of production equipment sent by a terminal, wherein the terminal is connected to the production equipment, and the terminal identifies the location of the production equipment to obtain the location information of the production equipment; the address allocation platform determines the group to which the production equipment belongs based on the location information of the production equipment; the address allocation platform allocates an IP address within the network segment corresponding to the group to which the production equipment belongs to the production equipment, wherein production equipment on the same production line are divided into the same group, located in the same production network, and are allocated IP addresses of the same network segment; the address allocation platform sends the IP address to the terminal as the IP address of the production equipment in the production network.
[0011] In some embodiments, the address allocation platform allocates consecutive IP addresses within the same network segment to production equipment on the same production line in order of location.
[0012] In some embodiments, the address allocation platform determines the group to which the production equipment belongs based on the location information of the production equipment, including: the address allocation platform matches the location information of the production equipment with the location information stored in the database; when the address allocation platform matches the location information that is identical to the location information of the production equipment, the address allocation platform determines the group to which the production equipment belongs based on the location information of the production equipment.
[0013] In some embodiments, the method further includes: the address allocation platform receiving configuration information, wherein the configuration information includes: location information of each preset location and the group to which the location information of each location belongs; and the address allocation platform storing the configuration information in a database.
[0014] According to some further embodiments of the present disclosure, a terminal is provided, comprising: a communication interface for connecting to production equipment; an identification unit for identifying the location of the production equipment and obtaining the location information of the production equipment; a transmitter for sending the location information of the production equipment to an address allocation platform; and a receiver for receiving an IP address allocated by the address allocation platform as the IP address of the production equipment in the production network, wherein production equipment on the same production line are divided into the same group, located in the same production network, and are allocated IP addresses of the same network segment, and the group to which the production equipment belongs is determined based on the location information of the production equipment.
[0015] In some embodiments, the identification unit is a camera, which is used to capture and identify the location identifier set at the location of the production equipment to obtain the location information of the production equipment; or, the identification unit is a barcode scanner, which is used to scan the location code set at the location of the production equipment to obtain the location information of the production equipment; or, the identification unit is a near-field communication NFC initiator device, which is used to interact with the NFC target device set at the location of the production equipment to obtain the location information of the production equipment; or, the identification unit is a radio frequency identification RFID reader, which is used to interact with the RFID tag set at the location of the production equipment to obtain the location information of the production equipment.
[0016] In some embodiments, the communication interface is a USB interface or a network interface.
[0017] According to some further embodiments of the present disclosure, an address allocation platform is provided, including: a receiving unit for receiving location information of production equipment sent by a terminal, wherein the terminal is connected to the production equipment, and the terminal identifies the location of the production equipment to obtain the location information of the production equipment; a determining unit for determining the group to which the production equipment belongs based on the location information of the production equipment; an allocating unit for allocating an IP address within a network segment corresponding to the group to which the production equipment belongs, wherein production equipment on the same production line are divided into the same group, located in the same production network, and are allocated an IP address of the same network segment; and a sending unit for sending the IP address to the terminal as the IP address of the production equipment in the production network.
[0018] According to some further embodiments of the present disclosure, an address allocation platform is provided, comprising: a processor; and a memory coupled to the processor, for storing instructions, which, when executed by the processor, causes the processor to execute the address allocation method according to any one of claims 7-10.
[0019] According to some further embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, wherein when the program is executed by a processor, the steps of the address allocation method of any of the aforementioned embodiments are implemented.
[0020] According to still other embodiments of the present disclosure, an address allocation system is provided, including: a terminal according to any of the embodiments; and an address allocation platform according to any of the embodiments.
[0021] In some embodiments, the system further includes: a plurality of production devices; and production devices configured to join the production network via a terminal using an IP address.
[0022] In this disclosure, a terminal is connected to production equipment, and the terminal identifies the location of the production equipment. This location information is then sent to an address allocation platform, which then assigns an IP address within the production network to the production equipment based on the location information. This solution automatically configures the network based on the new location of the production equipment when a flexible production line is changed, eliminating the need for rewiring or manual configuration. This simplifies the process of connecting production equipment to the network, improves the efficiency of network access for production equipment, and significantly increases production efficiency.
[0023] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0025] Figure 1 A flowchart illustrating an address allocation method according to some embodiments of the present disclosure is shown.
[0026] Figure 2 Schematic diagram showing address allocation schemes for some application examples of the present disclosure.
[0027] Figure 3 A schematic diagram showing the structure of a terminal according to some embodiments of the present disclosure is shown.
[0028] Figure 4 A schematic diagram illustrating the structure of an address allocation platform according to some embodiments of the present disclosure is shown.
[0029] Figure 5 A schematic structural diagram of an address allocation platform according to other embodiments of the present disclosure is shown.
[0030] Figure 6 A schematic structural diagram of an address allocation platform according to some further embodiments of the present disclosure is shown.
[0031] Figure 7 A schematic structural diagram of an address allocation system according to some embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is in no way intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0033] The present disclosure provides an address allocation method that can be used to allocate IP addresses to production equipment on a production line. Figure 1 ~Describe.
[0034] Figure 1 Flowcharts of some embodiments of the address allocation method disclosed herein. Figure 1 As shown, the method of this embodiment includes: steps S102 to S112.
[0035] In step S102 , the terminal identifies the location of the production equipment and obtains the location information of the production equipment.
[0036] In some embodiments, the terminal can be a terminal that uses a mobile network, such as a 4G or 5G customized terminal. The terminal can be connected to the production equipment via a USB interface or a network interface. The terminal is a pluggable terminal, plug and play, which is more convenient.
[0037] In some embodiments, markers for indicating locations may be fixedly set at locations such as the floor and ceiling in the factory, for example, pictures, QR codes, bar codes, etc. indicating the locations. The terminal uses a camera to capture and identify the location marker set at the location of the production equipment to obtain the location information of the production equipment. Alternatively, the terminal uses a barcode scanner to scan the location code set at the location of the production equipment to obtain the location information of the production equipment. In addition, devices that can output signals representing location information may also be fixedly set, such as NFC target devices, RFID tags, etc. The terminal obtains the location information of the production equipment by interacting with an NFC (Near Field Communication) initiator device and an NFC target device set at the location of the production equipment; alternatively, the terminal obtains the location information of the production equipment by interacting with an RFID (Radio Frequency Identification) reader and an RFID tag set at the location of the production equipment.
[0038] The location here doesn't necessarily refer to specific coordinates such as longitude and latitude. Since factories are fixed and production equipment is generally arranged in an orderly fashion, the location of production equipment can be represented by rows and columns, or directly by numbers. For example, the terminal may identify that the production equipment is currently in the second row and third column, or in the sixth position.
[0039] In some embodiments, in response to the movement of production equipment on the production line, the terminal identifies the location of the production equipment on the production line. The terminal can sense the movement of the production equipment, for example, using a gyroscope, accelerometer, or other device. When the production equipment moves, the terminal begins identifying the location of the production equipment. The terminal can also periodically activate components such as a camera, barcode scanner, NFC initiator, or RFID reader for identification.
[0040] In step S104, the terminal sends the location information of the production equipment to the address allocation platform. Correspondingly, the address allocation platform receives the location information of the production equipment sent by the terminal.
[0041] The terminal captures images through a camera and can directly perform image recognition to obtain location information, or it can send the image as location information to the address allocation platform, which will perform image recognition to obtain specific location information.
[0042] The address allocation platform can be set independently or in a network element such as an MME (Mobility Management Entity) or a UPF (User Plane Function).
[0043] In step S106, the address allocation platform determines the group to which the production equipment belongs based on the location information of the production equipment.
[0044] The address allocation platform can pre-configure the group to which the location information of each location belongs, for example, locations 01, 02, and 03 are one group, and locations 04, 05, and 06 are another group. Then, based on the location information of the production equipment, it can be determined which production equipment belongs to the same group.
[0045] In some embodiments, the address allocation platform matches the location information of the production equipment with the location information stored in the database; when the address allocation platform matches the location information that is identical to the location information of the production equipment, the address allocation platform determines the group to which the production equipment belongs based on the location information of the production equipment. When the address allocation platform does not match the location information that is identical to the location information of the production equipment, the terminal instructs the terminal to resend the location information. After receiving the instruction, the terminal re-executes steps S102 to S106. The terminal may incorrectly identify the location information of the production equipment, which can be corrected according to the above method. If the number of errors in the location information sent by the terminal reaches a threshold, the address allocation platform will no longer instruct the terminal to resend the location information.
[0046] In some embodiments, the address allocation platform receives configuration information and stores the configuration information in a database. The configuration information includes: location information of each preset location and the group to which the location information of each location belongs.
[0047] Equipment on the same production line can be grouped together. Before making a production line change, you can pre-plan the line's location and assign the corresponding location information to the grouping information for the equipment on the same line. Since you know the number of equipment on the line, you only need to configure the planned location of the first or last equipment. Based on the number of equipment, you can determine the planned location of each piece of equipment. You can also assign the grouping to the location information after a production equipment change. Similarly, simple configuration is required based on the number of equipment on the line and the location of the first or last equipment.
[0048] In step S108, the address allocation platform allocates an IP address within the network segment corresponding to the group to which the production device belongs.
[0049] The production equipment on the same production line is configured to be located in the same production network and can be assigned IP addresses in the same network segment. The production network is, for example, a VPN (Virtual Private Network).
[0050] In some embodiments, the address allocation platform allocates consecutive IP addresses in the same network segment to the production equipment on the same production line in the order of their locations. Figure 2As shown in the figure, before the change, Device 1, Device 2, and Device 3 were in locations 01, 02, and 03, respectively. After the change, Device 1, Device 2, and Device 3 are in locations 07, 08, and 09, respectively. The IP addresses of Device 1, Device 2, and Device 3 have changed from 1.1.1.1, 1.1.1.2, and 1.1.1.3 before the change to 2.2.2.7, 2.2.2.8, and 2.2.2.9 after the change. The IP addresses of Device 1, Device 2, and Device 3 are assigned consecutively based on their locations, which facilitates IP address management and avoids duplicate assignments.
[0051] In step S110, the address allocation platform sends the IP address to the terminal, and correspondingly, the terminal receives the IP address allocated by the address allocation platform.
[0052] The assigned IP address serves as the IP address of the production device in the production network.
[0053] In step S112, the production device joins the production network through the terminal using the IP address.
[0054] In the above embodiment, a terminal is connected to production equipment, and the terminal identifies the location of the production equipment. This location information is then transmitted to an address allocation platform, which then assigns an IP address within the production network to the production equipment based on the location information. This solution enables automatic network configuration based on the new location of the production equipment when the flexible production line is changed, eliminating the need for rewiring or manual configuration. This simplifies the process of connecting production equipment to the network, improves the efficiency of network access for production equipment, and significantly enhances production efficiency.
[0055] The present disclosure also provides a terminal, Figure 3 Provide a description.
[0056] Figure 3 FIG is a structural diagram of some embodiments of the terminal disclosed herein. Figure 3 As shown, the terminal 30 of this embodiment includes: a communication interface 310 , an identification unit 320 , a transmitter 330 , and a receiver 340 .
[0057] The communication interface 310 is used to connect to the production equipment.
[0058] In some embodiments, the communication interface 310 is a USB interface or a network interface.
[0059] The identification unit 320 is used to identify the location of the production equipment and obtain the location information of the production equipment.
[0060] In some embodiments, the identification unit 320 is a camera, which is used to capture and identify the location identifier set at the location of the production equipment to obtain the location information of the production equipment; or, the identification unit 320 is a barcode scanner, which is used to scan the location code set at the location of the production equipment to obtain the location information of the production equipment; or, the identification unit 320 is a near-field communication NFC initiator device, which is used to interact with the NFC target device set at the location of the production equipment to obtain the location information of the production equipment; or, the identification unit 320 is a radio frequency identification RFID reader, which is used to interact with the RFID tag set at the location of the production equipment to obtain the location information of the production equipment.
[0061] The transmitter 330 is configured to transmit the location information of the production equipment to the address allocation platform.
[0062] Receiver 340 is used to receive the IP address allocated by the address allocation platform as the IP address of the production equipment in the production network, wherein the production equipment on the same production line is divided into the same group, located in the same production network, and is allocated an IP address of the same network segment. The group to which the production equipment belongs is determined based on the location information of the production equipment.
[0063] In some embodiments, the terminal 30 further includes: a user card, such as a 4G / 5G user card.
[0064] In some embodiments, the terminal 30 further includes: a sensor for sensing the moving position of the production equipment on the production line, and the terminal identifies the position of the production equipment on the production line, such as a gyroscope, an accelerometer, etc.
[0065] The present disclosure also provides an address allocation platform. Figure 4 Provide a description.
[0066] Figure 4 Figure 1 is a structural diagram of some embodiments of the address allocation platform disclosed herein. Figure 4 As shown, the address allocation platform 40 of this embodiment includes: a receiving unit 410 , a determining unit 420 , an allocating unit 430 , and a sending unit 440 .
[0067] The receiving unit 410 is configured to receive location information of the production equipment sent by the terminal, wherein the terminal is connected to the production equipment, and the terminal identifies the location of the production equipment to obtain the location information of the production equipment.
[0068] The determining unit 420 is configured to determine the group to which the production equipment belongs based on the location information of the production equipment.
[0069] In some embodiments, the determination unit 420 is used to match the location information of the production equipment with the location information stored in the database; when the location information is the same as the location information of the production equipment, the group to which the production equipment belongs is determined based on the location information of the production equipment.
[0070] The allocation unit 430 is used to allocate IP addresses within the network segment corresponding to the group to which the production equipment belongs. The production equipment on the same production line is divided into the same group, located in the same production network, and allocated IP addresses of the same network segment.
[0071] In some embodiments, the allocation unit 430 is configured to allocate consecutive IP addresses within the same network segment to the production equipment on the same production line in order of location.
[0072] The sending unit 440 is configured to send the IP address to the terminal as the IP address of the production device in the production network.
[0073] In some embodiments, the address allocation platform 40 further includes a storage unit 450 for receiving configuration information and storing the configuration information in a database; wherein the configuration information includes location information of each preset location and the group to which the location information of each location belongs.
[0074] The address allocation platform in the embodiment of the present disclosure can be implemented by various computing devices or computer systems. Figure 5 as well as Figure 6 Provide a description.
[0075] Figure 5 Figure 1 is a structural diagram of some embodiments of the address allocation platform disclosed herein. Figure 5 As shown, the address allocation platform 50 of this embodiment includes: a memory 510 and a processor 520 coupled to the memory 510 , and the processor 520 is configured to execute the address allocation method in any of some embodiments of the present disclosure based on instructions stored in the memory 510 .
[0076] The memory 510 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.
[0077] Figure 6 Figure 1 is a structural diagram of some other embodiments of the address allocation platform disclosed herein. Figure 6As shown, the address allocation platform 60 of this embodiment includes: a memory 610 and a processor 620, which are similar to the memory 510 and the processor 520, respectively. It may also include an input / output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650, as well as the memory 610 and the processor 620, can be connected, for example, via a bus 660. The input / output interface 630 provides a connection interface for input / output devices such as a display, mouse, keyboard, and touch screen. The network interface 640 provides a connection interface for various networked devices, such as a database server or a cloud storage server. The storage interface 650 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0078] The present disclosure also provides an address allocation system. Figure 7 Provide a description.
[0079] Figure 7 Figure 1 is a structural diagram of some embodiments of the address allocation system disclosed herein. Figure 7 As shown, the address allocation system 7 of this embodiment includes: the terminal 30 of any of the aforementioned embodiments, and the address allocation platform 40 / 50 / 60 of any of the aforementioned embodiments.
[0080] In some embodiments, the system 7 further includes: a plurality of production devices 72; the production devices 72 are configured to join the production network using an IP address through the terminal 30. Each production device 72 can be connected to one terminal 30.
[0081] Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0082] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0083] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0084] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0085] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. An address allocation method, comprising: In response to the moving position of the production equipment on the production line, the terminal identifies the position of the production equipment on the production line and obtains the position information of the production equipment, wherein the terminal is connected to the production equipment; The terminal sends the location information of the production equipment to the address allocation platform; The terminal receives the IP address allocated by the address allocation platform as the IP address of the production equipment in the production network, wherein the production equipment on the same production line is divided into the same group, located in the same production network, and allocated the IP address of the same network segment, and the group to which the production equipment belongs is determined based on the location information of the production equipment, and the production equipment on the same production line is allocated consecutive IP addresses in the same network segment in order of their locations.
2. The address allocation method according to claim 1, wherein: The terminal identifies the location of the production equipment, and obtaining the location information of the production equipment includes: The terminal uses a camera to capture and identify a location marker set at the location of the production equipment to obtain location information of the production equipment; Alternatively, the terminal scans the location code set at the location of the production equipment through a barcode scanner to obtain the location information of the production equipment; Alternatively, the terminal obtains the location information of the production equipment through interaction between a near field communication NFC initiator device and an NFC target device set at the location of the production equipment; Alternatively, the terminal obtains the location information of the production equipment through the interaction of a radio frequency identification (RFID) reader with an RFID tag set at the location of the production equipment.
3. The address allocation method according to claim 1, wherein: The terminal is connected to the production equipment via a USB interface or a network interface.
4. The address allocation method according to any one of claims 1 to 3, wherein: The production device joins the production network through the terminal using the IP address.
5. An address allocation method, comprising: The address allocation platform receives the location information of the production equipment sent by the terminal, wherein the terminal is connected to the production equipment, and in response to the moving position of the production equipment on the production line, the terminal identifies the position of the production equipment on the production line to obtain the location information of the production equipment; The address allocation platform determines the group to which the production equipment belongs according to the location information of the production equipment; The address allocation platform allocates an IP address in a network segment corresponding to the group to which the production equipment belongs, wherein the production equipment on the same production line is divided into the same group, located in the same production network, and allocated an IP address in the same network segment, and the address allocation platform allocates consecutive IP addresses in the same network segment to the production equipment on the same production line in order of location; The address allocation platform sends the IP address to the terminal as the IP address of the production device in the production network.
6. The address allocation method according to claim 5, wherein: The address allocation platform determines the group to which the production equipment belongs according to the location information of the production equipment, including: The address allocation platform matches the location information of the production equipment with the location information stored in the database; When the address allocation platform matches the location information identical to the location information of the production device, the address allocation platform determines the group to which the production device belongs according to the location information of the production device.
7. The address allocation method according to any one of claims 5 to 6, further comprising: The address allocation platform receives configuration information, wherein the configuration information includes: location information of each preset location, and the group to which the location information of each location belongs; The address allocation platform stores the configuration information in a database.
8. A terminal, comprising: Communication interface, used to connect with production equipment; an identification unit, configured to identify the position of the production equipment on the production line in response to the moving position of the production equipment on the production line, and obtain the position information of the production equipment; A transmitter, used to send the location information of the production equipment to the address allocation platform; A receiver is used to receive the IP address allocated by the address allocation platform as the IP address of the production equipment in the production network, wherein the production equipment on the same production line is divided into the same group, located in the same production network, and allocated an IP address of the same network segment, and the group to which the production equipment belongs is determined based on the location information of the production equipment, and the production equipment on the same production line is allocated consecutive IP addresses in the same network segment in order of their locations.
9. The terminal according to claim 8, wherein: The identification unit is a camera, which is used to photograph and identify the location mark set at the location of the production equipment to obtain the location information of the production equipment; Alternatively, the identification unit is a barcode scanner, which is used to scan the location code set at the location of the production equipment to obtain the location information of the production equipment; Alternatively, the identification unit is a near field communication (NFC) initiator device, which is used to interact with an NFC target device set at the location of the production equipment to obtain the location information of the production equipment; Alternatively, the identification unit is a radio frequency identification (RFID) reader, which is used to interact with an RFID tag set at the location of the production equipment to obtain the location information of the production equipment.
10. The terminal according to claim 8, wherein: The communication interface is a USB interface or a network interface.
11. An address allocation platform, comprising: A receiving unit, configured to receive location information of a production device sent by a terminal, wherein the terminal is connected to the production device, and in response to a moving position of the production device on the production line, the terminal identifies the position of the production device on the production line to obtain the location information of the production device; a determining unit, configured to determine the group to which the production equipment belongs according to the location information of the production equipment; an allocation unit, configured to allocate an IP address in a network segment corresponding to the group to which the production equipment belongs, wherein the production equipment on the same production line is divided into the same group, located in the same production network, and allocated an IP address in the same network segment, and the production equipment on the same production line is allocated consecutive IP addresses in the same network segment in order of position; A sending unit is used to send the IP address to the terminal as the IP address of the production device in the production network.
12. An address allocation platform, comprising: processor; as well as A memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor executes the address allocation method according to any one of claims 5 to 7.
13. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the steps of the method described in any one of claims 5 to 7 are implemented.
14. An address allocation system, comprising: The terminal according to any one of claims 8 to 10; and the address allocation platform according to claim 11 or 12.
15. The address allocation system according to claim 14, further comprising: Multiple production equipment; The production device is used to join the production network through the terminal using the IP address.
Citation Information
Patent Citations
IP (Internet protocol) address allocation method and device
CN103701950A
Ip address allocation device, system and method
CN105519079A
Method for automatically configuring IP address, laser marking system, terminal and medium
CN108063836A
Dynamic IP address allocation method and device
CN108063837A
Internet protocol address redistribution method and device, terminal and storage medium
CN112751902A
