Automatic registration method and device based on switch port identification

By establishing network communication with the baseband transmission device on the host and adopting corresponding registration solutions based on the port connection situation, the problem of difficulty in achieving differentiated automatic registration on the host is solved, and a simplified automatic registration process and improved security are achieved.

CN119945997APending Publication Date: 2025-05-06YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510093826.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The prior art is difficult to realize the automatic registration of a differentiated baseband transmission device on the host, and the registration process is complicated and requires manual operation.

Method used

Network communication with the baseband transmission device is established through a preset network connection method, including IP unicast direct connection and LUT query method. According to the port connection between the host and the baseband transmission device, corresponding registration scheme is adopted, such as triggering web page authentication or automatic identification registration.

Benefits of technology

It realizes the automatic registration process of baseband transmission equipment on the host, improves the efficiency and security of registration, and avoids manual data filling and complex operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945997A_ABST
    Figure CN119945997A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic registration method and device based on switch port identification. The method comprises the following steps: establishing network communication with baseband transmission equipment through a network connection method; the network connection method comprises an ip unicast direct connection mode and an LUT query mode. If the host is connected with the baseband transmission equipment through an external network port, the baseband transmission equipment completes registration by triggering an authentication action of a webpage; and if the host is connected with the baseband transmission equipment through the internal direct connection port, identifying the baseband transmission equipment, and enabling the baseband transmission equipment to complete registration according to the identified data information. According to the automatic registration method and device based on switch port identification provided by the invention, network communication is established between the host and the baseband transmission equipment, and the form of corresponding registration schemes is adopted according to different port connection conditions, so that the registration operation process is simplified, and the registration efficiency is improved. The method and the device can solve the problem that automatic registration of differentiated baseband transmission equipment is difficult to carry out on a host.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to an automatic registration method and device based on switch port identification. Background Art

[0002] The baseband transmission device in the network, also known as the Base device, is a DECT device with VOIP service; the host is the host that provides service clusters for all Bases in the local area network, also known as Drive Master (DM), which is composed of multiple components such as CPU, motherboard and driver. It is an important component of the computer system and can provide necessary drivers for various devices in the computer system so that they can work normally; in the solution for Base device management in the DECT roaming system, the Base device is connected to the DM management device through the network and displayed on the DM management device. Users can manually register the device through the DM management device. The current automatic registration technology requires the MAC of the Base device to be registered to be filled in the DM first. When the Base device communicates with the DM through multicast or unicast, a MAC check will be performed, and it will be automatically registered if the check passes.

[0003] Most of the existing registration solutions do not care about the network topology of the device, and perform management operations on the management device indiscriminately. The MAC of the device to be registered is filled in the DM, and then the operation method of determining whether it is a device that needs to be registered is relatively complicated and requires manual data filling and confirmation, which has great limitations. Summary of the invention

[0004] The present invention provides an automatic registration method and device based on switch port identification to solve the problem of automatic registration of baseband transmission equipment which is difficult to differentiate on a host.

[0005] In order to solve the above problems, the present invention provides an automatic registration method based on switch port identification, comprising:

[0006] Establishing network communication with the baseband transmission device through a preset network connection method; wherein the network connection method includes an IP unicast direct connection method and a LUT query method;

[0007] If the host and the baseband transmission device are connected via an external network port, the baseband transmission device completes registration by triggering an authentication action on a web page;

[0008] If the host and the baseband transmission device are connected via an internal direct connection port, the baseband transmission device is identified, and the baseband transmission device is registered according to the data information obtained by the identification;

[0009] Wherein, the baseband transmission device performs network interaction through a switch port integrated in the host.

[0010] The present invention establishes network communication between a host and a baseband transmission device by means of IP unicast direct connection or LUT query. This method can give full play to the effectiveness of the host IP information to quickly establish network communication, or obtain relevant information of the baseband transmission device through the LUT query method to establish communication, thereby accelerating the speed of establishing network communication; and, when the host and the baseband transmission device are connected through an external network port, by triggering the authentication action of the web page to complete the registration, the decision of whether to register can be given to the user to protect the data information security of the host; 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 at this time is an internal device, so by directly adopting the method of identifying data information for registration, the registration process of the baseband transmission device can be accelerated, playing a role of differentiated registration.

