Automatic registration method and apparatus based on switch port identification

By using switch port identification technology, employing IP unicast direct connection and LUT query method, and combining port connection status, automatic registration of Base devices in the DECT roaming system is achieved. This solves the cumbersome problem of manually pre-recording MAC addresses in existing technologies, and improves device deployment efficiency and information security.

WO2026158406A1PCT designated stage Publication Date: 2026-07-30YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
Filing Date
2026-01-21
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

In existing DECT roaming systems, the automatic registration scheme for base devices requires manual pre-entry of MAC addresses, which cannot adapt to rapid deployment and dynamic expansion under complex network topologies, and it is difficult to balance security and efficiency.

Method used

By using switch port identification technology, network communication is established using IP unicast direct connection and LUT query method. According to the port connection status, the corresponding registration strategy is adopted. Internal direct connection ports are automatically registered, and external ports trigger user authentication to achieve differentiated automatic registration.

Benefits of technology

It simplifies the registration process, improves equipment deployment efficiency, reduces operation and maintenance costs, enhances information security, and adapts to the rapid deployment needs of complex network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026074030_30072026_PF_FP_ABST
    Figure CN2026074030_30072026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses an automatic registration method and apparatus based on switch port identification. The method comprises: establishing a network communication with a baseband transmission device by means of a network connection method, wherein the network connection method includes an IP unicast direct connection method and a LUT query method; if a host is connected to the baseband transmission device by means of an external network port, completing registration of the baseband transmission device by triggering an authentication action of a webpage; and if the host is connected to the baseband transmission device by means of an internal direct connection port, identifying the baseband transmission device, and completing registration of the baseband transmission device on the basis of data information obtained by means of the identification. The present application provides an automatic registration method and apparatus based on switch port identification. A network communication between a host and a baseband transmission device is established, and then corresponding registration schemes are used on the basis of different port connection situations, thereby simplifying the registration operation process, and solving the problem of difficulty of carrying out differentiated automatic registration of the baseband transmission device on the host.
Need to check novelty before this filing date? Find Prior Art

Description

An automatic registration method and apparatus based on switch port identification

[0001] This application claims priority to Chinese Patent Application No. 202510093826.5, filed on January 21, 2025, entitled "An Automatic Registration Method and Apparatus Based on Switch Port Identification", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to, but is not limited to, an automatic registration method and apparatus based on switch port identification. Background Technology

[0003] The baseband transmission device in a network, also known as a Base (base station) device, is a DECT device equipped with VoIP services. The host, also known as the DECT Master (DM), is the host that serves all Bases within the local area network. Composed of a CPU, motherboard, and drivers, it is a crucial component of the computer system, providing necessary drivers for various devices to function properly. In DECT roaming system Base device management solutions, Base devices connect to the DM management device via the network and are displayed on the DM management device. Users can manually register devices through the DM management device. Current automatic registration technologies require the MAC address of the Base device to be registered to be entered into the DM. When the Base device communicates with the DM via multicast or unicast, a MAC verification is performed; if the verification is successful, the device is automatically registered. Current registration technologies largely disregard the network topology of the devices, performing management operations indiscriminately on the management device. (The last sentence is a repetition of the previous one and can be omitted.) Invention Overview

[0004] In a first aspect, this application provides an automatic registration method based on switch port identification, comprising:

[0005] Network communication is established with the baseband transmission device through a preset network connection method; wherein, the network connection method includes IP unicast direct connection and LUT query method; if the host and the baseband transmission device are connected through an external network port, the authentication action of the webpage is triggered to enable the baseband transmission device to complete registration; if the host and the baseband transmission device are connected through an internal direct connection port, the baseband transmission device is identified, and the baseband transmission device is registered based on the identified data information; wherein, the baseband transmission device performs network interaction through the switch port integrated in the host.

[0006] In an optional embodiment of this application, the IP unicast direct connection method and the LUT query method are specifically as follows: if the host's IP is configured in the baseband transmission device, network communication is established with the baseband transmission device through the IP unicast direct connection method; if the host's IP is not configured in the baseband transmission device, a LUT query is performed on a preset multicast packet to obtain the port connection information of the baseband transmission device; based on the port connection information, network communication is established with the baseband transmission device through network authentication.