[0011] Compared with the prior art, the present invention establishes network communication between the host and the baseband transmission device first, and then adopts the corresponding registration scheme according to different port connection conditions. This can protect the information security of the host device to the greatest extent while simplifying the registration operation steps, eliminating the need for manual data filling and operating the host to register the baseband transmission device, and can solve the problem of automatic registration of baseband transmission devices that are difficult to differentiate on the host.

[0012] As a preferred solution, the IP unicast direct connection method and the LUT query method are specifically:

[0013] If the baseband transmission device is configured with the IP address of the host, network communication is established with the baseband transmission device by means of IP unicast direct connection;

[0014] If the baseband transmission device is not configured with the IP address of the host, a LUT query is performed on the preset multicast packet to obtain the port connection information of the baseband transmission device;

[0015] According to the port connection information, network communication is established with the baseband transmission device through network authentication.

[0016] This preferred solution adopts different means for different situations to establish network communication between the host and the baseband transmission device; among them, the host IP address is used as the unique identifier of the host. When the host's IP is configured in the baseband transmission device, it means that the destination of the 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 host's IP is not configured in the baseband transmission device, the relevant port connection information can also be obtained through multicast packets to achieve the purpose of establishing network communication.

[0017] As a preferred solution, if the baseband transmission device is not configured with the IP address of the host, a LUT query is performed on the preset multicast packet to obtain the port connection information of the baseband transmission device, specifically:

[0018] If the baseband transmission device is not configured with the IP address of the host, the baseband transmission device sends a multicast packet to network devices in the same multicast network by multicasting;

[0019] 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 sends the multicast packet.

[0020] This preferred solution uses multicast to ensure that data information only needs to be transmitted once on each network link, and the data information will only be copied when the link is bifurcated. This method can speed up the confirmation process of port connection information; and LUT is a data structure for storing and managing MAC address tables. The MAC address table maps MAC addresses to the switch ports associated with them. The switch can determine from which port the data packet is forwarded to the target device through LUT. Therefore, by performing a LUT query, it is possible to know which port of the switch the device is connected to. This method can obtain the exact port connection information.

[0021] As a preferred solution, according to the port connection information, network communication is established with the baseband transmission device through network authentication, specifically:

[0022] If the port connection information shows that the baseband transmission device and the host are connected via an internal direct connection port, establishing network communication with the baseband transmission device by automatically triggering network authentication;

[0023] If the port connection information shows that the baseband transmission device is connected to the host through an external network port, network communication is established with the baseband transmission device by manually triggering network authentication.

[0024] This preferred solution adopts a method of manually triggering network authentication to establish network communication when the baseband transmission device and the host are connected through an external network port, so that specific devices can be registered on the host rather than all devices in the multicast network; at this time, the external device does not register automatically, which can enhance the targeted registration and ensure the information security of the host and related systems.

[0025] As a preferred solution, if the host and the baseband transmission device are connected through an external network port, the baseband transmission device completes registration by triggering an authentication action on a web page, specifically:

[0026] If the host and the baseband transmission device are connected via an external network port, information of the baseband transmission device is displayed;

[0027] Get the registration instruction issued by the user based on the displayed information;

[0028] According to the registration instruction, the baseband transmission device completes the registration by triggering the authentication action of the web page.

[0029] This preferred solution can remind the user that the current baseband transmission device is an external device by displaying the information of the baseband transmission device, and the user can then determine whether to continue registering based on his or her own situation; this information display method can remind the user in a timely manner, and while limiting the automatic registration to only devices connected to the port directly connected to the host, it also plays a role in protecting the security of data information.

[0030] The present invention also provides an automatic registration device based on switch port identification, which is applicable to a host, and comprises a communication module, a first registration module and a second registration module;

[0031] Wherein, the communication module is used to establish network communication with the baseband transmission device through a preset network connection method; wherein, the network connection method includes an IP unicast direct connection method and a LUT query method;

[0032] The first registration module is used to complete the registration of the baseband transmission device by triggering an authentication action on a web page if the host and the baseband transmission device are connected via an external network port;

[0033] The second registration module 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 complete the registration of the baseband transmission device according to the data information obtained by the identification;

[0034] Wherein, the baseband transmission device performs network interaction through a switch port integrated in the host.

[0035] As a preferred solution, the communication module includes a direct connection unit, a query unit and an authentication unit;

[0036] Wherein, the direct connection unit is used to establish network communication with the baseband transmission device through IP unicast direct connection if the baseband transmission device is configured with the IP of the host;

[0037] 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 IP address of the host is not configured in the baseband transmission device;

[0038] The authentication unit is used to establish network communication with the baseband transmission device through network authentication according to the port connection information.

[0039] As a preferred solution, the query unit includes a first subunit and a second subunit;

[0040] Wherein, the first subunit is used to enable the baseband transmission device to send a multicast packet to a network device in the same multicast network by multicast if the IP address of the host is not configured in the baseband transmission device;

[0041] The second subunit is used to obtain the multicast packet and perform a LUT query 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 sends the multicast packet.

[0042] As a preferred solution, the authentication unit includes a third subunit and a fourth subunit;

[0043] Wherein, the third subunit is used 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;

[0044] The fourth subunit is used 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.

[0045] As a preferred solution, the first registration module includes a display unit, a command unit and a trigger unit;

[0046] Wherein, the display unit is used to display information of the baseband transmission device if the host and the baseband transmission device are connected via an external network port;

[0047] The instruction unit is used to obtain a registration instruction issued by the user according to the displayed information;

[0048] The trigger unit is used to enable the baseband transmission device to complete the registration by triggering an authentication action of a web page according to the registration instruction.

[0049] The present invention also provides a storage medium, on which a computer program is stored. The computer program is called and executed by a computer to implement the automatic registration method based on switch port identification as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of an automatic registration method based on switch port identification provided by an embodiment of the present invention;

[0051] Figure 2 is a structural diagram of a DM management device provided in an embodiment of the present invention;

[0052] Figure 3 is a registration flow chart provided by an embodiment of the present invention;

[0053] Figure 4 It is a structural schematic diagram of an automatic registration device based on switch port identification provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0055] In the description of the present application, it should be understood that the terms "first", "second", "third" and "fourth" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first", "second", "third" and "fourth" may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, "several" means two or more.

[0056] An automatic registration method based on switch port identification provided by an embodiment of the present invention is mainly used to enable a baseband transmission device to register on a host, so as to achieve process simplification and differentiated automatic registration.

[0057] Embodiment 1:

[0058] See also Figure 1 The embodiment of the present invention provides an automatic registration method based on switch port identification, which is applicable to a host, including S1 to S3, and the specific implementation steps are as follows:

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

[0060] In step S1 of the embodiment of the present invention, S1 includes S1.1 to S1.4, specifically:

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

[0062] Among them, port refers to the port for network communication, that is, the port for communication between the server and client in the TCP / IP protocol. Different applications can communicate with external network devices through different ports on the same network device;

[0063] Moreover, the purpose of network monitoring here is to establish a network connection, that is, in order to make the subsequent server listen on a specific port, the client sends a data packet to a specific port, so that the server can receive the data packet to establish a connection with the client;

[0064] In addition, in order to satisfy the requirement that different applications can 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.

[0065] It should be noted that the baseband transmission device interacts with the host through the switch port integrated in the host; and the network connection method includes but is not limited to the IP unicast direct connection method and the LUT query method.

[0066] To apply the embodiments of the present invention, please refer to Figure 2 , Figure 2 : is a structural diagram of a DM management device provided in an embodiment of the present invention, showing a connection structure of a baseband transmission device when registering on a host; this embodiment is illustrated by taking an integrated four-port switch as an example to elaborate on the specific operation process of registration, and it should be noted that this embodiment is not limited to the number of ports and switch types shown;