[0007] In an optional embodiment of this application, if the host's IP address is not configured in the baseband transmission device, a LUT query is performed on the preset multicast packet to obtain the port connection information of the baseband transmission device. Specifically, if the host's IP address is not configured in the baseband transmission device, the baseband transmission device sends a multicast packet to a network device within the same multicast network via multicast; the multicast packet is obtained, and a LUT query is performed on the multicast packet to obtain the port connection information of the baseband transmission device; wherein, the port connection information refers to the source information of the device port that sent the multicast packet.

[0008] In an optional embodiment of this application, network communication is established with the baseband transmission device through network authentication based on the port connection information. Specifically, if the port connection information shows that the baseband transmission device and the host are connected through an internal direct connection port, network communication is established with the baseband transmission device by automatically triggering network authentication; if the port connection information shows that the baseband transmission device and the host are connected through an external network port, network communication is established with the baseband transmission device by manually triggering network authentication.

[0009] In an optional embodiment of this application, if the host and the baseband transmission device are connected via an external network port, the baseband transmission device completes registration by triggering the authentication action of the webpage, specifically as follows:

[0010] If the host and the baseband transmission device are connected via an external network port, the information of the baseband transmission device is displayed; the registration instruction issued by the user based on the displayed information is obtained; and the baseband transmission device completes registration by triggering the authentication action of the webpage according to the registration instruction.

[0011] Secondly, this application also provides an automatic registration device based on switch port identification. This device is applicable to a host and includes a communication module, a first registration module, and a second registration module. The communication module is used to establish network communication with a baseband transmission device through a preset network connection method, including IP unicast direct connection and LUT query. The first registration module is used to trigger webpage authentication to register the baseband transmission device if the host and the baseband transmission device are connected via an external network port. The second registration module is used to identify the baseband transmission device if the host and the baseband transmission device are connected via an internal direct connection port, and to register the baseband transmission device based on the identified data. The baseband transmission device interacts with the network through a switch port integrated in the host.

[0012] In an optional embodiment of this application, the communication module includes a direct connection unit, a query unit, and an authentication unit; wherein, the direct connection unit is used to establish network communication with the baseband transmission device via IP unicast direct connection if the host's IP address is configured in the baseband transmission device; the query unit is used to perform a LUT query on a preset multicast packet to obtain the port connection information of the baseband transmission device if the host's IP address is not configured in the baseband transmission device; and the authentication unit is used to establish network communication with the baseband transmission device via network authentication based on the port connection information.

[0013] In an optional embodiment of this application, the query unit includes a first sub-unit and a second sub-unit;

[0014] The first subunit is configured to, if the baseband transmission device is not configured with the IP address of the host, enable the baseband transmission device to send multicast packets to network devices within the same multicast network via multicast. The second subunit is configured to acquire the multicast packets and perform a LUT query on the multicast packets to obtain the port connection information of the baseband transmission device. The port connection information refers to the source information of the device port that sent the multicast packets.

[0015] In an optional embodiment of this application, the authentication unit includes a third subunit and a fourth subunit;

[0016] The third subunit is configured to establish network communication with the baseband transmission device by automatically triggering network authentication if the port connection information shows that the baseband transmission device and the host are connected through an internal direct connection port; the fourth subunit is configured to establish network communication with the baseband transmission device by manually triggering network authentication if the port connection information shows that the baseband transmission device and the host are connected through an external network port.

[0017] In an optional embodiment of this application, the first registration module includes a display unit, an instruction unit, and a trigger unit; wherein, the display unit is used to display information of the baseband transmission device if the host and the baseband transmission device are connected through an external network port; the instruction unit is used to obtain a registration instruction issued by the user based on the displayed information; and the trigger unit is used to trigger the authentication action of the webpage according to the registration instruction, so that the baseband transmission device completes the registration.

[0018] Thirdly, this application also provides a storage medium storing a computer program, which is called and executed by a computer to implement the automatic registration method based on switch port identification as described above. Attached Figure Description

[0019] Figure 1 is a flowchart illustrating an automatic registration method based on switch port identification provided in an embodiment of this application;