[0067] As shown in the figure, the switch is integrated into the host (DM); the network driver is a network driver module, through which the switch can be configured and data can be exchanged; the SOC controls the switch and exchanges network data through the RMII port, and the external network provides the network to the DM through port3 of the switch. Port1, port2 and port3 can be connected to external devices base1, base2 and base3, and provide network for the devices; base1, base2 and base3 are all baseband transmission devices.

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

[0069] S1.3, if the baseband transmission device is not configured with the host's IP, the baseband transmission device sends multicast packets to network devices in the same multicast network through multicast; wherein the network devices in the same multicast network refer to network devices in the same multicast network under the same switch;

[0070] The host obtains the multicast packet and performs a LUT query 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 sends the multicast packet.

[0071] This embodiment uses multicast to ensure that data information only needs to be transmitted once on each network link, and the data information will only be copied when the link is bifurcated. This method can speed up the confirmation process of the port connection information; and LUT is a data structure for storing and managing the MAC address table. The MAC address table maps the MAC address to the switch port associated with it. The switch can determine from which port the data packet is forwarded to the target device through the LUT. Therefore, by performing a LUT query, it can be known on which port of the switch the device is connected. This method can obtain the exact port connection information.

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

[0073] If the port connection information shows that the baseband transmission device and the host are connected through an external network port (port3), the network communication between the host and the baseband transmission device is established by manually triggering the network authentication; wherein, the method of manually triggering the network authentication to establish the network communication is as follows: when the client sends a multicast detection to the device in the same multicast network through multicast detection, the network server of the host will find this device and display it on the web page, and the user can perform the network authentication operation by clicking on the web page to establish the network communication between the host and the baseband transmission device.

[0074] 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, so that a specific device can be registered on the host instead of all devices in the multicast network; at this time, the external device does not perform automatic registration, which can enhance the targetedness of the registration and ensure the information security of the host and related systems.

[0075] In general, the present embodiment S1 adopts different means for different situations to establish network communication between the host and the baseband transmission device; wherein, the host IP address is used as the unique identifier of the host. When the baseband transmission device is configured with the host's IP, it means that the destination of the 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, the relevant port connection information can also be obtained through multicast packets to achieve the purpose of establishing network communication.

[0076] S2. If the host and the baseband transmission device are connected via an external network port, the baseband transmission device completes registration by triggering an authentication action on the web page.

[0077] Step S2 of the embodiment of the present invention is specifically:

[0078] If the host and the baseband transmission device are connected via an external network port (port3), the information of the baseband transmission device is displayed;

[0079] Get the registration instruction issued by the user based on the displayed information;

[0080] According to the registration instruction, the baseband transmission device completes the registration by triggering the authentication action of the web page where the host is located.

[0081] This embodiment can remind the user that the current baseband transmission device is an external device by displaying the information of the baseband transmission device, and then the user can determine whether to continue registration based on his or her own situation; this information display method can remind the user in time, and while limiting the automatic registration to only devices connected to the port directly connected to the host, it also plays a role in protecting the security of data information.

[0082] S3. If the host and the baseband transmission device are connected via an internal direct connection port, the baseband transmission device is identified, and the baseband transmission device is registered according to the data information obtained by the identification;

[0083] Among them, the baseband transmission device performs network interaction through the switch port integrated in the host.

[0084] Step S3 of the embodiment of the present invention is specifically:

[0085] If the host and the baseband transmission device are connected through the internal direct connection ports (port1 and port2), the baseband transmission device is subjected to data interaction identification, registration and authentication process operations, and device initialization operations, and the baseband transmission device is registered and the initialization process is completed based on the data information obtained by identification; wherein, the registration and authentication process operations include checking the national version and the software and hardware versions.

[0086] The following is an explanation of some of the terms that appear in this embodiment:

[0087] 1. LUT (Look-Up Table): is a data structure used to store and manage MAC (Media Access Control) address tables; MAC address tables map MAC addresses to the switch ports associated with them. LUT plays a key role in switches, allowing switches to determine from which port a packet should be forwarded to a destination device; switches learn and manage MAC address tables by continuously updating LUTs; when a packet arrives from a port, the switch associates the source MAC address with the port where it was received and adds this information to the LUT, which helps the switch understand which devices are connected to which ports.

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

[0089] 3. Base: A DECT device with VOIP service.

[0090] 4. DM: The host that provides service clusters for all Bases in the LAN.

[0091] 5. Network Driver: A software in the operating system that manages and controls the communication between the network adapter and the operating system to achieve network connection 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.

[0092] 6. RMII (Reduced Media-Independent Interface) is an interface standard for connecting Ethernet PHY (physical layer converter) and MAC (media access controller); RMII port is usually used to connect switch chip (MAC layer) and PHY chip (physical layer) to realize communication between physical layer and data link layer; its main functions include connecting physical layer and data link layer, supporting Ethernet rate, supporting configuration and control of switch, etc.

[0093] 7. SOC (System on a Chip) is an integrated circuit (IC) or chip that integrates multiple core system components and functions on a single integrated circuit chip; SOC usually includes processor core, memory, input / output interface, peripherals, controller and other key components to build a complete computing or embedded system.

[0094] To apply the embodiments of the present invention, please refer to Figure 3 , Figure 3 : is a registration flow chart provided by an embodiment of the present invention, which shows the general process of registering a baseband transmission device on a host, specifically:

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

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

[0097] 3) Obtain the port connection mode of DM and BASE by using the information obtained by LUT query in step 2.

[0098] 4) Determine whether DM and BASE are connected through the internal direct port (internal network port):

[0099] If no, go to step 5; if yes, go to step 6.

[0100] 5) If DM and BASE are connected through an external network port, the user's manual registration instruction is obtained by means of information display to trigger the authentication action of the web page, so that the baseband transmission device completes the registration.

[0101] 6) If DM and BASE are connected through the internal direct connection port (internal network port), data interaction identification, registration authentication process operation and device initialization operation are performed on BASE, and BASE completes registration and initialization process based on the data information obtained by identification.

[0102] 7) Complete automatic registration.

[0103] In general, the embodiments of the present invention have the following beneficial effects:

[0104] This embodiment establishes network communication between the host and the baseband transmission device by means of IP unicast direct connection or LUT query. This method can give full play to the effectiveness of the host IP information to quickly establish network communication, or obtain relevant information of the baseband transmission device through LUT query to establish communication, thereby accelerating the speed of establishing network communication; and, when the host and the baseband transmission device are connected through an external network port, by triggering the authentication action of the web page to complete the registration, the decision of whether to register can be given to the user to protect the data information security of the host; 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 at this time is an internal device, so by directly taking the method of identifying data information for registration, the registration process of the baseband transmission device can be accelerated, playing a role of differentiated registration;

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

[0106] Embodiment 2:

[0107] See also Figure 4 , an embodiment of the present invention provides an automatic registration device based on switch port identification, which is applicable to a host, and the automatic registration device includes a communication module 10, a first registration module 20 and a second registration module 30;

[0108] Wherein, the communication module 10 is used to establish network communication with the baseband transmission device through a preset network connection method; wherein the network connection method includes an IP unicast direct connection method and a LUT query method;

[0109] The first registration module 20 is used to complete the registration of the baseband transmission device by triggering the authentication action of the web page if the host and the baseband transmission device are connected through the external network port;

[0110] 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 complete the registration of the baseband transmission device according to the data information obtained by the identification;

[0111] Among them, the baseband transmission device performs network interaction through the switch port integrated in the host.

[0112] In one embodiment, 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;

[0113] The setting unit is used to establish network communication with the baseband transmission device through a preset network connection method; wherein the network connection method includes an IP unicast direct connection method and a LUT query method, specifically: the baseband transmission device (Base) opens a network client, the host (DM) opens a network server, and performs network monitoring at a preset specific port;

[0114] Among them, port refers to the port for network communication, that is, the port for communication between the server and client in the TCP / IP protocol. Different applications can communicate with external network devices through different ports on the same network device;