[0020] Figure 2 is a structural diagram of the DM management device provided in an embodiment of this application;

[0021] Figure 3 is a registration flowchart provided in an embodiment of this application;

[0022] Figure 4 is a schematic diagram of an automatic registration device based on switch port identification provided in an embodiment of this application. Embodiments of the present invention

[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0024] In existing DECT roaming systems, Base devices (base stations) connect to the DECT Master (DM) host via a network, where the DM manages their registration and services. Current mainstream automatic registration schemes rely on MAC address verification mechanisms: administrators must manually enter the MAC addresses of the Base devices to be registered into the DM beforehand; when a Base device establishes communication with the DM via multicast or unicast, the DM compares the reported MAC address with a pre-stored list, and if a match is found, automatic registration is completed. This mechanism can meet basic needs in small or flat network environments. However, in enterprise-level deployments or multi-layered switching architectures, Base devices are typically distributed across different physical areas, potentially accessing different levels of switch ports, or even connecting to the DM's LAN via external networks (such as WANs or third-party access points). In such complex topology scenarios, the sheer number and dispersed physical locations of Base devices make manually collecting, verifying, and entering MAC addresses one by one time-consuming, labor-intensive, and prone to errors. Each addition, replacement, or migration of a device requires repeating this process, significantly increasing maintenance costs and making it difficult to adapt to the demands of rapid deployment and dynamic expansion. The existing solution uses a uniform registration logic for all access devices, without taking into account the differences in the network location of the devices. It cannot implement fast, audit-free registration for trusted internal devices, nor can it impose additional identity verification or approval processes on external access devices, making it difficult to balance security and efficiency.

[0025] In view of this, this application aims to solve the following technical problem: how to enable DM to automatically identify the network access location of the Base device without manual pre-recording of MAC addresses, and dynamically implement differentiated automatic registration strategies based on this location information. Specifically, for Base devices from internal trusted ports, zero-configuration fast registration can be achieved; while for devices from external or unknown ports, enhanced authentication, manual approval, or registration rejection and other security measures are triggered.

[0026] Based on this, the automatic registration method based on switch port identification provided in this application is mainly applied to situations where baseband transmission devices are registered on the host to achieve simplified process and differentiated automated registration.

[0027] Please refer to Figure 1. An embodiment of this application provides an automatic registration method based on switch port identification, applicable to a host, including steps S1 to S3. The specific implementation steps are as follows: S1: Establish network communication with the baseband transmission device through a preset network connection method; wherein, the network connection method includes IP unicast direct connection and LUT query method; S2: If the host and the baseband transmission device are connected through an external network port, the baseband transmission device completes registration by triggering the authentication action of the webpage; S3: If the host and the baseband transmission device are connected through an internal direct connection port, the baseband transmission device is identified, and the baseband transmission device completes registration based on the identified data information; wherein, the baseband transmission device performs network interaction through a switch port integrated in the host.

[0028] This invention establishes network communication between a host and a baseband transmission device through IP unicast direct connection or LUT lookup. This method fully utilizes the host's IP information to quickly establish network communication, or uses LUT lookup to obtain relevant information about the baseband transmission device to establish communication, thus accelerating the network communication establishment speed. Furthermore, when the host and the baseband transmission device are connected through an external network port, triggering a webpage authentication action to complete registration gives the user the decision-making power to protect the host's data security. In addition, if the host and the baseband transmission device are connected through an internal direct connection port, it indicates that the baseband transmission device is an internal device. Therefore, by directly identifying data information for registration, the registration process of the baseband transmission device can be accelerated, achieving a differentiated registration function.

[0029] Compared to existing technologies, this invention establishes network communication between the host and the baseband transmission device first, and then adopts a corresponding registration scheme based on different port connection conditions. This approach can maximize the protection of host device information security while simplifying the registration process, eliminating the need for manual data entry and host operation for baseband transmission device registration. It can solve the problem of automatically registering differentiated baseband transmission devices on the host.

[0030] S1. Establish network communication with the baseband transmission device through a preset network connection method; wherein, the network connection method includes IP unicast direct connection and LUT query method.

[0031] In some embodiments, S1 includes S1.1 to S1.4, specifically:

[0032] S1.1 Establish network communication with the baseband transmission device through a preset network connection method; wherein, the network connection method includes IP unicast direct connection and LUT query method, specifically: the baseband transmission device (Base) starts a network client, the host (DM) starts a network server, and listens on a preset specific port;

[0033] Here, a port refers to the port used for network communication, that is, the port through which the server and client communicate in the TCP / IP protocol. Different applications can communicate with external network devices through different ports on the same network device.

[0034] Furthermore, the purpose of network listening here is to establish a network connection, that is: in order for the subsequent server to listen on a specific port, the client sends a data packet to the specific port so that the server can receive the data packet and establish a connection with the client.

[0035] In addition, to allow different applications to communicate with different external network devices on the same network device, each network communication connection operation can use a specific network port that does not conflict with other devices.

[0036] It should be noted that the baseband transmission device interacts with the host via the switch port integrated in the host; and the network connection methods include, but are not limited to, IP unicast direct connection and LUT lookup.

[0037] To apply the embodiments of this application, please refer to Figure 2. Figure 2 is a structural diagram of the DM management device provided in the embodiments of this application, showing the connection structure when the baseband transmission device registers on the host. This embodiment uses an integrated four-port switch as an example to illustrate the specific registration process in detail. It should be noted that this embodiment is not limited to the number of ports and the type of switch shown.

[0038] As shown in the figure, the switch is integrated into the host (DM). The network driver is a network driver module that can be used to configure the switch and exchange data. The SOC controls the switch and exchanges network data through the RMII port. The external network provides network access to the DM through port 3 of the switch. Ports 1, 2, and 3 can connect to external devices base1, base2, and base3 and provide network access to the devices. Among them, base1, base2, and base3 are all baseband transmission devices.

[0039] S1.2 If the baseband transmission device is configured with the host's IP address, the baseband transmission device establishes network communication with the host via IP unicast direct connection.

[0040] S1.3 If the baseband transmission device is not configured with the host's IP address, the baseband transmission device shall send multicast packets to network devices within the same multicast network via multicast; where network devices within the same multicast network refer to network devices that are under the same switch and are in the same multicast network.

[0041] The host acquires multicast packets and performs a LUT query on the multicast packets to obtain the port connection information of the baseband transmission device; where the port connection information refers to the source information of the device port that sent the multicast packets.

[0042] This embodiment uses multicast to ensure that data is transmitted only once on each network link, and is only copied when the link forks. This method can speed up the confirmation process of port connection information. Furthermore, LUT is a data structure used to store and manage MAC address tables. The MAC address table maps MAC addresses to their associated switch ports. The switch can use LUT to determine which port the data packet was forwarded to the target device from. Therefore, by performing an LUT query, it is possible to know which port the device is connected to on the switch. This method can obtain the exact port connection information.

[0043] S1.4 If the port connection information shows that the baseband transmission device and the host are connected through internal direct-connect ports (port1 and port2), then the host and the baseband transmission device will establish network communication by automatically triggering network authentication (confirm). Specifically, the method of establishing network communication by automatically triggering network authentication is as follows: the host and the baseband transmission device are the server and client in the network, respectively. The client sends multicast probes to devices in the same multicast network through multicast probes. When the server performs network authentication, the server and the client can then truly establish a point-to-point network connection.

[0044] If the port connection information shows that the baseband transmission device and the host are connected through an external network port (port3), then network communication between the host and the baseband transmission device can be established by manually triggering network authentication. Specifically, when the client sends a multicast probe to a device in the same multicast network, the host's network server will discover the device and display it on a webpage. The user can then perform network authentication by clicking on the webpage to establish network communication between the host and the baseband transmission device.

[0045] In this embodiment, when the baseband transmission device and the host are connected through an external network port (port3), a method of manually triggering network authentication to establish network communication is adopted. This allows specific devices to be registered on the host, rather than all devices in the multicast network. At this time, external devices are not automatically registered, which can enhance the targeting of registration and ensure the information security of the host and related systems.