[0115] Moreover, the purpose of network monitoring here is to establish a network connection, that is, in order to make the subsequent server listen on a specific port, the client sends a data packet to a specific port, so that the server can receive the data packet to establish a connection with the client;

[0116] In addition, in order to satisfy the requirement that different applications can 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.

[0117] It should be noted that the baseband transmission device interacts with the host through the switch port integrated in the host; and the network connection method includes but is not limited to the IP unicast direct connection method and the LUT query method.

[0118] To apply the embodiments of the present invention, please refer to Figure 2 , Figure 2: is a structural diagram of a DM management device provided in an embodiment of the present invention, showing a connection structure of a baseband transmission device when registering on a host; this embodiment is illustrated by taking an integrated four-port switch as an example to elaborate on the specific operation process of registration, and it should be noted that this embodiment is not limited to the number of ports and switch types shown;

[0119] As shown in the figure, the switch is integrated into the host (DM); the network driver is a network driver module, through which the switch can be configured and data can be exchanged; the SOC controls the switch and exchanges network data through the RMII port, and the external network provides the network to the DM through port3 of the switch. Port1, port2 and port3 can be connected to external devices base1, base2 and base3, and provide network for the devices; base1, base2 and base3 are all baseband transmission devices.

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

[0121] The first subunit is used for, if the baseband transmission device is not configured with the host's IP, to enable the baseband transmission device to send a multicast packet to network devices in the same multicast network by multicast; wherein the network devices in the same multicast network refer to network devices in the same multicast network under the same switch;

[0122] The second subunit is used to enable the host to obtain the multicast packet and perform a LUT query 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 sends the multicast packet.

[0123] This embodiment uses multicast to ensure that data information only needs to be transmitted once on each network link, and the data information will only be copied when the link is bifurcated. This method can speed up the confirmation process of the port connection information; and LUT is a data structure for storing and managing the MAC address table. The MAC address table maps the MAC address to the switch port associated with it. The switch can determine from which port the data packet is forwarded to the target device through the LUT. Therefore, by performing a LUT query, it can be known on which port of the switch the device is connected. This method can obtain the exact port connection information.

[0124] The third subunit is used for establishing 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 the internal direct connection ports (port1 and port2); wherein the method of establishing network communication by automatically triggering network authentication is specifically as follows: the host and the baseband transmission device are respectively the server and the client in the network, and the client sends a multicast detection to the devices in the same multicast network through multicast detection, and when the server performs network authentication, the server and the client can truly establish a point-to-point network connection;

[0125] 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); wherein the method of manually triggering network authentication to establish network communication is specifically as follows: when the client sends a multicast detection to a device in the same multicast network through multicast detection, the network server of the host will discover this device and display it on the web page, and the user can perform network authentication operations by clicking on the web page to establish network communication between the host and the baseband transmission device.

[0126] 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, so that a specific device can be registered on the host instead of all devices in the multicast network; at this time, the external device does not perform automatic registration, which can enhance the targetedness of the registration and ensure the information security of the host and related systems.

[0127] In general, the present embodiment S1 adopts different means for different situations to establish network communication between the host and the baseband transmission device; wherein, the host IP address is used as the unique identifier of the host. When the baseband transmission device is configured with the host's IP, it means that the destination of the 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, the relevant port connection information can also be obtained through multicast packets to achieve the purpose of establishing network communication.

[0128] In one embodiment, the first registration module 20 includes a display unit, a command unit, and a trigger unit;

[0129] Wherein, the display unit is used to display the information of the baseband transmission device if the host and the baseband transmission device are connected via the external network port (port3);

[0130] An instruction unit, used to obtain a registration instruction issued by a user according to the displayed information;

[0131] The trigger unit is used to complete the registration of the baseband transmission device by triggering the authentication action of the webpage where the host is located according to the registration instruction.

[0132] This embodiment can remind the user that the current baseband transmission device is an external device by displaying the information of the baseband transmission device, and then the user can determine whether to continue registration based on his or her own situation; this information display method can remind the user in time, and while limiting the automatic registration to only devices connected to the port directly connected to the host, it also plays a role in protecting the security of data information.