[0046] In this embodiment S1, different methods are adopted for different situations to establish network communication between the host and the baseband transmission device. The host IP address serves as the unique identifier of the host. When the baseband transmission device is configured with the host's IP address, it means that the destination of data transmission can be directly determined. Therefore, through the "one-to-one" communication method of IP unicast direct connection, the host and the baseband transmission device can quickly establish network communication. When the baseband transmission device is not configured with the host's IP address, the relevant port connection information can also be obtained through multicast packets to achieve the purpose of establishing network communication.

[0047] S2. If the host and the baseband transmission device are connected through an external network port, the baseband transmission device will complete the registration by triggering the authentication action of the webpage.

[0048] In some embodiments, step S2 specifically includes:

[0049] If the host and the baseband transmission device are connected via an external network port (port3), then the information of the baseband transmission device will be displayed.

[0050] Obtain the registration instructions issued by the user based on the displayed information;

[0051] According to the registration instructions, the baseband transmission device completes registration by triggering the authentication action of the webpage where the host is located.

[0052] This embodiment displays information about the baseband transmission device, reminding the user that the current baseband transmission device is an external device, allowing the user to decide whether to continue registration based on their own situation. This information display method can promptly remind the user, restricting automatic registration to devices connected only to ports directly connected to the host, while also providing security protection for data information.

[0053] S3. If the host and the baseband transmission device are connected through an internal direct connection port, the baseband transmission device is identified, and the baseband transmission device is registered based on the data information obtained from the identification.

[0054] The baseband transmission device interacts with the network through the switch port integrated in the host.

[0055] In some embodiments, step S3 specifically includes:

[0056] If the host and the baseband transmission device are connected through internal direct connection ports (port1 and port2), the baseband transmission device will undergo data interaction identification, registration and authentication process, and device initialization. Based on the identified data information, the baseband transmission device will complete registration and initialization. The registration and authentication process includes checking the country version and the software and hardware version.

[0057] The following explains some of the terms used in this embodiment:

[0058] 1. LUT (Look-Up Table): A data structure used to store and manage MAC (Media Access Control) address tables. The MAC address table maps MAC addresses to the switch ports associated with them. The LUT plays a crucial role in a switch, allowing the switch to determine which port a data packet should be forwarded to to the destination device. The switch learns and manages the MAC address table by continuously updating the LUT. When a data packet arrives from a port, the switch associates the source MAC address with the receiving port and adds this information to the LUT. This helps the switch understand which devices are connected to which ports.

[0059] 2. DECT: Digital Enhanced Cordless Telecommunications.

[0060] 3. Base: A DECT device with VoIP service.

[0061] 4. DM: A host that provides services to all Bases within the local area network.

[0062] 5. Network Driver: A type of software in the operating system used to manage and control the communication between the network adapter and the operating system in order to enable network connectivity and data transmission. The network driver acts as a bridge between the network adapter and the operating system, enabling the device to connect to the network and communicate with other devices.

[0063] 6. RMII (Reduced Media-Independent Interface) is an interface standard used to connect Ethernet PHY (Physical Layer Converter) and MAC (Media Access Controller). RMII ports are typically used to connect switch chips (MAC layer) and PHY chips (physical layer) to enable communication between the physical layer and the data link layer. Its main functions include connecting the physical layer and the data link layer, supporting Ethernet speeds, and supporting the configuration and control of switches.

[0064] 7. A System on a Chip (SOC) is an integrated circuit (IC) or chip that integrates multiple core system components and functions on a single integrated circuit chip. SOCs typically include processor cores, memory, input / output interfaces, peripherals, controllers, and other key components to build a complete computing or embedded system.

[0065] To apply the embodiments of this application, please refer to Figure 3. Figure 3 is a registration flowchart provided by the embodiments of this application, showing the general process of the baseband transmission device registering on the host, specifically as follows:

[0066] 1) Initialize the client side of BASE (baseband transmission device) and the server side of DM (host).

[0067] 2) Establish network communication between DM and BASE through IP unicast direct connection or LUT query.

[0068] 3) Obtain the port connection method between DM and BASE by using the information obtained from the LUT query in step 2.

[0069] 4) Determine whether DM and BASE are connected through an internal direct connection port (internal network port): If no, proceed to step 5; if yes, proceed to step 6.