[0133] In one embodiment, the second registration module 30 is specifically:

[0134] If the host and the baseband transmission device are connected through the internal direct connection ports (port1 and port2), the baseband transmission device is subjected to data interaction identification, registration and authentication process operations, and device initialization operations, and the baseband transmission device is registered and the initialization process is completed based on the data information obtained by identification; wherein, the registration and authentication process operations include checking the national version and the software and hardware versions.

[0135] The following is an explanation of some of the terms that appear in this embodiment:

[0136] 1. LUT (Look-Up Table): is 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; LUT plays a key role in the switch, allowing the switch to determine from which port a packet should be forwarded to the destination device; the switch learns and manages the MAC address table by continuously updating the LUT; when a packet arrives from a port, the switch associates the source MAC address with the port where it was received and adds this information to the LUT, which helps the switch understand which devices are connected to which ports.

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

[0138] 3. Base: A DECT device with VOIP service.

[0139] 4. DM: The host that provides service clusters for all Bases in the LAN.

[0140] 5. Network Driver: A software in the operating system that manages and controls the communication between the network adapter and the operating system to achieve network connection 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.

[0141] 6. RMII (Reduced Media-Independent Interface) is an interface standard for connecting Ethernet PHY (physical layer converter) and MAC (media access controller). RMII ports are usually used to connect switch chips (MAC layer) and PHY chips (physical layer) to achieve communication between the physical layer and the data link layer; the main functions include connecting the physical layer and the data link layer, supporting Ethernet rates, and supporting configuration and control of switches.

[0142] 7. SOC (System on a Chip) is an integrated circuit (IC) or chip that integrates multiple core system components and functions on a single integrated circuit chip; SOC usually includes processor core, memory, input / output interface, peripherals, controller and other key components to build a complete computing or embedded system.

[0143] To apply the embodiments of the present invention, please refer to Figure 3 , Figure 3 : is a registration flow chart provided by an embodiment of the present invention, which shows the general process of registering a baseband transmission device on a host, specifically:

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

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

[0146] 3) Obtain the port connection mode of DM and BASE by using the information obtained by LUT query in step 2.

[0147] 4) Determine whether DM and BASE are connected through the internal direct port (internal network port):

[0148] If no, go to step 5; if yes, go to step 6.

[0149] 5) If DM and BASE are connected through an external network port, the user's manual registration instruction is obtained by means of information display to trigger the authentication action of the web page, so that the baseband transmission device completes the registration.

[0150] 6) If DM and BASE are connected through the internal direct connection port (internal network port), data interaction identification, registration authentication process operation and device initialization operation are performed on BASE, and BASE completes registration and initialization process based on the data information obtained by identification.

[0151] 7) Complete automatic registration.

[0152] In general, the embodiments of the present invention have the following beneficial effects:

[0153] The device establishes network communication between the host and the baseband transmission device by means of IP unicast direct connection or LUT query. This method can give full play to the effectiveness of the host IP information to quickly establish network communication, or obtain relevant information of the baseband transmission device through LUT query to establish communication, thereby accelerating the establishment of network communication; and, when the host and the baseband transmission device are connected through an external network port, by triggering the authentication action of the web page to complete the registration, the decision of whether to register can be given to the user to protect the data information security of the host; 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 at this time is an internal device, so by directly taking the method of identifying data information for registration, the registration process of the baseband transmission device can be accelerated, playing a role of differentiated registration;

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

[0155] Embodiment three:

[0156] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the automatic registration method based on switch port identification;

[0157] Wherein, the automatic registration method based on switch port identification, if implemented in the form of a software functional unit and used as an independent product, can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0158] The above are preferred embodiments of the present invention. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An automatic registration method based on switch port identification, characterized in that: Applicable to a host, the automatic registration method includes: Establishing network communication with the baseband transmission device through a preset network connection method; wherein the network connection method includes an IP unicast direct connection method and a LUT query method; If the host and the baseband transmission device are connected via an external network port, the baseband transmission device completes registration by triggering an authentication action on a web page; If the host and the baseband transmission device are connected via an internal direct connection port, the baseband transmission device is identified, and the baseband transmission device is registered according to the data information obtained by the identification; Wherein, the baseband transmission device performs network interaction through a switch port integrated in the host.