[0070] 5) If DM and BASE are connected via an external network port, the user's manual registration command will be obtained through information display to trigger the authentication action of the webpage, so that the baseband transmission device can complete the registration.

[0071] 6) If the DM and BASE are connected via an internal direct connection port (internal network port), then perform data interaction identification, registration and authentication process operations, and device initialization operations on the BASE. Based on the identified data information, the BASE completes the registration and initialization process.

[0072] 7) Complete automatic registration.

[0073] Overall, the embodiments of this application have the following beneficial effects:

[0074] This embodiment establishes network communication between the host and the baseband transmission device through IP unicast direct connection or LUT query. This method can fully utilize the host's IP information to quickly establish network communication, or obtain relevant information of the baseband transmission device through LUT query to establish communication, thus accelerating the establishment of network communication. Furthermore, when the host and the baseband transmission device are connected through an external network port, the authentication action of the webpage is triggered to complete the registration, which gives the user the right to decide whether to register, thereby protecting the security of the host's data information. In addition, if the host and the baseband transmission device are connected through an internal direct connection port, it means that the baseband transmission device is an internal device. Therefore, by directly identifying data information for registration, the registration process of the baseband transmission device can be accelerated, achieving the function of differentiated registration.

[0075] Furthermore, by applying LUT lookup port identification technology to the DECT roaming system, an automatic registration solution is achieved. If you want to register a device to the DM management device, you only need to connect the device to the DM switch output port (port1 or port2), and the DM will automatically identify and register it, which can improve the user's device deployment efficiency and reduce the learning cost.

[0076] Please refer to Figure 4. An embodiment of this application provides an automatic registration device based on switch port identification, applicable to a host. The automatic registration device includes a communication module 10, a first registration module 20, and a second registration module 30.

[0077] The communication module 10 is used to establish network communication with the baseband transmission device through a preset network connection method; the network connection method includes IP unicast direct connection and LUT query method.

[0078] The first registration module 20 is used to enable the baseband transmission device to complete registration by triggering the authentication action of the webpage if the host and the baseband transmission device are connected through an external network port.

[0079] The second registration module 30 is used to identify the baseband transmission device if the host and the baseband transmission device are connected through an internal direct connection port, and to enable the baseband transmission device to complete the registration based on the data information obtained from the identification.

[0080] The baseband transmission device interacts with the network through the switch port integrated in the host.

[0081] In some embodiments, the communication module 10 includes a setting unit, a direct connection unit, a first subunit, a second subunit, a third subunit, and a fourth subunit;

[0082] The configuration unit is used to establish network communication with the baseband transmission device through a preset network connection method. The network connection method includes IP unicast direct connection and LUT query method. Specifically, the baseband transmission device (Base) starts a network client and the host (DM) starts a network server, and listens on a preset specific port.

[0083] Here, a port refers to the port used for network communication, that is, the port through which the server and client communicate in the TCP / IP protocol. Different applications can communicate with external network devices through different ports on the same network device.

[0084] Furthermore, the purpose of network listening here is to establish a network connection, that is: in order for the subsequent server to listen on a specific port, the client sends a data packet to the specific port so that the server can receive the data packet and establish a connection with the client.

[0085] In addition, to allow different applications to communicate with different external network devices on the same network device, each network communication connection operation can use a specific network port that does not conflict with other devices.

[0086] It should be noted that the baseband transmission device interacts with the host via the switch port integrated in the host; and the network connection methods include, but are not limited to, IP unicast direct connection and LUT lookup.

[0087] To apply the embodiments of this application, please refer to Figure 2. Figure 2 is a structural diagram of the DM management device provided in the embodiments of this application, showing the connection structure when the baseband transmission device registers on the host. This embodiment uses an integrated four-port switch as an example to illustrate the specific registration process in detail. It should be noted that this embodiment is not limited to the number of ports and the type of switch shown.

[0088] As shown in the figure, the switch is integrated into the host (DM). The network driver is a network driver module that can be used to configure the switch and exchange data. The SOC controls the switch and exchanges network data through the RMII port. The external network provides network access to the DM through port 3 of the switch. Ports 1, 2, and 3 can connect to external devices base1, base2, and base3 and provide network access to the devices. Among them, base1, base2, and base3 are all baseband transmission devices.

[0089] The direct connection unit is used to establish network communication between the baseband transmission device and the host via IP unicast direct connection if the baseband transmission device is configured with the host's IP address.

[0090] The first subunit is used to enable the baseband transmission device to send multicast packets to network devices within the same multicast network via multicast if the baseband transmission device is not configured with the host's IP address; where network devices within the same multicast network refer to network devices that are under the same switch and are in the same multicast network.

[0091] The second subunit is used to enable the host to obtain multicast packets and perform LUT queries on the multicast packets to obtain port connection information of the baseband transmission device; wherein, the port connection information refers to the source information of the device port that sent the multicast packets.

[0092] This embodiment uses multicast to ensure that data is transmitted only once on each network link, and is only copied when the link forks. This method can speed up the confirmation process of port connection information. Furthermore, LUT is a data structure used to store and manage MAC address tables. The MAC address table maps MAC addresses to their associated switch ports. The switch can use LUT to determine which port the data packet was forwarded to the target device from. Therefore, by performing an LUT query, it is possible to know which port the device is connected to on the switch. This method can obtain the exact port connection information.

[0093] The third subunit is used to establish network communication between the host and the baseband transmission device by automatically triggering network authentication (confirm) if the port connection information shows that the baseband transmission device and the host are connected through internal direct connection ports (port1 and port2). Specifically, the method of establishing network communication by automatically triggering network authentication is as follows: the host and the baseband transmission device are the server and client in the network, respectively. The client sends multicast probes to devices in the same multicast network through multicast probes. When the server performs network authentication, the server and the client can then truly establish a point-to-point network connection.

[0094] The fourth subunit is used to establish network communication between the host and the baseband transmission device by manually triggering network authentication if the port connection information shows that the baseband transmission device and the host are connected through an external network port (port3). Specifically, the method of establishing network communication by manually triggering network authentication is as follows: when the client sends a multicast probe to a device in the same multicast network, the host's network server will discover the device and display it on the webpage. The user can then perform network authentication by clicking on the webpage to establish network communication between the host and the baseband transmission device.

[0095] In this embodiment, when the baseband transmission device and the host are connected through an external network port (port3), a method of manually triggering network authentication to establish network communication is adopted. This allows specific devices to be registered on the host, rather than all devices in the multicast network. At this time, external devices are not automatically registered, which can enhance the targeting of registration and ensure the information security of the host and related systems.

[0096] In this embodiment S1, different methods are adopted for different situations to establish network communication between the host and the baseband transmission device. The host IP address serves as the unique identifier of the host. When the baseband transmission device is configured with the host's IP address, it means that the destination of data transmission can be directly determined. Therefore, through the "one-to-one" communication method of IP unicast direct connection, the host and the baseband transmission device can quickly establish network communication. When the baseband transmission device is not configured with the host's IP address, the relevant port connection information can also be obtained through multicast packets to achieve the purpose of establishing network communication.

[0097] In some embodiments, the first registration module 20 includes a display unit, an instruction unit, and a trigger unit;

[0098] The display unit is used to display information about the baseband transmission device if the host and the baseband transmission device are connected through an external network port (port3).

[0099] The instruction unit is used to obtain the registration instructions issued by the user based on the displayed information;

[0100] The triggering unit is used to trigger the authentication action of the webpage where the host is located, according to the registration instruction, so that the baseband transmission device can complete the registration.

[0101] This embodiment displays information about the baseband transmission device, reminding the user that the current baseband transmission device is an external device, allowing the user to decide whether to continue registration based on their own situation. This information display method can promptly remind the user, restricting automatic registration to devices connected only to ports directly connected to the host, while also providing security protection for data information.

[0102] In some embodiments, the second registration module 30 specifically comprises:

[0103] If the host and the baseband transmission device are connected through internal direct connection ports (port1 and port2), the baseband transmission device will undergo data interaction identification, registration and authentication process, and device initialization. Based on the identified data information, the baseband transmission device will complete registration and initialization. The registration and authentication process includes checking the country version and the software and hardware version.