2. The automatic registration method based on switch port identification according to claim 1, characterized in that: The IP unicast direct connection method and the LUT query method are specifically: If the baseband transmission device is configured with the IP address of the host, network communication is established with the baseband transmission device by means of IP unicast direct connection; If the baseband transmission device is not configured with the IP address of the host, a LUT query is performed on the preset multicast packet to obtain the port connection information of the baseband transmission device; According to the port connection information, network communication is established with the baseband transmission device through network authentication.

3. The automatic registration method based on switch port identification as claimed in claim 2, characterized in that: If the baseband transmission device is not configured with the IP address of the host, a LUT query is performed on the preset multicast packet to obtain the port connection information of the baseband transmission device, specifically: If the baseband transmission device is not configured with the IP address of the host, the baseband transmission device sends a multicast packet to network devices in the same multicast network by multicasting; 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 sends the multicast packet.

4. The automatic registration method based on switch port identification as claimed in claim 2, characterized in that: According to the port connection information, network communication is established with the baseband transmission device through network authentication, specifically: If the port connection information shows that the baseband transmission device and the host are connected via an internal direct connection port, establishing network communication with the baseband transmission device by automatically triggering network authentication; If the port connection information shows that the baseband transmission device is connected to the host through an external network port, network communication is established with the baseband transmission device by manually triggering network authentication.

5. The automatic registration method based on switch port identification according to claim 1, characterized in that: If the host and the baseband transmission device are connected via an external network port, the baseband transmission device completes registration by triggering an authentication action on a web page, specifically: If the host and the baseband transmission device are connected via an external network port, information of the baseband transmission device is displayed; Get the registration instruction issued by the user based on the displayed information; According to the registration instruction, the baseband transmission device completes the registration by triggering the authentication action of the web page.

6. An automatic registration device based on switch port identification, characterized in that: Applicable to a host, the automatic registration device comprises a communication module, a first registration module and a second registration module; Wherein, the communication module is used to establish network communication with the baseband transmission device through a preset network connection method; wherein, the network connection method includes an IP unicast direct connection method and a LUT query method; The first registration module is used to complete the registration of the baseband transmission device by triggering an authentication action on a web page 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 through an internal direct connection port, and complete the registration of the baseband transmission device according to the data information obtained by the identification; Wherein, the baseband transmission device performs network interaction through a switch port integrated in the host.

7. The automatic registration device based on switch port identification as claimed in claim 6, characterized in that: 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 through IP unicast direct connection if the baseband transmission device is configured with the IP of the host; 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 IP address of the host is not configured in the baseband transmission device; The authentication unit is used to establish network communication with the baseband transmission device through network authentication according to the port connection information.

8. The automatic registration device based on switch port identification as claimed in claim 7, characterized in that: The query unit includes a first subunit and a second subunit; Wherein, the first subunit is used to enable the baseband transmission device to send a multicast packet to a network device in the same multicast network by multicast if the IP address of the host is not configured in the baseband transmission device; The second subunit is used to obtain the multicast packet and perform a LUT query 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 sends the multicast packet.

9. The automatic registration device based on switch port identification as claimed in claim 7, characterized in that: The authentication unit includes a third subunit and a fourth subunit; Wherein, the third subunit is used 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 used 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.

10. The automatic registration device based on switch port identification according to claim 6, characterized in that: The first registration module includes a display unit, a command 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 via an external network port; The instruction unit is used to obtain a registration instruction issued by the user according to the displayed information; The trigger unit is used to enable the baseband transmission device to complete the registration by triggering an authentication action of a web page according to the registration instruction.

Citation Information

Cited By

  • Automatic registration method and apparatus based on switch port identification

    WO2026158406A1