[0104] The following explains some of the terms used in this embodiment:

[0105] 1. LUT (Look-Up Table): A data structure used to store and manage MAC (Media Access Control) address tables. The MAC address table maps MAC addresses to their associated switch ports. The LUT plays a crucial role in a switch, allowing it to determine which port a data packet should be forwarded to to its destination device. Switches learn and manage their MAC address tables by continuously updating the LUT. When a data packet arrives from a port, the switch associates the source MAC address with the receiving port and adds this information to the LUT, helping the switch understand which devices are connected to which ports.

[0106] 2. DECT: Digital Enhanced Cordless Telecommunications.

[0107] 3. Base: A DECT device with VoIP service.

[0108] 4. DM: A host that provides services to all Bases within the local area network.

[0109] 5. Network Driver: A type of software in the operating system used to manage and control the communication between the network adapter and the operating system in order to enable network connectivity and data transmission. The network driver acts as a bridge between the network adapter and the operating system, enabling the device to connect to the network and communicate with other devices.

[0110] 6. RMII (Reduced Media-Independent Interface) is an interface standard used to connect Ethernet PHY (Physical Layer Converter) and MAC (Media Access Controller). RMII ports are typically used to connect switch chips (MAC layer) and PHY chips (physical layer) to enable communication between the physical layer and data link layer; its main functions include connecting the physical layer and data link layer, supporting Ethernet speeds, and supporting switch configuration and control.

[0111] 7. A System on a Chip (SOC) is an integrated circuit (IC) or chip that integrates multiple core system components and functions on a single integrated circuit chip. SOCs typically include processor cores, memory, input / output interfaces, peripherals, controllers, and other key components to build a complete computing or embedded system.

[0112] To apply the embodiments of this application, please refer to Figure 3. Figure 3 is a registration flowchart provided by the embodiments of this application, showing the general process of the baseband transmission device registering on the host, specifically as follows:

[0113] 1) Initialize the client side of BASE (baseband transmission device) and the server side of DM (host).

[0114] 2) Establish network communication between DM and BASE through IP unicast direct connection or LUT query.

[0115] 3) Obtain the port connection method between DM and BASE by using the information obtained from the LUT query in step 2.

[0116] 4) Determine whether DM and BASE are connected through an internal direct connection port (internal network port): If no, proceed to step 5; if yes, proceed to step 6.

[0117] 5) If DM and BASE are connected via an external network port, the user's manual registration command will be obtained through information display to trigger the authentication action of the webpage, so that the baseband transmission device can complete the registration.

[0118] 6) If the DM and BASE are connected via an internal direct connection port (internal network port), then perform data interaction identification, registration and authentication process operations, and device initialization operations on the BASE. Based on the identified data information, the BASE completes the registration and initialization process.

[0119] 7) Complete automatic registration.

[0120] Overall, the embodiments of this application have the following beneficial effects:

[0121] This device establishes network communication between the host and the baseband transmission device via IP unicast direct connection or LUT query. This method fully utilizes the host's IP information to quickly establish network communication, or uses LUT query to obtain relevant information about the baseband transmission device to establish communication, thus accelerating the network communication establishment speed. Furthermore, when the host and the baseband transmission device are connected through an external network port, triggering the webpage authentication action to complete registration gives the user the decision-making power to protect the host's data security. In addition, if the host and the baseband transmission device are connected through an internal direct connection port, it indicates that the baseband transmission device is an internal device. Therefore, by directly identifying data information for registration, the registration process of the baseband transmission device can be accelerated, achieving a differentiated registration function.

[0122] Furthermore, by applying LUT lookup port identification technology to the DECT roaming system, an automatic registration solution is achieved. If you want to register a device to the DM management device, you only need to connect the device to the DM switch output port (port1 or port2), and the DM will automatically identify and register it, which can improve the user's device deployment efficiency and reduce the learning cost.

[0123] This application provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the automatic registration method based on switch port identification.

[0124] The automatic registration method based on switch port identification, when implemented as a software functional unit and used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0125] The above are preferred embodiments of this application. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principles of this application, and these improvements and modifications are also considered to be within the scope of protection of this application.